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.gen'
* 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$gen" 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$gen;
PyDictObject *moduledict_tornado$gen;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[292];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[292];
#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.gen"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 292; 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$gen(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 292; 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_299efe64d9ca143b805177cb6746cc49;
static PyCodeObject *codeobj_544e6c34e083a2e18719d7b5b22d7a84;
static PyCodeObject *codeobj_a334b8fe3bda05026578c4a9a5795704;
static PyCodeObject *codeobj_90c3475fe7d4f8c3b39e934534d3e8ee;
static PyCodeObject *codeobj_4342f7a439cdbdda9690b4d9c0135d99;
static PyCodeObject *codeobj_ecacb2f3f4e8b787a37e501e32055a6a;
static PyCodeObject *codeobj_a88d7df76dd55d296446946fcd69fc5f;
static PyCodeObject *codeobj_e83dde78cdf12af9c1af4a46b277e6f1;
static PyCodeObject *codeobj_54a51bcbb6b419364fceaf2e3c1f955e;
static PyCodeObject *codeobj_e2edad38cc65c59a71714cdb5905d4ab;
static PyCodeObject *codeobj_53125e4a9fbda3ba32b06d7fe876eeba;
static PyCodeObject *codeobj_dad9a3f4c32e0a74d26a622ff4556f22;
static PyCodeObject *codeobj_93e10dc4a4a80ebcce29f3b5fa2dfc07;
static PyCodeObject *codeobj_9c267069805bed77f038f483abfdf570;
static PyCodeObject *codeobj_d5b9d74c4a09957c15ce7c1ebed320b0;
static PyCodeObject *codeobj_2f2e1a0811c88b4a5f18d79ec95c9186;
static PyCodeObject *codeobj_38d7152af802d6ecdc100a56de7554bd;
static PyCodeObject *codeobj_39a7e4836b3cedc5154afe174cd82eef;
static PyCodeObject *codeobj_998913c33738ebf2d2920b0d6d403f76;
static PyCodeObject *codeobj_60229ce814a89ee32c7ec6aed34e5eb4;
static PyCodeObject *codeobj_9be635da48dc68b6208cdc9d40d3273f;
static PyCodeObject *codeobj_af392b4552c2c3478cf6cbded1de9538;
static PyCodeObject *codeobj_2399de7cb243a4556785459f7f07c641;
static PyCodeObject *codeobj_9490ebf28bd776d718473609f5988309;
static PyCodeObject *codeobj_9b47d82ffd73a1ab595ff0ec3fe71d1d;
static PyCodeObject *codeobj_37877f79933d64b0c17755213990109d;
static PyCodeObject *codeobj_93609a0fbe87afdd33b30aeb67e47bb0;
static PyCodeObject *codeobj_1511ddef513669bc54e9c59217e906f1;
static PyCodeObject *codeobj_d7755228ee488ccdd83af7e160c271ff;
static PyCodeObject *codeobj_744ded7d6a322c99838747d732a36173;
static PyCodeObject *codeobj_a52e1eaf3b53a1462f7eb82a1f14ccbc;
static PyCodeObject *codeobj_8e92e4c19a609a43c8e8ac96021c7c18;
static PyCodeObject *codeobj_6c0d1f307ecff2fa780f69463d0015d4;
static PyCodeObject *codeobj_519ddae7f97a621274cda70b1486d633;
static PyCodeObject *codeobj_a9b05b9b39067f6eba0addb01ca012cb;
static PyCodeObject *codeobj_868337ecd4c9b16e614c401bf4423ce9;
static PyCodeObject *codeobj_52a54bb346d8fe5a154e606c09158bfe;
static PyCodeObject *codeobj_37c21763765c5f087b5b35e8cd3ae9df;
static PyCodeObject *codeobj_37aca38c12041488ad89c5d4ec6e702b;
static PyCodeObject *codeobj_3b8a62b8e8a82a98533976afd37124ad;
static PyCodeObject *codeobj_4d7cce8610fb49a705bca94946a82954;
static PyCodeObject *codeobj_fe98ae9e692c8529e0f417aeb1bec43a;
static PyCodeObject *codeobj_b428ae102e770ff1c3b4a2ed7300adf7;
static PyCodeObject *codeobj_89ea004fd81141cfb1e39a7ce0abba2c;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[148]; CHECK_OBJECT(module_filename_obj);
codeobj_299efe64d9ca143b805177cb6746cc49 = MAKE_CODE_OBJECT(module_filename_obj, 517, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[52], mod_consts[52], mod_consts[254], NULL, 1, 0, 0);
codeobj_544e6c34e083a2e18719d7b5b22d7a84 = MAKE_CODE_OBJECT(module_filename_obj, 375, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[52], mod_consts[52], mod_consts[255], NULL, 1, 0, 0);
codeobj_a334b8fe3bda05026578c4a9a5795704 = MAKE_CODE_OBJECT(module_filename_obj, 372, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[52], mod_consts[52], mod_consts[256], NULL, 1, 0, 0);
codeobj_90c3475fe7d4f8c3b39e934534d3e8ee = MAKE_CODE_OBJECT(module_filename_obj, 251, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[34], mod_consts[34], mod_consts[257], mod_consts[258], 1, 0, 0);
codeobj_4342f7a439cdbdda9690b4d9c0135d99 = MAKE_CODE_OBJECT(module_filename_obj, 673, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[34], mod_consts[34], mod_consts[259], mod_consts[259], 0, 0, 0);
codeobj_ecacb2f3f4e8b787a37e501e32055a6a = MAKE_CODE_OBJECT(module_filename_obj, 646, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[34], mod_consts[34], mod_consts[260], mod_consts[261], 1, 0, 0);
codeobj_a88d7df76dd55d296446946fcd69fc5f = MAKE_CODE_OBJECT(module_filename_obj, 652, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[34], mod_consts[34], mod_consts[260], mod_consts[261], 1, 0, 0);
codeobj_e83dde78cdf12af9c1af4a46b277e6f1 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[262], mod_consts[262], NULL, NULL, 0, 0, 0);
codeobj_54a51bcbb6b419364fceaf2e3c1f955e = MAKE_CODE_OBJECT(module_filename_obj, 282, CO_NOFREE, mod_consts[22], mod_consts[22], mod_consts[263], NULL, 0, 0, 0);
codeobj_e2edad38cc65c59a71714cdb5905d4ab = MAKE_CODE_OBJECT(module_filename_obj, 723, CO_NOFREE, mod_consts[30], mod_consts[30], mod_consts[263], NULL, 0, 0, 0);
codeobj_53125e4a9fbda3ba32b06d7fe876eeba = MAKE_CODE_OBJECT(module_filename_obj, 310, CO_NOFREE, mod_consts[209], mod_consts[209], mod_consts[263], NULL, 0, 0, 0);
codeobj_dad9a3f4c32e0a74d26a622ff4556f22 = MAKE_CODE_OBJECT(module_filename_obj, 678, CO_NOFREE, mod_consts[80], mod_consts[80], mod_consts[263], NULL, 0, 0, 0);
codeobj_93e10dc4a4a80ebcce29f3b5fa2dfc07 = MAKE_CODE_OBJECT(module_filename_obj, 428, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[219], mod_consts[219], mod_consts[264], NULL, 1, 0, 0);
codeobj_9c267069805bed77f038f483abfdf570 = MAKE_CODE_OBJECT(module_filename_obj, 431, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[221], mod_consts[221], mod_consts[264], NULL, 1, 0, 0);
codeobj_d5b9d74c4a09957c15ce7c1ebed320b0 = MAKE_CODE_OBJECT(module_filename_obj, 367, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[39], mod_consts[39], mod_consts[265], NULL, 1, 0, 0);
codeobj_2f2e1a0811c88b4a5f18d79ec95c9186 = MAKE_CODE_OBJECT(module_filename_obj, 732, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[39], mod_consts[39], mod_consts[266], NULL, 5, 0, 0);
codeobj_38d7152af802d6ecdc100a56de7554bd = MAKE_CODE_OBJECT(module_filename_obj, 303, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[39], mod_consts[39], mod_consts[267], mod_consts[263], 2, 0, 0);
codeobj_39a7e4836b3cedc5154afe174cd82eef = MAKE_CODE_OBJECT(module_filename_obj, 146, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[16], mod_consts[16], mod_consts[268], NULL, 0, 0, 0);
codeobj_998913c33738ebf2d2920b0d6d403f76 = MAKE_CODE_OBJECT(module_filename_obj, 407, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[269], NULL, 2, 0, 0);
codeobj_60229ce814a89ee32c7ec6aed34e5eb4 = MAKE_CODE_OBJECT(module_filename_obj, 161, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[20], mod_consts[20], mod_consts[270], NULL, 1, 0, 0);
codeobj_9be635da48dc68b6208cdc9d40d3273f = MAKE_CODE_OBJECT(module_filename_obj, 413, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[55], mod_consts[55], mod_consts[271], NULL, 2, 0, 0);
codeobj_af392b4552c2c3478cf6cbded1de9538 = MAKE_CODE_OBJECT(module_filename_obj, 131, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[23], mod_consts[23], mod_consts[272], NULL, 1, 0, 0);
codeobj_2399de7cb243a4556785459f7f07c641 = MAKE_CODE_OBJECT(module_filename_obj, 524, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[74], mod_consts[74], mod_consts[273], mod_consts[274], 1, 0, 0);
codeobj_9490ebf28bd776d718473609f5988309 = MAKE_CODE_OBJECT(module_filename_obj, 848, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[71], mod_consts[71], mod_consts[275], NULL, 1, 0, 0);
codeobj_9b47d82ffd73a1ab595ff0ec3fe71d1d = MAKE_CODE_OBJECT(module_filename_obj, 166, CO_NOFREE, mod_consts[203], mod_consts[203], mod_consts[276], NULL, 1, 0, 0);
codeobj_37877f79933d64b0c17755213990109d = MAKE_CODE_OBJECT(module_filename_obj, 173, CO_NOFREE, mod_consts[203], mod_consts[203], mod_consts[276], NULL, 1, 0, 0);
codeobj_93609a0fbe87afdd33b30aeb67e47bb0 = MAKE_CODE_OBJECT(module_filename_obj, 177, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[203], mod_consts[203], mod_consts[277], NULL, 1, 0, 0);
codeobj_1511ddef513669bc54e9c59217e906f1 = MAKE_CODE_OBJECT(module_filename_obj, 386, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[58], mod_consts[58], mod_consts[264], NULL, 1, 0, 0);
codeobj_d7755228ee488ccdd83af7e160c271ff = MAKE_CODE_OBJECT(module_filename_obj, 694, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[58], mod_consts[58], mod_consts[264], NULL, 1, 0, 0);
codeobj_744ded7d6a322c99838747d732a36173 = MAKE_CODE_OBJECT(module_filename_obj, 623, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[96], mod_consts[96], mod_consts[278], mod_consts[67], 1, 0, 0);
codeobj_a52e1eaf3b53a1462f7eb82a1f14ccbc = MAKE_CODE_OBJECT(module_filename_obj, 827, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[279], NULL, 4, 0, 0);
codeobj_8e92e4c19a609a43c8e8ac96021c7c18 = MAKE_CODE_OBJECT(module_filename_obj, 804, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[126], mod_consts[126], mod_consts[280], NULL, 2, 0, 0);
codeobj_6c0d1f307ecff2fa780f69463d0015d4 = MAKE_CODE_OBJECT(module_filename_obj, 818, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[136], mod_consts[136], mod_consts[281], mod_consts[264], 1, 0, 0);
codeobj_519ddae7f97a621274cda70b1486d633 = MAKE_CODE_OBJECT(module_filename_obj, 273, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[204], mod_consts[204], mod_consts[276], NULL, 1, 0, 0);
codeobj_a9b05b9b39067f6eba0addb01ca012cb = MAKE_CODE_OBJECT(module_filename_obj, 555, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[229], mod_consts[229], mod_consts[282], NULL, 1, 0, 0);
codeobj_868337ecd4c9b16e614c401bf4423ce9 = MAKE_CODE_OBJECT(module_filename_obj, 438, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[139], mod_consts[139], mod_consts[283], NULL, 2, 0, 0);
codeobj_52a54bb346d8fe5a154e606c09158bfe = MAKE_CODE_OBJECT(module_filename_obj, 492, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[66], mod_consts[66], mod_consts[284], NULL, 2, 0, 0);
codeobj_37c21763765c5f087b5b35e8cd3ae9df = MAKE_CODE_OBJECT(module_filename_obj, 394, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[28], mod_consts[28], mod_consts[264], NULL, 1, 0, 0);
codeobj_37aca38c12041488ad89c5d4ec6e702b = MAKE_CODE_OBJECT(module_filename_obj, 691, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[86], mod_consts[86], mod_consts[264], NULL, 1, 0, 0);
codeobj_3b8a62b8e8a82a98533976afd37124ad = MAKE_CODE_OBJECT(module_filename_obj, 750, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[19], mod_consts[19], mod_consts[285], NULL, 1, 0, 0);
codeobj_4d7cce8610fb49a705bca94946a82954 = MAKE_CODE_OBJECT(module_filename_obj, 657, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[234], mod_consts[234], mod_consts[286], NULL, 1, 0, 0);
codeobj_fe98ae9e692c8529e0f417aeb1bec43a = MAKE_CODE_OBJECT(module_filename_obj, 634, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[99], mod_consts[99], mod_consts[287], mod_consts[288], 0, 0, 0);
codeobj_b428ae102e770ff1c3b4a2ed7300adf7 = MAKE_CODE_OBJECT(module_filename_obj, 576, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[232], mod_consts[232], mod_consts[289], NULL, 3, 0, 0);
codeobj_89ea004fd81141cfb1e39a7ce0abba2c = MAKE_CODE_OBJECT(module_filename_obj, 206, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS, mod_consts[11], mod_consts[11], mod_consts[290], mod_consts[276], 0, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_tornado$gen$$$function__9___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$gen$$$function__9___init__$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$gen$$$function__17_multi_future$$$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__4_complex_call_helper_star_list_star_dict(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__5_complex_call_helper_pos_star_list_star_dict(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__2_complex_call_helper_star_list(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__10_done(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__11_next(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__12__done_callback(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__13__return_result(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__14___aiter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__15___anext__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__16_multi(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__17_multi_future(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__17_multi_future$$$function__1_callback(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__18_maybe_future(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__1_error_callback(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__2_timeout_callback(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__3_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__4_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__1__value_from_stopiteration(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__20_sleep(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__20_sleep$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__21_result(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__22_done(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__23___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__24_run(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield$$$function__1_inner(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__26_handle_exception(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__27_convert_yielded(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__2__create_future(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__3__fake_ctx_run(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__4_coroutine(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__5_coroutine(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__7_is_coroutine_function(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__8___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__9___init__(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$gen$$$function__1__value_from_stopiteration(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_e = python_pars[0];
struct Nuitka_FrameObject *frame_af392b4552c2c3478cf6cbded1de9538;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_af392b4552c2c3478cf6cbded1de9538 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_af392b4552c2c3478cf6cbded1de9538)) {
Py_XDECREF(cache_frame_af392b4552c2c3478cf6cbded1de9538);
#if _DEBUG_REFCOUNTS
if (cache_frame_af392b4552c2c3478cf6cbded1de9538 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_af392b4552c2c3478cf6cbded1de9538 = MAKE_FUNCTION_FRAME(codeobj_af392b4552c2c3478cf6cbded1de9538, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_af392b4552c2c3478cf6cbded1de9538->m_type_description == NULL);
frame_af392b4552c2c3478cf6cbded1de9538 = cache_frame_af392b4552c2c3478cf6cbded1de9538;
// Push the new frame as the currently active one.
pushFrameStack(frame_af392b4552c2c3478cf6cbded1de9538);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_af392b4552c2c3478cf6cbded1de9538) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_e);
tmp_expression_value_1 = par_e;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[0]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto try_except_handler_1;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_af392b4552c2c3478cf6cbded1de9538, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_af392b4552c2c3478cf6cbded1de9538, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_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_af392b4552c2c3478cf6cbded1de9538->m_frame) frame_af392b4552c2c3478cf6cbded1de9538->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
branch_no_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
// Tried code:
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_e);
tmp_expression_value_3 = par_e;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto try_except_handler_3;
}
tmp_subscript_value_1 = mod_consts[2];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto try_except_handler_3;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_af392b4552c2c3478cf6cbded1de9538, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_af392b4552c2c3478cf6cbded1de9538, 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_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = mod_consts[3];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto try_except_handler_4;
}
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_4;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 138;
}
if (exception_tb && exception_tb->tb_frame == &frame_af392b4552c2c3478cf6cbded1de9538->m_frame) frame_af392b4552c2c3478cf6cbded1de9538->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_4;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_af392b4552c2c3478cf6cbded1de9538);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_af392b4552c2c3478cf6cbded1de9538);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_af392b4552c2c3478cf6cbded1de9538);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_af392b4552c2c3478cf6cbded1de9538, exception_lineno);
} else if (exception_tb->tb_frame != &frame_af392b4552c2c3478cf6cbded1de9538->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_af392b4552c2c3478cf6cbded1de9538, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_af392b4552c2c3478cf6cbded1de9538,
type_description_1,
par_e
);
// Release cached frame if used for exception.
if (frame_af392b4552c2c3478cf6cbded1de9538 == cache_frame_af392b4552c2c3478cf6cbded1de9538) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_af392b4552c2c3478cf6cbded1de9538);
cache_frame_af392b4552c2c3478cf6cbded1de9538 = NULL;
}
assertFrameObject(frame_af392b4552c2c3478cf6cbded1de9538);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_e);
Py_DECREF(par_e);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_e);
Py_DECREF(par_e);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__2__create_future(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *var_future = NULL;
PyObject *var_source_traceback = NULL;
PyObject *var_filename = NULL;
struct Nuitka_FrameObject *frame_39a7e4836b3cedc5154afe174cd82eef;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_39a7e4836b3cedc5154afe174cd82eef = 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_39a7e4836b3cedc5154afe174cd82eef)) {
Py_XDECREF(cache_frame_39a7e4836b3cedc5154afe174cd82eef);
#if _DEBUG_REFCOUNTS
if (cache_frame_39a7e4836b3cedc5154afe174cd82eef == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_39a7e4836b3cedc5154afe174cd82eef = MAKE_FUNCTION_FRAME(codeobj_39a7e4836b3cedc5154afe174cd82eef, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_39a7e4836b3cedc5154afe174cd82eef->m_type_description == NULL);
frame_39a7e4836b3cedc5154afe174cd82eef = cache_frame_39a7e4836b3cedc5154afe174cd82eef;
// Push the new frame as the currently active one.
pushFrameStack(frame_39a7e4836b3cedc5154afe174cd82eef);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_39a7e4836b3cedc5154afe174cd82eef) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_39a7e4836b3cedc5154afe174cd82eef->m_frame.f_lineno = 147;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_future == NULL);
var_future = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(var_future);
tmp_getattr_target_1 = var_future;
tmp_getattr_attr_1 = mod_consts[5];
tmp_getattr_default_1 = mod_consts[6];
tmp_assign_source_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_source_traceback == NULL);
var_source_traceback = tmp_assign_source_2;
}
loop_start_1:;
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_source_traceback);
tmp_operand_value_1 = var_source_traceback;
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 = 150;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_source_traceback);
tmp_expression_value_2 = var_source_traceback;
tmp_subscript_value_1 = mod_consts[7];
tmp_expression_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, -1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = mod_consts[2];
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_2, 0);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_filename;
var_filename = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_filename);
tmp_cmp_expr_left_1 = var_filename;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(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 = 154;
type_description_1 = "ooo";
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_delsubscr_target_1;
PyObject *tmp_delsubscr_subscript_1;
CHECK_OBJECT(var_source_traceback);
tmp_delsubscr_target_1 = var_source_traceback;
tmp_delsubscr_subscript_1 = mod_consts[7];
tmp_result = DEL_SUBSCRIPT(tmp_delsubscr_target_1, tmp_delsubscr_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
goto branch_end_2;
branch_no_2:;
goto loop_end_1;
branch_end_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_39a7e4836b3cedc5154afe174cd82eef);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_39a7e4836b3cedc5154afe174cd82eef);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_39a7e4836b3cedc5154afe174cd82eef, exception_lineno);
} else if (exception_tb->tb_frame != &frame_39a7e4836b3cedc5154afe174cd82eef->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_39a7e4836b3cedc5154afe174cd82eef, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_39a7e4836b3cedc5154afe174cd82eef,
type_description_1,
var_future,
var_source_traceback,
var_filename
);
// Release cached frame if used for exception.
if (frame_39a7e4836b3cedc5154afe174cd82eef == cache_frame_39a7e4836b3cedc5154afe174cd82eef) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_39a7e4836b3cedc5154afe174cd82eef);
cache_frame_39a7e4836b3cedc5154afe174cd82eef = NULL;
}
assertFrameObject(frame_39a7e4836b3cedc5154afe174cd82eef);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_future);
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_future);
Py_DECREF(var_future);
var_future = NULL;
CHECK_OBJECT(var_source_traceback);
Py_DECREF(var_source_traceback);
var_source_traceback = NULL;
Py_XDECREF(var_filename);
var_filename = 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_future);
var_future = NULL;
Py_XDECREF(var_source_traceback);
var_source_traceback = NULL;
Py_XDECREF(var_filename);
var_filename = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__3__fake_ctx_run(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_f = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kw = python_pars[2];
struct Nuitka_FrameObject *frame_60229ce814a89ee32c7ec6aed34e5eb4;
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_60229ce814a89ee32c7ec6aed34e5eb4 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_60229ce814a89ee32c7ec6aed34e5eb4)) {
Py_XDECREF(cache_frame_60229ce814a89ee32c7ec6aed34e5eb4);
#if _DEBUG_REFCOUNTS
if (cache_frame_60229ce814a89ee32c7ec6aed34e5eb4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_60229ce814a89ee32c7ec6aed34e5eb4 = MAKE_FUNCTION_FRAME(codeobj_60229ce814a89ee32c7ec6aed34e5eb4, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_60229ce814a89ee32c7ec6aed34e5eb4->m_type_description == NULL);
frame_60229ce814a89ee32c7ec6aed34e5eb4 = cache_frame_60229ce814a89ee32c7ec6aed34e5eb4;
// Push the new frame as the currently active one.
pushFrameStack(frame_60229ce814a89ee32c7ec6aed34e5eb4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_60229ce814a89ee32c7ec6aed34e5eb4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(par_f);
tmp_dircall_arg1_1 = par_f;
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
CHECK_OBJECT(par_kw);
tmp_dircall_arg3_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_60229ce814a89ee32c7ec6aed34e5eb4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_60229ce814a89ee32c7ec6aed34e5eb4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_60229ce814a89ee32c7ec6aed34e5eb4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_60229ce814a89ee32c7ec6aed34e5eb4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_60229ce814a89ee32c7ec6aed34e5eb4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_60229ce814a89ee32c7ec6aed34e5eb4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_60229ce814a89ee32c7ec6aed34e5eb4,
type_description_1,
par_f,
par_args,
par_kw
);
// Release cached frame if used for exception.
if (frame_60229ce814a89ee32c7ec6aed34e5eb4 == cache_frame_60229ce814a89ee32c7ec6aed34e5eb4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_60229ce814a89ee32c7ec6aed34e5eb4);
cache_frame_60229ce814a89ee32c7ec6aed34e5eb4 = NULL;
}
assertFrameObject(frame_60229ce814a89ee32c7ec6aed34e5eb4);
// 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_f);
Py_DECREF(par_f);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
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_f);
Py_DECREF(par_f);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
// 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$gen$$$function__6_coroutine(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_func = Nuitka_Cell_New1(python_pars[0]);
PyObject *var_wrapper = NULL;
struct Nuitka_FrameObject *frame_93609a0fbe87afdd33b30aeb67e47bb0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_93609a0fbe87afdd33b30aeb67e47bb0 = 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_93609a0fbe87afdd33b30aeb67e47bb0)) {
Py_XDECREF(cache_frame_93609a0fbe87afdd33b30aeb67e47bb0);
#if _DEBUG_REFCOUNTS
if (cache_frame_93609a0fbe87afdd33b30aeb67e47bb0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_93609a0fbe87afdd33b30aeb67e47bb0 = MAKE_FUNCTION_FRAME(codeobj_93609a0fbe87afdd33b30aeb67e47bb0, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_93609a0fbe87afdd33b30aeb67e47bb0->m_type_description == NULL);
frame_93609a0fbe87afdd33b30aeb67e47bb0 = cache_frame_93609a0fbe87afdd33b30aeb67e47bb0;
// Push the new frame as the currently active one.
pushFrameStack(frame_93609a0fbe87afdd33b30aeb67e47bb0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_93609a0fbe87afdd33b30aeb67e47bb0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(Nuitka_Cell_GET(par_func));
tmp_args_element_value_1 = Nuitka_Cell_GET(par_func);
frame_93609a0fbe87afdd33b30aeb67e47bb0->m_frame.f_lineno = 205;
tmp_called_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[10], tmp_args_element_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "co";
goto frame_exception_exit_1;
}
tmp_closure_1[0] = par_func;
Py_INCREF(tmp_closure_1[0]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper(tmp_closure_1);
frame_93609a0fbe87afdd33b30aeb67e47bb0->m_frame.f_lineno = 205;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_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 = 205;
type_description_1 = "co";
goto frame_exception_exit_1;
}
assert(var_wrapper == NULL);
var_wrapper = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_func));
tmp_assattr_value_1 = Nuitka_Cell_GET(par_func);
CHECK_OBJECT(var_wrapper);
tmp_assattr_target_1 = var_wrapper;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[13], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "co";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
CHECK_OBJECT(var_wrapper);
tmp_assattr_target_2 = var_wrapper;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[14], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_1 = "co";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_93609a0fbe87afdd33b30aeb67e47bb0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_93609a0fbe87afdd33b30aeb67e47bb0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_93609a0fbe87afdd33b30aeb67e47bb0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_93609a0fbe87afdd33b30aeb67e47bb0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_93609a0fbe87afdd33b30aeb67e47bb0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_93609a0fbe87afdd33b30aeb67e47bb0,
type_description_1,
par_func,
var_wrapper
);
// Release cached frame if used for exception.
if (frame_93609a0fbe87afdd33b30aeb67e47bb0 == cache_frame_93609a0fbe87afdd33b30aeb67e47bb0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_93609a0fbe87afdd33b30aeb67e47bb0);
cache_frame_93609a0fbe87afdd33b30aeb67e47bb0 = NULL;
}
assertFrameObject(frame_93609a0fbe87afdd33b30aeb67e47bb0);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_wrapper);
tmp_return_value = var_wrapper;
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_wrapper);
Py_DECREF(var_wrapper);
var_wrapper = 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_wrapper);
var_wrapper = 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_func);
Py_DECREF(par_func);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_func);
Py_DECREF(par_func);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper(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_args = python_pars[0];
PyObject *par_kwargs = python_pars[1];
PyObject *var_future = NULL;
PyObject *var_ctx_run = NULL;
PyObject *var_result = NULL;
PyObject *var_e = NULL;
PyObject *var_yielded = NULL;
struct Nuitka_CellObject *var_runner = Nuitka_Cell_Empty();
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
nuitka_bool tmp_try_except_2__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
struct Nuitka_FrameObject *frame_89ea004fd81141cfb1e39a7ce0abba2c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_2;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
bool tmp_result;
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_3;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
static struct Nuitka_FrameObject *cache_frame_89ea004fd81141cfb1e39a7ce0abba2c = 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;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_89ea004fd81141cfb1e39a7ce0abba2c)) {
Py_XDECREF(cache_frame_89ea004fd81141cfb1e39a7ce0abba2c);
#if _DEBUG_REFCOUNTS
if (cache_frame_89ea004fd81141cfb1e39a7ce0abba2c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_89ea004fd81141cfb1e39a7ce0abba2c = MAKE_FUNCTION_FRAME(codeobj_89ea004fd81141cfb1e39a7ce0abba2c, module_tornado$gen, 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_89ea004fd81141cfb1e39a7ce0abba2c->m_type_description == NULL);
frame_89ea004fd81141cfb1e39a7ce0abba2c = cache_frame_89ea004fd81141cfb1e39a7ce0abba2c;
// Push the new frame as the currently active one.
pushFrameStack(frame_89ea004fd81141cfb1e39a7ce0abba2c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_89ea004fd81141cfb1e39a7ce0abba2c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 210;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
assert(var_future == NULL);
var_future = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_cmp_expr_left_1 == NULL)) {
tmp_cmp_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 212;
tmp_expression_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[18]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[19]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
assert(var_ctx_run == NULL);
var_ctx_run = tmp_assign_source_2;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_assign_source_3 == NULL)) {
tmp_assign_source_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
assert(var_ctx_run == NULL);
Py_INCREF(tmp_assign_source_3);
var_ctx_run = tmp_assign_source_3;
}
branch_end_1:;
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_try_except_2__unhandled_indicator = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dircall_arg4_1;
CHECK_OBJECT(var_ctx_run);
tmp_dircall_arg1_1 = var_ctx_run;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 216;
type_description_1 = "ooooooocc";
goto try_except_handler_2;
}
tmp_tuple_element_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_args);
tmp_dircall_arg3_1 = par_args;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg3_1);
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_assign_source_5 = impl___main__$$$function__5_complex_call_helper_pos_star_list_star_dict(dir_call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooooocc";
goto try_except_handler_2;
}
assert(var_result == NULL);
var_result = tmp_assign_source_5;
}
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;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_FALSE;
tmp_try_except_2__unhandled_indicator = tmp_assign_source_6;
}
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_89ea004fd81141cfb1e39a7ce0abba2c, 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_tuple_element_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "ooooooocc";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = PyExc_StopIteration;
PyTuple_SET_ITEM0(tmp_cmp_expr_right_2, 1, tmp_tuple_element_2);
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 = 217;
type_description_1 = "ooooooocc";
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_7;
tmp_assign_source_7 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_7);
var_e = tmp_assign_source_7;
}
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "ooooooocc";
goto try_except_handler_4;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_1 = var_e;
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 218;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "ooooooocc";
goto try_except_handler_4;
}
assert(var_result == NULL);
var_result = tmp_assign_source_8;
}
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_2;
branch_no_2:;
{
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_Exception;
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:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_instance_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "ooooooocc";
goto try_except_handler_3;
}
CHECK_OBJECT(var_future);
tmp_args_element_value_2 = var_future;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
assert(!(tmp_called_instance_2 == NULL));
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 220;
tmp_args_element_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[26]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "ooooooocc";
goto try_except_handler_3;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 220;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
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 = 220;
type_description_1 = "ooooooocc";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
CHECK_OBJECT(var_future);
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto try_return_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
Py_XDECREF(var_future);
var_future = NULL;
goto try_return_handler_3;
// End of try:
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 215;
}
if (exception_tb && exception_tb->tb_frame == &frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame) frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooocc";
goto try_except_handler_3;
branch_end_3:;
branch_end_2:;
goto try_end_3;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
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 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// 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 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_try_except_2__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_try_except_2__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_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_result);
tmp_isinstance_inst_1 = var_result;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[27]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[27]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
nuitka_bool tmp_assign_source_9;
tmp_assign_source_9 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_9;
}
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_ctx_run);
tmp_called_value_4 = var_ctx_run;
tmp_args_element_value_4 = LOOKUP_BUILTIN(mod_consts[28]);
assert(tmp_args_element_value_4 != NULL);
CHECK_OBJECT(var_result);
tmp_args_element_value_5 = var_result;
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 234;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 234;
type_description_1 = "ooooooocc";
goto try_except_handler_6;
}
assert(var_yielded == NULL);
var_yielded = tmp_assign_source_10;
}
goto try_end_4;
// 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;
{
nuitka_bool tmp_assign_source_11;
tmp_assign_source_11 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_11;
}
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_4 == NULL) {
exception_keeper_tb_4 = MAKE_TRACEBACK(frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_keeper_lineno_4);
} else if (exception_keeper_lineno_4 != 0) {
exception_keeper_tb_4 = ADD_TRACEBACK(exception_keeper_tb_4, frame_89ea004fd81141cfb1e39a7ce0abba2c, 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_6;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_tuple_element_3;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_3 = PyExc_StopIteration;
tmp_cmp_expr_right_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_5, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_tuple_element_3 == NULL)) {
tmp_tuple_element_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooocc";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_5, 1, tmp_tuple_element_3);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_5);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_right_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
}
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_12);
var_e = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_8;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "ooooooocc";
goto try_except_handler_8;
}
CHECK_OBJECT(var_future);
tmp_args_element_value_6 = var_future;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooocc";
goto try_except_handler_8;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_8 = var_e;
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 237;
tmp_args_element_value_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_8);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooocc";
goto try_except_handler_8;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 236;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "ooooooocc";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_2);
}
goto try_end_5;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_7;
// End of try:
try_end_5:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_6;
branch_no_6:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_6 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
assert(!(tmp_res == -1));
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_called_value_7;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_called_instance_3;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
}
CHECK_OBJECT(var_future);
tmp_args_element_value_9 = var_future;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 240;
tmp_args_element_value_10 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[26]);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
}
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 240;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_args_element_value_10);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
}
Py_DECREF(tmp_call_result_3);
}
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 233;
}
if (exception_tb && exception_tb->tb_frame == &frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame) frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooocc";
goto try_except_handler_7;
branch_end_7:;
branch_end_6:;
goto try_end_6;
// Exception handler code:
try_except_handler_7:;
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;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
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_8;
nuitka_bool tmp_cmp_expr_left_7;
nuitka_bool tmp_cmp_expr_right_7;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_7 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_7 = NUITKA_BOOL_TRUE;
tmp_condition_result_8 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_args_element_value_14;
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_ctx_run);
tmp_args_element_value_11 = var_ctx_run;
CHECK_OBJECT(var_result);
tmp_args_element_value_12 = var_result;
if (var_future == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 250;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_args_element_value_13 = var_future;
if (var_yielded == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 250;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_args_element_value_14 = var_yielded;
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 250;
{
PyObject *call_args[] = {tmp_args_element_value_11, tmp_args_element_value_12, tmp_args_element_value_13, tmp_args_element_value_14};
tmp_assign_source_13 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_8, call_args);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_runner) == NULL);
PyCell_SET(var_runner, tmp_assign_source_13);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_15;
struct Nuitka_CellObject *tmp_closure_1[1];
if (var_future == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 251;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
tmp_called_instance_4 = var_future;
tmp_closure_1[0] = var_runner;
Py_INCREF(tmp_closure_1[0]);
tmp_args_element_value_15 = MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$function__1_lambda(tmp_closure_1);
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 251;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[33], tmp_args_element_value_15);
Py_DECREF(tmp_args_element_value_15);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_8:;
Py_XDECREF(var_yielded);
var_yielded = NULL;
// Tried code:
if (var_future == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 254;
type_description_1 = "ooooooocc";
goto try_except_handler_9;
}
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_XDECREF(var_future);
var_future = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_7 == NULL) {
exception_keeper_tb_7 = MAKE_TRACEBACK(frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_keeper_lineno_7);
} else if (exception_keeper_lineno_7 != 0) {
exception_keeper_tb_7 = ADD_TRACEBACK(exception_keeper_tb_7, frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_keeper_lineno_7);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7);
Py_XDECREF(var_future);
var_future = NULL;
// Tried code:
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 253;
}
if (exception_tb && exception_tb->tb_frame == &frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame) frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooocc";
goto try_except_handler_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// 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:
// End of try:
branch_no_5:;
branch_no_4:;
{
PyObject *tmp_called_value_9;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_16;
PyObject *tmp_args_element_value_17;
tmp_called_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_9 == NULL)) {
tmp_called_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_future);
tmp_args_element_value_16 = var_future;
CHECK_OBJECT(var_result);
tmp_args_element_value_17 = var_result;
frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame.f_lineno = 265;
{
PyObject *call_args[] = {tmp_args_element_value_16, tmp_args_element_value_17};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_9, call_args);
}
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooooooocc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_89ea004fd81141cfb1e39a7ce0abba2c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89ea004fd81141cfb1e39a7ce0abba2c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89ea004fd81141cfb1e39a7ce0abba2c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_89ea004fd81141cfb1e39a7ce0abba2c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_89ea004fd81141cfb1e39a7ce0abba2c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_89ea004fd81141cfb1e39a7ce0abba2c,
type_description_1,
par_args,
par_kwargs,
var_future,
var_ctx_run,
var_result,
var_e,
var_yielded,
var_runner,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_89ea004fd81141cfb1e39a7ce0abba2c == cache_frame_89ea004fd81141cfb1e39a7ce0abba2c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_89ea004fd81141cfb1e39a7ce0abba2c);
cache_frame_89ea004fd81141cfb1e39a7ce0abba2c = NULL;
}
assertFrameObject(frame_89ea004fd81141cfb1e39a7ce0abba2c);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_future);
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_future);
var_future = NULL;
CHECK_OBJECT(var_ctx_run);
Py_DECREF(var_ctx_run);
var_ctx_run = NULL;
Py_XDECREF(var_result);
var_result = NULL;
CHECK_OBJECT(var_runner);
Py_DECREF(var_runner);
var_runner = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_future);
var_future = NULL;
Py_XDECREF(var_ctx_run);
var_ctx_run = NULL;
Py_XDECREF(var_result);
var_result = NULL;
Py_XDECREF(var_yielded);
var_yielded = NULL;
CHECK_OBJECT(var_runner);
Py_DECREF(var_runner);
var_runner = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$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__ = python_pars[0];
struct Nuitka_FrameObject *frame_90c3475fe7d4f8c3b39e934534d3e8ee;
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_90c3475fe7d4f8c3b39e934534d3e8ee = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee)) {
Py_XDECREF(cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee);
#if _DEBUG_REFCOUNTS
if (cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee = MAKE_FUNCTION_FRAME(codeobj_90c3475fe7d4f8c3b39e934534d3e8ee, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee->m_type_description == NULL);
frame_90c3475fe7d4f8c3b39e934534d3e8ee = cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee;
// Push the new frame as the currently active one.
pushFrameStack(frame_90c3475fe7d4f8c3b39e934534d3e8ee);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_90c3475fe7d4f8c3b39e934534d3e8ee) == 2); // Frame stack
// Framed code:
if (Nuitka_Cell_GET(self->m_closure[0]) == 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 = 251;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_return_value = Nuitka_Cell_GET(self->m_closure[0]);
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_90c3475fe7d4f8c3b39e934534d3e8ee);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_90c3475fe7d4f8c3b39e934534d3e8ee);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_90c3475fe7d4f8c3b39e934534d3e8ee);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_90c3475fe7d4f8c3b39e934534d3e8ee, exception_lineno);
} else if (exception_tb->tb_frame != &frame_90c3475fe7d4f8c3b39e934534d3e8ee->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_90c3475fe7d4f8c3b39e934534d3e8ee, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_90c3475fe7d4f8c3b39e934534d3e8ee,
type_description_1,
par__,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_90c3475fe7d4f8c3b39e934534d3e8ee == cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee);
cache_frame_90c3475fe7d4f8c3b39e934534d3e8ee = NULL;
}
assertFrameObject(frame_90c3475fe7d4f8c3b39e934534d3e8ee);
// 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__);
Py_DECREF(par__);
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__);
Py_DECREF(par__);
// 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$gen$$$function__7_is_coroutine_function(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_func = python_pars[0];
struct Nuitka_FrameObject *frame_519ddae7f97a621274cda70b1486d633;
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_519ddae7f97a621274cda70b1486d633 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_519ddae7f97a621274cda70b1486d633)) {
Py_XDECREF(cache_frame_519ddae7f97a621274cda70b1486d633);
#if _DEBUG_REFCOUNTS
if (cache_frame_519ddae7f97a621274cda70b1486d633 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_519ddae7f97a621274cda70b1486d633 = MAKE_FUNCTION_FRAME(codeobj_519ddae7f97a621274cda70b1486d633, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_519ddae7f97a621274cda70b1486d633->m_type_description == NULL);
frame_519ddae7f97a621274cda70b1486d633 = cache_frame_519ddae7f97a621274cda70b1486d633;
// Push the new frame as the currently active one.
pushFrameStack(frame_519ddae7f97a621274cda70b1486d633);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_519ddae7f97a621274cda70b1486d633) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_func);
tmp_getattr_target_1 = par_func;
tmp_getattr_attr_1 = mod_consts[14];
tmp_getattr_default_1 = Py_False;
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_519ddae7f97a621274cda70b1486d633);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_519ddae7f97a621274cda70b1486d633);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_519ddae7f97a621274cda70b1486d633);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_519ddae7f97a621274cda70b1486d633, exception_lineno);
} else if (exception_tb->tb_frame != &frame_519ddae7f97a621274cda70b1486d633->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_519ddae7f97a621274cda70b1486d633, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_519ddae7f97a621274cda70b1486d633,
type_description_1,
par_func
);
// Release cached frame if used for exception.
if (frame_519ddae7f97a621274cda70b1486d633 == cache_frame_519ddae7f97a621274cda70b1486d633) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_519ddae7f97a621274cda70b1486d633);
cache_frame_519ddae7f97a621274cda70b1486d633 = NULL;
}
assertFrameObject(frame_519ddae7f97a621274cda70b1486d633);
// 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_func);
Py_DECREF(par_func);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_func);
Py_DECREF(par_func);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__8___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_value = python_pars[1];
struct Nuitka_FrameObject *frame_38d7152af802d6ecdc100a56de7554bd;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_38d7152af802d6ecdc100a56de7554bd = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_38d7152af802d6ecdc100a56de7554bd)) {
Py_XDECREF(cache_frame_38d7152af802d6ecdc100a56de7554bd);
#if _DEBUG_REFCOUNTS
if (cache_frame_38d7152af802d6ecdc100a56de7554bd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_38d7152af802d6ecdc100a56de7554bd = MAKE_FUNCTION_FRAME(codeobj_38d7152af802d6ecdc100a56de7554bd, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_38d7152af802d6ecdc100a56de7554bd->m_type_description == NULL);
frame_38d7152af802d6ecdc100a56de7554bd = cache_frame_38d7152af802d6ecdc100a56de7554bd;
// Push the new frame as the currently active one.
pushFrameStack(frame_38d7152af802d6ecdc100a56de7554bd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_38d7152af802d6ecdc100a56de7554bd) == 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[38]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 304;
type_description_1 = "ooc";
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$gen, 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 = 304;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_38d7152af802d6ecdc100a56de7554bd->m_frame.f_lineno = 304;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[39]);
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 = 304;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_value);
tmp_assattr_value_1 = par_value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 305;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_value);
tmp_tuple_element_1 = par_value;
tmp_assattr_value_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assattr_value_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], 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 = 307;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_38d7152af802d6ecdc100a56de7554bd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38d7152af802d6ecdc100a56de7554bd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_38d7152af802d6ecdc100a56de7554bd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_38d7152af802d6ecdc100a56de7554bd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_38d7152af802d6ecdc100a56de7554bd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_38d7152af802d6ecdc100a56de7554bd,
type_description_1,
par_self,
par_value,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_38d7152af802d6ecdc100a56de7554bd == cache_frame_38d7152af802d6ecdc100a56de7554bd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_38d7152af802d6ecdc100a56de7554bd);
cache_frame_38d7152af802d6ecdc100a56de7554bd = NULL;
}
assertFrameObject(frame_38d7152af802d6ecdc100a56de7554bd);
// 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_value);
Py_DECREF(par_value);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__9___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_futures = NULL;
PyObject *var_future = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_genexpr_2__$0 = NULL;
struct Nuitka_FrameObject *frame_d5b9d74c4a09957c15ce7c1ebed320b0;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0)) {
Py_XDECREF(cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0);
#if _DEBUG_REFCOUNTS
if (cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0 = MAKE_FUNCTION_FRAME(codeobj_d5b9d74c4a09957c15ce7c1ebed320b0, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_type_description == NULL);
frame_d5b9d74c4a09957c15ce7c1ebed320b0 = cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0;
// Push the new frame as the currently active one.
pushFrameStack(frame_d5b9d74c4a09957c15ce7c1ebed320b0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d5b9d74c4a09957c15ce7c1ebed320b0) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
CHECK_OBJECT(par_args);
tmp_and_left_value_1 = CHECK_IF_TRUE(par_args) == 1;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_kwargs);
tmp_and_right_value_1 = CHECK_IF_TRUE(par_kwargs) == 1;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 != false) {
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[40];
frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_frame.f_lineno = 369;
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 = 369;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
CHECK_OBJECT(par_kwargs);
tmp_condition_result_2 = CHECK_IF_TRUE(par_kwargs) == 1;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_dict_seq_1;
PyObject *tmp_assattr_target_1;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_dict_arg_1;
CHECK_OBJECT(par_kwargs);
tmp_dict_arg_1 = par_kwargs;
tmp_iter_arg_1 = DICT_ITERITEMS(tmp_dict_arg_1);
assert(!(tmp_iter_arg_1 == NULL));
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 = 372;
type_description_1 = "ooooo";
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_dict_seq_1 = MAKE_GENERATOR_tornado$gen$$$function__9___init__$$$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_assattr_value_1 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[41], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_list_arg_1;
PyObject *tmp_dict_arg_2;
CHECK_OBJECT(par_kwargs);
tmp_dict_arg_2 = par_kwargs;
tmp_list_arg_1 = DICT_ITERVALUES(tmp_dict_arg_2);
assert(!(tmp_list_arg_1 == NULL));
tmp_assign_source_2 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_futures == NULL);
var_futures = tmp_assign_source_2;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_dict_seq_2;
PyObject *tmp_assattr_target_2;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = (PyObject *)&PyEnum_Type;
CHECK_OBJECT(par_args);
tmp_args_element_value_1 = par_args;
frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_frame.f_lineno = 375;
tmp_iter_arg_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_2__$0 == NULL);
tmp_genexpr_2__$0 = tmp_assign_source_3;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_closure_2[0] = Nuitka_Cell_New0(tmp_genexpr_2__$0);
tmp_dict_seq_2 = MAKE_GENERATOR_tornado$gen$$$function__9___init__$$$genexpr__2_genexpr(tmp_closure_2);
goto try_return_handler_3;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_genexpr_2__$0);
Py_DECREF(tmp_genexpr_2__$0);
tmp_genexpr_2__$0 = NULL;
goto outline_result_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_2:;
tmp_assattr_value_2 = TO_DICT(tmp_dict_seq_2, NULL);
Py_DECREF(tmp_dict_seq_2);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[41], 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 = 375;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(par_args);
tmp_assign_source_4 = par_args;
assert(var_futures == NULL);
Py_INCREF(tmp_assign_source_4);
var_futures = tmp_assign_source_4;
}
branch_end_2:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_frame.f_lineno = 378;
tmp_assattr_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[43]);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_1 = "ooooo";
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[44], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[45], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[46], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 380;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[47], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(var_futures);
tmp_iter_arg_3 = var_futures;
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 383;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_future;
var_future = tmp_assign_source_7;
Py_INCREF(var_future);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_future);
tmp_args_element_value_2 = var_future;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 384;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
tmp_expression_value_1 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[50]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_frame.f_lineno = 384;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
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 = 384;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
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;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5b9d74c4a09957c15ce7c1ebed320b0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5b9d74c4a09957c15ce7c1ebed320b0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d5b9d74c4a09957c15ce7c1ebed320b0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d5b9d74c4a09957c15ce7c1ebed320b0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d5b9d74c4a09957c15ce7c1ebed320b0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d5b9d74c4a09957c15ce7c1ebed320b0,
type_description_1,
par_self,
par_args,
par_kwargs,
var_futures,
var_future
);
// Release cached frame if used for exception.
if (frame_d5b9d74c4a09957c15ce7c1ebed320b0 == cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0);
cache_frame_d5b9d74c4a09957c15ce7c1ebed320b0 = NULL;
}
assertFrameObject(frame_d5b9d74c4a09957c15ce7c1ebed320b0);
// 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:;
CHECK_OBJECT(var_futures);
Py_DECREF(var_futures);
var_futures = NULL;
Py_XDECREF(var_future);
var_future = 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_futures);
var_futures = NULL;
Py_XDECREF(var_future);
var_future = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct tornado$gen$$$function__9___init__$$$genexpr__1_genexpr_locals {
PyObject *var_k;
PyObject *var_f;
PyObject *tmp_iter_value_0;
PyObject *tmp_tuple_unpack_1__element_1;
PyObject *tmp_tuple_unpack_1__element_2;
PyObject *tmp_tuple_unpack_1__source_iter;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
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;
char yield_tmps[1024];
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$gen$$$function__9___init__$$$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$gen$$$function__9___init__$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$gen$$$function__9___init__$$$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->var_f = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
generator_heap->tmp_tuple_unpack_1__source_iter = 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_a334b8fe3bda05026578c4a9a5795704, module_tornado$gen, sizeof(void *)+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 = "Noo";
generator_heap->exception_lineno = 372;
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);
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_iter_arg_1 = generator_heap->tmp_iter_value_0;
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 372;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_3;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter;
generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 372;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1;
generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 372;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2;
generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = generator_heap->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));
generator_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(generator_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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 372;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(generator_heap->tmp_iterator_attempt);
generator_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
generator_heap->exception_value = mod_consts[51];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 372;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
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;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = 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 try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
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->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = 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 try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1;
{
PyObject *old = generator_heap->var_k;
generator_heap->var_k = tmp_assign_source_5;
Py_INCREF(generator_heap->var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2;
{
PyObject *old = generator_heap->var_f;
generator_heap->var_f = tmp_assign_source_6;
Py_INCREF(generator_heap->var_f);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_expression_value_1;
PyObject *tmp_tuple_element_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_f);
tmp_tuple_element_1 = generator_heap->var_f;
tmp_expression_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_expression_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(generator_heap->var_k);
tmp_tuple_element_1 = generator_heap->var_k;
PyTuple_SET_ITEM0(tmp_expression_value_1, 1, tmp_tuple_element_1);
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_tuple_element_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_tuple_element_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 = 372;
generator_heap->type_description_1 = "Noo";
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 = 372;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_3 = generator_heap->exception_type;
generator_heap->exception_keeper_value_3 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_3 = 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_3;
generator_heap->exception_value = generator_heap->exception_keeper_value_3;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_3;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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,
generator_heap->var_f
);
// 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_4;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_4 = generator_heap->exception_type;
generator_heap->exception_keeper_value_4 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_4 = 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;
Py_XDECREF(generator_heap->var_f);
generator_heap->var_f = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_4;
generator_heap->exception_value = generator_heap->exception_keeper_value_4;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_4;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
try_end_4:;
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;
Py_XDECREF(generator_heap->var_f);
generator_heap->var_f = 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$gen$$$function__9___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$gen$$$function__9___init__$$$genexpr__1_genexpr_context,
module_tornado$gen,
mod_consts[52],
#if PYTHON_VERSION >= 0x350
mod_consts[53],
#endif
codeobj_a334b8fe3bda05026578c4a9a5795704,
closure,
1,
sizeof(struct tornado$gen$$$function__9___init__$$$genexpr__1_genexpr_locals)
);
}
struct tornado$gen$$$function__9___init__$$$genexpr__2_genexpr_locals {
PyObject *var_i;
PyObject *var_f;
PyObject *tmp_iter_value_0;
PyObject *tmp_tuple_unpack_1__element_1;
PyObject *tmp_tuple_unpack_1__element_2;
PyObject *tmp_tuple_unpack_1__source_iter;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
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;
char yield_tmps[1024];
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$gen$$$function__9___init__$$$genexpr__2_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$gen$$$function__9___init__$$$genexpr__2_genexpr_locals *generator_heap = (struct tornado$gen$$$function__9___init__$$$genexpr__2_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_i = NULL;
generator_heap->var_f = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
generator_heap->tmp_tuple_unpack_1__source_iter = 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_544e6c34e083a2e18719d7b5b22d7a84, module_tornado$gen, sizeof(void *)+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 = "Noo";
generator_heap->exception_lineno = 375;
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);
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_iter_arg_1 = generator_heap->tmp_iter_value_0;
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 375;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_3;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter;
generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 375;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1;
generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 375;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2;
generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = generator_heap->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));
generator_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(generator_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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 375;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(generator_heap->tmp_iterator_attempt);
generator_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
generator_heap->exception_value = mod_consts[51];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 375;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
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;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = 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 try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
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->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = 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 try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1;
{
PyObject *old = generator_heap->var_i;
generator_heap->var_i = tmp_assign_source_5;
Py_INCREF(generator_heap->var_i);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2;
{
PyObject *old = generator_heap->var_f;
generator_heap->var_f = tmp_assign_source_6;
Py_INCREF(generator_heap->var_f);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_expression_value_1;
PyObject *tmp_tuple_element_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_f);
tmp_tuple_element_1 = generator_heap->var_f;
tmp_expression_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_expression_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(generator_heap->var_i);
tmp_tuple_element_1 = generator_heap->var_i;
PyTuple_SET_ITEM0(tmp_expression_value_1, 1, tmp_tuple_element_1);
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_tuple_element_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_tuple_element_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 = 375;
generator_heap->type_description_1 = "Noo";
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 = 375;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_3 = generator_heap->exception_type;
generator_heap->exception_keeper_value_3 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_3 = 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_3;
generator_heap->exception_value = generator_heap->exception_keeper_value_3;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_3;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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_i,
generator_heap->var_f
);
// 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_4;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_4 = generator_heap->exception_type;
generator_heap->exception_keeper_value_4 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_4 = 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_i);
generator_heap->var_i = NULL;
Py_XDECREF(generator_heap->var_f);
generator_heap->var_f = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_4;
generator_heap->exception_value = generator_heap->exception_keeper_value_4;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_4;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
try_end_4:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_i);
generator_heap->var_i = NULL;
Py_XDECREF(generator_heap->var_f);
generator_heap->var_f = 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$gen$$$function__9___init__$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$gen$$$function__9___init__$$$genexpr__2_genexpr_context,
module_tornado$gen,
mod_consts[52],
#if PYTHON_VERSION >= 0x350
mod_consts[53],
#endif
codeobj_544e6c34e083a2e18719d7b5b22d7a84,
closure,
1,
sizeof(struct tornado$gen$$$function__9___init__$$$genexpr__2_genexpr_locals)
);
}
static PyObject *impl_tornado$gen$$$function__10_done(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_1511ddef513669bc54e9c59217e906f1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_1511ddef513669bc54e9c59217e906f1 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1511ddef513669bc54e9c59217e906f1)) {
Py_XDECREF(cache_frame_1511ddef513669bc54e9c59217e906f1);
#if _DEBUG_REFCOUNTS
if (cache_frame_1511ddef513669bc54e9c59217e906f1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1511ddef513669bc54e9c59217e906f1 = MAKE_FUNCTION_FRAME(codeobj_1511ddef513669bc54e9c59217e906f1, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1511ddef513669bc54e9c59217e906f1->m_type_description == NULL);
frame_1511ddef513669bc54e9c59217e906f1 = cache_frame_1511ddef513669bc54e9c59217e906f1;
// Push the new frame as the currently active one.
pushFrameStack(frame_1511ddef513669bc54e9c59217e906f1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1511ddef513669bc54e9c59217e906f1) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[44]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
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 = 388;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[41]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 388;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
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 == NUITKA_BOOL_TRUE) {
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:;
{
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[45], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[46], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1511ddef513669bc54e9c59217e906f1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1511ddef513669bc54e9c59217e906f1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1511ddef513669bc54e9c59217e906f1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1511ddef513669bc54e9c59217e906f1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1511ddef513669bc54e9c59217e906f1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1511ddef513669bc54e9c59217e906f1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1511ddef513669bc54e9c59217e906f1,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_1511ddef513669bc54e9c59217e906f1 == cache_frame_1511ddef513669bc54e9c59217e906f1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1511ddef513669bc54e9c59217e906f1);
cache_frame_1511ddef513669bc54e9c59217e906f1 = NULL;
}
assertFrameObject(frame_1511ddef513669bc54e9c59217e906f1);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_True;
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$gen$$$function__11_next(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_37c21763765c5f087b5b35e8cd3ae9df;
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_37c21763765c5f087b5b35e8cd3ae9df = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_37c21763765c5f087b5b35e8cd3ae9df)) {
Py_XDECREF(cache_frame_37c21763765c5f087b5b35e8cd3ae9df);
#if _DEBUG_REFCOUNTS
if (cache_frame_37c21763765c5f087b5b35e8cd3ae9df == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_37c21763765c5f087b5b35e8cd3ae9df = MAKE_FUNCTION_FRAME(codeobj_37c21763765c5f087b5b35e8cd3ae9df, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_37c21763765c5f087b5b35e8cd3ae9df->m_type_description == NULL);
frame_37c21763765c5f087b5b35e8cd3ae9df = cache_frame_37c21763765c5f087b5b35e8cd3ae9df;
// Push the new frame as the currently active one.
pushFrameStack(frame_37c21763765c5f087b5b35e8cd3ae9df);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_37c21763765c5f087b5b35e8cd3ae9df) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_37c21763765c5f087b5b35e8cd3ae9df->m_frame.f_lineno = 400;
tmp_assattr_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[47], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
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[44]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
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 = 402;
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_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[55]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 403;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_37c21763765c5f087b5b35e8cd3ae9df->m_frame.f_lineno = 403;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[56]);
Py_DECREF(tmp_called_instance_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 403;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_37c21763765c5f087b5b35e8cd3ae9df->m_frame.f_lineno = 403;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[47]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_37c21763765c5f087b5b35e8cd3ae9df);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37c21763765c5f087b5b35e8cd3ae9df);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37c21763765c5f087b5b35e8cd3ae9df);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_37c21763765c5f087b5b35e8cd3ae9df, exception_lineno);
} else if (exception_tb->tb_frame != &frame_37c21763765c5f087b5b35e8cd3ae9df->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_37c21763765c5f087b5b35e8cd3ae9df, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_37c21763765c5f087b5b35e8cd3ae9df,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_37c21763765c5f087b5b35e8cd3ae9df == cache_frame_37c21763765c5f087b5b35e8cd3ae9df) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_37c21763765c5f087b5b35e8cd3ae9df);
cache_frame_37c21763765c5f087b5b35e8cd3ae9df = NULL;
}
assertFrameObject(frame_37c21763765c5f087b5b35e8cd3ae9df);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__12__done_callback(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_done = python_pars[1];
struct Nuitka_FrameObject *frame_998913c33738ebf2d2920b0d6d403f76;
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_998913c33738ebf2d2920b0d6d403f76 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_998913c33738ebf2d2920b0d6d403f76)) {
Py_XDECREF(cache_frame_998913c33738ebf2d2920b0d6d403f76);
#if _DEBUG_REFCOUNTS
if (cache_frame_998913c33738ebf2d2920b0d6d403f76 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_998913c33738ebf2d2920b0d6d403f76 = MAKE_FUNCTION_FRAME(codeobj_998913c33738ebf2d2920b0d6d403f76, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_998913c33738ebf2d2920b0d6d403f76->m_type_description == NULL);
frame_998913c33738ebf2d2920b0d6d403f76 = cache_frame_998913c33738ebf2d2920b0d6d403f76;
// Push the new frame as the currently active one.
pushFrameStack(frame_998913c33738ebf2d2920b0d6d403f76);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_998913c33738ebf2d2920b0d6d403f76) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
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 = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_998913c33738ebf2d2920b0d6d403f76->m_frame.f_lineno = 408;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[58]);
Py_DECREF(tmp_called_instance_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
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_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_done);
tmp_args_element_value_1 = par_done;
frame_998913c33738ebf2d2920b0d6d403f76->m_frame.f_lineno = 409;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[55], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_done);
tmp_args_element_value_2 = par_done;
frame_998913c33738ebf2d2920b0d6d403f76->m_frame.f_lineno = 411;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[59], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_998913c33738ebf2d2920b0d6d403f76);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_998913c33738ebf2d2920b0d6d403f76);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_998913c33738ebf2d2920b0d6d403f76, exception_lineno);
} else if (exception_tb->tb_frame != &frame_998913c33738ebf2d2920b0d6d403f76->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_998913c33738ebf2d2920b0d6d403f76, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_998913c33738ebf2d2920b0d6d403f76,
type_description_1,
par_self,
par_done
);
// Release cached frame if used for exception.
if (frame_998913c33738ebf2d2920b0d6d403f76 == cache_frame_998913c33738ebf2d2920b0d6d403f76) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_998913c33738ebf2d2920b0d6d403f76);
cache_frame_998913c33738ebf2d2920b0d6d403f76 = NULL;
}
assertFrameObject(frame_998913c33738ebf2d2920b0d6d403f76);
// 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_done);
Py_DECREF(par_done);
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_done);
Py_DECREF(par_done);
// 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$gen$$$function__13__return_result(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_done = python_pars[1];
PyObject *var_res = NULL;
struct Nuitka_FrameObject *frame_9be635da48dc68b6208cdc9d40d3273f;
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_9be635da48dc68b6208cdc9d40d3273f = 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_9be635da48dc68b6208cdc9d40d3273f)) {
Py_XDECREF(cache_frame_9be635da48dc68b6208cdc9d40d3273f);
#if _DEBUG_REFCOUNTS
if (cache_frame_9be635da48dc68b6208cdc9d40d3273f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9be635da48dc68b6208cdc9d40d3273f = MAKE_FUNCTION_FRAME(codeobj_9be635da48dc68b6208cdc9d40d3273f, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9be635da48dc68b6208cdc9d40d3273f->m_type_description == NULL);
frame_9be635da48dc68b6208cdc9d40d3273f = cache_frame_9be635da48dc68b6208cdc9d40d3273f;
// Push the new frame as the currently active one.
pushFrameStack(frame_9be635da48dc68b6208cdc9d40d3273f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9be635da48dc68b6208cdc9d40d3273f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[60];
frame_9be635da48dc68b6208cdc9d40d3273f->m_frame.f_lineno = 418;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_Exception, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 418;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_done);
tmp_args_element_value_1 = par_done;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_9be635da48dc68b6208cdc9d40d3273f->m_frame.f_lineno = 419;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[47]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_res == NULL);
var_res = tmp_assign_source_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[47], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_done);
tmp_assattr_value_2 = par_done;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[46], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[41]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[62]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_done);
tmp_args_element_value_3 = par_done;
frame_9be635da48dc68b6208cdc9d40d3273f->m_frame.f_lineno = 424;
tmp_assattr_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_2);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
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[45], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9be635da48dc68b6208cdc9d40d3273f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9be635da48dc68b6208cdc9d40d3273f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9be635da48dc68b6208cdc9d40d3273f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9be635da48dc68b6208cdc9d40d3273f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9be635da48dc68b6208cdc9d40d3273f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9be635da48dc68b6208cdc9d40d3273f,
type_description_1,
par_self,
par_done,
var_res
);
// Release cached frame if used for exception.
if (frame_9be635da48dc68b6208cdc9d40d3273f == cache_frame_9be635da48dc68b6208cdc9d40d3273f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9be635da48dc68b6208cdc9d40d3273f);
cache_frame_9be635da48dc68b6208cdc9d40d3273f = NULL;
}
assertFrameObject(frame_9be635da48dc68b6208cdc9d40d3273f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_res);
tmp_return_value = var_res;
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_res);
Py_DECREF(var_res);
var_res = 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_res);
var_res = 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_done);
Py_DECREF(par_done);
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_done);
Py_DECREF(par_done);
// 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$gen$$$function__14___aiter__(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 *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_self);
tmp_return_value = par_self;
Py_INCREF(tmp_return_value);
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);
// 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$gen$$$function__15___anext__(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_9c267069805bed77f038f483abfdf570;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_9c267069805bed77f038f483abfdf570 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9c267069805bed77f038f483abfdf570)) {
Py_XDECREF(cache_frame_9c267069805bed77f038f483abfdf570);
#if _DEBUG_REFCOUNTS
if (cache_frame_9c267069805bed77f038f483abfdf570 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9c267069805bed77f038f483abfdf570 = MAKE_FUNCTION_FRAME(codeobj_9c267069805bed77f038f483abfdf570, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9c267069805bed77f038f483abfdf570->m_type_description == NULL);
frame_9c267069805bed77f038f483abfdf570 = cache_frame_9c267069805bed77f038f483abfdf570;
// Push the new frame as the currently active one.
pushFrameStack(frame_9c267069805bed77f038f483abfdf570);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9c267069805bed77f038f483abfdf570) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_9c267069805bed77f038f483abfdf570->m_frame.f_lineno = 432;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[58]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 432;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 432;
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_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
tmp_getattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_getattr_target_1 == NULL)) {
tmp_getattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[65];
tmp_called_value_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_9c267069805bed77f038f483abfdf570->m_frame.f_lineno = 434;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 434;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_9c267069805bed77f038f483abfdf570->m_frame.f_lineno = 435;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[28]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 435;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c267069805bed77f038f483abfdf570);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c267069805bed77f038f483abfdf570);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c267069805bed77f038f483abfdf570);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9c267069805bed77f038f483abfdf570, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9c267069805bed77f038f483abfdf570->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9c267069805bed77f038f483abfdf570, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9c267069805bed77f038f483abfdf570,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_9c267069805bed77f038f483abfdf570 == cache_frame_9c267069805bed77f038f483abfdf570) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9c267069805bed77f038f483abfdf570);
cache_frame_9c267069805bed77f038f483abfdf570 = NULL;
}
assertFrameObject(frame_9c267069805bed77f038f483abfdf570);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__16_multi(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_children = python_pars[0];
PyObject *par_quiet_exceptions = python_pars[1];
struct Nuitka_FrameObject *frame_868337ecd4c9b16e614c401bf4423ce9;
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_868337ecd4c9b16e614c401bf4423ce9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_868337ecd4c9b16e614c401bf4423ce9)) {
Py_XDECREF(cache_frame_868337ecd4c9b16e614c401bf4423ce9);
#if _DEBUG_REFCOUNTS
if (cache_frame_868337ecd4c9b16e614c401bf4423ce9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_868337ecd4c9b16e614c401bf4423ce9 = MAKE_FUNCTION_FRAME(codeobj_868337ecd4c9b16e614c401bf4423ce9, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_868337ecd4c9b16e614c401bf4423ce9->m_type_description == NULL);
frame_868337ecd4c9b16e614c401bf4423ce9 = cache_frame_868337ecd4c9b16e614c401bf4423ce9;
// Push the new frame as the currently active one.
pushFrameStack(frame_868337ecd4c9b16e614c401bf4423ce9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_868337ecd4c9b16e614c401bf4423ce9) == 2); // Frame stack
// Framed code:
{
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$gen, (Nuitka_StringObject *)mod_consts[66]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[66]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_children);
tmp_kw_call_arg_value_0_1 = par_children;
CHECK_OBJECT(par_quiet_exceptions);
tmp_kw_call_dict_value_0_1 = par_quiet_exceptions;
frame_868337ecd4c9b16e614c401bf4423ce9->m_frame.f_lineno = 486;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[67]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_868337ecd4c9b16e614c401bf4423ce9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_868337ecd4c9b16e614c401bf4423ce9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_868337ecd4c9b16e614c401bf4423ce9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_868337ecd4c9b16e614c401bf4423ce9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_868337ecd4c9b16e614c401bf4423ce9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_868337ecd4c9b16e614c401bf4423ce9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_868337ecd4c9b16e614c401bf4423ce9,
type_description_1,
par_children,
par_quiet_exceptions
);
// Release cached frame if used for exception.
if (frame_868337ecd4c9b16e614c401bf4423ce9 == cache_frame_868337ecd4c9b16e614c401bf4423ce9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_868337ecd4c9b16e614c401bf4423ce9);
cache_frame_868337ecd4c9b16e614c401bf4423ce9 = NULL;
}
assertFrameObject(frame_868337ecd4c9b16e614c401bf4423ce9);
// 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_children);
Py_DECREF(par_children);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
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_children);
Py_DECREF(par_children);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
// 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$gen$$$function__17_multi_future(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_children = python_pars[0];
struct Nuitka_CellObject *par_quiet_exceptions = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *var_keys = Nuitka_Cell_Empty();
PyObject *var_children_seq = NULL;
struct Nuitka_CellObject *var_children_futs = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_unfinished_children = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_future = Nuitka_Cell_Empty();
PyObject *var_callback = NULL;
PyObject *var_listening = NULL;
PyObject *var_f = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_52a54bb346d8fe5a154e606c09158bfe;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *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_52a54bb346d8fe5a154e606c09158bfe = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_52a54bb346d8fe5a154e606c09158bfe)) {
Py_XDECREF(cache_frame_52a54bb346d8fe5a154e606c09158bfe);
#if _DEBUG_REFCOUNTS
if (cache_frame_52a54bb346d8fe5a154e606c09158bfe == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_52a54bb346d8fe5a154e606c09158bfe = MAKE_FUNCTION_FRAME(codeobj_52a54bb346d8fe5a154e606c09158bfe, module_tornado$gen, 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_52a54bb346d8fe5a154e606c09158bfe->m_type_description == NULL);
frame_52a54bb346d8fe5a154e606c09158bfe = cache_frame_52a54bb346d8fe5a154e606c09158bfe;
// Push the new frame as the currently active one.
pushFrameStack(frame_52a54bb346d8fe5a154e606c09158bfe);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_52a54bb346d8fe5a154e606c09158bfe) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_children);
tmp_isinstance_inst_1 = par_children;
tmp_isinstance_cls_1 = (PyObject *)&PyDict_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_children);
tmp_expression_value_1 = par_children;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[69]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 511;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_keys) == NULL);
PyCell_SET(var_keys, tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_children);
tmp_expression_value_2 = par_children;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[70]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 512;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 512;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 512;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(var_children_seq == NULL);
var_children_seq = tmp_assign_source_2;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
assert(Nuitka_Cell_GET(var_keys) == NULL);
Py_INCREF(tmp_assign_source_3);
PyCell_SET(var_keys, tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(par_children);
tmp_assign_source_4 = par_children;
assert(var_children_seq == NULL);
Py_INCREF(tmp_assign_source_4);
var_children_seq = tmp_assign_source_4;
}
branch_end_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_list_arg_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = (PyObject *)&PyMap_Type;
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_children_seq);
tmp_args_element_value_2 = var_children_seq;
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 516;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_list_arg_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_list_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_LIST(tmp_list_arg_2);
Py_DECREF(tmp_list_arg_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_children_futs) == NULL);
PyCell_SET(var_children_futs, tmp_assign_source_5);
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_all_arg_1;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_children_futs));
tmp_iter_arg_1 = Nuitka_Cell_GET(var_children_futs);
tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_6;
}
// 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$gen$$$function__17_multi_future$$$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_1 = BUILTIN_ALL(tmp_all_arg_1);
Py_DECREF(tmp_all_arg_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_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:;
{
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 = 517;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_set_arg_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_children_futs));
tmp_set_arg_1 = Nuitka_Cell_GET(var_children_futs);
tmp_assign_source_7 = PySet_New(tmp_set_arg_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_unfinished_children) == NULL);
PyCell_SET(var_unfinished_children, tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_4;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 520;
tmp_assign_source_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_future) == NULL);
PyCell_SET(var_future, tmp_assign_source_8);
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(Nuitka_Cell_GET(var_children_futs));
tmp_operand_value_2 = Nuitka_Cell_GET(var_children_futs);
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 = 521;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 522;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_future));
tmp_args_element_value_3 = Nuitka_Cell_GET(var_future);
if (Nuitka_Cell_GET(var_keys) == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[69]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 522;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = Nuitka_Cell_GET(var_keys);
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_4 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_args_element_value_4 = MAKE_DICT_EMPTY();
goto condexpr_end_1;
condexpr_false_1:;
tmp_args_element_value_4 = MAKE_LIST_EMPTY(0);
condexpr_end_1:;
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 522;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
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 = 522;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_3:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_2[5];
tmp_dict_key_1 = mod_consts[72];
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
tmp_annotations_1 = _PyDict_NewPresized( 2 );
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[73];
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_2[0] = var_children_futs;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = var_future;
Py_INCREF(tmp_closure_2[1]);
tmp_closure_2[2] = var_keys;
Py_INCREF(tmp_closure_2[2]);
tmp_closure_2[3] = par_quiet_exceptions;
Py_INCREF(tmp_closure_2[3]);
tmp_closure_2[4] = var_unfinished_children;
Py_INCREF(tmp_closure_2[4]);
tmp_assign_source_9 = MAKE_FUNCTION_tornado$gen$$$function__17_multi_future$$$function__1_callback(tmp_annotations_1, tmp_closure_2);
assert(var_callback == NULL);
var_callback = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = PySet_New(NULL);
assert(var_listening == NULL);
var_listening = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(Nuitka_Cell_GET(var_children_futs));
tmp_iter_arg_2 = Nuitka_Cell_GET(var_children_futs);
tmp_assign_source_11 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "occocccooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_11;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_12 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_12 == 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 = "occocccooo";
exception_lineno = 548;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_12;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_13 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_f;
var_f = tmp_assign_source_13;
Py_INCREF(var_f);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_f);
tmp_cmp_expr_left_2 = var_f;
if (var_listening == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 549;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = var_listening;
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 = 549;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
if (var_listening == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 550;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
tmp_called_instance_1 = var_listening;
CHECK_OBJECT(var_f);
tmp_args_element_value_5 = var_f;
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 550;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[77], tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 550;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_f);
tmp_args_element_value_6 = var_f;
if (var_callback == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 551;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
tmp_args_element_value_7 = var_callback;
frame_52a54bb346d8fe5a154e606c09158bfe->m_frame.f_lineno = 551;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "occocccooo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
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;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_52a54bb346d8fe5a154e606c09158bfe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_52a54bb346d8fe5a154e606c09158bfe);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_52a54bb346d8fe5a154e606c09158bfe, exception_lineno);
} else if (exception_tb->tb_frame != &frame_52a54bb346d8fe5a154e606c09158bfe->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_52a54bb346d8fe5a154e606c09158bfe, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_52a54bb346d8fe5a154e606c09158bfe,
type_description_1,
par_children,
par_quiet_exceptions,
var_keys,
var_children_seq,
var_children_futs,
var_unfinished_children,
var_future,
var_callback,
var_listening,
var_f
);
// Release cached frame if used for exception.
if (frame_52a54bb346d8fe5a154e606c09158bfe == cache_frame_52a54bb346d8fe5a154e606c09158bfe) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_52a54bb346d8fe5a154e606c09158bfe);
cache_frame_52a54bb346d8fe5a154e606c09158bfe = NULL;
}
assertFrameObject(frame_52a54bb346d8fe5a154e606c09158bfe);
// 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;
CHECK_OBJECT(Nuitka_Cell_GET(var_future));
tmp_return_value = Nuitka_Cell_GET(var_future);
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_keys);
Py_DECREF(var_keys);
var_keys = NULL;
CHECK_OBJECT(var_children_seq);
Py_DECREF(var_children_seq);
var_children_seq = NULL;
CHECK_OBJECT(var_children_futs);
Py_DECREF(var_children_futs);
var_children_futs = NULL;
CHECK_OBJECT(var_unfinished_children);
Py_DECREF(var_unfinished_children);
var_unfinished_children = NULL;
CHECK_OBJECT(var_future);
Py_DECREF(var_future);
var_future = NULL;
Py_XDECREF(var_callback);
var_callback = NULL;
Py_XDECREF(var_listening);
var_listening = NULL;
Py_XDECREF(var_f);
var_f = 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;
CHECK_OBJECT(var_keys);
Py_DECREF(var_keys);
var_keys = NULL;
Py_XDECREF(var_children_seq);
var_children_seq = NULL;
CHECK_OBJECT(var_children_futs);
Py_DECREF(var_children_futs);
var_children_futs = NULL;
CHECK_OBJECT(var_unfinished_children);
Py_DECREF(var_unfinished_children);
var_unfinished_children = NULL;
CHECK_OBJECT(var_future);
Py_DECREF(var_future);
var_future = NULL;
Py_XDECREF(var_callback);
var_callback = NULL;
Py_XDECREF(var_listening);
var_listening = NULL;
Py_XDECREF(var_f);
var_f = 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_children);
Py_DECREF(par_children);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
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_children);
Py_DECREF(par_children);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
// 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$gen$$$function__17_multi_future$$$genexpr__1_genexpr_locals {
PyObject *var_i;
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$gen$$$function__17_multi_future$$$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$gen$$$function__17_multi_future$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$gen$$$function__17_multi_future$$$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_i = 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_299efe64d9ca143b805177cb6746cc49, module_tornado$gen, 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 = 517;
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_i;
generator_heap->var_i = tmp_assign_source_2;
Py_INCREF(generator_heap->var_i);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 517;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_i);
tmp_args_element_value_1 = generator_heap->var_i;
generator->m_frame->m_frame.f_lineno = 517;
tmp_or_left_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 517;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_or_left_value_1);
generator_heap->exception_lineno = 517;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
CHECK_OBJECT(generator_heap->var_i);
tmp_isinstance_inst_1 = generator_heap->var_i;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 517;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator_heap->tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_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 = 517;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_or_right_value_1 = (generator_heap->tmp_res != 0) ? Py_True : Py_False;
Py_INCREF(tmp_or_right_value_1);
tmp_expression_value_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_expression_value_1 = tmp_or_left_value_1;
or_end_1:;
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(PyObject *), &tmp_or_right_value_1, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_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_or_left_truth_1, sizeof(int), &tmp_or_left_value_1, sizeof(PyObject *), &tmp_or_right_value_1, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_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 = 517;
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 = 517;
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_i
);
// 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_i);
generator_heap->var_i = 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_i);
generator_heap->var_i = 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$gen$$$function__17_multi_future$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$gen$$$function__17_multi_future$$$genexpr__1_genexpr_context,
module_tornado$gen,
mod_consts[52],
#if PYTHON_VERSION >= 0x350
mod_consts[81],
#endif
codeobj_299efe64d9ca143b805177cb6746cc49,
closure,
1,
sizeof(struct tornado$gen$$$function__17_multi_future$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_tornado$gen$$$function__17_multi_future$$$function__1_callback(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_fut = python_pars[0];
PyObject *var_result_list = NULL;
PyObject *var_f = NULL;
PyObject *var_e = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_2399de7cb243a4556785459f7f07c641;
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;
int tmp_res;
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;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
bool tmp_result;
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;
static struct Nuitka_FrameObject *cache_frame_2399de7cb243a4556785459f7f07c641 = NULL;
PyObject *tmp_return_value = 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_2399de7cb243a4556785459f7f07c641)) {
Py_XDECREF(cache_frame_2399de7cb243a4556785459f7f07c641);
#if _DEBUG_REFCOUNTS
if (cache_frame_2399de7cb243a4556785459f7f07c641 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2399de7cb243a4556785459f7f07c641 = MAKE_FUNCTION_FRAME(codeobj_2399de7cb243a4556785459f7f07c641, module_tornado$gen, 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_2399de7cb243a4556785459f7f07c641->m_type_description == NULL);
frame_2399de7cb243a4556785459f7f07c641 = cache_frame_2399de7cb243a4556785459f7f07c641;
// Push the new frame as the currently active one.
pushFrameStack(frame_2399de7cb243a4556785459f7f07c641);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2399de7cb243a4556785459f7f07c641) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[4]) == 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 = 525;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[4]);
CHECK_OBJECT(par_fut);
tmp_args_element_value_1 = par_fut;
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 525;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[83], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
if (Nuitka_Cell_GET(self->m_closure[4]) == 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 = 526;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = Nuitka_Cell_GET(self->m_closure[4]);
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 = 526;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_result_list == NULL);
var_result_list = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[84]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 528;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooccccc";
exception_lineno = 528;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_f;
var_f = tmp_assign_source_4;
Py_INCREF(var_f);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_2;
if (var_result_list == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 530;
type_description_1 = "ooooccccc";
goto try_except_handler_3;
}
tmp_expression_value_1 = var_result_list;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[59]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooccccc";
goto try_except_handler_3;
}
CHECK_OBJECT(var_f);
tmp_called_instance_2 = var_f;
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 530;
tmp_args_element_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[86]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 530;
type_description_1 = "ooooccccc";
goto try_except_handler_3;
}
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 530;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooccccc";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
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;
// 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_2399de7cb243a4556785459f7f07c641, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2399de7cb243a4556785459f7f07c641, 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_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_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_5;
tmp_assign_source_5 = EXC_VALUE(PyThreadState_GET());
{
PyObject *old = var_e;
var_e = tmp_assign_source_5;
Py_INCREF(var_e);
Py_XDECREF(old);
}
}
// Tried code:
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 532;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_called_instance_3 = Nuitka_Cell_GET(self->m_closure[1]);
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 532;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[58]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
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 = 532;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_3);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_1 = var_e;
if (Nuitka_Cell_GET(self->m_closure[3]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 533;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_isinstance_cls_1 = Nuitka_Cell_GET(self->m_closure[3]);
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 533;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_operand_value_2 = (tmp_res != 0) ? 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 = 533;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_4;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[88]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[88]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[89]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 534;
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS1_VECTORCALL(tmp_called_value_2, &PyTuple_GET_ITEM(mod_consts[90], 0), mod_consts[91]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_called_instance_4;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 538;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
tmp_args_element_value_3 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 538;
tmp_args_element_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[26]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 538;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "ooooccccc";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_5);
}
branch_end_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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_4;
// End of try:
try_end_2:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 529;
}
if (exception_tb && exception_tb->tb_frame == &frame_2399de7cb243a4556785459f7f07c641->m_frame) frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooccccc";
goto try_except_handler_4;
branch_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_2;
// 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:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooooccccc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
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_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_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:;
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;
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_instance_5;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 539;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_called_instance_5 = Nuitka_Cell_GET(self->m_closure[1]);
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 539;
tmp_operand_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[58]);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[69]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 540;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = Nuitka_Cell_GET(self->m_closure[2]);
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_dict_seq_1;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 542;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_called_value_5 = (PyObject *)&PyZip_Type;
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[69]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 542;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = Nuitka_Cell_GET(self->m_closure[2]);
if (var_result_list == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 542;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = var_result_list;
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 542;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_dict_seq_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
if (tmp_dict_seq_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 541;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 545;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_9 = Nuitka_Cell_GET(self->m_closure[1]);
if (var_result_list == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[85]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 545;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = var_result_list;
frame_2399de7cb243a4556785459f7f07c641->m_frame.f_lineno = 545;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "ooooccccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
branch_end_6:;
branch_no_5:;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2399de7cb243a4556785459f7f07c641);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2399de7cb243a4556785459f7f07c641);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2399de7cb243a4556785459f7f07c641, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2399de7cb243a4556785459f7f07c641->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2399de7cb243a4556785459f7f07c641, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2399de7cb243a4556785459f7f07c641,
type_description_1,
par_fut,
var_result_list,
var_f,
var_e,
self->m_closure[4],
self->m_closure[0],
self->m_closure[1],
self->m_closure[3],
self->m_closure[2]
);
// Release cached frame if used for exception.
if (frame_2399de7cb243a4556785459f7f07c641 == cache_frame_2399de7cb243a4556785459f7f07c641) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2399de7cb243a4556785459f7f07c641);
cache_frame_2399de7cb243a4556785459f7f07c641 = NULL;
}
assertFrameObject(frame_2399de7cb243a4556785459f7f07c641);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_result_list);
var_result_list = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_e);
var_e = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_result_list);
var_result_list = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_e);
var_e = 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_fut);
Py_DECREF(par_fut);
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_fut);
Py_DECREF(par_fut);
// 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$gen$$$function__18_maybe_future(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];
PyObject *var_fut = NULL;
struct Nuitka_FrameObject *frame_a9b05b9b39067f6eba0addb01ca012cb;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_a9b05b9b39067f6eba0addb01ca012cb = 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_a9b05b9b39067f6eba0addb01ca012cb)) {
Py_XDECREF(cache_frame_a9b05b9b39067f6eba0addb01ca012cb);
#if _DEBUG_REFCOUNTS
if (cache_frame_a9b05b9b39067f6eba0addb01ca012cb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a9b05b9b39067f6eba0addb01ca012cb = MAKE_FUNCTION_FRAME(codeobj_a9b05b9b39067f6eba0addb01ca012cb, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a9b05b9b39067f6eba0addb01ca012cb->m_type_description == NULL);
frame_a9b05b9b39067f6eba0addb01ca012cb = cache_frame_a9b05b9b39067f6eba0addb01ca012cb;
// Push the new frame as the currently active one.
pushFrameStack(frame_a9b05b9b39067f6eba0addb01ca012cb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a9b05b9b39067f6eba0addb01ca012cb) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_x);
tmp_args_element_value_1 = par_x;
frame_a9b05b9b39067f6eba0addb01ca012cb->m_frame.f_lineno = 568;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 568;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(par_x);
tmp_return_value = par_x;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_a9b05b9b39067f6eba0addb01ca012cb->m_frame.f_lineno = 571;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_fut == NULL);
var_fut = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_fut);
tmp_called_instance_1 = var_fut;
CHECK_OBJECT(par_x);
tmp_args_element_value_2 = par_x;
frame_a9b05b9b39067f6eba0addb01ca012cb->m_frame.f_lineno = 572;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[92], tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
CHECK_OBJECT(var_fut);
tmp_return_value = var_fut;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a9b05b9b39067f6eba0addb01ca012cb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a9b05b9b39067f6eba0addb01ca012cb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a9b05b9b39067f6eba0addb01ca012cb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a9b05b9b39067f6eba0addb01ca012cb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a9b05b9b39067f6eba0addb01ca012cb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a9b05b9b39067f6eba0addb01ca012cb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a9b05b9b39067f6eba0addb01ca012cb,
type_description_1,
par_x,
var_fut
);
// Release cached frame if used for exception.
if (frame_a9b05b9b39067f6eba0addb01ca012cb == cache_frame_a9b05b9b39067f6eba0addb01ca012cb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a9b05b9b39067f6eba0addb01ca012cb);
cache_frame_a9b05b9b39067f6eba0addb01ca012cb = NULL;
}
assertFrameObject(frame_a9b05b9b39067f6eba0addb01ca012cb);
// 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_fut);
var_fut = 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_fut);
var_fut = 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_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$gen$$$function__19_with_timeout(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_timeout = python_pars[0];
PyObject *par_future = python_pars[1];
struct Nuitka_CellObject *par_quiet_exceptions = Nuitka_Cell_New1(python_pars[2]);
struct Nuitka_CellObject *var_future_converted = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_result = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_io_loop = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_error_callback = Nuitka_Cell_Empty();
PyObject *var_timeout_callback = NULL;
struct Nuitka_CellObject *var_timeout_handle = Nuitka_Cell_Empty();
struct Nuitka_FrameObject *frame_b428ae102e770ff1c3b4a2ed7300adf7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_b428ae102e770ff1c3b4a2ed7300adf7 = 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_b428ae102e770ff1c3b4a2ed7300adf7)) {
Py_XDECREF(cache_frame_b428ae102e770ff1c3b4a2ed7300adf7);
#if _DEBUG_REFCOUNTS
if (cache_frame_b428ae102e770ff1c3b4a2ed7300adf7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b428ae102e770ff1c3b4a2ed7300adf7 = MAKE_FUNCTION_FRAME(codeobj_b428ae102e770ff1c3b4a2ed7300adf7, module_tornado$gen, 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_b428ae102e770ff1c3b4a2ed7300adf7->m_type_description == NULL);
frame_b428ae102e770ff1c3b4a2ed7300adf7 = cache_frame_b428ae102e770ff1c3b4a2ed7300adf7;
// Push the new frame as the currently active one.
pushFrameStack(frame_b428ae102e770ff1c3b4a2ed7300adf7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b428ae102e770ff1c3b4a2ed7300adf7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_future);
tmp_args_element_value_1 = par_future;
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 618;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, 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 = 618;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_future_converted) == NULL);
PyCell_SET(var_future_converted, tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 619;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 619;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 619;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_result) == NULL);
PyCell_SET(var_result, tmp_assign_source_2);
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_future_converted));
tmp_args_element_value_2 = Nuitka_Cell_GET(var_future_converted);
CHECK_OBJECT(Nuitka_Cell_GET(var_result));
tmp_args_element_value_3 = Nuitka_Cell_GET(var_result);
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 620;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 621;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[95]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_io_loop) == NULL);
PyCell_SET(var_io_loop, tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_dict_key_1 = mod_consts[31];
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
tmp_annotations_1 = _PyDict_NewPresized( 2 );
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[73];
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_quiet_exceptions;
Py_INCREF(tmp_closure_1[0]);
tmp_assign_source_4 = MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__1_error_callback(tmp_annotations_1, tmp_closure_1);
assert(Nuitka_Cell_GET(var_error_callback) == NULL);
PyCell_SET(var_error_callback, tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_annotations_2;
struct Nuitka_CellObject *tmp_closure_2[3];
tmp_annotations_2 = DICT_COPY(mod_consts[98]);
tmp_closure_2[0] = var_error_callback;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = var_future_converted;
Py_INCREF(tmp_closure_2[1]);
tmp_closure_2[2] = var_result;
Py_INCREF(tmp_closure_2[2]);
tmp_assign_source_5 = MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__2_timeout_callback(tmp_annotations_2, tmp_closure_2);
assert(var_timeout_callback == NULL);
var_timeout_callback = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(Nuitka_Cell_GET(var_io_loop));
tmp_called_instance_2 = Nuitka_Cell_GET(var_io_loop);
CHECK_OBJECT(par_timeout);
tmp_args_element_value_4 = par_timeout;
CHECK_OBJECT(var_timeout_callback);
tmp_args_element_value_5 = var_timeout_callback;
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 640;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_6 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[101],
call_args
);
}
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_timeout_handle) == NULL);
PyCell_SET(var_timeout_handle, tmp_assign_source_6);
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_future_converted));
tmp_isinstance_inst_1 = Nuitka_Cell_GET(var_future_converted);
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oocccccoc";
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_called_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
struct Nuitka_CellObject *tmp_closure_3[2];
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_future_converted));
tmp_args_element_value_6 = Nuitka_Cell_GET(var_future_converted);
tmp_closure_3[0] = var_io_loop;
Py_INCREF(tmp_closure_3[0]);
tmp_closure_3[1] = var_timeout_handle;
Py_INCREF(tmp_closure_3[1]);
tmp_args_element_value_7 = MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__3_lambda(tmp_closure_3);
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 645;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
struct Nuitka_CellObject *tmp_closure_4[2];
CHECK_OBJECT(Nuitka_Cell_GET(var_io_loop));
tmp_called_instance_3 = Nuitka_Cell_GET(var_io_loop);
CHECK_OBJECT(Nuitka_Cell_GET(var_future_converted));
tmp_args_element_value_8 = Nuitka_Cell_GET(var_future_converted);
tmp_closure_4[0] = var_io_loop;
Py_INCREF(tmp_closure_4[0]);
tmp_closure_4[1] = var_timeout_handle;
Py_INCREF(tmp_closure_4[1]);
tmp_args_element_value_9 = MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__4_lambda(tmp_closure_4);
frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame.f_lineno = 651;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_call_result_3 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_3,
mod_consts[103],
call_args
);
}
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oocccccoc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b428ae102e770ff1c3b4a2ed7300adf7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b428ae102e770ff1c3b4a2ed7300adf7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b428ae102e770ff1c3b4a2ed7300adf7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b428ae102e770ff1c3b4a2ed7300adf7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b428ae102e770ff1c3b4a2ed7300adf7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b428ae102e770ff1c3b4a2ed7300adf7,
type_description_1,
par_timeout,
par_future,
par_quiet_exceptions,
var_future_converted,
var_result,
var_io_loop,
var_error_callback,
var_timeout_callback,
var_timeout_handle
);
// Release cached frame if used for exception.
if (frame_b428ae102e770ff1c3b4a2ed7300adf7 == cache_frame_b428ae102e770ff1c3b4a2ed7300adf7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b428ae102e770ff1c3b4a2ed7300adf7);
cache_frame_b428ae102e770ff1c3b4a2ed7300adf7 = NULL;
}
assertFrameObject(frame_b428ae102e770ff1c3b4a2ed7300adf7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(Nuitka_Cell_GET(var_result));
tmp_return_value = Nuitka_Cell_GET(var_result);
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_future_converted);
Py_DECREF(var_future_converted);
var_future_converted = NULL;
CHECK_OBJECT(var_result);
Py_DECREF(var_result);
var_result = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_error_callback);
Py_DECREF(var_error_callback);
var_error_callback = NULL;
CHECK_OBJECT(var_timeout_callback);
Py_DECREF(var_timeout_callback);
var_timeout_callback = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(var_future_converted);
Py_DECREF(var_future_converted);
var_future_converted = NULL;
CHECK_OBJECT(var_result);
Py_DECREF(var_result);
var_result = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_error_callback);
Py_DECREF(var_error_callback);
var_error_callback = NULL;
Py_XDECREF(var_timeout_callback);
var_timeout_callback = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = 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_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_future);
Py_DECREF(par_future);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
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_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_future);
Py_DECREF(par_future);
CHECK_OBJECT(par_quiet_exceptions);
Py_DECREF(par_quiet_exceptions);
// 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$gen$$$function__19_with_timeout$$$function__1_error_callback(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_future = python_pars[0];
PyObject *var_e = NULL;
struct Nuitka_FrameObject *frame_744ded7d6a322c99838747d732a36173;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
bool tmp_result;
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_744ded7d6a322c99838747d732a36173 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_744ded7d6a322c99838747d732a36173)) {
Py_XDECREF(cache_frame_744ded7d6a322c99838747d732a36173);
#if _DEBUG_REFCOUNTS
if (cache_frame_744ded7d6a322c99838747d732a36173 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_744ded7d6a322c99838747d732a36173 = MAKE_FUNCTION_FRAME(codeobj_744ded7d6a322c99838747d732a36173, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_744ded7d6a322c99838747d732a36173->m_type_description == NULL);
frame_744ded7d6a322c99838747d732a36173 = cache_frame_744ded7d6a322c99838747d732a36173;
// Push the new frame as the currently active one.
pushFrameStack(frame_744ded7d6a322c99838747d732a36173);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_744ded7d6a322c99838747d732a36173) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_future);
tmp_called_instance_1 = par_future;
frame_744ded7d6a322c99838747d732a36173->m_frame.f_lineno = 625;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[86]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooc";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_744ded7d6a322c99838747d732a36173, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_744ded7d6a322c99838747d732a36173, 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_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "ooc";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[106]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "ooc";
goto try_except_handler_2;
}
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 = 626;
type_description_1 = "ooc";
goto try_except_handler_2;
}
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_1);
var_e = tmp_assign_source_1;
}
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_1 = var_e;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 629;
type_description_1 = "ooc";
goto try_except_handler_3;
}
tmp_isinstance_cls_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "ooc";
goto try_except_handler_3;
}
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 = 629;
type_description_1 = "ooc";
goto try_except_handler_3;
}
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_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[88]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[88]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooc";
goto try_except_handler_3;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[89]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooc";
goto try_except_handler_3;
}
tmp_tuple_element_1 = mod_consts[107];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_future);
tmp_tuple_element_1 = par_future;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[108]);
frame_744ded7d6a322c99838747d732a36173->m_frame.f_lineno = 630;
tmp_call_result_2 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooc";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_2;
// End of try:
try_end_2:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 624;
}
if (exception_tb && exception_tb->tb_frame == &frame_744ded7d6a322c99838747d732a36173->m_frame) frame_744ded7d6a322c99838747d732a36173->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooc";
goto try_except_handler_2;
branch_end_2:;
branch_no_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;
// 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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_744ded7d6a322c99838747d732a36173);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_744ded7d6a322c99838747d732a36173);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_744ded7d6a322c99838747d732a36173, exception_lineno);
} else if (exception_tb->tb_frame != &frame_744ded7d6a322c99838747d732a36173->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_744ded7d6a322c99838747d732a36173, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_744ded7d6a322c99838747d732a36173,
type_description_1,
par_future,
var_e,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_744ded7d6a322c99838747d732a36173 == cache_frame_744ded7d6a322c99838747d732a36173) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_744ded7d6a322c99838747d732a36173);
cache_frame_744ded7d6a322c99838747d732a36173 = NULL;
}
assertFrameObject(frame_744ded7d6a322c99838747d732a36173);
// 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_future);
Py_DECREF(par_future);
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_future);
Py_DECREF(par_future);
// 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$gen$$$function__19_with_timeout$$$function__2_timeout_callback(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_FrameObject *frame_fe98ae9e692c8529e0f417aeb1bec43a;
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_fe98ae9e692c8529e0f417aeb1bec43a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_fe98ae9e692c8529e0f417aeb1bec43a)) {
Py_XDECREF(cache_frame_fe98ae9e692c8529e0f417aeb1bec43a);
#if _DEBUG_REFCOUNTS
if (cache_frame_fe98ae9e692c8529e0f417aeb1bec43a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fe98ae9e692c8529e0f417aeb1bec43a = MAKE_FUNCTION_FRAME(codeobj_fe98ae9e692c8529e0f417aeb1bec43a, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fe98ae9e692c8529e0f417aeb1bec43a->m_type_description == NULL);
frame_fe98ae9e692c8529e0f417aeb1bec43a = cache_frame_fe98ae9e692c8529e0f417aeb1bec43a;
// Push the new frame as the currently active one.
pushFrameStack(frame_fe98ae9e692c8529e0f417aeb1bec43a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fe98ae9e692c8529e0f417aeb1bec43a) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 635;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[2]);
frame_fe98ae9e692c8529e0f417aeb1bec43a->m_frame.f_lineno = 635;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[58]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 636;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[2]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[109]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
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 = 636;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
frame_fe98ae9e692c8529e0f417aeb1bec43a->m_frame.f_lineno = 636;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[111]);
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 = 636;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
frame_fe98ae9e692c8529e0f417aeb1bec43a->m_frame.f_lineno = 636;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 638;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[112]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 638;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(self->m_closure[1]);
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[96]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 638;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = Nuitka_Cell_GET(self->m_closure[0]);
frame_fe98ae9e692c8529e0f417aeb1bec43a->m_frame.f_lineno = 638;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 638;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fe98ae9e692c8529e0f417aeb1bec43a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fe98ae9e692c8529e0f417aeb1bec43a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fe98ae9e692c8529e0f417aeb1bec43a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fe98ae9e692c8529e0f417aeb1bec43a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fe98ae9e692c8529e0f417aeb1bec43a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fe98ae9e692c8529e0f417aeb1bec43a,
type_description_1,
self->m_closure[2],
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_fe98ae9e692c8529e0f417aeb1bec43a == cache_frame_fe98ae9e692c8529e0f417aeb1bec43a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fe98ae9e692c8529e0f417aeb1bec43a);
cache_frame_fe98ae9e692c8529e0f417aeb1bec43a = NULL;
}
assertFrameObject(frame_fe98ae9e692c8529e0f417aeb1bec43a);
// 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$gen$$$function__19_with_timeout$$$function__3_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_future = python_pars[0];
struct Nuitka_FrameObject *frame_ecacb2f3f4e8b787a37e501e32055a6a;
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_ecacb2f3f4e8b787a37e501e32055a6a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ecacb2f3f4e8b787a37e501e32055a6a)) {
Py_XDECREF(cache_frame_ecacb2f3f4e8b787a37e501e32055a6a);
#if _DEBUG_REFCOUNTS
if (cache_frame_ecacb2f3f4e8b787a37e501e32055a6a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ecacb2f3f4e8b787a37e501e32055a6a = MAKE_FUNCTION_FRAME(codeobj_ecacb2f3f4e8b787a37e501e32055a6a, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ecacb2f3f4e8b787a37e501e32055a6a->m_type_description == NULL);
frame_ecacb2f3f4e8b787a37e501e32055a6a = cache_frame_ecacb2f3f4e8b787a37e501e32055a6a;
// Push the new frame as the currently active one.
pushFrameStack(frame_ecacb2f3f4e8b787a37e501e32055a6a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ecacb2f3f4e8b787a37e501e32055a6a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_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[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 646;
type_description_1 = "occ";
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[114]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[115]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 646;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_ecacb2f3f4e8b787a37e501e32055a6a->m_frame.f_lineno = 646;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecacb2f3f4e8b787a37e501e32055a6a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecacb2f3f4e8b787a37e501e32055a6a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecacb2f3f4e8b787a37e501e32055a6a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ecacb2f3f4e8b787a37e501e32055a6a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ecacb2f3f4e8b787a37e501e32055a6a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ecacb2f3f4e8b787a37e501e32055a6a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ecacb2f3f4e8b787a37e501e32055a6a,
type_description_1,
par_future,
self->m_closure[0],
self->m_closure[1]
);
// Release cached frame if used for exception.
if (frame_ecacb2f3f4e8b787a37e501e32055a6a == cache_frame_ecacb2f3f4e8b787a37e501e32055a6a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ecacb2f3f4e8b787a37e501e32055a6a);
cache_frame_ecacb2f3f4e8b787a37e501e32055a6a = NULL;
}
assertFrameObject(frame_ecacb2f3f4e8b787a37e501e32055a6a);
// 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_future);
Py_DECREF(par_future);
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_future);
Py_DECREF(par_future);
// 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$gen$$$function__19_with_timeout$$$function__4_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_future = python_pars[0];
struct Nuitka_FrameObject *frame_a88d7df76dd55d296446946fcd69fc5f;
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_a88d7df76dd55d296446946fcd69fc5f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a88d7df76dd55d296446946fcd69fc5f)) {
Py_XDECREF(cache_frame_a88d7df76dd55d296446946fcd69fc5f);
#if _DEBUG_REFCOUNTS
if (cache_frame_a88d7df76dd55d296446946fcd69fc5f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a88d7df76dd55d296446946fcd69fc5f = MAKE_FUNCTION_FRAME(codeobj_a88d7df76dd55d296446946fcd69fc5f, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a88d7df76dd55d296446946fcd69fc5f->m_type_description == NULL);
frame_a88d7df76dd55d296446946fcd69fc5f = cache_frame_a88d7df76dd55d296446946fcd69fc5f;
// Push the new frame as the currently active one.
pushFrameStack(frame_a88d7df76dd55d296446946fcd69fc5f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a88d7df76dd55d296446946fcd69fc5f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_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[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 652;
type_description_1 = "occ";
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[114]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[115]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 652;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_a88d7df76dd55d296446946fcd69fc5f->m_frame.f_lineno = 652;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a88d7df76dd55d296446946fcd69fc5f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a88d7df76dd55d296446946fcd69fc5f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a88d7df76dd55d296446946fcd69fc5f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a88d7df76dd55d296446946fcd69fc5f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a88d7df76dd55d296446946fcd69fc5f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a88d7df76dd55d296446946fcd69fc5f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a88d7df76dd55d296446946fcd69fc5f,
type_description_1,
par_future,
self->m_closure[0],
self->m_closure[1]
);
// Release cached frame if used for exception.
if (frame_a88d7df76dd55d296446946fcd69fc5f == cache_frame_a88d7df76dd55d296446946fcd69fc5f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a88d7df76dd55d296446946fcd69fc5f);
cache_frame_a88d7df76dd55d296446946fcd69fc5f = NULL;
}
assertFrameObject(frame_a88d7df76dd55d296446946fcd69fc5f);
// 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_future);
Py_DECREF(par_future);
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_future);
Py_DECREF(par_future);
// 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$gen$$$function__20_sleep(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_duration = python_pars[0];
struct Nuitka_CellObject *var_f = Nuitka_Cell_Empty();
struct Nuitka_FrameObject *frame_4d7cce8610fb49a705bca94946a82954;
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_4d7cce8610fb49a705bca94946a82954 = 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_4d7cce8610fb49a705bca94946a82954)) {
Py_XDECREF(cache_frame_4d7cce8610fb49a705bca94946a82954);
#if _DEBUG_REFCOUNTS
if (cache_frame_4d7cce8610fb49a705bca94946a82954 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4d7cce8610fb49a705bca94946a82954 = MAKE_FUNCTION_FRAME(codeobj_4d7cce8610fb49a705bca94946a82954, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4d7cce8610fb49a705bca94946a82954->m_type_description == NULL);
frame_4d7cce8610fb49a705bca94946a82954 = cache_frame_4d7cce8610fb49a705bca94946a82954;
// Push the new frame as the currently active one.
pushFrameStack(frame_4d7cce8610fb49a705bca94946a82954);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4d7cce8610fb49a705bca94946a82954) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_4d7cce8610fb49a705bca94946a82954->m_frame.f_lineno = 671;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_f) == NULL);
PyCell_SET(var_f, tmp_assign_source_1);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 672;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_4d7cce8610fb49a705bca94946a82954->m_frame.f_lineno = 672;
tmp_called_instance_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[95]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 672;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_duration);
tmp_args_element_value_1 = par_duration;
tmp_closure_1[0] = var_f;
Py_INCREF(tmp_closure_1[0]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$gen$$$function__20_sleep$$$function__1_lambda(tmp_closure_1);
frame_4d7cce8610fb49a705bca94946a82954->m_frame.f_lineno = 672;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[116],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 672;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4d7cce8610fb49a705bca94946a82954);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4d7cce8610fb49a705bca94946a82954);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4d7cce8610fb49a705bca94946a82954, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4d7cce8610fb49a705bca94946a82954->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4d7cce8610fb49a705bca94946a82954, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4d7cce8610fb49a705bca94946a82954,
type_description_1,
par_duration,
var_f
);
// Release cached frame if used for exception.
if (frame_4d7cce8610fb49a705bca94946a82954 == cache_frame_4d7cce8610fb49a705bca94946a82954) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4d7cce8610fb49a705bca94946a82954);
cache_frame_4d7cce8610fb49a705bca94946a82954 = NULL;
}
assertFrameObject(frame_4d7cce8610fb49a705bca94946a82954);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(Nuitka_Cell_GET(var_f));
tmp_return_value = Nuitka_Cell_GET(var_f);
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_f);
Py_DECREF(var_f);
var_f = 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_f);
Py_DECREF(var_f);
var_f = 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_duration);
Py_DECREF(par_duration);
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_duration);
Py_DECREF(par_duration);
// 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$gen$$$function__20_sleep$$$function__1_lambda(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_FrameObject *frame_4342f7a439cdbdda9690b4d9c0135d99;
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_4342f7a439cdbdda9690b4d9c0135d99 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4342f7a439cdbdda9690b4d9c0135d99)) {
Py_XDECREF(cache_frame_4342f7a439cdbdda9690b4d9c0135d99);
#if _DEBUG_REFCOUNTS
if (cache_frame_4342f7a439cdbdda9690b4d9c0135d99 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4342f7a439cdbdda9690b4d9c0135d99 = MAKE_FUNCTION_FRAME(codeobj_4342f7a439cdbdda9690b4d9c0135d99, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4342f7a439cdbdda9690b4d9c0135d99->m_type_description == NULL);
frame_4342f7a439cdbdda9690b4d9c0135d99 = cache_frame_4342f7a439cdbdda9690b4d9c0135d99;
// Push the new frame as the currently active one.
pushFrameStack(frame_4342f7a439cdbdda9690b4d9c0135d99);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4342f7a439cdbdda9690b4d9c0135d99) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "c";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[119]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 673;
type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_args_element_value_2 = Py_None;
frame_4342f7a439cdbdda9690b4d9c0135d99->m_frame.f_lineno = 673;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "c";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4342f7a439cdbdda9690b4d9c0135d99);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4342f7a439cdbdda9690b4d9c0135d99);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4342f7a439cdbdda9690b4d9c0135d99);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4342f7a439cdbdda9690b4d9c0135d99, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4342f7a439cdbdda9690b4d9c0135d99->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4342f7a439cdbdda9690b4d9c0135d99, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4342f7a439cdbdda9690b4d9c0135d99,
type_description_1,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_4342f7a439cdbdda9690b4d9c0135d99 == cache_frame_4342f7a439cdbdda9690b4d9c0135d99) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4342f7a439cdbdda9690b4d9c0135d99);
cache_frame_4342f7a439cdbdda9690b4d9c0135d99 = NULL;
}
assertFrameObject(frame_4342f7a439cdbdda9690b4d9c0135d99);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$gen$$$function__23___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_ctx_run = python_pars[1];
PyObject *par_gen = python_pars[2];
PyObject *par_result_future = python_pars[3];
PyObject *par_first_yielded = python_pars[4];
struct Nuitka_FrameObject *frame_2f2e1a0811c88b4a5f18d79ec95c9186;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186 = 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_2f2e1a0811c88b4a5f18d79ec95c9186)) {
Py_XDECREF(cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186);
#if _DEBUG_REFCOUNTS
if (cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186 = MAKE_FUNCTION_FRAME(codeobj_2f2e1a0811c88b4a5f18d79ec95c9186, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186->m_type_description == NULL);
frame_2f2e1a0811c88b4a5f18d79ec95c9186 = cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186;
// Push the new frame as the currently active one.
pushFrameStack(frame_2f2e1a0811c88b4a5f18d79ec95c9186);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2f2e1a0811c88b4a5f18d79ec95c9186) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_ctx_run);
tmp_assattr_value_1 = par_ctx_run;
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 = 739;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_gen);
tmp_assattr_value_2 = par_gen;
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 = 740;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_result_future);
tmp_assattr_value_3 = par_result_future;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[122], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 741;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_assattr_value_4 == NULL)) {
tmp_assattr_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 742;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[31], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 742;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[124], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[125], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 744;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_7;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_2f2e1a0811c88b4a5f18d79ec95c9186->m_frame.f_lineno = 745;
tmp_assattr_value_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[95]);
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[113], tmp_assattr_value_7);
Py_DECREF(tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_first_yielded);
tmp_args_element_value_1 = par_first_yielded;
frame_2f2e1a0811c88b4a5f18d79ec95c9186->m_frame.f_lineno = 746;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[126], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 746;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 746;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
Py_XDECREF(par_gen);
par_gen = NULL;
Py_XDECREF(par_result_future);
par_result_future = NULL;
Py_XDECREF(par_first_yielded);
par_first_yielded = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[120]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 748;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[19]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 748;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_2f2e1a0811c88b4a5f18d79ec95c9186->m_frame.f_lineno = 748;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 748;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f2e1a0811c88b4a5f18d79ec95c9186);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f2e1a0811c88b4a5f18d79ec95c9186);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2f2e1a0811c88b4a5f18d79ec95c9186, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2f2e1a0811c88b4a5f18d79ec95c9186->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2f2e1a0811c88b4a5f18d79ec95c9186, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2f2e1a0811c88b4a5f18d79ec95c9186,
type_description_1,
par_self,
par_ctx_run,
par_gen,
par_result_future,
par_first_yielded
);
// Release cached frame if used for exception.
if (frame_2f2e1a0811c88b4a5f18d79ec95c9186 == cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186);
cache_frame_2f2e1a0811c88b4a5f18d79ec95c9186 = NULL;
}
assertFrameObject(frame_2f2e1a0811c88b4a5f18d79ec95c9186);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_gen);
par_gen = NULL;
Py_XDECREF(par_result_future);
par_result_future = NULL;
Py_XDECREF(par_first_yielded);
par_first_yielded = 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_gen);
par_gen = NULL;
Py_XDECREF(par_result_future);
par_result_future = NULL;
Py_XDECREF(par_first_yielded);
par_first_yielded = 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_ctx_run);
Py_DECREF(par_ctx_run);
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_ctx_run);
Py_DECREF(par_ctx_run);
// 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$gen$$$function__24_run(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 *var_future = NULL;
PyObject *var_exc_info = NULL;
PyObject *var_value = NULL;
PyObject *var_yielded = NULL;
PyObject *var_e = NULL;
struct Nuitka_FrameObject *frame_3b8a62b8e8a82a98533976afd37124ad;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
bool tmp_result;
int tmp_res;
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;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_3;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
static struct Nuitka_FrameObject *cache_frame_3b8a62b8e8a82a98533976afd37124ad = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_3b8a62b8e8a82a98533976afd37124ad)) {
Py_XDECREF(cache_frame_3b8a62b8e8a82a98533976afd37124ad);
#if _DEBUG_REFCOUNTS
if (cache_frame_3b8a62b8e8a82a98533976afd37124ad == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3b8a62b8e8a82a98533976afd37124ad = MAKE_FUNCTION_FRAME(codeobj_3b8a62b8e8a82a98533976afd37124ad, module_tornado$gen, 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_3b8a62b8e8a82a98533976afd37124ad->m_type_description == NULL);
frame_3b8a62b8e8a82a98533976afd37124ad = cache_frame_3b8a62b8e8a82a98533976afd37124ad;
// Push the new frame as the currently active one.
pushFrameStack(frame_3b8a62b8e8a82a98533976afd37124ad);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3b8a62b8e8a82a98533976afd37124ad) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[124]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
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 = 754;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[125]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 754;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
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 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[124], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 757;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
}
loop_start_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 759;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[31]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 759;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_future;
var_future = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_future);
tmp_cmp_expr_left_1 = var_future;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[127];
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 761;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_Exception, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 761;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto try_except_handler_2;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_future);
tmp_called_instance_1 = var_future;
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 762;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[58]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 762;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 762;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_3:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_None;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 764;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[31], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 764;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
{
PyObject *old = var_exc_info;
var_exc_info = tmp_assign_source_2;
Py_INCREF(var_exc_info);
Py_XDECREF(old);
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_future);
tmp_called_instance_2 = var_future;
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 769;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[86]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 769;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
{
PyObject *old = var_value;
var_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
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;
// 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_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_3b8a62b8e8a82a98533976afd37124ad, 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_4;
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_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
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:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_3;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 771;
type_description_1 = "oooooo";
goto try_except_handler_5;
}
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 771;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[26]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 771;
type_description_1 = "oooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_exc_info;
assert(old != NULL);
var_exc_info = tmp_assign_source_4;
Py_DECREF(old);
}
}
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 768;
}
if (exception_tb && exception_tb->tb_frame == &frame_3b8a62b8e8a82a98533976afd37124ad->m_frame) frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_5;
branch_end_4:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = Py_None;
{
PyObject *old = var_future;
assert(old != NULL);
var_future = tmp_assign_source_5;
Py_INCREF(var_future);
Py_DECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_exc_info);
tmp_cmp_expr_left_3 = var_exc_info;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_dircall_arg2_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 776;
type_description_1 = "oooooo";
goto try_except_handler_6;
}
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[121]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 776;
type_description_1 = "oooooo";
goto try_except_handler_6;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[128]);
Py_DECREF(tmp_expression_value_4);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 776;
type_description_1 = "oooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_exc_info);
tmp_dircall_arg2_1 = var_exc_info;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_assign_source_6 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 776;
type_description_1 = "oooooo";
goto try_except_handler_6;
}
{
PyObject *old = var_yielded;
var_yielded = tmp_assign_source_6;
Py_XDECREF(old);
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
Py_XDECREF(var_exc_info);
var_exc_info = NULL;
// Tried code:
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 775;
}
if (exception_tb && exception_tb->tb_frame == &frame_3b8a62b8e8a82a98533976afd37124ad->m_frame) frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_3;
// End of try:
// End of try:
try_end_3:;
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = Py_None;
{
PyObject *old = var_exc_info;
assert(old != NULL);
var_exc_info = tmp_assign_source_7;
Py_INCREF(var_exc_info);
Py_DECREF(old);
}
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 782;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[121]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[129]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
if (var_value == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[0]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 782;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_args_element_value_1 = var_value;
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 782;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_yielded;
var_yielded = tmp_assign_source_8;
Py_XDECREF(old);
}
}
branch_end_5:;
goto try_end_4;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_5 == NULL) {
exception_keeper_tb_5 = MAKE_TRACEBACK(frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_5);
} else if (exception_keeper_lineno_5 != 0) {
exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5);
// Tried code:
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_tuple_element_1;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_1 = PyExc_StopIteration;
tmp_cmp_expr_right_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_4, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 784;
type_description_1 = "oooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_4, 1, tmp_tuple_element_1);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_4);
goto try_except_handler_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 784;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_9);
var_e = tmp_assign_source_9;
}
// Tried code:
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_True;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 785;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[125], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 785;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_assattr_value_4 == NULL)) {
tmp_assattr_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 786;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[31], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 788;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
tmp_expression_value_8 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[122]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 788;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 788;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_4 = var_e;
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 788;
tmp_args_element_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 788;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 787;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_2);
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 = 787;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = Py_None;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 790;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[122], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "oooooo";
goto try_except_handler_9;
}
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_XDECREF(var_e);
var_e = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
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_e);
var_e = 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_8;
// End of try:
goto branch_end_6;
branch_no_6:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_5 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
assert(!(tmp_res == -1));
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_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_True;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 793;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[125], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 793;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_assattr_value_7 == NULL)) {
tmp_assattr_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 794;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 794;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[31], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 794;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_instance_4;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_expression_value_9 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[122]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_5);
exception_lineno = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 795;
tmp_args_element_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[26]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_5);
exception_lineno = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 795;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_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 = 795;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = Py_None;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 796;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[122], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 796;
type_description_1 = "oooooo";
goto try_except_handler_8;
}
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_8;
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 765;
}
if (exception_tb && exception_tb->tb_frame == &frame_3b8a62b8e8a82a98533976afd37124ad->m_frame) frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_8;
branch_end_7:;
branch_end_6:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// 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_2;
// End of try:
// End of try:
try_end_4:;
{
bool tmp_condition_result_8;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_5;
PyObject *tmp_args_element_value_7;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 798;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_instance_5 = par_self;
CHECK_OBJECT(var_yielded);
tmp_args_element_value_7 = var_yielded;
frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = 798;
tmp_operand_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[126], tmp_args_element_value_7);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 798;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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 = 798;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_8 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_8:;
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = Py_None;
{
PyObject *old = var_yielded;
assert(old != NULL);
var_yielded = tmp_assign_source_10;
Py_INCREF(var_yielded);
Py_DECREF(old);
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
tmp_assattr_value_9 = Py_False;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 802;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[124], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 802;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
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;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_8 == NULL) {
exception_keeper_tb_8 = MAKE_TRACEBACK(frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_8);
} else if (exception_keeper_lineno_8 != 0) {
exception_keeper_tb_8 = ADD_TRACEBACK(exception_keeper_tb_8, frame_3b8a62b8e8a82a98533976afd37124ad, exception_keeper_lineno_8);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_8, &exception_keeper_value_8, &exception_keeper_tb_8);
// Tried code:
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_assattr_target_10;
tmp_assattr_value_10 = Py_False;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 802;
type_description_1 = "oooooo";
goto try_except_handler_10;
}
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[124], tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 802;
type_description_1 = "oooooo";
goto try_except_handler_10;
}
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 756;
}
if (exception_tb && exception_tb->tb_frame == &frame_3b8a62b8e8a82a98533976afd37124ad->m_frame) frame_3b8a62b8e8a82a98533976afd37124ad->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b8a62b8e8a82a98533976afd37124ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b8a62b8e8a82a98533976afd37124ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b8a62b8e8a82a98533976afd37124ad);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3b8a62b8e8a82a98533976afd37124ad, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3b8a62b8e8a82a98533976afd37124ad->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3b8a62b8e8a82a98533976afd37124ad, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3b8a62b8e8a82a98533976afd37124ad,
type_description_1,
par_self,
var_future,
var_exc_info,
var_value,
var_yielded,
var_e
);
// Release cached frame if used for exception.
if (frame_3b8a62b8e8a82a98533976afd37124ad == cache_frame_3b8a62b8e8a82a98533976afd37124ad) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3b8a62b8e8a82a98533976afd37124ad);
cache_frame_3b8a62b8e8a82a98533976afd37124ad = NULL;
}
assertFrameObject(frame_3b8a62b8e8a82a98533976afd37124ad);
// 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_future);
var_future = NULL;
Py_XDECREF(var_exc_info);
var_exc_info = NULL;
Py_XDECREF(var_value);
var_value = NULL;
Py_XDECREF(var_yielded);
var_yielded = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
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(var_future);
var_future = NULL;
Py_XDECREF(var_exc_info);
var_exc_info = NULL;
Py_XDECREF(var_value);
var_value = NULL;
Py_XDECREF(var_yielded);
var_yielded = 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 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);
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$gen$$$function__25_handle_yield(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_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_yielded = python_pars[1];
PyObject *var_inner = NULL;
struct Nuitka_FrameObject *frame_8e92e4c19a609a43c8e8ac96021c7c18;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_8e92e4c19a609a43c8e8ac96021c7c18 = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8e92e4c19a609a43c8e8ac96021c7c18)) {
Py_XDECREF(cache_frame_8e92e4c19a609a43c8e8ac96021c7c18);
#if _DEBUG_REFCOUNTS
if (cache_frame_8e92e4c19a609a43c8e8ac96021c7c18 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8e92e4c19a609a43c8e8ac96021c7c18 = MAKE_FUNCTION_FRAME(codeobj_8e92e4c19a609a43c8e8ac96021c7c18, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8e92e4c19a609a43c8e8ac96021c7c18->m_type_description == NULL);
frame_8e92e4c19a609a43c8e8ac96021c7c18 = cache_frame_8e92e4c19a609a43c8e8ac96021c7c18;
// Push the new frame as the currently active one.
pushFrameStack(frame_8e92e4c19a609a43c8e8ac96021c7c18);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8e92e4c19a609a43c8e8ac96021c7c18) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_1 = "coo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_1 = par_yielded;
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 806;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_1 = "coo";
goto try_except_handler_2;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_assattr_target_1 = Nuitka_Cell_GET(par_self);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[31], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_1 = "coo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_8e92e4c19a609a43c8e8ac96021c7c18, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_8e92e4c19a609a43c8e8ac96021c7c18, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[131]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "coo";
goto try_except_handler_3;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "coo";
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_assattr_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_assattr_target_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 808;
type_description_1 = "coo";
goto try_except_handler_3;
}
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 808;
tmp_assattr_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 808;
type_description_1 = "coo";
goto try_except_handler_3;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_assattr_target_2 = Nuitka_Cell_GET(par_self);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[31], 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 = 808;
type_description_1 = "coo";
goto try_except_handler_3;
}
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_instance_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 809;
type_description_1 = "coo";
goto try_except_handler_3;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_1 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[31]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 809;
type_description_1 = "coo";
goto try_except_handler_3;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
assert(!(tmp_called_instance_1 == NULL));
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 809;
tmp_args_element_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[26]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 809;
type_description_1 = "coo";
goto try_except_handler_3;
}
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 809;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_2);
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 = 809;
type_description_1 = "coo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 805;
}
if (exception_tb && exception_tb->tb_frame == &frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame) frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "coo";
goto try_except_handler_3;
branch_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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_2 = Nuitka_Cell_GET(par_self);
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[31]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 811;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
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 = 811;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_4 = Nuitka_Cell_GET(par_self);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[113]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 812;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[133]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 812;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_5 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[120]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 812;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_6 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[19]);
if (tmp_args_element_value_5 == 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_4);
exception_lineno = 812;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 812;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 812;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
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(Nuitka_Cell_GET(par_self));
tmp_expression_value_7 = Nuitka_Cell_GET(par_self);
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[31]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 814;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[134];
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 815;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_Exception, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 815;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "coo";
goto frame_exception_exit_1;
}
goto branch_end_3;
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_8 = Nuitka_Cell_GET(par_self);
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[31]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 816;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[58]);
Py_DECREF(tmp_called_instance_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "coo";
goto frame_exception_exit_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:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_dict_key_1 = mod_consts[119];
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_annotations_1 = _PyDict_NewPresized( 2 );
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[73];
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_self;
Py_INCREF(tmp_closure_1[0]);
tmp_assign_source_1 = MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield$$$function__1_inner(tmp_annotations_1, tmp_closure_1);
assert(var_inner == NULL);
var_inner = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_10 = Nuitka_Cell_GET(par_self);
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[113]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 823;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[103]);
Py_DECREF(tmp_expression_value_9);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 823;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_11 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[31]);
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 = 823;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_inner);
tmp_args_element_value_7 = var_inner;
frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame.f_lineno = 823;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 823;
type_description_1 = "coo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_4:;
branch_end_3:;
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e92e4c19a609a43c8e8ac96021c7c18);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e92e4c19a609a43c8e8ac96021c7c18);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e92e4c19a609a43c8e8ac96021c7c18);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8e92e4c19a609a43c8e8ac96021c7c18, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8e92e4c19a609a43c8e8ac96021c7c18->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8e92e4c19a609a43c8e8ac96021c7c18, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8e92e4c19a609a43c8e8ac96021c7c18,
type_description_1,
par_self,
par_yielded,
var_inner
);
// Release cached frame if used for exception.
if (frame_8e92e4c19a609a43c8e8ac96021c7c18 == cache_frame_8e92e4c19a609a43c8e8ac96021c7c18) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8e92e4c19a609a43c8e8ac96021c7c18);
cache_frame_8e92e4c19a609a43c8e8ac96021c7c18 = NULL;
}
assertFrameObject(frame_8e92e4c19a609a43c8e8ac96021c7c18);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_True;
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_inner);
var_inner = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_inner);
var_inner = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_yielded);
Py_DECREF(par_yielded);
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_yielded);
Py_DECREF(par_yielded);
// 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$gen$$$function__25_handle_yield$$$function__1_inner(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_f = python_pars[0];
struct Nuitka_FrameObject *frame_6c0d1f307ecff2fa780f69463d0015d4;
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_6c0d1f307ecff2fa780f69463d0015d4 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
Py_XDECREF(par_f);
par_f = NULL;
if (isFrameUnusable(cache_frame_6c0d1f307ecff2fa780f69463d0015d4)) {
Py_XDECREF(cache_frame_6c0d1f307ecff2fa780f69463d0015d4);
#if _DEBUG_REFCOUNTS
if (cache_frame_6c0d1f307ecff2fa780f69463d0015d4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6c0d1f307ecff2fa780f69463d0015d4 = MAKE_FUNCTION_FRAME(codeobj_6c0d1f307ecff2fa780f69463d0015d4, module_tornado$gen, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6c0d1f307ecff2fa780f69463d0015d4->m_type_description == NULL);
frame_6c0d1f307ecff2fa780f69463d0015d4 = cache_frame_6c0d1f307ecff2fa780f69463d0015d4;
// Push the new frame as the currently active one.
pushFrameStack(frame_6c0d1f307ecff2fa780f69463d0015d4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6c0d1f307ecff2fa780f69463d0015d4) == 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;
PyObject *tmp_expression_value_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 821;
type_description_1 = "oc";
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[120]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 821;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[19]);
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 = 821;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_6c0d1f307ecff2fa780f69463d0015d4->m_frame.f_lineno = 821;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6c0d1f307ecff2fa780f69463d0015d4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6c0d1f307ecff2fa780f69463d0015d4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6c0d1f307ecff2fa780f69463d0015d4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6c0d1f307ecff2fa780f69463d0015d4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6c0d1f307ecff2fa780f69463d0015d4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6c0d1f307ecff2fa780f69463d0015d4,
type_description_1,
par_f,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_6c0d1f307ecff2fa780f69463d0015d4 == cache_frame_6c0d1f307ecff2fa780f69463d0015d4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6c0d1f307ecff2fa780f69463d0015d4);
cache_frame_6c0d1f307ecff2fa780f69463d0015d4 = NULL;
}
assertFrameObject(frame_6c0d1f307ecff2fa780f69463d0015d4);
// 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$gen$$$function__26_handle_exception(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_typ = python_pars[1];
PyObject *par_value = python_pars[2];
PyObject *par_tb = python_pars[3];
struct Nuitka_FrameObject *frame_a52e1eaf3b53a1462f7eb82a1f14ccbc;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc)) {
Py_XDECREF(cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
#if _DEBUG_REFCOUNTS
if (cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc = MAKE_FUNCTION_FRAME(codeobj_a52e1eaf3b53a1462f7eb82a1f14ccbc, module_tornado$gen, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc->m_type_description == NULL);
frame_a52e1eaf3b53a1462f7eb82a1f14ccbc = cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc;
// Push the new frame as the currently active one.
pushFrameStack(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[124]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[125]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "oooo";
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 = 830;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : 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 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 831;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_a52e1eaf3b53a1462f7eb82a1f14ccbc->m_frame.f_lineno = 831;
tmp_assattr_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 831;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[31], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 831;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_tuple_element_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[31]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_typ);
tmp_tuple_element_1 = par_typ;
tmp_args_element_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_element_value_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_value);
tmp_tuple_element_1 = par_value;
PyTuple_SET_ITEM0(tmp_args_element_value_2, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_tb);
tmp_tuple_element_1 = par_tb;
PyTuple_SET_ITEM0(tmp_args_element_value_2, 2, tmp_tuple_element_1);
frame_a52e1eaf3b53a1462f7eb82a1f14ccbc->m_frame.f_lineno = 832;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[120]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 833;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[19]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 833;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_a52e1eaf3b53a1462f7eb82a1f14ccbc->m_frame.f_lineno = 833;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 833;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a52e1eaf3b53a1462f7eb82a1f14ccbc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a52e1eaf3b53a1462f7eb82a1f14ccbc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a52e1eaf3b53a1462f7eb82a1f14ccbc,
type_description_1,
par_self,
par_typ,
par_value,
par_tb
);
// Release cached frame if used for exception.
if (frame_a52e1eaf3b53a1462f7eb82a1f14ccbc == cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
cache_frame_a52e1eaf3b53a1462f7eb82a1f14ccbc = NULL;
}
assertFrameObject(frame_a52e1eaf3b53a1462f7eb82a1f14ccbc);
// 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_typ);
Py_DECREF(par_typ);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_tb);
Py_DECREF(par_tb);
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_typ);
Py_DECREF(par_typ);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_tb);
Py_DECREF(par_tb);
// 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$gen$$$function__27_convert_yielded(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_yielded = python_pars[0];
struct Nuitka_FrameObject *frame_9490ebf28bd776d718473609f5988309;
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_9490ebf28bd776d718473609f5988309 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9490ebf28bd776d718473609f5988309)) {
Py_XDECREF(cache_frame_9490ebf28bd776d718473609f5988309);
#if _DEBUG_REFCOUNTS
if (cache_frame_9490ebf28bd776d718473609f5988309 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9490ebf28bd776d718473609f5988309 = MAKE_FUNCTION_FRAME(codeobj_9490ebf28bd776d718473609f5988309, module_tornado$gen, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9490ebf28bd776d718473609f5988309->m_type_description == NULL);
frame_9490ebf28bd776d718473609f5988309 = cache_frame_9490ebf28bd776d718473609f5988309;
// Push the new frame as the currently active one.
pushFrameStack(frame_9490ebf28bd776d718473609f5988309);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9490ebf28bd776d718473609f5988309) == 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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_yielded);
tmp_cmp_expr_left_1 = par_yielded;
tmp_cmp_expr_right_1 = Py_None;
tmp_or_left_value_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? 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:;
CHECK_OBJECT(par_yielded);
tmp_cmp_expr_left_2 = par_yielded;
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 865;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? 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 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 866;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_yielded);
tmp_cmp_expr_left_3 = par_yielded;
tmp_cmp_expr_right_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_cmp_expr_right_3 == NULL)) {
tmp_cmp_expr_right_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 867;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 868;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_yielded);
tmp_isinstance_inst_1 = par_yielded;
tmp_isinstance_cls_1 = mod_consts[138];
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[139]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[139]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 870;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_1 = par_yielded;
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 870;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 870;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
int tmp_truth_name_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 871;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_2 = par_yielded;
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 871;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 871;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 871;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[141]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 872;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 872;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_4 = par_yielded;
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 872;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 872;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_4;
branch_no_4:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
int tmp_truth_name_2;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[142]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[142]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 873;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_5 = par_yielded;
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 873;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 873;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 873;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
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_args_element_value_6;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 874;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_yielded);
tmp_args_element_value_6 = par_yielded;
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 874;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 874;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[131]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 876;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[144];
CHECK_OBJECT(par_yielded);
tmp_tuple_element_1 = par_yielded;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
tmp_args_element_value_7 = 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_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 876;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_9490ebf28bd776d718473609f5988309->m_frame.f_lineno = 876;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_7);
Py_DECREF(tmp_args_element_value_7);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 876;
type_description_1 = "o";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 876;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_end_5:;
branch_end_4:;
branch_end_3:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9490ebf28bd776d718473609f5988309);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9490ebf28bd776d718473609f5988309);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9490ebf28bd776d718473609f5988309);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9490ebf28bd776d718473609f5988309, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9490ebf28bd776d718473609f5988309->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9490ebf28bd776d718473609f5988309, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9490ebf28bd776d718473609f5988309,
type_description_1,
par_yielded
);
// Release cached frame if used for exception.
if (frame_9490ebf28bd776d718473609f5988309 == cache_frame_9490ebf28bd776d718473609f5988309) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9490ebf28bd776d718473609f5988309);
cache_frame_9490ebf28bd776d718473609f5988309 = NULL;
}
assertFrameObject(frame_9490ebf28bd776d718473609f5988309);
// 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_yielded);
Py_DECREF(par_yielded);
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_yielded);
Py_DECREF(par_yielded);
// 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$gen$$$function__10_done(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__10_done,
mod_consts[58],
#if PYTHON_VERSION >= 0x300
mod_consts[214],
#endif
codeobj_1511ddef513669bc54e9c59217e906f1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[54],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__11_next(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__11_next,
mod_consts[28],
#if PYTHON_VERSION >= 0x300
mod_consts[215],
#endif
codeobj_37c21763765c5f087b5b35e8cd3ae9df,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[57],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__12__done_callback(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__12__done_callback,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[216],
#endif
codeobj_998913c33738ebf2d2920b0d6d403f76,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__13__return_result(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__13__return_result,
mod_consts[55],
#if PYTHON_VERSION >= 0x300
mod_consts[217],
#endif
codeobj_9be635da48dc68b6208cdc9d40d3273f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[63],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__14___aiter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__14___aiter__,
mod_consts[219],
#if PYTHON_VERSION >= 0x300
mod_consts[220],
#endif
codeobj_93e10dc4a4a80ebcce29f3b5fa2dfc07,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__15___anext__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__15___anext__,
mod_consts[221],
#if PYTHON_VERSION >= 0x300
mod_consts[222],
#endif
codeobj_9c267069805bed77f038f483abfdf570,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__16_multi(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__16_multi,
mod_consts[139],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_868337ecd4c9b16e614c401bf4423ce9,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[68],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__17_multi_future(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__17_multi_future,
mod_consts[66],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_52a54bb346d8fe5a154e606c09158bfe,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[78],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__17_multi_future$$$function__1_callback(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__17_multi_future$$$function__1_callback,
mod_consts[74],
#if PYTHON_VERSION >= 0x300
mod_consts[75],
#endif
codeobj_2399de7cb243a4556785459f7f07c641,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
closure,
5
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__18_maybe_future(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__18_maybe_future,
mod_consts[229],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a9b05b9b39067f6eba0addb01ca012cb,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[93],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__19_with_timeout,
mod_consts[232],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b428ae102e770ff1c3b4a2ed7300adf7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[104],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__1_error_callback(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__19_with_timeout$$$function__1_error_callback,
mod_consts[96],
#if PYTHON_VERSION >= 0x300
mod_consts[97],
#endif
codeobj_744ded7d6a322c99838747d732a36173,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__2_timeout_callback(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__19_with_timeout$$$function__2_timeout_callback,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[100],
#endif
codeobj_fe98ae9e692c8529e0f417aeb1bec43a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
closure,
3
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__3_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__19_with_timeout$$$function__3_lambda,
mod_consts[34],
#if PYTHON_VERSION >= 0x300
mod_consts[102],
#endif
codeobj_ecacb2f3f4e8b787a37e501e32055a6a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$gen,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout$$$function__4_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__19_with_timeout$$$function__4_lambda,
mod_consts[34],
#if PYTHON_VERSION >= 0x300
mod_consts[102],
#endif
codeobj_a88d7df76dd55d296446946fcd69fc5f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$gen,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__1__value_from_stopiteration(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__1__value_from_stopiteration,
mod_consts[23],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_af392b4552c2c3478cf6cbded1de9538,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__20_sleep(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__20_sleep,
mod_consts[234],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_4d7cce8610fb49a705bca94946a82954,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[118],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__20_sleep$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__20_sleep$$$function__1_lambda,
mod_consts[34],
#if PYTHON_VERSION >= 0x300
mod_consts[117],
#endif
codeobj_4342f7a439cdbdda9690b4d9c0135d99,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__21_result(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[86],
#if PYTHON_VERSION >= 0x300
mod_consts[236],
#endif
codeobj_37aca38c12041488ad89c5d4ec6e702b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__22_done(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[58],
#if PYTHON_VERSION >= 0x300
mod_consts[237],
#endif
codeobj_d7755228ee488ccdd83af7e160c271ff,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
Nuitka_Function_EnableConstReturnTrue(result);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__23___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__23___init__,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[243],
#endif
codeobj_2f2e1a0811c88b4a5f18d79ec95c9186,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__24_run(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__24_run,
mod_consts[19],
#if PYTHON_VERSION >= 0x300
mod_consts[244],
#endif
codeobj_3b8a62b8e8a82a98533976afd37124ad,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[130],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__25_handle_yield,
mod_consts[126],
#if PYTHON_VERSION >= 0x300
mod_consts[245],
#endif
codeobj_8e92e4c19a609a43c8e8ac96021c7c18,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield$$$function__1_inner(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__25_handle_yield$$$function__1_inner,
mod_consts[136],
#if PYTHON_VERSION >= 0x300
mod_consts[137],
#endif
codeobj_6c0d1f307ecff2fa780f69463d0015d4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__26_handle_exception(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__26_handle_exception,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[251],
#endif
codeobj_a52e1eaf3b53a1462f7eb82a1f14ccbc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__27_convert_yielded(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__27_convert_yielded,
mod_consts[71],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9490ebf28bd776d718473609f5988309,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[145],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__2__create_future(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__2__create_future,
mod_consts[16],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_39a7e4836b3cedc5154afe174cd82eef,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__3__fake_ctx_run(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__3__fake_ctx_run,
mod_consts[20],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_60229ce814a89ee32c7ec6aed34e5eb4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__4_coroutine(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[203],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9b47d82ffd73a1ab595ff0ec3fe71d1d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__5_coroutine(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[203],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_37877f79933d64b0c17755213990109d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__6_coroutine,
mod_consts[203],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_93609a0fbe87afdd33b30aeb67e47bb0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[15],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[12],
#endif
codeobj_89ea004fd81141cfb1e39a7ce0abba2c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$function__1_lambda,
mod_consts[34],
#if PYTHON_VERSION >= 0x300
mod_consts[35],
#endif
codeobj_90c3475fe7d4f8c3b39e934534d3e8ee,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__7_is_coroutine_function(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__7_is_coroutine_function,
mod_consts[204],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_519ddae7f97a621274cda70b1486d633,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
mod_consts[37],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__8___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__8___init__,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[207],
#endif
codeobj_38d7152af802d6ecdc100a56de7554bd,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$gen$$$function__9___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$gen$$$function__9___init__,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[212],
#endif
codeobj_d5b9d74c4a09957c15ce7c1ebed320b0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$gen,
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$gen[] = {
impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper,
impl_tornado$gen$$$function__6_coroutine$$$function__1_wrapper$$$function__1_lambda,
impl_tornado$gen$$$function__17_multi_future$$$function__1_callback,
impl_tornado$gen$$$function__19_with_timeout$$$function__1_error_callback,
impl_tornado$gen$$$function__19_with_timeout$$$function__2_timeout_callback,
impl_tornado$gen$$$function__19_with_timeout$$$function__3_lambda,
impl_tornado$gen$$$function__19_with_timeout$$$function__4_lambda,
impl_tornado$gen$$$function__20_sleep$$$function__1_lambda,
impl_tornado$gen$$$function__25_handle_yield$$$function__1_inner,
impl_tornado$gen$$$function__1__value_from_stopiteration,
impl_tornado$gen$$$function__2__create_future,
impl_tornado$gen$$$function__3__fake_ctx_run,
NULL,
NULL,
impl_tornado$gen$$$function__6_coroutine,
impl_tornado$gen$$$function__7_is_coroutine_function,
impl_tornado$gen$$$function__8___init__,
impl_tornado$gen$$$function__9___init__,
impl_tornado$gen$$$function__10_done,
impl_tornado$gen$$$function__11_next,
impl_tornado$gen$$$function__12__done_callback,
impl_tornado$gen$$$function__13__return_result,
impl_tornado$gen$$$function__14___aiter__,
impl_tornado$gen$$$function__15___anext__,
impl_tornado$gen$$$function__16_multi,
impl_tornado$gen$$$function__17_multi_future,
impl_tornado$gen$$$function__18_maybe_future,
impl_tornado$gen$$$function__19_with_timeout,
impl_tornado$gen$$$function__20_sleep,
NULL,
NULL,
impl_tornado$gen$$$function__23___init__,
impl_tornado$gen$$$function__24_run,
impl_tornado$gen$$$function__25_handle_yield,
impl_tornado$gen$$$function__26_handle_exception,
impl_tornado$gen$$$function__27_convert_yielded,
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$gen;
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$gen) || 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$gen[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$gen,
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$gen(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.gen");
// Store the module for future use.
module_tornado$gen = 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.gen: 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.gen: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.gen: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$gen\n");
moduledict_tornado$gen = MODULE_DICT(module_tornado$gen);
#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$gen,
(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$gen,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[291]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$gen,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (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$gen,
(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$gen, (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$gen,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$gen);
// 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$gen, (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$gen, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$gen, (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$gen, (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$gen);
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$gen, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *outline_4_var___class__ = NULL;
struct Nuitka_CellObject *outline_5_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_6_var___class__ = NULL;
PyObject *outline_7_var___class__ = NULL;
PyObject *outline_8_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = 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__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__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_class_creation_8__bases = NULL;
PyObject *tmp_class_creation_8__class_decl_dict = NULL;
PyObject *tmp_class_creation_8__metaclass = NULL;
PyObject *tmp_class_creation_8__prepared = NULL;
PyObject *tmp_class_creation_9__bases = NULL;
PyObject *tmp_class_creation_9__class_decl_dict = NULL;
PyObject *tmp_class_creation_9__metaclass = NULL;
PyObject *tmp_class_creation_9__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
struct Nuitka_FrameObject *frame_e83dde78cdf12af9c1af4a46b277e6f1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *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_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$gen$$$class__1_KeyReuseError_111 = NULL;
PyObject *tmp_dictset_value;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_tornado$gen$$$class__2_UnknownKeyError_115 = NULL;
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 *locals_tornado$gen$$$class__3_LeakedCallbackError_119 = NULL;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *locals_tornado$gen$$$class__4_BadYieldError_123 = NULL;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
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 *locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127 = NULL;
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 *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 *locals_tornado$gen$$$class__6_Return_282 = NULL;
struct Nuitka_FrameObject *frame_54a51bcbb6b419364fceaf2e3c1f955e_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2 = NULL;
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 *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 *locals_tornado$gen$$$class__7_WaitIterator_310 = NULL;
struct Nuitka_FrameObject *frame_53125e4a9fbda3ba32b06d7fe876eeba_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3 = NULL;
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 *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 *locals_tornado$gen$$$class__8__NullFuture_678 = NULL;
struct Nuitka_FrameObject *frame_dad9a3f4c32e0a74d26a622ff4556f22_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4 = NULL;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26;
PyObject *exception_keeper_type_27;
PyObject *exception_keeper_value_27;
PyTracebackObject *exception_keeper_tb_27;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27;
PyObject *exception_keeper_type_28;
PyObject *exception_keeper_value_28;
PyTracebackObject *exception_keeper_tb_28;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28;
PyObject *locals_tornado$gen$$$class__9_Runner_723 = NULL;
struct Nuitka_FrameObject *frame_e2edad38cc65c59a71714cdb5905d4ab_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5 = NULL;
PyObject *exception_keeper_type_29;
PyObject *exception_keeper_value_29;
PyTracebackObject *exception_keeper_tb_29;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_29;
PyObject *exception_keeper_type_30;
PyObject *exception_keeper_value_30;
PyTracebackObject *exception_keeper_tb_30;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_30;
PyObject *exception_keeper_type_31;
PyObject *exception_keeper_value_31;
PyTracebackObject *exception_keeper_tb_31;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_31;
PyObject *exception_keeper_type_32;
PyObject *exception_keeper_value_32;
PyTracebackObject *exception_keeper_tb_32;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_32;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_33;
PyObject *exception_keeper_value_33;
PyTracebackObject *exception_keeper_tb_33;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[146];
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[147], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[148];
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_2);
}
// Frame without reuse.
frame_e83dde78cdf12af9c1af4a46b277e6f1 = MAKE_MODULE_FRAME(codeobj_e83dde78cdf12af9c1af4a46b277e6f1, module_tornado$gen);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_e83dde78cdf12af9c1af4a46b277e6f1);
assert(Py_REFCNT(frame_e83dde78cdf12af9c1af4a46b277e6f1) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[148];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[150], 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$gen, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[151], 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$gen, (Nuitka_StringObject *)mod_consts[152], 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[105];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 69;
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 = 69;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[105], 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[64];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 70;
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);
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[64], 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[42];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 71;
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);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[153];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[154];
tmp_level_value_4 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 72;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_7 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$gen,
mod_consts[27],
mod_consts[2]
);
} else {
tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[27]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[27], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
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[155];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 73;
tmp_assign_source_8 = 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_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[156], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[157];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 74;
tmp_assign_source_9 = 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_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[157], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = IMPORT_HARD_FUNCTOOLS();
assert(!(tmp_assign_source_10 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[9], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_2;
tmp_import_name_from_2 = IMPORT_HARD_FUNCTOOLS();
assert(!(tmp_import_name_from_2 == NULL));
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$gen,
mod_consts[158],
mod_consts[2]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[158]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 76;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[158], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_3;
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[159];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[160];
tmp_level_value_7 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 77;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$gen,
mod_consts[142],
mod_consts[2]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[142]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[142], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
tmp_assign_source_13 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_13 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[25], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
tmp_assign_source_14 = IMPORT_HARD_TYPES();
assert(!(tmp_assign_source_14 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[161], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
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[162];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[163];
tmp_level_value_8 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 81;
tmp_assign_source_15 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_15;
}
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$gen,
mod_consts[4],
mod_consts[2]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[4]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$gen,
mod_consts[79],
mod_consts[2]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[79]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$gen,
mod_consts[61],
mod_consts[2]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[61]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[61], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_7 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$gen,
mod_consts[24],
mod_consts[2]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[24]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_8 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$gen,
mod_consts[48],
mod_consts[2]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[48]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_9 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$gen,
mod_consts[29],
mod_consts[2]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[29]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_21);
}
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_22;
PyObject *tmp_import_name_from_10;
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[164];
tmp_globals_arg_value_9 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[165];
tmp_level_value_9 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 89;
tmp_import_name_from_10 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$gen,
mod_consts[94],
mod_consts[2]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[94]);
}
Py_DECREF(tmp_import_name_from_10);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[94], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_11;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[166];
tmp_globals_arg_value_10 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[167];
tmp_level_value_10 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 90;
tmp_import_name_from_11 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_import_name_from_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$gen,
mod_consts[88],
mod_consts[2]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[88]);
}
Py_DECREF(tmp_import_name_from_11);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[88], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_12;
PyObject *tmp_name_value_11;
PyObject *tmp_globals_arg_value_11;
PyObject *tmp_locals_arg_value_11;
PyObject *tmp_fromlist_value_11;
PyObject *tmp_level_value_11;
tmp_name_value_11 = mod_consts[168];
tmp_globals_arg_value_11 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[169];
tmp_level_value_11 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 91;
tmp_import_name_from_12 = IMPORT_MODULE5(tmp_name_value_11, tmp_globals_arg_value_11, tmp_locals_arg_value_11, tmp_fromlist_value_11, tmp_level_value_11);
if (tmp_import_name_from_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$gen,
mod_consts[110],
mod_consts[2]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[110]);
}
Py_DECREF(tmp_import_name_from_12);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[110], tmp_assign_source_24);
}
// Tried code:
{
PyObject *tmp_assign_source_25;
PyObject *tmp_name_value_12;
PyObject *tmp_globals_arg_value_12;
PyObject *tmp_locals_arg_value_12;
PyObject *tmp_fromlist_value_12;
PyObject *tmp_level_value_12;
tmp_name_value_12 = mod_consts[17];
tmp_globals_arg_value_12 = (PyObject *)moduledict_tornado$gen;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = Py_None;
tmp_level_value_12 = mod_consts[2];
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 94;
tmp_assign_source_25 = IMPORT_MODULE5(tmp_name_value_12, tmp_globals_arg_value_12, tmp_locals_arg_value_12, tmp_fromlist_value_12, tmp_level_value_12);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_25);
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_26);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 93;
}
if (exception_tb && exception_tb->tb_frame == &frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame) frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_3;
branch_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_27 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_28 == NULL));
assert(tmp_import_from_2__module == NULL);
Py_INCREF(tmp_assign_source_28);
tmp_import_from_2__module = tmp_assign_source_28;
}
// Tried code:
{
PyObject *tmp_assign_source_29;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_13 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_29 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$gen,
mod_consts[170],
mod_consts[2]
);
} else {
tmp_assign_source_29 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[170]);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_14 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_30 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_tornado$gen,
mod_consts[135],
mod_consts[2]
);
} else {
tmp_assign_source_30 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[135]);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_15 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_31 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_tornado$gen,
mod_consts[171],
mod_consts[2]
);
} else {
tmp_assign_source_31 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[171]);
}
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_import_name_from_16;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_16 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_32 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_tornado$gen,
mod_consts[172],
mod_consts[2]
);
} else {
tmp_assign_source_32 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[172]);
}
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[172], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_import_name_from_17;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_17 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_33 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_tornado$gen,
mod_consts[173],
mod_consts[2]
);
} else {
tmp_assign_source_33 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[173]);
}
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[173], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_18 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_34 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_tornado$gen,
mod_consts[174],
mod_consts[2]
);
} else {
tmp_assign_source_34 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[174]);
}
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[174], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_import_name_from_19;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_19 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_19)) {
tmp_assign_source_35 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_19,
(PyObject *)moduledict_tornado$gen,
mod_consts[175],
mod_consts[2]
);
} else {
tmp_assign_source_35 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[175]);
}
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[175], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_import_name_from_20;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_20 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_20)) {
tmp_assign_source_36 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_20,
(PyObject *)moduledict_tornado$gen,
mod_consts[176],
mod_consts[2]
);
} else {
tmp_assign_source_36 = IMPORT_NAME(tmp_import_name_from_20, mod_consts[176]);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[176], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_import_name_from_21;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_21 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_21)) {
tmp_assign_source_37 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_21,
(PyObject *)moduledict_tornado$gen,
mod_consts[177],
mod_consts[2]
);
} else {
tmp_assign_source_37 = IMPORT_NAME(tmp_import_name_from_21, mod_consts[177]);
}
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[177], tmp_assign_source_37);
}
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_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = 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_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_38;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
assert(!(tmp_called_instance_1 == NULL));
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 104;
tmp_assign_source_38 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[178],
PyTuple_GET_ITEM(mod_consts[179], 0)
);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[180], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_tuple_element_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 106;
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = Py_None;
tmp_subscript_value_1 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_3;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyTuple_SET_ITEM0(tmp_subscript_value_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_subscript_value_1, 1, tmp_tuple_element_1);
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[172]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[172]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_subscript_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_subscript_value_2 == NULL)) {
tmp_subscript_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_subscript_value_1, 2, tmp_tuple_element_1);
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_subscript_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_3, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_subscript_value_3, 1, tmp_tuple_element_2);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_subscript_value_3);
goto tuple_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_subscript_value_1, 3, tmp_tuple_element_1);
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[156]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[156]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[181]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[4]);
Py_DECREF(tmp_expression_value_4);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_subscript_value_1, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_subscript_value_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_assign_source_39 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 107;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182], tmp_assign_source_39);
}
// Tried code:
{
PyObject *tmp_assign_source_40;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[183];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_40 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_40;
}
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_41;
}
{
PyObject *tmp_assign_source_42;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_2;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[184];
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 = 111;
goto try_except_handler_5;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_6 = tmp_class_creation_1__bases;
tmp_subscript_value_4 = mod_consts[2];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_4, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
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 = 111;
goto try_except_handler_5;
}
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_42 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_42;
}
{
bool tmp_condition_result_4;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 111;
goto try_except_handler_5;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_7 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[185]);
tmp_condition_result_5 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_43;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_8 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[185]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
tmp_tuple_element_3 = mod_consts[186];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 111;
tmp_assign_source_43 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_43;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_9 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[187]);
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 = 111;
goto try_except_handler_5;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_4;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[188];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[189];
tmp_getattr_default_1 = mod_consts[190];
tmp_tuple_element_4 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_5;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_10;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_10 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_10 == NULL));
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[189]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_4);
}
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_5;
// 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 = 111;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 111;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_5;
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_44;
tmp_assign_source_44 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_44;
}
branch_end_3:;
{
PyObject *tmp_assign_source_45;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$gen$$$class__1_KeyReuseError_111 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__1_KeyReuseError_111, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_7;
}
tmp_dictset_value = mod_consts[186];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__1_KeyReuseError_111, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_7;
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_2 = mod_consts[183];
tmp_condition_result_7 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_7;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__1_KeyReuseError_111, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_7;
}
branch_no_5:;
{
PyObject *tmp_assign_source_46;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_5 = mod_consts[186];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_5 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_5);
tmp_tuple_element_5 = locals_tornado$gen$$$class__1_KeyReuseError_111;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 111;
tmp_assign_source_46 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto try_except_handler_7;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_46;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_45 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_45);
goto try_return_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
Py_DECREF(locals_tornado$gen$$$class__1_KeyReuseError_111);
locals_tornado$gen$$$class__1_KeyReuseError_111 = NULL;
goto try_return_handler_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$gen$$$class__1_KeyReuseError_111);
locals_tornado$gen$$$class__1_KeyReuseError_111 = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
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_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 111;
goto try_except_handler_5;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[186], tmp_assign_source_45);
}
goto try_end_5;
// Exception handler code:
try_except_handler_5:;
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(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_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_47;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[183];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_47 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_47;
}
{
PyObject *tmp_assign_source_48;
tmp_assign_source_48 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_48;
}
{
PyObject *tmp_assign_source_49;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_8;
PyObject *tmp_key_value_4;
PyObject *tmp_dict_arg_value_4;
PyObject *tmp_dict_arg_value_5;
PyObject *tmp_key_value_5;
nuitka_bool tmp_condition_result_9;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_5;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4);
assert(!(tmp_res == -1));
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[184];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
Py_INCREF(tmp_metaclass_value_2);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
tmp_condition_result_9 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_11 = tmp_class_creation_2__bases;
tmp_subscript_value_5 = mod_consts[2];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, tmp_subscript_value_5, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
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 = 115;
goto try_except_handler_8;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_49 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_49;
}
{
bool tmp_condition_result_10;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 115;
goto try_except_handler_8;
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_12 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_12, mod_consts[185]);
tmp_condition_result_11 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_50;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_13 = tmp_class_creation_2__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[185]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
tmp_tuple_element_6 = mod_consts[195];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 115;
tmp_assign_source_50 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_50;
}
{
bool tmp_condition_result_12;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_14 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_14, mod_consts[187]);
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 = 115;
goto try_except_handler_8;
}
tmp_condition_result_12 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[188];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[189];
tmp_getattr_default_2 = mod_consts[190];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_8;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_15;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_15 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_15 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[189]);
Py_DECREF(tmp_expression_value_15);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
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 = 115;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 115;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_8;
}
branch_no_8:;
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_assign_source_51;
tmp_assign_source_51 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_51;
}
branch_end_7:;
{
PyObject *tmp_assign_source_52;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$gen$$$class__2_UnknownKeyError_115 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__2_UnknownKeyError_115, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_10;
}
tmp_dictset_value = mod_consts[195];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__2_UnknownKeyError_115, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_10;
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_3 = mod_consts[183];
tmp_condition_result_13 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_10;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__2_UnknownKeyError_115, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_10;
}
branch_no_9:;
{
PyObject *tmp_assign_source_53;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = mod_consts[195];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_8 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_tornado$gen$$$class__2_UnknownKeyError_115;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 115;
tmp_assign_source_53 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_10;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_53;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_52 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_52);
goto try_return_handler_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
Py_DECREF(locals_tornado$gen$$$class__2_UnknownKeyError_115);
locals_tornado$gen$$$class__2_UnknownKeyError_115 = NULL;
goto try_return_handler_9;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$gen$$$class__2_UnknownKeyError_115);
locals_tornado$gen$$$class__2_UnknownKeyError_115 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
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_9:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 115;
goto try_except_handler_8;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[195], tmp_assign_source_52);
}
goto try_end_6;
// Exception handler code:
try_except_handler_8:;
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_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_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
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_54;
PyObject *tmp_dircall_arg1_3;
tmp_dircall_arg1_3 = mod_consts[183];
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_54 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_54;
}
{
PyObject *tmp_assign_source_55;
tmp_assign_source_55 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_55;
}
{
PyObject *tmp_assign_source_56;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_14;
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_15;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_6;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[184];
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_14 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
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[184];
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_5;
condexpr_false_5:;
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 = 119;
goto try_except_handler_11;
}
tmp_condition_result_15 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_16 = tmp_class_creation_3__bases;
tmp_subscript_value_6 = mod_consts[2];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, tmp_subscript_value_6, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
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 = 119;
goto try_except_handler_11;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_56 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_56;
}
{
bool tmp_condition_result_16;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[184];
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_16 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 119;
goto try_except_handler_11;
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_17 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[185]);
tmp_condition_result_17 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_57;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_18;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_18 = tmp_class_creation_3__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[185]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
tmp_tuple_element_9 = mod_consts[196];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_9 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 119;
tmp_assign_source_57 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_57;
}
{
bool tmp_condition_result_18;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_19 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_19, mod_consts[187]);
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 = 119;
goto try_except_handler_11;
}
tmp_condition_result_18 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_18 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_10;
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[188];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[189];
tmp_getattr_default_3 = mod_consts[190];
tmp_tuple_element_10 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_11;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_20;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_20 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_20 == NULL));
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[189]);
Py_DECREF(tmp_expression_value_20);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_10);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_11;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
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 = 119;
goto try_except_handler_11;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 119;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_11;
}
branch_no_12:;
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_58;
tmp_assign_source_58 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_58;
}
branch_end_11:;
{
PyObject *tmp_assign_source_59;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$gen$$$class__3_LeakedCallbackError_119 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__3_LeakedCallbackError_119, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_13;
}
tmp_dictset_value = mod_consts[196];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__3_LeakedCallbackError_119, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_13;
}
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_3__bases;
tmp_cmp_expr_right_4 = mod_consts[183];
tmp_condition_result_19 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_19 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_13;
}
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__3_LeakedCallbackError_119, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_13;
}
branch_no_13:;
{
PyObject *tmp_assign_source_60;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_11;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_11 = mod_consts[196];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_11 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_11);
tmp_tuple_element_11 = locals_tornado$gen$$$class__3_LeakedCallbackError_119;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 119;
tmp_assign_source_60 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
goto try_except_handler_13;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_60;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_59 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_59);
goto try_return_handler_13;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
Py_DECREF(locals_tornado$gen$$$class__3_LeakedCallbackError_119);
locals_tornado$gen$$$class__3_LeakedCallbackError_119 = NULL;
goto try_return_handler_12;
// 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;
Py_DECREF(locals_tornado$gen$$$class__3_LeakedCallbackError_119);
locals_tornado$gen$$$class__3_LeakedCallbackError_119 = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_12;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
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_12:;
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;
// 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 outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 119;
goto try_except_handler_11;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[196], tmp_assign_source_59);
}
goto try_end_7;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_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_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
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_61;
PyObject *tmp_dircall_arg1_4;
tmp_dircall_arg1_4 = mod_consts[183];
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_61 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
tmp_assign_source_62 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_62;
}
{
PyObject *tmp_assign_source_63;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_20;
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_21;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_7;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[184];
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_20 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_20 != false) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
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[184];
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_7;
condexpr_false_7:;
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 = 123;
goto try_except_handler_14;
}
tmp_condition_result_21 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_21 = tmp_class_creation_4__bases;
tmp_subscript_value_7 = mod_consts[2];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_21, tmp_subscript_value_7, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
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 = 123;
goto try_except_handler_14;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_63 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_63;
}
{
bool tmp_condition_result_22;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[184];
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_22 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_22 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 123;
goto try_except_handler_14;
}
branch_no_14:;
{
nuitka_bool tmp_condition_result_23;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_22 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_22, mod_consts[185]);
tmp_condition_result_23 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_assign_source_64;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_23;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_23 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[185]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
tmp_tuple_element_12 = mod_consts[131];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_12 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 123;
tmp_assign_source_64 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_64;
}
{
bool tmp_condition_result_24;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_24;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_24 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_24, mod_consts[187]);
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 = 123;
goto try_except_handler_14;
}
tmp_condition_result_24 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_24 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_13;
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[188];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[189];
tmp_getattr_default_4 = mod_consts[190];
tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_14;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_25;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_25 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_25 == NULL));
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[189]);
Py_DECREF(tmp_expression_value_25);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_13);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_14;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
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 = 123;
goto try_except_handler_14;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 123;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_14;
}
branch_no_16:;
goto branch_end_15;
branch_no_15:;
{
PyObject *tmp_assign_source_65;
tmp_assign_source_65 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_65;
}
branch_end_15:;
{
PyObject *tmp_assign_source_66;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$gen$$$class__4_BadYieldError_123 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__4_BadYieldError_123, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_16;
}
tmp_dictset_value = mod_consts[131];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__4_BadYieldError_123, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_16;
}
{
nuitka_bool tmp_condition_result_25;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_4__bases;
tmp_cmp_expr_right_5 = mod_consts[183];
tmp_condition_result_25 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_25 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_16;
}
if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__4_BadYieldError_123, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_16;
}
branch_no_17:;
{
PyObject *tmp_assign_source_67;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_8 = tmp_class_creation_4__metaclass;
tmp_tuple_element_14 = mod_consts[131];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_14 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_14);
tmp_tuple_element_14 = locals_tornado$gen$$$class__4_BadYieldError_123;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 123;
tmp_assign_source_67 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto try_except_handler_16;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_67;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_66 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_66);
goto try_return_handler_16;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
Py_DECREF(locals_tornado$gen$$$class__4_BadYieldError_123);
locals_tornado$gen$$$class__4_BadYieldError_123 = NULL;
goto try_return_handler_15;
// Exception handler code:
try_except_handler_16:;
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_DECREF(locals_tornado$gen$$$class__4_BadYieldError_123);
locals_tornado$gen$$$class__4_BadYieldError_123 = 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 try_except_handler_15;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
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_15:;
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;
// 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 outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 123;
goto try_except_handler_14;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_66);
}
goto try_end_8;
// Exception handler code:
try_except_handler_14:;
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;
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_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
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_68;
PyObject *tmp_dircall_arg1_5;
tmp_dircall_arg1_5 = mod_consts[183];
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_68 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_68;
}
{
PyObject *tmp_assign_source_69;
tmp_assign_source_69 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_69;
}
{
PyObject *tmp_assign_source_70;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_26;
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_27;
int tmp_truth_name_5;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_26;
PyObject *tmp_subscript_value_8;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[184];
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_26 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_26 != false) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
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[184];
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_9;
condexpr_false_9:;
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 = 127;
goto try_except_handler_17;
}
tmp_condition_result_27 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_26 = tmp_class_creation_5__bases;
tmp_subscript_value_8 = mod_consts[2];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_26, tmp_subscript_value_8, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
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 = 127;
goto try_except_handler_17;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_70 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_70;
}
{
bool tmp_condition_result_28;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[184];
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_28 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_28 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 127;
goto try_except_handler_17;
}
branch_no_18:;
{
nuitka_bool tmp_condition_result_29;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_27 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[185]);
tmp_condition_result_29 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_assign_source_71;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_28;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_28 = tmp_class_creation_5__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[185]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
tmp_tuple_element_15 = mod_consts[197];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_15 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 127;
tmp_assign_source_71 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_71;
}
{
bool tmp_condition_result_30;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_29;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_29 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_29, mod_consts[187]);
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 = 127;
goto try_except_handler_17;
}
tmp_condition_result_30 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_30 != false) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
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_16;
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[188];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[189];
tmp_getattr_default_5 = mod_consts[190];
tmp_tuple_element_16 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_30;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_30 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_30 == NULL));
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[189]);
Py_DECREF(tmp_expression_value_30);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 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_mod_expr_right_5);
goto try_except_handler_17;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
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 = 127;
goto try_except_handler_17;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 127;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_17;
}
branch_no_20:;
goto branch_end_19;
branch_no_19:;
{
PyObject *tmp_assign_source_72;
tmp_assign_source_72 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_72;
}
branch_end_19:;
{
PyObject *tmp_assign_source_73;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_19;
}
tmp_dictset_value = mod_consts[197];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_19;
}
{
nuitka_bool tmp_condition_result_31;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_5__bases;
tmp_cmp_expr_right_6 = mod_consts[183];
tmp_condition_result_31 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_31 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_19;
}
if (tmp_condition_result_31 == NUITKA_BOOL_TRUE) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_19;
}
branch_no_21:;
{
PyObject *tmp_assign_source_74;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_17;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_10 = tmp_class_creation_5__metaclass;
tmp_tuple_element_17 = mod_consts[197];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_17 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_17);
tmp_tuple_element_17 = locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 127;
tmp_assign_source_74 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_19;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_74;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_73 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_73);
goto try_return_handler_19;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_19:;
Py_DECREF(locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127);
locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127 = NULL;
goto try_return_handler_18;
// Exception handler code:
try_except_handler_19:;
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_DECREF(locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127);
locals_tornado$gen$$$class__5_ReturnValueIgnoredError_127 = 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 try_except_handler_18;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
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_18:;
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;
// 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 outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 127;
goto try_except_handler_17;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_73);
}
goto try_end_9;
// Exception handler code:
try_except_handler_17:;
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;
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_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
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;
{
PyObject *tmp_assign_source_75;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_31;
PyObject *tmp_subscript_value_9;
tmp_dict_key_1 = mod_consts[198];
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
goto frame_exception_exit_1;
}
tmp_subscript_value_9 = mod_consts[199];
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_31, tmp_subscript_value_9);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
goto frame_exception_exit_1;
}
tmp_annotations_1 = _PyDict_NewPresized( 2 );
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[73];
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_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_annotations_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_assign_source_75 = MAKE_FUNCTION_tornado$gen$$$function__1__value_from_stopiteration(tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[23], tmp_assign_source_75);
}
{
PyObject *tmp_assign_source_76;
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_dict_key_2 = mod_consts[73];
tmp_dict_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_2 == NULL)) {
tmp_dict_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
goto frame_exception_exit_1;
}
tmp_annotations_2 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_assign_source_76 = MAKE_FUNCTION_tornado$gen$$$function__2__create_future(tmp_annotations_2);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[16], tmp_assign_source_76);
}
{
PyObject *tmp_assign_source_77;
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_10;
PyObject *tmp_tuple_element_18;
tmp_dict_key_3 = mod_consts[119];
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto frame_exception_exit_1;
}
tmp_tuple_element_18 = Py_Ellipsis;
tmp_subscript_value_10 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_10, 0, tmp_tuple_element_18);
tmp_tuple_element_18 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_tuple_element_18 == NULL)) {
tmp_tuple_element_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM0(tmp_subscript_value_10, 1, tmp_tuple_element_18);
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_subscript_value_10);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_32, tmp_subscript_value_10);
Py_DECREF(tmp_subscript_value_10);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto frame_exception_exit_1;
}
tmp_annotations_3 = _PyDict_NewPresized( 4 );
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[1];
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[200];
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[73];
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_assign_source_77 = MAKE_FUNCTION_tornado$gen$$$function__3__fake_ctx_run(tmp_annotations_3);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_77);
}
{
PyObject *tmp_assign_source_78;
PyObject *tmp_called_value_11;
PyObject *tmp_args_element_value_1;
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_33;
PyObject *tmp_subscript_value_11;
tmp_called_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_called_value_11 == NULL)) {
tmp_called_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_dict_key_4 = mod_consts[21];
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
goto frame_exception_exit_1;
}
tmp_subscript_value_11 = mod_consts[201];
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_33, tmp_subscript_value_11);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
goto frame_exception_exit_1;
}
tmp_annotations_4 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_34;
PyObject *tmp_subscript_value_12;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[73];
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
goto dict_build_exception_3;
}
tmp_subscript_value_12 = mod_consts[202];
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_34, tmp_subscript_value_12);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
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_4);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$gen$$$function__4_coroutine(tmp_annotations_4);
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 165;
tmp_assign_source_78 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_78 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[203], tmp_assign_source_78);
}
{
PyObject *tmp_assign_source_79;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_2;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_13;
PyObject *tmp_tuple_element_19;
tmp_called_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_called_value_12 == NULL)) {
tmp_called_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
goto frame_exception_exit_1;
}
tmp_dict_key_5 = mod_consts[21];
tmp_expression_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_35 == NULL)) {
tmp_expression_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
goto frame_exception_exit_1;
}
tmp_tuple_element_19 = Py_Ellipsis;
tmp_subscript_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_13, 0, tmp_tuple_element_19);
tmp_tuple_element_19 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_tuple_element_19 == NULL)) {
tmp_tuple_element_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM0(tmp_subscript_value_13, 1, tmp_tuple_element_19);
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_subscript_value_13);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_35, tmp_subscript_value_13);
Py_DECREF(tmp_subscript_value_13);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
goto frame_exception_exit_1;
}
tmp_annotations_5 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_36;
PyObject *tmp_subscript_value_14;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[73];
tmp_expression_value_36 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (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);
exception_lineno = 173;
goto dict_build_exception_4;
}
tmp_subscript_value_14 = mod_consts[202];
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_36, tmp_subscript_value_14);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_4;
// Exception handling pass through code for dict_build:
dict_build_exception_4:;
Py_DECREF(tmp_annotations_5);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$gen$$$function__5_coroutine(tmp_annotations_5);
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 172;
tmp_assign_source_79 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[203], tmp_assign_source_79);
}
{
PyObject *tmp_assign_source_80;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
PyObject *tmp_expression_value_37;
PyObject *tmp_subscript_value_15;
PyObject *tmp_tuple_element_20;
PyObject *tmp_expression_value_38;
PyObject *tmp_subscript_value_16;
tmp_dict_key_6 = mod_consts[21];
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_subscript_value_16 = mod_consts[201];
tmp_tuple_element_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_38, tmp_subscript_value_16);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_subscript_value_15 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_39;
PyObject *tmp_subscript_value_17;
PyObject *tmp_tuple_element_21;
PyTuple_SET_ITEM(tmp_subscript_value_15, 0, tmp_tuple_element_20);
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto tuple_build_exception_10;
}
tmp_tuple_element_21 = Py_Ellipsis;
tmp_subscript_value_17 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_17, 0, tmp_tuple_element_21);
tmp_tuple_element_21 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_tuple_element_21 == NULL)) {
tmp_tuple_element_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM0(tmp_subscript_value_17, 1, tmp_tuple_element_21);
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_subscript_value_17);
goto tuple_build_exception_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_tuple_element_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_39, tmp_subscript_value_17);
Py_DECREF(tmp_subscript_value_17);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_subscript_value_15, 1, tmp_tuple_element_20);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_subscript_value_15);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_37, tmp_subscript_value_15);
Py_DECREF(tmp_subscript_value_15);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_annotations_6 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_18;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[73];
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (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 = 179;
goto dict_build_exception_5;
}
tmp_subscript_value_18 = mod_consts[202];
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_18);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_5;
// Exception handling pass through code for dict_build:
dict_build_exception_5:;
Py_DECREF(tmp_annotations_6);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
tmp_assign_source_80 = MAKE_FUNCTION_tornado$gen$$$function__6_coroutine(tmp_annotations_6);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[203], tmp_assign_source_80);
}
{
PyObject *tmp_assign_source_81;
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_dict_key_7 = mod_consts[21];
tmp_dict_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_7 == NULL)) {
tmp_dict_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
goto frame_exception_exit_1;
}
tmp_annotations_7 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[73];
tmp_dict_value_7 = (PyObject *)&PyBool_Type;
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_assign_source_81 = MAKE_FUNCTION_tornado$gen$$$function__7_is_coroutine_function(tmp_annotations_7);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[204], tmp_assign_source_81);
}
// Tried code:
{
PyObject *tmp_assign_source_82;
PyObject *tmp_dircall_arg1_6;
tmp_dircall_arg1_6 = mod_consts[183];
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 = 282;
goto try_except_handler_20;
}
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_32;
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_33;
int tmp_truth_name_6;
PyObject *tmp_type_arg_11;
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_19;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[184];
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_32 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_32 != false) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
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[184];
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_11;
condexpr_false_11:;
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 = 282;
goto try_except_handler_20;
}
tmp_condition_result_33 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_41 = tmp_class_creation_6__bases;
tmp_subscript_value_19 = mod_consts[2];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_41, tmp_subscript_value_19, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_20;
}
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 = 282;
goto try_except_handler_20;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_12:;
condexpr_end_11:;
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 = 282;
goto try_except_handler_20;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_84;
}
{
bool tmp_condition_result_34;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[184];
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_34 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_34 != false) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 282;
goto try_except_handler_20;
}
branch_no_22:;
{
nuitka_bool tmp_condition_result_35;
PyObject *tmp_expression_value_42;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_42 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_42, mod_consts[185]);
tmp_condition_result_35 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
PyObject *tmp_assign_source_85;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_43;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_22;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_43 = tmp_class_creation_6__metaclass;
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_43, mod_consts[185]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_20;
}
tmp_tuple_element_22 = mod_consts[22];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_22);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_22 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_22);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 282;
tmp_assign_source_85 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_13);
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 = 282;
goto try_except_handler_20;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_85;
}
{
bool tmp_condition_result_36;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_44;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_44 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_44, mod_consts[187]);
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 = 282;
goto try_except_handler_20;
}
tmp_condition_result_36 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_36 != false) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
{
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_23;
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[188];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[189];
tmp_getattr_default_6 = mod_consts[190];
tmp_tuple_element_23 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_20;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_45;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_45 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_45 == NULL));
tmp_tuple_element_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_45, mod_consts[189]);
Py_DECREF(tmp_expression_value_45);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_23);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_20;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
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 = 282;
goto try_except_handler_20;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 282;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_20;
}
branch_no_24:;
goto branch_end_23;
branch_no_23:;
{
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_23:;
{
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$gen$$$class__6_Return_282 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_22;
}
tmp_dictset_value = mod_consts[205];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[147], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_22;
}
tmp_dictset_value = mod_consts[22];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_22;
}
if (isFrameUnusable(cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2)) {
Py_XDECREF(cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2 = MAKE_CLASS_FRAME(codeobj_54a51bcbb6b419364fceaf2e3c1f955e, module_tornado$gen, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2->m_type_description == NULL);
frame_54a51bcbb6b419364fceaf2e3c1f955e_2 = cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_54a51bcbb6b419364fceaf2e3c1f955e_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_54a51bcbb6b419364fceaf2e3c1f955e_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_defaults_1 = mod_consts[206];
tmp_dict_key_8 = mod_consts[0];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[135]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_8 == NULL)) {
tmp_dict_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_2 = "c";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_8);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_8 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[73];
tmp_dict_value_8 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_1);
tmp_closure_1[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__8___init__(tmp_defaults_1, tmp_annotations_8, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[39], 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 = 303;
type_description_2 = "c";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_54a51bcbb6b419364fceaf2e3c1f955e_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_54a51bcbb6b419364fceaf2e3c1f955e_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_54a51bcbb6b419364fceaf2e3c1f955e_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_54a51bcbb6b419364fceaf2e3c1f955e_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_54a51bcbb6b419364fceaf2e3c1f955e_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_54a51bcbb6b419364fceaf2e3c1f955e_2,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_54a51bcbb6b419364fceaf2e3c1f955e_2 == cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2);
cache_frame_54a51bcbb6b419364fceaf2e3c1f955e_2 = NULL;
}
assertFrameObject(frame_54a51bcbb6b419364fceaf2e3c1f955e_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_22;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_37;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_6__bases;
tmp_cmp_expr_right_7 = mod_consts[183];
tmp_condition_result_37 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_37 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_22;
}
if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__6_Return_282, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_22;
}
branch_no_25:;
{
PyObject *tmp_assign_source_88;
PyObject *tmp_called_value_14;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_24;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_14 = tmp_class_creation_6__metaclass;
tmp_tuple_element_24 = mod_consts[22];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_24 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_24);
tmp_tuple_element_24 = locals_tornado$gen$$$class__6_Return_282;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 282;
tmp_assign_source_88 = CALL_FUNCTION(tmp_called_value_14, 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 = 282;
goto try_except_handler_22;
}
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_22;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_22:;
Py_DECREF(locals_tornado$gen$$$class__6_Return_282);
locals_tornado$gen$$$class__6_Return_282 = NULL;
goto try_return_handler_21;
// Exception handler code:
try_except_handler_22:;
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_DECREF(locals_tornado$gen$$$class__6_Return_282);
locals_tornado$gen$$$class__6_Return_282 = 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 try_except_handler_21;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
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_21:;
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;
// 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 outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 282;
goto try_except_handler_20;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[22], tmp_assign_source_87);
}
goto try_end_10;
// Exception handler code:
try_except_handler_20:;
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;
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_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
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_dircall_arg1_7;
tmp_dircall_arg1_7 = mod_consts[208];
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
tmp_assign_source_89 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_89 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_89;
}
{
PyObject *tmp_assign_source_90;
tmp_assign_source_90 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_90;
}
{
PyObject *tmp_assign_source_91;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_38;
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_39;
int tmp_truth_name_7;
PyObject *tmp_type_arg_13;
PyObject *tmp_expression_value_46;
PyObject *tmp_subscript_value_20;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[184];
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_38 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_38 != false) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
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[184];
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_13;
condexpr_false_13:;
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 = 310;
goto try_except_handler_23;
}
tmp_condition_result_39 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_46 = tmp_class_creation_7__bases;
tmp_subscript_value_20 = mod_consts[2];
tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_46, tmp_subscript_value_20, 0);
if (tmp_type_arg_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
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 = 310;
goto try_except_handler_23;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_14:;
condexpr_end_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_91 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_91 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_91;
}
{
bool tmp_condition_result_40;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[184];
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_40 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_40 != false) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 310;
goto try_except_handler_23;
}
branch_no_26:;
{
nuitka_bool tmp_condition_result_41;
PyObject *tmp_expression_value_47;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_47 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_47, mod_consts[185]);
tmp_condition_result_41 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_assign_source_92;
PyObject *tmp_called_value_15;
PyObject *tmp_expression_value_48;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_25;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_48 = tmp_class_creation_7__metaclass;
tmp_called_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[185]);
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
tmp_tuple_element_25 = mod_consts[209];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_25 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 310;
tmp_assign_source_92 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_92;
}
{
bool tmp_condition_result_42;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_49;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_49 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_49, mod_consts[187]);
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 = 310;
goto try_except_handler_23;
}
tmp_condition_result_42 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_42 != false) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
{
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_26;
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[188];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[189];
tmp_getattr_default_7 = mod_consts[190];
tmp_tuple_element_26 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_23;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_50;
PyObject *tmp_type_arg_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_26);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_14 = tmp_class_creation_7__prepared;
tmp_expression_value_50 = BUILTIN_TYPE1(tmp_type_arg_14);
assert(!(tmp_expression_value_50 == NULL));
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_50, mod_consts[189]);
Py_DECREF(tmp_expression_value_50);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto tuple_build_exception_13;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_26);
}
goto tuple_build_noexception_13;
// Exception handling pass through code for tuple_build:
tuple_build_exception_13:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_23;
// Finished with no exception for tuple_build:
tuple_build_noexception_13:;
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 = 310;
goto try_except_handler_23;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 310;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_23;
}
branch_no_28:;
goto branch_end_27;
branch_no_27:;
{
PyObject *tmp_assign_source_93;
tmp_assign_source_93 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_93;
}
branch_end_27:;
{
PyObject *tmp_assign_source_94;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_tornado$gen$$$class__7_WaitIterator_310 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
tmp_dictset_value = mod_consts[210];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[147], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
tmp_dictset_value = mod_consts[209];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
if (isFrameUnusable(cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3)) {
Py_XDECREF(cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3 = MAKE_CLASS_FRAME(codeobj_53125e4a9fbda3ba32b06d7fe876eeba, module_tornado$gen, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3->m_type_description == NULL);
frame_53125e4a9fbda3ba32b06d7fe876eeba_3 = cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_53125e4a9fbda3ba32b06d7fe876eeba_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_53125e4a9fbda3ba32b06d7fe876eeba_3) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_DICT_EMPTY();
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[41], 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 = 365;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_dict_key_9 = mod_consts[1];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_9 == NULL)) {
tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_9 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[211];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_9 == NULL)) {
tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_dict_value_9);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[73];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
goto dict_build_noexception_6;
// Exception handling pass through code for dict_build:
dict_build_exception_6:;
Py_DECREF(tmp_annotations_9);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__9___init__(tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[39], 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 = 367;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_10;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
tmp_dict_key_10 = mod_consts[73];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[213]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_10 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__10_done(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[58], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
tmp_dict_key_11 = mod_consts[73];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_11 == NULL)) {
tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_11 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__11_next(tmp_annotations_11);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[28], 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 = 394;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
tmp_dict_key_12 = mod_consts[58];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_12 == NULL)) {
tmp_dict_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_12 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[73];
tmp_dict_value_12 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__12__done_callback(tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[50], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[58];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_13 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[73];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
goto dict_build_noexception_7;
// Exception handling pass through code for dict_build:
dict_build_exception_7:;
Py_DECREF(tmp_annotations_13);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__13__return_result(tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[55], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
PyObject *tmp_expression_value_51;
tmp_dict_key_14 = mod_consts[73];
tmp_expression_value_51 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_expression_value_51 == NULL)) {
tmp_expression_value_51 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
assert(!(tmp_expression_value_51 == NULL));
tmp_dict_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_51, mod_consts[218]);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_annotations_14 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__14___aiter__(tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[219], 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 = 428;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_dict_key_15 = mod_consts[73];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[4]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_15 == NULL)) {
tmp_dict_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__15___anext__(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[221], 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 = 431;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_53125e4a9fbda3ba32b06d7fe876eeba_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_53125e4a9fbda3ba32b06d7fe876eeba_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_53125e4a9fbda3ba32b06d7fe876eeba_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_53125e4a9fbda3ba32b06d7fe876eeba_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_53125e4a9fbda3ba32b06d7fe876eeba_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_53125e4a9fbda3ba32b06d7fe876eeba_3,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_53125e4a9fbda3ba32b06d7fe876eeba_3 == cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3);
cache_frame_53125e4a9fbda3ba32b06d7fe876eeba_3 = NULL;
}
assertFrameObject(frame_53125e4a9fbda3ba32b06d7fe876eeba_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_25;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_43;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_8 = tmp_class_creation_7__bases;
tmp_cmp_expr_right_8 = mod_consts[208];
tmp_condition_result_43 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_condition_result_43 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
if (tmp_condition_result_43 == NUITKA_BOOL_TRUE) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__7_WaitIterator_310, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
branch_no_29:;
{
PyObject *tmp_assign_source_95;
PyObject *tmp_called_value_16;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_27;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_16 = tmp_class_creation_7__metaclass;
tmp_tuple_element_27 = mod_consts[209];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_27 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_27);
tmp_tuple_element_27 = locals_tornado$gen$$$class__7_WaitIterator_310;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 310;
tmp_assign_source_95 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
goto try_except_handler_25;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_95;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_94 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_94);
goto try_return_handler_25;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_25:;
Py_DECREF(locals_tornado$gen$$$class__7_WaitIterator_310);
locals_tornado$gen$$$class__7_WaitIterator_310 = NULL;
goto try_return_handler_24;
// Exception handler code:
try_except_handler_25:;
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_DECREF(locals_tornado$gen$$$class__7_WaitIterator_310);
locals_tornado$gen$$$class__7_WaitIterator_310 = 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 try_except_handler_24;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_24:;
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_24:;
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;
// 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 outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 310;
goto try_except_handler_23;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[209], tmp_assign_source_94);
}
goto try_end_11;
// Exception handler code:
try_except_handler_23:;
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;
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_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
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_96;
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
PyObject *tmp_expression_value_52;
PyObject *tmp_subscript_value_21;
PyObject *tmp_tuple_element_28;
PyObject *tmp_expression_value_53;
PyObject *tmp_subscript_value_22;
tmp_defaults_2 = mod_consts[223];
tmp_dict_key_16 = mod_consts[224];
tmp_expression_value_52 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_52 == NULL)) {
tmp_expression_value_52 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto frame_exception_exit_1;
}
tmp_expression_value_53 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[172]);
if (unlikely(tmp_expression_value_53 == NULL)) {
tmp_expression_value_53 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[172]);
}
if (tmp_expression_value_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto frame_exception_exit_1;
}
tmp_subscript_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_subscript_value_22 == NULL)) {
tmp_subscript_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_subscript_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto frame_exception_exit_1;
}
tmp_tuple_element_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_53, tmp_subscript_value_22);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto frame_exception_exit_1;
}
tmp_subscript_value_21 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_54;
PyObject *tmp_subscript_value_23;
PyObject *tmp_tuple_element_29;
PyTuple_SET_ITEM(tmp_subscript_value_21, 0, tmp_tuple_element_28);
tmp_expression_value_54 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_54 == NULL)) {
tmp_expression_value_54 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto tuple_build_exception_14;
}
tmp_tuple_element_29 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_29 == NULL)) {
tmp_tuple_element_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto tuple_build_exception_14;
}
tmp_subscript_value_23 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_23, 0, tmp_tuple_element_29);
tmp_tuple_element_29 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_tuple_element_29 == NULL)) {
tmp_tuple_element_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_tuple_element_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto tuple_build_exception_15;
}
PyTuple_SET_ITEM0(tmp_subscript_value_23, 1, tmp_tuple_element_29);
goto tuple_build_noexception_14;
// Exception handling pass through code for tuple_build:
tuple_build_exception_15:;
Py_DECREF(tmp_subscript_value_23);
goto tuple_build_exception_14;
// Finished with no exception for tuple_build:
tuple_build_noexception_14:;
tmp_tuple_element_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_54, tmp_subscript_value_23);
Py_DECREF(tmp_subscript_value_23);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto tuple_build_exception_14;
}
PyTuple_SET_ITEM(tmp_subscript_value_21, 1, tmp_tuple_element_28);
}
goto tuple_build_noexception_15;
// Exception handling pass through code for tuple_build:
tuple_build_exception_14:;
Py_DECREF(tmp_subscript_value_21);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_15:;
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_52, tmp_subscript_value_21);
Py_DECREF(tmp_subscript_value_21);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto frame_exception_exit_1;
}
tmp_annotations_16 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[87];
tmp_dict_value_16 = mod_consts[225];
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_16, tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[73];
tmp_dict_value_16 = mod_consts[226];
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_16, tmp_dict_value_16);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_2);
tmp_assign_source_96 = MAKE_FUNCTION_tornado$gen$$$function__16_multi(tmp_defaults_2, tmp_annotations_16);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[139], tmp_assign_source_96);
}
{
PyObject *tmp_assign_source_97;
tmp_assign_source_97 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[139]);
if (unlikely(tmp_assign_source_97 == NULL)) {
tmp_assign_source_97 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[139]);
}
assert(!(tmp_assign_source_97 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[227], tmp_assign_source_97);
}
{
PyObject *tmp_assign_source_98;
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
PyObject *tmp_expression_value_55;
PyObject *tmp_subscript_value_24;
PyObject *tmp_tuple_element_30;
PyObject *tmp_expression_value_56;
PyObject *tmp_subscript_value_25;
tmp_defaults_3 = mod_consts[223];
tmp_dict_key_17 = mod_consts[224];
tmp_expression_value_55 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_55 == NULL)) {
tmp_expression_value_55 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto frame_exception_exit_1;
}
tmp_expression_value_56 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[172]);
if (unlikely(tmp_expression_value_56 == NULL)) {
tmp_expression_value_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[172]);
}
if (tmp_expression_value_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto frame_exception_exit_1;
}
tmp_subscript_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_subscript_value_25 == NULL)) {
tmp_subscript_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_subscript_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto frame_exception_exit_1;
}
tmp_tuple_element_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_56, tmp_subscript_value_25);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto frame_exception_exit_1;
}
tmp_subscript_value_24 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_57;
PyObject *tmp_subscript_value_26;
PyObject *tmp_tuple_element_31;
PyTuple_SET_ITEM(tmp_subscript_value_24, 0, tmp_tuple_element_30);
tmp_expression_value_57 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_57 == NULL)) {
tmp_expression_value_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto tuple_build_exception_16;
}
tmp_tuple_element_31 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_31 == NULL)) {
tmp_tuple_element_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto tuple_build_exception_16;
}
tmp_subscript_value_26 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_26, 0, tmp_tuple_element_31);
tmp_tuple_element_31 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_tuple_element_31 == NULL)) {
tmp_tuple_element_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_tuple_element_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto tuple_build_exception_17;
}
PyTuple_SET_ITEM0(tmp_subscript_value_26, 1, tmp_tuple_element_31);
goto tuple_build_noexception_16;
// Exception handling pass through code for tuple_build:
tuple_build_exception_17:;
Py_DECREF(tmp_subscript_value_26);
goto tuple_build_exception_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_16:;
tmp_tuple_element_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_57, tmp_subscript_value_26);
Py_DECREF(tmp_subscript_value_26);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto tuple_build_exception_16;
}
PyTuple_SET_ITEM(tmp_subscript_value_24, 1, tmp_tuple_element_30);
}
goto tuple_build_noexception_17;
// Exception handling pass through code for tuple_build:
tuple_build_exception_16:;
Py_DECREF(tmp_subscript_value_24);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_17:;
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_55, tmp_subscript_value_24);
Py_DECREF(tmp_subscript_value_24);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
goto frame_exception_exit_1;
}
tmp_annotations_17 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[87];
tmp_dict_value_17 = mod_consts[225];
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[73];
tmp_dict_value_17 = mod_consts[226];
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_3);
tmp_assign_source_98 = MAKE_FUNCTION_tornado$gen$$$function__17_multi_future(tmp_defaults_3, tmp_annotations_17);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[66], tmp_assign_source_98);
}
{
PyObject *tmp_assign_source_99;
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
tmp_dict_key_18 = mod_consts[228];
tmp_dict_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_18 == NULL)) {
tmp_dict_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
goto frame_exception_exit_1;
}
tmp_annotations_18 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_18, tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[73];
tmp_dict_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_18 == NULL)) {
tmp_dict_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_18, tmp_dict_value_18);
assert(!(tmp_res != 0));
goto dict_build_noexception_8;
// Exception handling pass through code for dict_build:
dict_build_exception_8:;
Py_DECREF(tmp_annotations_18);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_assign_source_99 = MAKE_FUNCTION_tornado$gen$$$function__18_maybe_future(tmp_annotations_18);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[229], tmp_assign_source_99);
}
{
PyObject *tmp_assign_source_100;
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
PyObject *tmp_expression_value_58;
PyObject *tmp_subscript_value_27;
PyObject *tmp_tuple_element_32;
tmp_defaults_4 = mod_consts[223];
tmp_dict_key_19 = mod_consts[230];
tmp_expression_value_58 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_expression_value_58 == NULL)) {
tmp_expression_value_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_expression_value_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
goto frame_exception_exit_1;
}
tmp_tuple_element_32 = (PyObject *)&PyFloat_Type;
tmp_subscript_value_27 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_59;
PyTuple_SET_ITEM0(tmp_subscript_value_27, 0, tmp_tuple_element_32);
tmp_expression_value_59 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[157]);
if (unlikely(tmp_expression_value_59 == NULL)) {
tmp_expression_value_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[157]);
}
if (tmp_expression_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
goto tuple_build_exception_18;
}
tmp_tuple_element_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_59, mod_consts[231]);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
goto tuple_build_exception_18;
}
PyTuple_SET_ITEM(tmp_subscript_value_27, 1, tmp_tuple_element_32);
}
goto tuple_build_noexception_18;
// Exception handling pass through code for tuple_build:
tuple_build_exception_18:;
Py_DECREF(tmp_subscript_value_27);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_18:;
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_58, tmp_subscript_value_27);
Py_DECREF(tmp_subscript_value_27);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
goto frame_exception_exit_1;
}
tmp_annotations_19 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[31];
tmp_dict_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_dict_value_19 == NULL)) {
tmp_dict_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_19, tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[87];
tmp_dict_value_19 = mod_consts[225];
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_19, tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[73];
tmp_dict_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_19 == NULL)) {
tmp_dict_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_19, tmp_dict_value_19);
assert(!(tmp_res != 0));
goto dict_build_noexception_9;
// Exception handling pass through code for dict_build:
dict_build_exception_9:;
Py_DECREF(tmp_annotations_19);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
Py_INCREF(tmp_defaults_4);
tmp_assign_source_100 = MAKE_FUNCTION_tornado$gen$$$function__19_with_timeout(tmp_defaults_4, tmp_annotations_19);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[232], tmp_assign_source_100);
}
{
PyObject *tmp_assign_source_101;
PyObject *tmp_annotations_20;
tmp_annotations_20 = DICT_COPY(mod_consts[233]);
tmp_assign_source_101 = MAKE_FUNCTION_tornado$gen$$$function__20_sleep(tmp_annotations_20);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[234], tmp_assign_source_101);
}
// Tried code:
{
PyObject *tmp_assign_source_102;
PyObject *tmp_dircall_arg1_8;
tmp_dircall_arg1_8 = mod_consts[208];
Py_INCREF(tmp_dircall_arg1_8);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_8};
tmp_assign_source_102 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_102 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
assert(tmp_class_creation_8__bases == NULL);
tmp_class_creation_8__bases = tmp_assign_source_102;
}
{
PyObject *tmp_assign_source_103;
tmp_assign_source_103 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__class_decl_dict == NULL);
tmp_class_creation_8__class_decl_dict = tmp_assign_source_103;
}
{
PyObject *tmp_assign_source_104;
PyObject *tmp_metaclass_value_8;
bool tmp_condition_result_44;
PyObject *tmp_key_value_22;
PyObject *tmp_dict_arg_value_22;
PyObject *tmp_dict_arg_value_23;
PyObject *tmp_key_value_23;
nuitka_bool tmp_condition_result_45;
int tmp_truth_name_8;
PyObject *tmp_type_arg_15;
PyObject *tmp_expression_value_60;
PyObject *tmp_subscript_value_28;
PyObject *tmp_bases_value_8;
tmp_key_value_22 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_22 = tmp_class_creation_8__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_22, tmp_key_value_22);
assert(!(tmp_res == -1));
tmp_condition_result_44 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_44 != false) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_23 = tmp_class_creation_8__class_decl_dict;
tmp_key_value_23 = mod_consts[184];
tmp_metaclass_value_8 = DICT_GET_ITEM0(tmp_dict_arg_value_23, tmp_key_value_23);
if (tmp_metaclass_value_8 == NULL) {
tmp_metaclass_value_8 = Py_None;
}
assert(!(tmp_metaclass_value_8 == NULL));
Py_INCREF(tmp_metaclass_value_8);
goto condexpr_end_15;
condexpr_false_15:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_truth_name_8 = CHECK_IF_TRUE(tmp_class_creation_8__bases);
if (tmp_truth_name_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
tmp_condition_result_45 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_45 == NUITKA_BOOL_TRUE) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_expression_value_60 = tmp_class_creation_8__bases;
tmp_subscript_value_28 = mod_consts[2];
tmp_type_arg_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_60, tmp_subscript_value_28, 0);
if (tmp_type_arg_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
tmp_metaclass_value_8 = BUILTIN_TYPE1(tmp_type_arg_15);
Py_DECREF(tmp_type_arg_15);
if (tmp_metaclass_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
goto condexpr_end_16;
condexpr_false_16:;
tmp_metaclass_value_8 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_8);
condexpr_end_16:;
condexpr_end_15:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_bases_value_8 = tmp_class_creation_8__bases;
tmp_assign_source_104 = SELECT_METACLASS(tmp_metaclass_value_8, tmp_bases_value_8);
Py_DECREF(tmp_metaclass_value_8);
if (tmp_assign_source_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
assert(tmp_class_creation_8__metaclass == NULL);
tmp_class_creation_8__metaclass = tmp_assign_source_104;
}
{
bool tmp_condition_result_46;
PyObject *tmp_key_value_24;
PyObject *tmp_dict_arg_value_24;
tmp_key_value_24 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_24 = tmp_class_creation_8__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_24, tmp_key_value_24);
assert(!(tmp_res == -1));
tmp_condition_result_46 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_46 != false) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_8__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 678;
goto try_except_handler_26;
}
branch_no_30:;
{
nuitka_bool tmp_condition_result_47;
PyObject *tmp_expression_value_61;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_61 = tmp_class_creation_8__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_61, mod_consts[185]);
tmp_condition_result_47 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_47 == NUITKA_BOOL_TRUE) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
{
PyObject *tmp_assign_source_105;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_62;
PyObject *tmp_args_value_15;
PyObject *tmp_tuple_element_33;
PyObject *tmp_kwargs_value_15;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_62 = tmp_class_creation_8__metaclass;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_62, mod_consts[185]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
tmp_tuple_element_33 = mod_consts[80];
tmp_args_value_15 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_15, 0, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_33 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_15, 1, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_15 = tmp_class_creation_8__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 678;
tmp_assign_source_105 = CALL_FUNCTION(tmp_called_value_17, tmp_args_value_15, tmp_kwargs_value_15);
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_args_value_15);
if (tmp_assign_source_105 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_105;
}
{
bool tmp_condition_result_48;
PyObject *tmp_operand_value_8;
PyObject *tmp_expression_value_63;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_expression_value_63 = tmp_class_creation_8__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_63, mod_consts[187]);
tmp_operand_value_8 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
tmp_condition_result_48 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_48 != false) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
{
PyObject *tmp_raise_type_8;
PyObject *tmp_raise_value_8;
PyObject *tmp_mod_expr_left_8;
PyObject *tmp_mod_expr_right_8;
PyObject *tmp_tuple_element_34;
PyObject *tmp_getattr_target_8;
PyObject *tmp_getattr_attr_8;
PyObject *tmp_getattr_default_8;
tmp_raise_type_8 = PyExc_TypeError;
tmp_mod_expr_left_8 = mod_consts[188];
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_getattr_target_8 = tmp_class_creation_8__metaclass;
tmp_getattr_attr_8 = mod_consts[189];
tmp_getattr_default_8 = mod_consts[190];
tmp_tuple_element_34 = BUILTIN_GETATTR(tmp_getattr_target_8, tmp_getattr_attr_8, tmp_getattr_default_8);
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
tmp_mod_expr_right_8 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_64;
PyObject *tmp_type_arg_16;
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 0, tmp_tuple_element_34);
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_type_arg_16 = tmp_class_creation_8__prepared;
tmp_expression_value_64 = BUILTIN_TYPE1(tmp_type_arg_16);
assert(!(tmp_expression_value_64 == NULL));
tmp_tuple_element_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_64, mod_consts[189]);
Py_DECREF(tmp_expression_value_64);
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto tuple_build_exception_19;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 1, tmp_tuple_element_34);
}
goto tuple_build_noexception_19;
// Exception handling pass through code for tuple_build:
tuple_build_exception_19:;
Py_DECREF(tmp_mod_expr_right_8);
goto try_except_handler_26;
// Finished with no exception for tuple_build:
tuple_build_noexception_19:;
tmp_raise_value_8 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_8, tmp_mod_expr_right_8);
Py_DECREF(tmp_mod_expr_right_8);
if (tmp_raise_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_26;
}
exception_type = tmp_raise_type_8;
Py_INCREF(tmp_raise_type_8);
exception_value = tmp_raise_value_8;
exception_lineno = 678;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_26;
}
branch_no_32:;
goto branch_end_31;
branch_no_31:;
{
PyObject *tmp_assign_source_106;
tmp_assign_source_106 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_106;
}
branch_end_31:;
{
PyObject *tmp_assign_source_107;
{
PyObject *tmp_set_locals_8;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_set_locals_8 = tmp_class_creation_8__prepared;
locals_tornado$gen$$$class__8__NullFuture_678 = tmp_set_locals_8;
Py_INCREF(tmp_set_locals_8);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
tmp_dictset_value = mod_consts[235];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[147], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
tmp_dictset_value = mod_consts[80];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
if (isFrameUnusable(cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4)) {
Py_XDECREF(cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4 = MAKE_CLASS_FRAME(codeobj_dad9a3f4c32e0a74d26a622ff4556f22, module_tornado$gen, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4->m_type_description == NULL);
frame_dad9a3f4c32e0a74d26a622ff4556f22_4 = cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_dad9a3f4c32e0a74d26a622ff4556f22_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dad9a3f4c32e0a74d26a622ff4556f22_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_21;
tmp_annotations_21 = DICT_COPY(mod_consts[98]);
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__21_result(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[86], 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 = 691;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_22;
PyObject *tmp_dict_key_20;
PyObject *tmp_dict_value_20;
tmp_dict_key_20 = mod_consts[73];
tmp_dict_value_20 = PyObject_GetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[213]);
if (tmp_dict_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_20 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_20);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_22 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__22_done(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[58], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_dad9a3f4c32e0a74d26a622ff4556f22_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_dad9a3f4c32e0a74d26a622ff4556f22_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dad9a3f4c32e0a74d26a622ff4556f22_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dad9a3f4c32e0a74d26a622ff4556f22_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dad9a3f4c32e0a74d26a622ff4556f22_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dad9a3f4c32e0a74d26a622ff4556f22_4,
type_description_2,
outline_7_var___class__
);
// Release cached frame if used for exception.
if (frame_dad9a3f4c32e0a74d26a622ff4556f22_4 == cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4);
cache_frame_dad9a3f4c32e0a74d26a622ff4556f22_4 = NULL;
}
assertFrameObject(frame_dad9a3f4c32e0a74d26a622ff4556f22_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_28;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_49;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_cmp_expr_left_9 = tmp_class_creation_8__bases;
tmp_cmp_expr_right_9 = mod_consts[208];
tmp_condition_result_49 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_49 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
if (tmp_condition_result_49 == NUITKA_BOOL_TRUE) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__8__NullFuture_678, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
branch_no_33:;
{
PyObject *tmp_assign_source_108;
PyObject *tmp_called_value_18;
PyObject *tmp_args_value_16;
PyObject *tmp_tuple_element_35;
PyObject *tmp_kwargs_value_16;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_called_value_18 = tmp_class_creation_8__metaclass;
tmp_tuple_element_35 = mod_consts[80];
tmp_args_value_16 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_16, 0, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_35 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_16, 1, tmp_tuple_element_35);
tmp_tuple_element_35 = locals_tornado$gen$$$class__8__NullFuture_678;
PyTuple_SET_ITEM0(tmp_args_value_16, 2, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_16 = tmp_class_creation_8__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 678;
tmp_assign_source_108 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_16, tmp_kwargs_value_16);
Py_DECREF(tmp_args_value_16);
if (tmp_assign_source_108 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 678;
goto try_except_handler_28;
}
assert(outline_7_var___class__ == NULL);
outline_7_var___class__ = tmp_assign_source_108;
}
CHECK_OBJECT(outline_7_var___class__);
tmp_assign_source_107 = outline_7_var___class__;
Py_INCREF(tmp_assign_source_107);
goto try_return_handler_28;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_28:;
Py_DECREF(locals_tornado$gen$$$class__8__NullFuture_678);
locals_tornado$gen$$$class__8__NullFuture_678 = NULL;
goto try_return_handler_27;
// Exception handler code:
try_except_handler_28:;
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_DECREF(locals_tornado$gen$$$class__8__NullFuture_678);
locals_tornado$gen$$$class__8__NullFuture_678 = 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 try_except_handler_27;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_27:;
CHECK_OBJECT(outline_7_var___class__);
Py_DECREF(outline_7_var___class__);
outline_7_var___class__ = NULL;
goto outline_result_8;
// Exception handler code:
try_except_handler_27:;
exception_keeper_type_27 = exception_type;
exception_keeper_value_27 = exception_value;
exception_keeper_tb_27 = exception_tb;
exception_keeper_lineno_27 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_27;
exception_value = exception_keeper_value_27;
exception_tb = exception_keeper_tb_27;
exception_lineno = exception_keeper_lineno_27;
goto outline_exception_8;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_8:;
exception_lineno = 678;
goto try_except_handler_26;
outline_result_8:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[80], tmp_assign_source_107);
}
goto try_end_12;
// Exception handler code:
try_except_handler_26:;
exception_keeper_type_28 = exception_type;
exception_keeper_value_28 = exception_value;
exception_keeper_tb_28 = exception_tb;
exception_keeper_lineno_28 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_8__bases);
tmp_class_creation_8__bases = NULL;
Py_XDECREF(tmp_class_creation_8__class_decl_dict);
tmp_class_creation_8__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_8__metaclass);
tmp_class_creation_8__metaclass = NULL;
Py_XDECREF(tmp_class_creation_8__prepared);
tmp_class_creation_8__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_28;
exception_value = exception_keeper_value_28;
exception_tb = exception_keeper_tb_28;
exception_lineno = exception_keeper_lineno_28;
goto frame_exception_exit_1;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_class_creation_8__bases);
Py_DECREF(tmp_class_creation_8__bases);
tmp_class_creation_8__bases = NULL;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
Py_DECREF(tmp_class_creation_8__class_decl_dict);
tmp_class_creation_8__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
Py_DECREF(tmp_class_creation_8__metaclass);
tmp_class_creation_8__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_8__prepared);
Py_DECREF(tmp_class_creation_8__prepared);
tmp_class_creation_8__prepared = NULL;
{
PyObject *tmp_assign_source_109;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_65;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_called_value_20;
tmp_expression_value_65 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_expression_value_65 == NULL)) {
tmp_expression_value_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
assert(!(tmp_expression_value_65 == NULL));
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_65, mod_consts[141]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 701;
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_19);
exception_lineno = 701;
goto frame_exception_exit_1;
}
tmp_called_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_20 == NULL)) {
tmp_called_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_19);
exception_lineno = 701;
goto frame_exception_exit_1;
}
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 701;
tmp_args_element_value_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_20);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_19);
exception_lineno = 701;
goto frame_exception_exit_1;
}
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 701;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_109 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_19, call_args);
}
Py_DECREF(tmp_called_value_19);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_109 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 701;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[123], tmp_assign_source_109);
}
{
PyObject *tmp_assign_source_110;
PyObject *tmp_called_value_21;
PyObject *tmp_expression_value_66;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_value_22;
tmp_expression_value_66 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_expression_value_66 == NULL)) {
tmp_expression_value_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
assert(!(tmp_expression_value_66 == NULL));
tmp_called_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_66, mod_consts[141]);
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_args_element_value_5 == NULL)) {
tmp_args_element_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[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_21);
exception_lineno = 703;
goto frame_exception_exit_1;
}
tmp_called_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_22 == NULL)) {
tmp_called_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_21);
exception_lineno = 703;
goto frame_exception_exit_1;
}
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 703;
tmp_args_element_value_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_22);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_21);
exception_lineno = 703;
goto frame_exception_exit_1;
}
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 703;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_assign_source_110 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_21, call_args);
}
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_element_value_6);
if (tmp_assign_source_110 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[132], tmp_assign_source_110);
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = mod_consts[238];
tmp_assattr_target_3 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_assattr_target_3 == NULL)) {
tmp_assattr_target_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
assert(!(tmp_assattr_target_3 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[147], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 704;
goto frame_exception_exit_1;
}
}
// Tried code:
{
PyObject *tmp_assign_source_111;
PyObject *tmp_dircall_arg1_9;
tmp_dircall_arg1_9 = mod_consts[208];
Py_INCREF(tmp_dircall_arg1_9);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_9};
tmp_assign_source_111 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_111 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
assert(tmp_class_creation_9__bases == NULL);
tmp_class_creation_9__bases = tmp_assign_source_111;
}
{
PyObject *tmp_assign_source_112;
tmp_assign_source_112 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__class_decl_dict == NULL);
tmp_class_creation_9__class_decl_dict = tmp_assign_source_112;
}
{
PyObject *tmp_assign_source_113;
PyObject *tmp_metaclass_value_9;
bool tmp_condition_result_50;
PyObject *tmp_key_value_25;
PyObject *tmp_dict_arg_value_25;
PyObject *tmp_dict_arg_value_26;
PyObject *tmp_key_value_26;
nuitka_bool tmp_condition_result_51;
int tmp_truth_name_9;
PyObject *tmp_type_arg_17;
PyObject *tmp_expression_value_67;
PyObject *tmp_subscript_value_29;
PyObject *tmp_bases_value_9;
tmp_key_value_25 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_25 = tmp_class_creation_9__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_25, tmp_key_value_25);
assert(!(tmp_res == -1));
tmp_condition_result_50 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_50 != false) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_26 = tmp_class_creation_9__class_decl_dict;
tmp_key_value_26 = mod_consts[184];
tmp_metaclass_value_9 = DICT_GET_ITEM0(tmp_dict_arg_value_26, tmp_key_value_26);
if (tmp_metaclass_value_9 == NULL) {
tmp_metaclass_value_9 = Py_None;
}
assert(!(tmp_metaclass_value_9 == NULL));
Py_INCREF(tmp_metaclass_value_9);
goto condexpr_end_17;
condexpr_false_17:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_truth_name_9 = CHECK_IF_TRUE(tmp_class_creation_9__bases);
if (tmp_truth_name_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
tmp_condition_result_51 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_51 == NUITKA_BOOL_TRUE) {
goto condexpr_true_18;
} else {
goto condexpr_false_18;
}
condexpr_true_18:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_expression_value_67 = tmp_class_creation_9__bases;
tmp_subscript_value_29 = mod_consts[2];
tmp_type_arg_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_67, tmp_subscript_value_29, 0);
if (tmp_type_arg_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
tmp_metaclass_value_9 = BUILTIN_TYPE1(tmp_type_arg_17);
Py_DECREF(tmp_type_arg_17);
if (tmp_metaclass_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
goto condexpr_end_18;
condexpr_false_18:;
tmp_metaclass_value_9 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_9);
condexpr_end_18:;
condexpr_end_17:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_bases_value_9 = tmp_class_creation_9__bases;
tmp_assign_source_113 = SELECT_METACLASS(tmp_metaclass_value_9, tmp_bases_value_9);
Py_DECREF(tmp_metaclass_value_9);
if (tmp_assign_source_113 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
assert(tmp_class_creation_9__metaclass == NULL);
tmp_class_creation_9__metaclass = tmp_assign_source_113;
}
{
bool tmp_condition_result_52;
PyObject *tmp_key_value_27;
PyObject *tmp_dict_arg_value_27;
tmp_key_value_27 = mod_consts[184];
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_27 = tmp_class_creation_9__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_27, tmp_key_value_27);
assert(!(tmp_res == -1));
tmp_condition_result_52 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_52 != false) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_9__class_decl_dict;
tmp_dictdel_key = mod_consts[184];
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 = 723;
goto try_except_handler_29;
}
branch_no_34:;
{
nuitka_bool tmp_condition_result_53;
PyObject *tmp_expression_value_68;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_68 = tmp_class_creation_9__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_68, mod_consts[185]);
tmp_condition_result_53 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_53 == NUITKA_BOOL_TRUE) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
{
PyObject *tmp_assign_source_114;
PyObject *tmp_called_value_23;
PyObject *tmp_expression_value_69;
PyObject *tmp_args_value_17;
PyObject *tmp_tuple_element_36;
PyObject *tmp_kwargs_value_17;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_69 = tmp_class_creation_9__metaclass;
tmp_called_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_69, mod_consts[185]);
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
tmp_tuple_element_36 = mod_consts[30];
tmp_args_value_17 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_17, 0, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_36 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_17, 1, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_17 = tmp_class_creation_9__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 723;
tmp_assign_source_114 = CALL_FUNCTION(tmp_called_value_23, tmp_args_value_17, tmp_kwargs_value_17);
Py_DECREF(tmp_called_value_23);
Py_DECREF(tmp_args_value_17);
if (tmp_assign_source_114 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_114;
}
{
bool tmp_condition_result_54;
PyObject *tmp_operand_value_9;
PyObject *tmp_expression_value_70;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_expression_value_70 = tmp_class_creation_9__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_70, mod_consts[187]);
tmp_operand_value_9 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_9);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
tmp_condition_result_54 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_54 != false) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
{
PyObject *tmp_raise_type_9;
PyObject *tmp_raise_value_9;
PyObject *tmp_mod_expr_left_9;
PyObject *tmp_mod_expr_right_9;
PyObject *tmp_tuple_element_37;
PyObject *tmp_getattr_target_9;
PyObject *tmp_getattr_attr_9;
PyObject *tmp_getattr_default_9;
tmp_raise_type_9 = PyExc_TypeError;
tmp_mod_expr_left_9 = mod_consts[188];
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_getattr_target_9 = tmp_class_creation_9__metaclass;
tmp_getattr_attr_9 = mod_consts[189];
tmp_getattr_default_9 = mod_consts[190];
tmp_tuple_element_37 = BUILTIN_GETATTR(tmp_getattr_target_9, tmp_getattr_attr_9, tmp_getattr_default_9);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
tmp_mod_expr_right_9 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_71;
PyObject *tmp_type_arg_18;
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 0, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_type_arg_18 = tmp_class_creation_9__prepared;
tmp_expression_value_71 = BUILTIN_TYPE1(tmp_type_arg_18);
assert(!(tmp_expression_value_71 == NULL));
tmp_tuple_element_37 = LOOKUP_ATTRIBUTE(tmp_expression_value_71, mod_consts[189]);
Py_DECREF(tmp_expression_value_71);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto tuple_build_exception_20;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 1, tmp_tuple_element_37);
}
goto tuple_build_noexception_20;
// Exception handling pass through code for tuple_build:
tuple_build_exception_20:;
Py_DECREF(tmp_mod_expr_right_9);
goto try_except_handler_29;
// Finished with no exception for tuple_build:
tuple_build_noexception_20:;
tmp_raise_value_9 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_9, tmp_mod_expr_right_9);
Py_DECREF(tmp_mod_expr_right_9);
if (tmp_raise_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_29;
}
exception_type = tmp_raise_type_9;
Py_INCREF(tmp_raise_type_9);
exception_value = tmp_raise_value_9;
exception_lineno = 723;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_29;
}
branch_no_36:;
goto branch_end_35;
branch_no_35:;
{
PyObject *tmp_assign_source_115;
tmp_assign_source_115 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_115;
}
branch_end_35:;
{
PyObject *tmp_assign_source_116;
{
PyObject *tmp_set_locals_9;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_set_locals_9 = tmp_class_creation_9__prepared;
locals_tornado$gen$$$class__9_Runner_723 = tmp_set_locals_9;
Py_INCREF(tmp_set_locals_9);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[191];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[192], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
tmp_dictset_value = mod_consts[239];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[147], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
tmp_dictset_value = mod_consts[30];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[193], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
if (isFrameUnusable(cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5)) {
Py_XDECREF(cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5 = MAKE_CLASS_FRAME(codeobj_e2edad38cc65c59a71714cdb5905d4ab, module_tornado$gen, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5->m_type_description == NULL);
frame_e2edad38cc65c59a71714cdb5905d4ab_5 = cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_e2edad38cc65c59a71714cdb5905d4ab_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e2edad38cc65c59a71714cdb5905d4ab_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_21;
PyObject *tmp_dict_value_21;
tmp_dict_key_21 = mod_consts[120];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[171]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_dict_value_21 == NULL)) {
tmp_dict_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 734;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_21);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_23 = _PyDict_NewPresized( 5 );
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[121];
tmp_dict_value_21 = mod_consts[240];
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_21, tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[122];
tmp_dict_value_21 = mod_consts[241];
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_21, tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[242];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[182]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_dict_value_21 == NULL)) {
tmp_dict_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 737;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_dict_value_21);
} else {
goto dict_build_exception_10;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[73];
tmp_dict_value_21 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_21, tmp_dict_value_21);
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_23);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__23___init__(tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[39], 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 = 732;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_24;
tmp_annotations_24 = DICT_COPY(mod_consts[98]);
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__24_run(tmp_annotations_24);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[19], 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 = 750;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_25;
PyObject *tmp_dict_key_22;
PyObject *tmp_dict_value_22;
tmp_dict_key_22 = mod_consts[32];
tmp_dict_value_22 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[182]);
if (tmp_dict_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_dict_value_22 == NULL)) {
tmp_dict_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_dict_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 804;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_22);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_25 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_22, tmp_dict_value_22);
Py_DECREF(tmp_dict_value_22);
assert(!(tmp_res != 0));
tmp_dict_key_22 = mod_consts[73];
tmp_dict_value_22 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[213]);
if (tmp_dict_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_22 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_22);
} else {
goto frame_exception_exit_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_22, tmp_dict_value_22);
Py_DECREF(tmp_dict_value_22);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__25_handle_yield(tmp_annotations_25);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[126], 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 = 804;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_26;
PyObject *tmp_dict_key_23;
PyObject *tmp_dict_value_23;
PyObject *tmp_expression_value_72;
PyObject *tmp_subscript_value_30;
tmp_dict_key_23 = mod_consts[246];
tmp_expression_value_72 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[173]);
if (tmp_expression_value_72 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_72 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_expression_value_72 == NULL)) {
tmp_expression_value_72 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_expression_value_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_72);
} else {
goto frame_exception_exit_5;
}
}
tmp_subscript_value_30 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[247]);
if (tmp_subscript_value_30 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_30 = PyExc_Exception;
Py_INCREF(tmp_subscript_value_30);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_72, tmp_subscript_value_30);
Py_DECREF(tmp_expression_value_72);
Py_DECREF(tmp_subscript_value_30);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_26 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_73;
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[0];
tmp_dict_value_23 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[247]);
if (tmp_dict_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_23 = PyExc_Exception;
Py_INCREF(tmp_dict_value_23);
} else {
goto dict_build_exception_11;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[248];
tmp_expression_value_73 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[161]);
if (unlikely(tmp_expression_value_73 == NULL)) {
tmp_expression_value_73 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[161]);
}
assert(!(tmp_expression_value_73 == NULL));
tmp_dict_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_73, mod_consts[249]);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[73];
tmp_dict_value_23 = PyObject_GetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[213]);
if (tmp_dict_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_23 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_23);
} else {
goto dict_build_exception_11;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_11;
// Exception handling pass through code for dict_build:
dict_build_exception_11:;
Py_DECREF(tmp_annotations_26);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_11:;
tmp_dictset_value = MAKE_FUNCTION_tornado$gen$$$function__26_handle_exception(tmp_annotations_26);
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[250], 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 = 827;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e2edad38cc65c59a71714cdb5905d4ab_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_e2edad38cc65c59a71714cdb5905d4ab_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e2edad38cc65c59a71714cdb5905d4ab_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e2edad38cc65c59a71714cdb5905d4ab_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e2edad38cc65c59a71714cdb5905d4ab_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e2edad38cc65c59a71714cdb5905d4ab_5,
type_description_2,
outline_8_var___class__
);
// Release cached frame if used for exception.
if (frame_e2edad38cc65c59a71714cdb5905d4ab_5 == cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5);
cache_frame_e2edad38cc65c59a71714cdb5905d4ab_5 = NULL;
}
assertFrameObject(frame_e2edad38cc65c59a71714cdb5905d4ab_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_31;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_55;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_cmp_expr_left_10 = tmp_class_creation_9__bases;
tmp_cmp_expr_right_10 = mod_consts[208];
tmp_condition_result_55 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_55 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
if (tmp_condition_result_55 == NUITKA_BOOL_TRUE) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$gen$$$class__9_Runner_723, mod_consts[194], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
branch_no_37:;
{
PyObject *tmp_assign_source_117;
PyObject *tmp_called_value_24;
PyObject *tmp_args_value_18;
PyObject *tmp_tuple_element_38;
PyObject *tmp_kwargs_value_18;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_called_value_24 = tmp_class_creation_9__metaclass;
tmp_tuple_element_38 = mod_consts[30];
tmp_args_value_18 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_18, 0, tmp_tuple_element_38);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_38 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_18, 1, tmp_tuple_element_38);
tmp_tuple_element_38 = locals_tornado$gen$$$class__9_Runner_723;
PyTuple_SET_ITEM0(tmp_args_value_18, 2, tmp_tuple_element_38);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_18 = tmp_class_creation_9__class_decl_dict;
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 723;
tmp_assign_source_117 = CALL_FUNCTION(tmp_called_value_24, tmp_args_value_18, tmp_kwargs_value_18);
Py_DECREF(tmp_args_value_18);
if (tmp_assign_source_117 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_31;
}
assert(outline_8_var___class__ == NULL);
outline_8_var___class__ = tmp_assign_source_117;
}
CHECK_OBJECT(outline_8_var___class__);
tmp_assign_source_116 = outline_8_var___class__;
Py_INCREF(tmp_assign_source_116);
goto try_return_handler_31;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_31:;
Py_DECREF(locals_tornado$gen$$$class__9_Runner_723);
locals_tornado$gen$$$class__9_Runner_723 = NULL;
goto try_return_handler_30;
// Exception handler code:
try_except_handler_31:;
exception_keeper_type_29 = exception_type;
exception_keeper_value_29 = exception_value;
exception_keeper_tb_29 = exception_tb;
exception_keeper_lineno_29 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$gen$$$class__9_Runner_723);
locals_tornado$gen$$$class__9_Runner_723 = NULL;
// Re-raise.
exception_type = exception_keeper_type_29;
exception_value = exception_keeper_value_29;
exception_tb = exception_keeper_tb_29;
exception_lineno = exception_keeper_lineno_29;
goto try_except_handler_30;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_30:;
CHECK_OBJECT(outline_8_var___class__);
Py_DECREF(outline_8_var___class__);
outline_8_var___class__ = NULL;
goto outline_result_9;
// Exception handler code:
try_except_handler_30:;
exception_keeper_type_30 = exception_type;
exception_keeper_value_30 = exception_value;
exception_keeper_tb_30 = exception_tb;
exception_keeper_lineno_30 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_30;
exception_value = exception_keeper_value_30;
exception_tb = exception_keeper_tb_30;
exception_lineno = exception_keeper_lineno_30;
goto outline_exception_9;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_9:;
exception_lineno = 723;
goto try_except_handler_29;
outline_result_9:;
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[30], tmp_assign_source_116);
}
goto try_end_13;
// Exception handler code:
try_except_handler_29:;
exception_keeper_type_31 = exception_type;
exception_keeper_value_31 = exception_value;
exception_keeper_tb_31 = exception_tb;
exception_keeper_lineno_31 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_9__bases);
tmp_class_creation_9__bases = NULL;
Py_XDECREF(tmp_class_creation_9__class_decl_dict);
tmp_class_creation_9__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_9__metaclass);
tmp_class_creation_9__metaclass = NULL;
Py_XDECREF(tmp_class_creation_9__prepared);
tmp_class_creation_9__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_31;
exception_value = exception_keeper_value_31;
exception_tb = exception_keeper_tb_31;
exception_lineno = exception_keeper_lineno_31;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
CHECK_OBJECT(tmp_class_creation_9__bases);
Py_DECREF(tmp_class_creation_9__bases);
tmp_class_creation_9__bases = NULL;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
Py_DECREF(tmp_class_creation_9__class_decl_dict);
tmp_class_creation_9__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
Py_DECREF(tmp_class_creation_9__metaclass);
tmp_class_creation_9__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_9__prepared);
Py_DECREF(tmp_class_creation_9__prepared);
tmp_class_creation_9__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_118;
PyObject *tmp_expression_value_74;
tmp_expression_value_74 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_74 == NULL)) {
tmp_expression_value_74 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 841;
goto try_except_handler_32;
}
tmp_assign_source_118 = LOOKUP_ATTRIBUTE(tmp_expression_value_74, mod_consts[252]);
if (tmp_assign_source_118 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 841;
goto try_except_handler_32;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[143], tmp_assign_source_118);
}
goto try_end_14;
// Exception handler code:
try_except_handler_32:;
exception_keeper_type_32 = exception_type;
exception_keeper_value_32 = exception_value;
exception_keeper_tb_32 = exception_tb;
exception_keeper_lineno_32 = 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_32 == NULL) {
exception_keeper_tb_32 = MAKE_TRACEBACK(frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_keeper_lineno_32);
} else if (exception_keeper_lineno_32 != 0) {
exception_keeper_tb_32 = ADD_TRACEBACK(exception_keeper_tb_32, frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_keeper_lineno_32);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_32, &exception_keeper_value_32, &exception_keeper_tb_32);
// Tried code:
{
bool tmp_condition_result_56;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
tmp_cmp_expr_left_11 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_11 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
assert(!(tmp_res == -1));
tmp_condition_result_56 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_56 != false) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
{
PyObject *tmp_assign_source_119;
PyObject *tmp_getattr_target_10;
PyObject *tmp_getattr_attr_10;
tmp_getattr_target_10 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_getattr_target_10 == NULL)) {
tmp_getattr_target_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_getattr_target_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 845;
goto try_except_handler_33;
}
tmp_getattr_attr_10 = mod_consts[253];
tmp_assign_source_119 = BUILTIN_GETATTR(tmp_getattr_target_10, tmp_getattr_attr_10, NULL);
if (tmp_assign_source_119 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 845;
goto try_except_handler_33;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[143], tmp_assign_source_119);
}
goto branch_end_38;
branch_no_38:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 840;
}
if (exception_tb && exception_tb->tb_frame == &frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame) frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_33;
branch_end_38:;
goto try_end_15;
// Exception handler code:
try_except_handler_33:;
exception_keeper_type_33 = exception_type;
exception_keeper_value_33 = exception_value;
exception_keeper_tb_33 = exception_tb;
exception_keeper_lineno_33 = 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_33;
exception_value = exception_keeper_value_33;
exception_tb = exception_keeper_tb_33;
exception_lineno = exception_keeper_lineno_33;
goto frame_exception_exit_1;
// End of try:
try_end_15:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_14;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_14:;
{
PyObject *tmp_assign_source_120;
PyObject *tmp_annotations_27;
PyObject *tmp_dict_key_24;
PyObject *tmp_dict_value_24;
tmp_dict_key_24 = mod_consts[32];
tmp_dict_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_dict_value_24 == NULL)) {
tmp_dict_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_dict_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 848;
goto frame_exception_exit_1;
}
tmp_annotations_27 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_24, tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dict_key_24 = mod_consts[73];
tmp_dict_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_dict_value_24 == NULL)) {
tmp_dict_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_dict_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 848;
goto dict_build_exception_12;
}
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_24, tmp_dict_value_24);
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_27);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_12:;
tmp_assign_source_120 = MAKE_FUNCTION_tornado$gen$$$function__27_convert_yielded(tmp_annotations_27);
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_120);
}
{
PyObject *tmp_assign_source_121;
PyObject *tmp_called_value_25;
PyObject *tmp_args_element_value_7;
tmp_called_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[158]);
if (unlikely(tmp_called_value_25 == NULL)) {
tmp_called_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[158]);
}
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_args_element_value_7 == NULL)) {
tmp_args_element_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
assert(!(tmp_args_element_value_7 == NULL));
frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame.f_lineno = 879;
tmp_assign_source_121 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_25, tmp_args_element_value_7);
if (tmp_assign_source_121 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$gen, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_121);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_e83dde78cdf12af9c1af4a46b277e6f1);
#endif
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e83dde78cdf12af9c1af4a46b277e6f1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e83dde78cdf12af9c1af4a46b277e6f1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e83dde78cdf12af9c1af4a46b277e6f1, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_5:;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.gen", false);
Py_INCREF(module_tornado$gen);
return module_tornado$gen;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$gen, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$gen", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}