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.template'
* 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$template" 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$template;
PyDictObject *moduledict_tornado$template;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[450];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[450];
#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.template"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 450; 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$template(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 450; 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_498b5118530a43c8d3546c0cf99e5b4b;
static PyCodeObject *codeobj_c8edc68b4264b7bcf39e9d7a53c39d09;
static PyCodeObject *codeobj_db81c3766b0d0c5a39283b645191cf06;
static PyCodeObject *codeobj_334dd95518f3a15a7553ddb5c7596b04;
static PyCodeObject *codeobj_6ebaddf4fc486c51ddf39ec9b2ec17a5;
static PyCodeObject *codeobj_1b8afad441282e6e9dee264c2302c3c3;
static PyCodeObject *codeobj_e082e2333558aea8c707d6ee9375b19d;
static PyCodeObject *codeobj_fb940a74d8677e27e87d4de72a35c349;
static PyCodeObject *codeobj_11f2b572ae1016ba52d0d50b252f4b68;
static PyCodeObject *codeobj_c0cc7a93df4c4a7486595c764edab8fb;
static PyCodeObject *codeobj_e2c6cdc40ae496b53b92fcaf9d416ebf;
static PyCodeObject *codeobj_c6c5eb7f186b0e9f7f29fcb6b1b342d7;
static PyCodeObject *codeobj_f72dc65022469f6212f1087258bd12a7;
static PyCodeObject *codeobj_6ac5fb72e49a3c5774dd8c32f8f1454a;
static PyCodeObject *codeobj_ce451adc4a692f7f324030cf6b076357;
static PyCodeObject *codeobj_c90379810339cf78a1536bcfe5575960;
static PyCodeObject *codeobj_18bc1336ec81e9d6bf7a905b84f062ae;
static PyCodeObject *codeobj_29db05089589c8ea1ef6ad8e37660564;
static PyCodeObject *codeobj_69bcc9f8d15af1cae408d6cc230baff1;
static PyCodeObject *codeobj_8865c043121207ddc1962f38673be9b1;
static PyCodeObject *codeobj_e01651c2d0866817cc819fc0ce5759f6;
static PyCodeObject *codeobj_3aa8bdb6a443a560d40a408c4e75afa5;
static PyCodeObject *codeobj_d5e156dbfd1c683a66c5bcdbeb08f8ad;
static PyCodeObject *codeobj_9140d5420aeec96ced7c11f8d8c889e5;
static PyCodeObject *codeobj_2d50f5b447980a86c66802ab05a34e81;
static PyCodeObject *codeobj_8514cff5dcb7e04874d8678cf4a5d4b9;
static PyCodeObject *codeobj_c228515917d17455d031b06b64002baf;
static PyCodeObject *codeobj_91c76306442ce229296e4bd7b94b77be;
static PyCodeObject *codeobj_3d96d8355e278690f0ea7fa13031979d;
static PyCodeObject *codeobj_1b70ce3b4bd8dcfb2103347bf31f71e5;
static PyCodeObject *codeobj_95a58bb5c3466deb11f36f82e26b7600;
static PyCodeObject *codeobj_0b9785199387514b0652c50a2c2dcbc8;
static PyCodeObject *codeobj_8456fc3face271e6e97df7ba41a6c28d;
static PyCodeObject *codeobj_bfbee133b4bcada5a3d665b6ff120e66;
static PyCodeObject *codeobj_b8e88beb10e8e4c9320f1e78cd52d451;
static PyCodeObject *codeobj_1450d8893d2ce42fe4e32e8fad08e1f5;
static PyCodeObject *codeobj_616e5df75ca32f550cad11c89cea1f53;
static PyCodeObject *codeobj_5152fbe651a757013248371bcc8552a2;
static PyCodeObject *codeobj_450dce12b88dca1e33aa288f4030b47c;
static PyCodeObject *codeobj_409d8d7c5351d503690a735c873f1fcf;
static PyCodeObject *codeobj_d4946ef70d083f8abbc0ba88d4da40fa;
static PyCodeObject *codeobj_7a885bfb1dada39ebfe57b12ee18770b;
static PyCodeObject *codeobj_100c0896e5d4c07c73c9b0f10e508544;
static PyCodeObject *codeobj_67ae6c339b24b479f9f2a9846fd20ce9;
static PyCodeObject *codeobj_f551603443ed60155fd8650391353d15;
static PyCodeObject *codeobj_ff4ddd83fae351ef0fc9ccfb25c01c23;
static PyCodeObject *codeobj_9ed24e220889821b59955068ed91aedd;
static PyCodeObject *codeobj_a6d817b5a4096617c8c52e47a02b7fb8;
static PyCodeObject *codeobj_f1be40cfe00adcc3bd96336b65f8a304;
static PyCodeObject *codeobj_666cf2fbcdc781088537b550a79e5870;
static PyCodeObject *codeobj_991b5fd148afcfb8b542ac7e54949666;
static PyCodeObject *codeobj_860ca7e9e4b10242913823baed7c24de;
static PyCodeObject *codeobj_bae33c7e9266f3668ecf11a9d5f334af;
static PyCodeObject *codeobj_e3092d89ca7d6bc1d0600422f1c02fa2;
static PyCodeObject *codeobj_4535a62d1070dd0aabe1be80c9ea2d33;
static PyCodeObject *codeobj_f60a492cc16d63280d3be4f9a280e5a8;
static PyCodeObject *codeobj_1728b3ef554cc3b28241f7d139d7b585;
static PyCodeObject *codeobj_5c288a7691a09220574c3c13fecf2bcd;
static PyCodeObject *codeobj_459a473cef0d458a713d677b0cecc859;
static PyCodeObject *codeobj_489d37db8a4c04a3cad9937047a7929b;
static PyCodeObject *codeobj_1047f07d78c736d2860cb4d1b2f8a663;
static PyCodeObject *codeobj_c79a92a315ee7820e14522a9daefe6b1;
static PyCodeObject *codeobj_bfa02db757926952b144360ead457921;
static PyCodeObject *codeobj_c696eb6961e0ab75fd921f7c21c276a0;
static PyCodeObject *codeobj_a0f1e75fb4bac045ec036365d3fe94ae;
static PyCodeObject *codeobj_ee33089bfe49dba3cb496cac89df16d0;
static PyCodeObject *codeobj_617970024470e5965a544b119728d404;
static PyCodeObject *codeobj_b75fb1ceb78107c886e9c058c68766c7;
static PyCodeObject *codeobj_751d4cb50b8ac91db793430c47ed2011;
static PyCodeObject *codeobj_edff51aaa071017f9699a44d5642d1aa;
static PyCodeObject *codeobj_a193fb406301cd167cb93a9230b617c3;
static PyCodeObject *codeobj_41fdec7c86b33a1bb1fc6779f6d67364;
static PyCodeObject *codeobj_d1d4672e334abe27735d2277f676c29a;
static PyCodeObject *codeobj_359fedb4fcbf9428044ffdcff427c771;
static PyCodeObject *codeobj_2451851311e0faad69589ced2f00e9ca;
static PyCodeObject *codeobj_df945f75bff38cfd17d8695c138c8dc8;
static PyCodeObject *codeobj_4372beb42bc5a717613f1d7bc614ce92;
static PyCodeObject *codeobj_77fb2c93c8c9bb0a1c6842e2193ec506;
static PyCodeObject *codeobj_b859302b2ac5df945bf06a3828417bf1;
static PyCodeObject *codeobj_02d0b18e5830e5cba654e4c2debf40d6;
static PyCodeObject *codeobj_098bd374fe736f5df2ddd77983c7f18b;
static PyCodeObject *codeobj_38bdb8297c5b757b7cc2ecbff127be80;
static PyCodeObject *codeobj_c9d44ecfc520f3fce0fb8fcf9c22de2e;
static PyCodeObject *codeobj_4c0e8307b8e175b9b853ac4740c8bb06;
static PyCodeObject *codeobj_e8a763bcaba7f7c992d03a95dccc55a9;
static PyCodeObject *codeobj_293cc725e21c64f580366b474d4e08eb;
static PyCodeObject *codeobj_f265cf786da53478eef46cd925b36916;
static PyCodeObject *codeobj_5c84fcb6d0bdd687c41a0d6c32075290;
static PyCodeObject *codeobj_2861ffe69f0de0e663e873e28f51110d;
static PyCodeObject *codeobj_b71cfa9a6ed03b532dd5aa9d02dd5c6b;
static PyCodeObject *codeobj_e6fb37cfc52a9678ae2073599ea22486;
static PyCodeObject *codeobj_9a2efb4b6abc36a93f66559a1c0fc7db;
static PyCodeObject *codeobj_f24472873e6c833d216e3a8183907683;
static PyCodeObject *codeobj_bfe8ed99a0566f3b3b45f5a05536ee85;
static PyCodeObject *codeobj_3f2c81d28d4bddb1d88e94b07c7b30da;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[275]; CHECK_OBJECT(module_filename_obj);
codeobj_498b5118530a43c8d3546c0cf99e5b4b = MAKE_CODE_OBJECT(module_filename_obj, 352, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[59], mod_consts[59], mod_consts[397], mod_consts[398], 1, 0, 0);
codeobj_c8edc68b4264b7bcf39e9d7a53c39d09 = MAKE_CODE_OBJECT(module_filename_obj, 844, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[399], mod_consts[399], mod_consts[400], NULL, 1, 0, 0);
codeobj_db81c3766b0d0c5a39283b645191cf06 = MAKE_CODE_OBJECT(module_filename_obj, 774, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[399], mod_consts[399], mod_consts[401], NULL, 1, 0, 0);
codeobj_334dd95518f3a15a7553ddb5c7596b04 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[402], mod_consts[402], NULL, NULL, 0, 0, 0);
codeobj_6ebaddf4fc486c51ddf39ec9b2ec17a5 = MAKE_CODE_OBJECT(module_filename_obj, 392, CO_NOFREE, mod_consts[302], mod_consts[302], mod_consts[403], NULL, 0, 0, 0);
codeobj_1b8afad441282e6e9dee264c2302c3c3 = MAKE_CODE_OBJECT(module_filename_obj, 481, CO_NOFREE, mod_consts[325], mod_consts[325], mod_consts[403], NULL, 0, 0, 0);
codeobj_e082e2333558aea8c707d6ee9375b19d = MAKE_CODE_OBJECT(module_filename_obj, 758, CO_OPTIMIZED | CO_NOFREE, mod_consts[185], mod_consts[185], mod_consts[403], NULL, 0, 0, 0);
codeobj_fb940a74d8677e27e87d4de72a35c349 = MAKE_CODE_OBJECT(module_filename_obj, 743, CO_OPTIMIZED | CO_NOFREE, mod_consts[169], mod_consts[169], mod_consts[403], NULL, 0, 0, 0);
codeobj_11f2b572ae1016ba52d0d50b252f4b68 = MAKE_CODE_OBJECT(module_filename_obj, 453, CO_NOFREE, mod_consts[319], mod_consts[319], mod_consts[403], NULL, 0, 0, 0);
codeobj_c0cc7a93df4c4a7486595c764edab8fb = MAKE_CODE_OBJECT(module_filename_obj, 700, CO_NOFREE, mod_consts[87], mod_consts[87], mod_consts[403], NULL, 0, 0, 0);
codeobj_e2c6cdc40ae496b53b92fcaf9d416ebf = MAKE_CODE_OBJECT(module_filename_obj, 252, CO_NOFREE, mod_consts[119], mod_consts[119], mod_consts[403], NULL, 0, 0, 0);
codeobj_c6c5eb7f186b0e9f7f29fcb6b1b342d7 = MAKE_CODE_OBJECT(module_filename_obj, 594, CO_NOFREE, mod_consts[266], mod_consts[266], mod_consts[403], NULL, 0, 0, 0);
codeobj_f72dc65022469f6212f1087258bd12a7 = MAKE_CODE_OBJECT(module_filename_obj, 535, CO_NOFREE, mod_consts[209], mod_consts[209], mod_consts[403], NULL, 0, 0, 0);
codeobj_6ac5fb72e49a3c5774dd8c32f8f1454a = MAKE_CODE_OBJECT(module_filename_obj, 723, CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[403], NULL, 0, 0, 0);
codeobj_ce451adc4a692f7f324030cf6b076357 = MAKE_CODE_OBJECT(module_filename_obj, 617, CO_NOFREE, mod_consts[269], mod_consts[269], mod_consts[403], NULL, 0, 0, 0);
codeobj_c90379810339cf78a1536bcfe5575960 = MAKE_CODE_OBJECT(module_filename_obj, 654, CO_NOFREE, mod_consts[230], mod_consts[230], mod_consts[403], NULL, 0, 0, 0);
codeobj_18bc1336ec81e9d6bf7a905b84f062ae = MAKE_CODE_OBJECT(module_filename_obj, 569, CO_NOFREE, mod_consts[86], mod_consts[86], mod_consts[403], NULL, 0, 0, 0);
codeobj_29db05089589c8ea1ef6ad8e37660564 = MAKE_CODE_OBJECT(module_filename_obj, 517, CO_NOFREE, mod_consts[29], mod_consts[29], mod_consts[403], NULL, 0, 0, 0);
codeobj_69bcc9f8d15af1cae408d6cc230baff1 = MAKE_CODE_OBJECT(module_filename_obj, 574, CO_NOFREE, mod_consts[253], mod_consts[253], mod_consts[403], NULL, 0, 0, 0);
codeobj_8865c043121207ddc1962f38673be9b1 = MAKE_CODE_OBJECT(module_filename_obj, 634, CO_NOFREE, mod_consts[240], mod_consts[240], mod_consts[403], NULL, 0, 0, 0);
codeobj_e01651c2d0866817cc819fc0ce5759f6 = MAKE_CODE_OBJECT(module_filename_obj, 677, CO_NOFREE, mod_consts[258], mod_consts[258], mod_consts[403], NULL, 0, 0, 0);
codeobj_3aa8bdb6a443a560d40a408c4e75afa5 = MAKE_CODE_OBJECT(module_filename_obj, 547, CO_NOFREE, mod_consts[268], mod_consts[268], mod_consts[403], NULL, 0, 0, 0);
codeobj_d5e156dbfd1c683a66c5bcdbeb08f8ad = MAKE_CODE_OBJECT(module_filename_obj, 503, CO_NOFREE, mod_consts[135], mod_consts[135], mod_consts[403], NULL, 0, 0, 0);
codeobj_9140d5420aeec96ced7c11f8d8c889e5 = MAKE_CODE_OBJECT(module_filename_obj, 645, CO_NOFREE, mod_consts[251], mod_consts[251], mod_consts[403], NULL, 0, 0, 0);
codeobj_2d50f5b447980a86c66802ab05a34e81 = MAKE_CODE_OBJECT(module_filename_obj, 781, CO_NOFREE, mod_consts[28], mod_consts[28], mod_consts[403], NULL, 0, 0, 0);
codeobj_8514cff5dcb7e04874d8678cf4a5d4b9 = MAKE_CODE_OBJECT(module_filename_obj, 682, CO_NOFREE, mod_consts[215], mod_consts[215], mod_consts[403], NULL, 0, 0, 0);
codeobj_c228515917d17455d031b06b64002baf = MAKE_CODE_OBJECT(module_filename_obj, 744, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[97], mod_consts[97], mod_consts[404], mod_consts[398], 1, 0, 0);
codeobj_91c76306442ce229296e4bd7b94b77be = MAKE_CODE_OBJECT(module_filename_obj, 759, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[97], mod_consts[97], mod_consts[404], mod_consts[398], 1, 0, 0);
codeobj_3d96d8355e278690f0ea7fa13031979d = MAKE_CODE_OBJECT(module_filename_obj, 748, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS, mod_consts[98], mod_consts[98], mod_consts[405], mod_consts[398], 1, 0, 0);
codeobj_1b70ce3b4bd8dcfb2103347bf31f71e5 = MAKE_CODE_OBJECT(module_filename_obj, 762, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS, mod_consts[98], mod_consts[98], mod_consts[405], mod_consts[398], 1, 0, 0);
codeobj_95a58bb5c3466deb11f36f82e26b7600 = MAKE_CODE_OBJECT(module_filename_obj, 818, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[170], mod_consts[170], mod_consts[406], NULL, 2, 0, 0);
codeobj_0b9785199387514b0652c50a2c2dcbc8 = MAKE_CODE_OBJECT(module_filename_obj, 400, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[407], NULL, 4, 0, 0);
codeobj_8456fc3face271e6e97df7ba41a6c28d = MAKE_CODE_OBJECT(module_filename_obj, 536, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[408], NULL, 2, 0, 0);
codeobj_bfbee133b4bcada5a3d665b6ff120e66 = MAKE_CODE_OBJECT(module_filename_obj, 484, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS, mod_consts[107], mod_consts[107], mod_consts[409], mod_consts[403], 2, 0, 0);
codeobj_b8e88beb10e8e4c9320f1e78cd52d451 = MAKE_CODE_OBJECT(module_filename_obj, 678, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[107], mod_consts[107], mod_consts[410], mod_consts[403], 3, 0, 0);
codeobj_1450d8893d2ce42fe4e32e8fad08e1f5 = MAKE_CODE_OBJECT(module_filename_obj, 655, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[411], NULL, 4, 0, 0);
codeobj_616e5df75ca32f550cad11c89cea1f53 = MAKE_CODE_OBJECT(module_filename_obj, 724, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[412], NULL, 5, 0, 0);
codeobj_5152fbe651a757013248371bcc8552a2 = MAKE_CODE_OBJECT(module_filename_obj, 710, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[413], NULL, 4, 0, 0);
codeobj_450dce12b88dca1e33aa288f4030b47c = MAKE_CODE_OBJECT(module_filename_obj, 595, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[414], NULL, 4, 0, 0);
codeobj_409d8d7c5351d503690a735c873f1fcf = MAKE_CODE_OBJECT(module_filename_obj, 570, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[415], NULL, 2, 0, 0);
codeobj_d4946ef70d083f8abbc0ba88d4da40fa = MAKE_CODE_OBJECT(module_filename_obj, 548, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[416], NULL, 5, 0, 0);
codeobj_7a885bfb1dada39ebfe57b12ee18770b = MAKE_CODE_OBJECT(module_filename_obj, 575, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[417], NULL, 4, 0, 0);
codeobj_100c0896e5d4c07c73c9b0f10e508544 = MAKE_CODE_OBJECT(module_filename_obj, 782, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[418], NULL, 4, 0, 0);
codeobj_67ae6c339b24b479f9f2a9846fd20ce9 = MAKE_CODE_OBJECT(module_filename_obj, 456, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS, mod_consts[107], mod_consts[107], mod_consts[419], mod_consts[403], 2, 0, 0);
codeobj_f551603443ed60155fd8650391353d15 = MAKE_CODE_OBJECT(module_filename_obj, 635, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[420], NULL, 3, 0, 0);
codeobj_ff4ddd83fae351ef0fc9ccfb25c01c23 = MAKE_CODE_OBJECT(module_filename_obj, 646, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[420], NULL, 3, 0, 0);
codeobj_9ed24e220889821b59955068ed91aedd = MAKE_CODE_OBJECT(module_filename_obj, 618, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[421], NULL, 4, 0, 0);
codeobj_a6d817b5a4096617c8c52e47a02b7fb8 = MAKE_CODE_OBJECT(module_filename_obj, 518, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[422], NULL, 3, 0, 0);
codeobj_f1be40cfe00adcc3bd96336b65f8a304 = MAKE_CODE_OBJECT(module_filename_obj, 262, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[423], NULL, 7, 0, 0);
codeobj_666cf2fbcdc781088537b550a79e5870 = MAKE_CODE_OBJECT(module_filename_obj, 683, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[424], NULL, 4, 0, 0);
codeobj_991b5fd148afcfb8b542ac7e54949666 = MAKE_CODE_OBJECT(module_filename_obj, 815, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[386], mod_consts[386], mod_consts[398], NULL, 1, 0, 0);
codeobj_860ca7e9e4b10242913823baed7c24de = MAKE_CODE_OBJECT(module_filename_obj, 719, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[369], mod_consts[369], mod_consts[398], NULL, 1, 0, 0);
codeobj_bae33c7e9266f3668ecf11a9d5f334af = MAKE_CODE_OBJECT(module_filename_obj, 834, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[369], mod_consts[369], mod_consts[398], NULL, 1, 0, 0);
codeobj_e3092d89ca7d6bc1d0600422f1c02fa2 = MAKE_CODE_OBJECT(module_filename_obj, 449, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[104], mod_consts[104], mod_consts[415], NULL, 2, 0, 0);
codeobj_4535a62d1070dd0aabe1be80c9ea2d33 = MAKE_CODE_OBJECT(module_filename_obj, 499, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[104], mod_consts[104], mod_consts[415], NULL, 2, 0, 0);
codeobj_f60a492cc16d63280d3be4f9a280e5a8 = MAKE_CODE_OBJECT(module_filename_obj, 474, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[104], mod_consts[104], mod_consts[425], NULL, 2, 0, 0);
codeobj_1728b3ef554cc3b28241f7d139d7b585 = MAKE_CODE_OBJECT(module_filename_obj, 841, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[40], mod_consts[40], mod_consts[426], NULL, 1, 0, 0);
codeobj_5c288a7691a09220574c3c13fecf2bcd = MAKE_CODE_OBJECT(module_filename_obj, 364, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[32], mod_consts[32], mod_consts[427], NULL, 2, 0, 0);
codeobj_459a473cef0d458a713d677b0cecc859 = MAKE_CODE_OBJECT(module_filename_obj, 379, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[74], mod_consts[74], mod_consts[428], NULL, 2, 0, 0);
codeobj_489d37db8a4c04a3cad9937047a7929b = MAKE_CODE_OBJECT(module_filename_obj, 847, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[30], mod_consts[30], mod_consts[429], NULL, 4, 0, 0);
codeobj_1047f07d78c736d2860cb4d1b2f8a663 = MAKE_CODE_OBJECT(module_filename_obj, 803, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[216], mod_consts[216], mod_consts[430], NULL, 2, 0, 0);
codeobj_c79a92a315ee7820e14522a9daefe6b1 = MAKE_CODE_OBJECT(module_filename_obj, 504, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_bfa02db757926952b144360ead457921 = MAKE_CODE_OBJECT(module_filename_obj, 531, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_c696eb6961e0ab75fd921f7c21c276a0 = MAKE_CODE_OBJECT(module_filename_obj, 543, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_a0f1e75fb4bac045ec036365d3fe94ae = MAKE_CODE_OBJECT(module_filename_obj, 554, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_ee33089bfe49dba3cb496cac89df16d0 = MAKE_CODE_OBJECT(module_filename_obj, 600, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_617970024470e5965a544b119728d404 = MAKE_CODE_OBJECT(module_filename_obj, 623, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[125], mod_consts[125], mod_consts[398], NULL, 1, 0, 0);
codeobj_b75fb1ceb78107c886e9c058c68766c7 = MAKE_CODE_OBJECT(module_filename_obj, 227, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[22], mod_consts[22], mod_consts[431], NULL, 2, 0, 0);
codeobj_751d4cb50b8ac91db793430c47ed2011 = MAKE_CODE_OBJECT(module_filename_obj, 789, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[200], mod_consts[200], mod_consts[432], NULL, 4, 0, 0);
codeobj_edff51aaa071017f9699a44d5642d1aa = MAKE_CODE_OBJECT(module_filename_obj, 562, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[76], mod_consts[76], mod_consts[433], NULL, 3, 0, 0);
codeobj_a193fb406301cd167cb93a9230b617c3 = MAKE_CODE_OBJECT(module_filename_obj, 510, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[76], mod_consts[76], mod_consts[434], NULL, 3, 0, 0);
codeobj_41fdec7c86b33a1bb1fc6779f6d67364 = MAKE_CODE_OBJECT(module_filename_obj, 580, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[76], mod_consts[76], mod_consts[435], NULL, 3, 0, 0);
codeobj_d1d4672e334abe27735d2277f676c29a = MAKE_CODE_OBJECT(module_filename_obj, 337, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[436], NULL, 1, 0, 0);
codeobj_359fedb4fcbf9428044ffdcff427c771 = MAKE_CODE_OBJECT(module_filename_obj, 507, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_2451851311e0faad69589ced2f00e9ca = MAKE_CODE_OBJECT(module_filename_obj, 523, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_df945f75bff38cfd17d8695c138c8dc8 = MAKE_CODE_OBJECT(module_filename_obj, 626, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_4372beb42bc5a717613f1d7bc614ce92 = MAKE_CODE_OBJECT(module_filename_obj, 639, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_77fb2c93c8c9bb0a1c6842e2193ec506 = MAKE_CODE_OBJECT(module_filename_obj, 650, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_b859302b2ac5df945bf06a3828417bf1 = MAKE_CODE_OBJECT(module_filename_obj, 660, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[437], NULL, 2, 0, 0);
codeobj_02d0b18e5830e5cba654e4c2debf40d6 = MAKE_CODE_OBJECT(module_filename_obj, 557, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[438], NULL, 2, 0, 0);
codeobj_098bd374fe736f5df2ddd77983c7f18b = MAKE_CODE_OBJECT(module_filename_obj, 539, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[439], NULL, 2, 0, 0);
codeobj_38bdb8297c5b757b7cc2ecbff127be80 = MAKE_CODE_OBJECT(module_filename_obj, 587, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[440], NULL, 2, 0, 0);
codeobj_c9d44ecfc520f3fce0fb8fcf9c22de2e = MAKE_CODE_OBJECT(module_filename_obj, 603, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[441], NULL, 2, 0, 0);
codeobj_4c0e8307b8e175b9b853ac4740c8bb06 = MAKE_CODE_OBJECT(module_filename_obj, 688, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[442], NULL, 2, 0, 0);
codeobj_e8a763bcaba7f7c992d03a95dccc55a9 = MAKE_CODE_OBJECT(module_filename_obj, 754, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[134], mod_consts[134], mod_consts[443], NULL, 3, 0, 0);
codeobj_293cc725e21c64f580366b474d4e08eb = MAKE_CODE_OBJECT(module_filename_obj, 742, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[444], NULL, 1, 0, 0);
codeobj_f265cf786da53478eef46cd925b36916 = MAKE_CODE_OBJECT(module_filename_obj, 739, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[146], mod_consts[146], mod_consts[398], NULL, 1, 0, 0);
codeobj_5c84fcb6d0bdd687c41a0d6c32075290 = MAKE_CODE_OBJECT(module_filename_obj, 441, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[89], mod_consts[89], mod_consts[445], NULL, 3, 0, 0);
codeobj_2861ffe69f0de0e663e873e28f51110d = MAKE_CODE_OBJECT(module_filename_obj, 837, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[213], mod_consts[213], mod_consts[446], NULL, 2, 0, 0);
codeobj_b71cfa9a6ed03b532dd5aa9d02dd5c6b = MAKE_CODE_OBJECT(module_filename_obj, 812, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[203], mod_consts[203], mod_consts[398], NULL, 1, 0, 0);
codeobj_e6fb37cfc52a9678ae2073599ea22486 = MAKE_CODE_OBJECT(module_filename_obj, 432, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[313], mod_consts[313], mod_consts[398], NULL, 1, 0, 0);
codeobj_9a2efb4b6abc36a93f66559a1c0fc7db = MAKE_CODE_OBJECT(module_filename_obj, 437, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[102], mod_consts[102], mod_consts[445], NULL, 3, 0, 0);
codeobj_f24472873e6c833d216e3a8183907683 = MAKE_CODE_OBJECT(module_filename_obj, 460, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[102], mod_consts[102], mod_consts[447], NULL, 3, 0, 0);
codeobj_bfe8ed99a0566f3b3b45f5a05536ee85 = MAKE_CODE_OBJECT(module_filename_obj, 488, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[102], mod_consts[102], mod_consts[448], NULL, 3, 0, 0);
codeobj_3f2c81d28d4bddb1d88e94b07c7b30da = MAKE_CODE_OBJECT(module_filename_obj, 767, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[127], mod_consts[127], mod_consts[449], NULL, 4, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__8_complex_call_helper_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__10__create_template(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__11___init__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__12_resolve_path(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__13__create_template(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__14___init__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__15_resolve_path(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__16__create_template(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__17_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__18_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__19_find_named_blocks(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__1_filter_whitespace(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__20___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__21_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__22_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__23___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__24_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__25_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__26___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__27_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__28_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__29_find_named_blocks(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__2___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__30___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__31___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__32_find_named_blocks(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__33_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__34___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__35_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__36_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__37___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__38_each_child(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__39_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__3_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__3_generate$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__40___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__41_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__42___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__43_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__44___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__45_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__46___init__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__47___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__48_generate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__49___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__4__generate_python(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__50___str__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__51___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__52_indent_size(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__1___enter__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__2___exit__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__1___enter__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__2___exit__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__55_write_line(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__56___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__57_find(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__58_consume(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__59_remaining(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__5__get_ancestors(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__60___len__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__61___getitem__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__62___str__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__63_raise_parse_error(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__64__format_code(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__65__parse(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__6___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__7_reset(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__8_resolve_path(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$template$$$function__9_load(PyObject *defaults, PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$template$$$function__1_filter_whitespace(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_mode = python_pars[0];
PyObject *par_text = python_pars[1];
struct Nuitka_FrameObject *frame_b75fb1ceb78107c886e9c058c68766c7;
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_b75fb1ceb78107c886e9c058c68766c7 = 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_b75fb1ceb78107c886e9c058c68766c7)) {
Py_XDECREF(cache_frame_b75fb1ceb78107c886e9c058c68766c7);
#if _DEBUG_REFCOUNTS
if (cache_frame_b75fb1ceb78107c886e9c058c68766c7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b75fb1ceb78107c886e9c058c68766c7 = MAKE_FUNCTION_FRAME(codeobj_b75fb1ceb78107c886e9c058c68766c7, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b75fb1ceb78107c886e9c058c68766c7->m_type_description == NULL);
frame_b75fb1ceb78107c886e9c058c68766c7 = cache_frame_b75fb1ceb78107c886e9c058c68766c7;
// Push the new frame as the currently active one.
pushFrameStack(frame_b75fb1ceb78107c886e9c058c68766c7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b75fb1ceb78107c886e9c058c68766c7) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_1 = par_mode;
tmp_cmp_expr_right_1 = mod_consts[0];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(par_text);
tmp_return_value = par_text;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_2 = par_mode;
tmp_cmp_expr_right_2 = mod_consts[1];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[4];
tmp_args_element_value_2 = mod_consts[5];
CHECK_OBJECT(par_text);
tmp_args_element_value_3 = par_text;
frame_b75fb1ceb78107c886e9c058c68766c7->m_frame.f_lineno = 243;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[3],
call_args
);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_text;
assert(old != NULL);
par_text = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = mod_consts[6];
tmp_args_element_value_5 = mod_consts[7];
CHECK_OBJECT(par_text);
tmp_args_element_value_6 = par_text;
frame_b75fb1ceb78107c886e9c058c68766c7->m_frame.f_lineno = 244;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_assign_source_2 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_2,
mod_consts[3],
call_args
);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_text;
assert(old != NULL);
par_text = tmp_assign_source_2;
Py_DECREF(old);
}
}
CHECK_OBJECT(par_text);
tmp_return_value = par_text;
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_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_3 = par_mode;
tmp_cmp_expr_right_3 = mod_consts[8];
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = mod_consts[9];
tmp_args_element_value_8 = mod_consts[5];
CHECK_OBJECT(par_text);
tmp_args_element_value_9 = par_text;
frame_b75fb1ceb78107c886e9c058c68766c7->m_frame.f_lineno = 247;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_return_value = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_3,
mod_consts[3],
call_args
);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[10];
CHECK_OBJECT(par_mode);
tmp_mod_expr_right_1 = par_mode;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b75fb1ceb78107c886e9c058c68766c7->m_frame.f_lineno = 249;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_Exception, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 249;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_end_3:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b75fb1ceb78107c886e9c058c68766c7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b75fb1ceb78107c886e9c058c68766c7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b75fb1ceb78107c886e9c058c68766c7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b75fb1ceb78107c886e9c058c68766c7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b75fb1ceb78107c886e9c058c68766c7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b75fb1ceb78107c886e9c058c68766c7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b75fb1ceb78107c886e9c058c68766c7,
type_description_1,
par_mode,
par_text
);
// Release cached frame if used for exception.
if (frame_b75fb1ceb78107c886e9c058c68766c7 == cache_frame_b75fb1ceb78107c886e9c058c68766c7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b75fb1ceb78107c886e9c058c68766c7);
cache_frame_b75fb1ceb78107c886e9c058c68766c7 = NULL;
}
assertFrameObject(frame_b75fb1ceb78107c886e9c058c68766c7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_text);
par_text = 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_text);
par_text = 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_mode);
Py_DECREF(par_mode);
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_mode);
Py_DECREF(par_mode);
// 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$template$$$function__2___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_template_string = python_pars[1];
PyObject *par_name = python_pars[2];
PyObject *par_loader = python_pars[3];
PyObject *par_compress_whitespace = python_pars[4];
PyObject *par_autoescape = python_pars[5];
PyObject *par_whitespace = python_pars[6];
PyObject *var_reader = NULL;
PyObject *var_formatted_code = NULL;
struct Nuitka_FrameObject *frame_f1be40cfe00adcc3bd96336b65f8a304;
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;
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;
static struct Nuitka_FrameObject *cache_frame_f1be40cfe00adcc3bd96336b65f8a304 = NULL;
PyObject *tmp_return_value = 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_f1be40cfe00adcc3bd96336b65f8a304)) {
Py_XDECREF(cache_frame_f1be40cfe00adcc3bd96336b65f8a304);
#if _DEBUG_REFCOUNTS
if (cache_frame_f1be40cfe00adcc3bd96336b65f8a304 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f1be40cfe00adcc3bd96336b65f8a304 = MAKE_FUNCTION_FRAME(codeobj_f1be40cfe00adcc3bd96336b65f8a304, module_tornado$template, 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_f1be40cfe00adcc3bd96336b65f8a304->m_type_description == NULL);
frame_f1be40cfe00adcc3bd96336b65f8a304 = cache_frame_f1be40cfe00adcc3bd96336b65f8a304;
// Push the new frame as the currently active one.
pushFrameStack(frame_f1be40cfe00adcc3bd96336b65f8a304);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f1be40cfe00adcc3bd96336b65f8a304) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_1 = par_name;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 289;
tmp_assattr_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[13], 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 = 289;
type_description_1 = "ooooooooo";
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[14], 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 = 289;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_compress_whitespace);
tmp_cmp_expr_left_1 = par_compress_whitespace;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_whitespace);
tmp_cmp_expr_left_2 = par_whitespace;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[16];
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 294;
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 = 294;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
CHECK_OBJECT(par_compress_whitespace);
tmp_truth_name_1 = CHECK_IF_TRUE(par_compress_whitespace);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
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_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_assign_source_1 = mod_consts[1];
goto condexpr_end_1;
condexpr_false_1:;
tmp_assign_source_1 = mod_consts[0];
condexpr_end_1:;
{
PyObject *old = par_whitespace;
assert(old != NULL);
par_whitespace = tmp_assign_source_1;
Py_INCREF(par_whitespace);
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_whitespace);
tmp_cmp_expr_left_3 = par_whitespace;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_condition_result_5;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_3;
CHECK_OBJECT(par_loader);
tmp_truth_name_2 = CHECK_IF_TRUE(par_loader);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooooooooo";
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_loader);
tmp_expression_value_1 = par_loader;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[17]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 297;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_5 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_5 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 298;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_loader;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_whitespace;
assert(old != NULL);
par_whitespace = tmp_assign_source_2;
Py_DECREF(old);
}
}
goto branch_end_4;
branch_no_4:;
{
nuitka_bool tmp_condition_result_6;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
int tmp_truth_name_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
int tmp_truth_name_5;
CHECK_OBJECT(par_name);
tmp_expression_value_3 = par_name;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[19]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 301;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[20]);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooooooo";
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_name);
tmp_expression_value_4 = par_name;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[19]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 301;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[21]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 301;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
tmp_condition_result_6 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_6 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = mod_consts[1];
{
PyObject *old = par_whitespace;
assert(old != NULL);
par_whitespace = tmp_assign_source_3;
Py_INCREF(par_whitespace);
Py_DECREF(old);
}
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = mod_consts[0];
{
PyObject *old = par_whitespace;
assert(old != NULL);
par_whitespace = tmp_assign_source_4;
Py_INCREF(par_whitespace);
Py_DECREF(old);
}
}
branch_end_5:;
branch_end_4:;
branch_no_3:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_whitespace);
tmp_cmp_expr_left_4 = par_whitespace;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_7 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = PyExc_AssertionError;
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_lineno = 306;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_6:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_whitespace);
tmp_args_element_value_2 = par_whitespace;
tmp_args_element_value_3 = mod_consts[23];
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 307;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
bool tmp_condition_result_8;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_autoescape);
tmp_isinstance_inst_1 = par_autoescape;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_1 = "ooooooooo";
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 = 309;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_autoescape);
tmp_assattr_value_2 = par_autoescape;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[25], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_7;
branch_no_7:;
{
nuitka_bool tmp_condition_result_9;
int tmp_truth_name_6;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 311;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_6 = CHECK_IF_TRUE(par_loader);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_9 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_assattr_target_3;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 312;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_loader;
tmp_assattr_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[25]);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "ooooooooo";
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[25], 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 = 312;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_assattr_value_4 == NULL)) {
tmp_assattr_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "ooooooooo";
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[25], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
branch_end_8:;
branch_end_7:;
{
PyObject *tmp_assattr_value_5;
nuitka_bool tmp_condition_result_10;
int tmp_truth_name_7;
PyObject *tmp_expression_value_6;
PyObject *tmp_assattr_target_5;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 316;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_7 = CHECK_IF_TRUE(par_loader);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 316;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = par_loader;
tmp_assattr_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[27]);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_assattr_value_5 = MAKE_DICT_EMPTY();
condexpr_end_2:;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[27], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_4 = par_name;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_template_string);
tmp_args_element_value_6 = par_template_string;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 317;
tmp_args_element_value_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[13], tmp_args_element_value_6);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_whitespace);
tmp_args_element_value_7 = par_whitespace;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 317;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_7};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_reader == NULL);
var_reader = tmp_assign_source_5;
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_assattr_target_6;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (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 = 318;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_8 = par_self;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 318;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_reader);
tmp_args_element_value_10 = var_reader;
CHECK_OBJECT(par_self);
tmp_args_element_value_11 = par_self;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 318;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11};
tmp_args_element_value_9 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 318;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 318;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_assattr_value_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_9);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 318;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[31], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 318;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_12;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[32]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (par_loader == NULL) {
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 319;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = par_loader;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 319;
tmp_assattr_value_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_12);
Py_DECREF(tmp_called_value_7);
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "ooooooooo";
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[33], 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 = 319;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 320;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_8 = par_loader;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[18], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 320;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
// Tried code:
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_compile_source_1;
PyObject *tmp_compile_filename_1;
PyObject *tmp_compile_mode_1;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_13;
PyObject *tmp_expression_value_9;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_compile_dont_inherit_1;
PyObject *tmp_assattr_target_9;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[34]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_args_element_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[33]);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 327;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 327;
tmp_compile_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_13);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_13);
if (tmp_compile_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_mod_expr_left_1 = mod_consts[35];
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[14]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_compile_source_1);
exception_lineno = 328;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[36]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_compile_source_1);
exception_lineno = 328;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 328;
tmp_mod_expr_right_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_9, mod_consts[37]);
Py_DECREF(tmp_called_value_9);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_compile_source_1);
exception_lineno = 328;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_compile_filename_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_compile_filename_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_compile_source_1);
exception_lineno = 328;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_compile_mode_1 = mod_consts[38];
tmp_compile_dont_inherit_1 = Py_True;
tmp_assattr_value_9 = COMPILE_CODE(tmp_compile_source_1, tmp_compile_filename_1, tmp_compile_mode_1, NULL, tmp_compile_dont_inherit_1, NULL);
Py_DECREF(tmp_compile_source_1);
Py_DECREF(tmp_compile_filename_1);
if (tmp_assattr_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[39], tmp_assattr_value_9);
Py_DECREF(tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "ooooooooo";
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_f1be40cfe00adcc3bd96336b65f8a304, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_f1be40cfe00adcc3bd96336b65f8a304, 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_11;
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_11 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_12;
PyObject *tmp_called_value_11;
PyObject *tmp_args_element_value_14;
PyObject *tmp_expression_value_13;
tmp_called_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[40]);
if (unlikely(tmp_called_value_11 == NULL)) {
tmp_called_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[40]);
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_args_element_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[33]);
if (tmp_args_element_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 333;
tmp_expression_value_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_14);
Py_DECREF(tmp_args_element_value_14);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[41]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 333;
tmp_assign_source_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_10);
Py_DECREF(tmp_called_value_10);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
assert(var_formatted_code == NULL);
var_formatted_code = tmp_assign_source_6;
}
{
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_15;
PyObject *tmp_args_element_value_16;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_element_value_17;
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[43]);
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
tmp_args_element_value_15 = mod_consts[44];
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_args_element_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[14]);
if (tmp_args_element_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_12);
exception_lineno = 334;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_formatted_code);
tmp_args_element_value_17 = var_formatted_code;
frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = 334;
{
PyObject *call_args[] = {tmp_args_element_value_15, tmp_args_element_value_16, tmp_args_element_value_17};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_12, call_args);
}
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_16);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 335;
}
if (exception_tb && exception_tb->tb_frame == &frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame) frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
goto branch_end_9;
branch_no_9:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 321;
}
if (exception_tb && exception_tb->tb_frame == &frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame) frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooo";
goto try_except_handler_3;
branch_end_9:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f1be40cfe00adcc3bd96336b65f8a304);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f1be40cfe00adcc3bd96336b65f8a304);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f1be40cfe00adcc3bd96336b65f8a304, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f1be40cfe00adcc3bd96336b65f8a304->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f1be40cfe00adcc3bd96336b65f8a304, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f1be40cfe00adcc3bd96336b65f8a304,
type_description_1,
par_self,
par_template_string,
par_name,
par_loader,
par_compress_whitespace,
par_autoescape,
par_whitespace,
var_reader,
var_formatted_code
);
// Release cached frame if used for exception.
if (frame_f1be40cfe00adcc3bd96336b65f8a304 == cache_frame_f1be40cfe00adcc3bd96336b65f8a304) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f1be40cfe00adcc3bd96336b65f8a304);
cache_frame_f1be40cfe00adcc3bd96336b65f8a304 = NULL;
}
assertFrameObject(frame_f1be40cfe00adcc3bd96336b65f8a304);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
par_whitespace = NULL;
CHECK_OBJECT(var_reader);
Py_DECREF(var_reader);
var_reader = 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(par_whitespace);
par_whitespace = NULL;
Py_XDECREF(var_reader);
var_reader = NULL;
Py_XDECREF(var_formatted_code);
var_formatted_code = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_template_string);
Py_DECREF(par_template_string);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_compress_whitespace);
Py_DECREF(par_compress_whitespace);
CHECK_OBJECT(par_autoescape);
Py_DECREF(par_autoescape);
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_template_string);
Py_DECREF(par_template_string);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_compress_whitespace);
Py_DECREF(par_compress_whitespace);
CHECK_OBJECT(par_autoescape);
Py_DECREF(par_autoescape);
// 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$template$$$function__3_generate(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_kwargs = python_pars[1];
PyObject *var_namespace = NULL;
PyObject *var_execute = NULL;
struct Nuitka_FrameObject *frame_d1d4672e334abe27735d2277f676c29a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d1d4672e334abe27735d2277f676c29a = 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_d1d4672e334abe27735d2277f676c29a)) {
Py_XDECREF(cache_frame_d1d4672e334abe27735d2277f676c29a);
#if _DEBUG_REFCOUNTS
if (cache_frame_d1d4672e334abe27735d2277f676c29a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d1d4672e334abe27735d2277f676c29a = MAKE_FUNCTION_FRAME(codeobj_d1d4672e334abe27735d2277f676c29a, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d1d4672e334abe27735d2277f676c29a->m_type_description == NULL);
frame_d1d4672e334abe27735d2277f676c29a = cache_frame_d1d4672e334abe27735d2277f676c29a;
// Push the new frame as the currently active one.
pushFrameStack(frame_d1d4672e334abe27735d2277f676c29a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d1d4672e334abe27735d2277f676c29a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_1;
tmp_dict_key_1 = mod_consts[12];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = _PyDict_NewPresized( 11 );
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_called_value_2;
PyObject *tmp_kw_call_value_0_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_res = PyDict_SetItem(tmp_assign_source_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[46];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[46]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[47];
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[47]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[48];
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[48]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[49];
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[49]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[50];
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[50]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[51];
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[52];
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[53]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[54];
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_dict_value_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = (PyObject *)&PyBytes_Type;
PyTuple_SET_ITEM0(tmp_dict_value_1, 1, tmp_tuple_element_1);
tmp_res = PyDict_SetItem(tmp_assign_source_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[56];
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_9 = Nuitka_Cell_GET(par_self);
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[14]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[36]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 351;
tmp_dict_value_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[37]);
Py_DECREF(tmp_called_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_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[57];
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_kw_call_value_0_1 = MAKE_FUNCTION_tornado$template$$$function__3_generate$$$function__1_lambda(tmp_closure_1);
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 352;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_dict_value_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, kw_values, mod_consts[61]);
}
Py_DECREF(tmp_kw_call_value_0_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "cooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_assign_source_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
assert(var_namespace == NULL);
var_namespace = tmp_assign_source_1;
}
{
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(var_namespace);
tmp_dict_arg_value_1 = var_namespace;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_10 = Nuitka_Cell_GET(par_self);
tmp_iterable_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[27]);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
assert(PyDict_Check(tmp_dict_arg_value_1));
if (HAS_ATTR_BOOL(tmp_iterable_value_1, const_str_plain_keys)){
tmp_res = PyDict_Merge(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
} else {
tmp_res = PyDict_MergeFromSeq2(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
}
Py_DECREF(tmp_iterable_value_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_namespace);
tmp_expression_value_11 = var_namespace;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[62]);
assert(!(tmp_called_value_3 == NULL));
CHECK_OBJECT(par_kwargs);
tmp_args_element_value_1 = par_kwargs;
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 355;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_element_value_3;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[63]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[63]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_12 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[39]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_namespace);
tmp_args_element_value_3 = var_namespace;
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 356;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
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 = 356;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_1;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_2;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
assert(!(tmp_expression_value_13 == NULL));
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[65]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 357;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[66]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[66]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 357;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = DEEP_COPY_TUPLE_GUIDED(mod_consts[67], "li");
tmp_args_element_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_14, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 357;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_namespace);
tmp_expression_value_15 = var_namespace;
tmp_subscript_value_2 = mod_consts[68];
tmp_args_element_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_15, tmp_subscript_value_2);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 357;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 357;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 357;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
assert(var_execute == NULL);
var_execute = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 361;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_value_6;
CHECK_OBJECT(var_execute);
tmp_called_value_6 = var_execute;
frame_d1d4672e334abe27735d2277f676c29a->m_frame.f_lineno = 362;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1d4672e334abe27735d2277f676c29a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1d4672e334abe27735d2277f676c29a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1d4672e334abe27735d2277f676c29a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d1d4672e334abe27735d2277f676c29a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d1d4672e334abe27735d2277f676c29a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d1d4672e334abe27735d2277f676c29a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d1d4672e334abe27735d2277f676c29a,
type_description_1,
par_self,
par_kwargs,
var_namespace,
var_execute
);
// Release cached frame if used for exception.
if (frame_d1d4672e334abe27735d2277f676c29a == cache_frame_d1d4672e334abe27735d2277f676c29a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d1d4672e334abe27735d2277f676c29a);
cache_frame_d1d4672e334abe27735d2277f676c29a = NULL;
}
assertFrameObject(frame_d1d4672e334abe27735d2277f676c29a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_namespace);
Py_DECREF(var_namespace);
var_namespace = NULL;
CHECK_OBJECT(var_execute);
Py_DECREF(var_execute);
var_execute = 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_namespace);
var_namespace = NULL;
Py_XDECREF(var_execute);
var_execute = 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_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_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$template$$$function__3_generate$$$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_name = python_pars[0];
struct Nuitka_FrameObject *frame_498b5118530a43c8d3546c0cf99e5b4b;
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_498b5118530a43c8d3546c0cf99e5b4b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_498b5118530a43c8d3546c0cf99e5b4b)) {
Py_XDECREF(cache_frame_498b5118530a43c8d3546c0cf99e5b4b);
#if _DEBUG_REFCOUNTS
if (cache_frame_498b5118530a43c8d3546c0cf99e5b4b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_498b5118530a43c8d3546c0cf99e5b4b = MAKE_FUNCTION_FRAME(codeobj_498b5118530a43c8d3546c0cf99e5b4b, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_498b5118530a43c8d3546c0cf99e5b4b->m_type_description == NULL);
frame_498b5118530a43c8d3546c0cf99e5b4b = cache_frame_498b5118530a43c8d3546c0cf99e5b4b;
// Push the new frame as the currently active one.
pushFrameStack(frame_498b5118530a43c8d3546c0cf99e5b4b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_498b5118530a43c8d3546c0cf99e5b4b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 352;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[33]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_498b5118530a43c8d3546c0cf99e5b4b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_498b5118530a43c8d3546c0cf99e5b4b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_498b5118530a43c8d3546c0cf99e5b4b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_498b5118530a43c8d3546c0cf99e5b4b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_498b5118530a43c8d3546c0cf99e5b4b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_498b5118530a43c8d3546c0cf99e5b4b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_498b5118530a43c8d3546c0cf99e5b4b,
type_description_1,
par_name,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_498b5118530a43c8d3546c0cf99e5b4b == cache_frame_498b5118530a43c8d3546c0cf99e5b4b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_498b5118530a43c8d3546c0cf99e5b4b);
cache_frame_498b5118530a43c8d3546c0cf99e5b4b = NULL;
}
assertFrameObject(frame_498b5118530a43c8d3546c0cf99e5b4b);
// 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_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__4__generate_python(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_loader = python_pars[1];
PyObject *var_buffer = NULL;
PyObject *var_named_blocks = NULL;
PyObject *var_ancestors = NULL;
PyObject *var_ancestor = NULL;
PyObject *var_writer = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_5c288a7691a09220574c3c13fecf2bcd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
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_5c288a7691a09220574c3c13fecf2bcd = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_5c288a7691a09220574c3c13fecf2bcd)) {
Py_XDECREF(cache_frame_5c288a7691a09220574c3c13fecf2bcd);
#if _DEBUG_REFCOUNTS
if (cache_frame_5c288a7691a09220574c3c13fecf2bcd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5c288a7691a09220574c3c13fecf2bcd = MAKE_FUNCTION_FRAME(codeobj_5c288a7691a09220574c3c13fecf2bcd, module_tornado$template, 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_5c288a7691a09220574c3c13fecf2bcd->m_type_description == NULL);
frame_5c288a7691a09220574c3c13fecf2bcd = cache_frame_5c288a7691a09220574c3c13fecf2bcd;
// Push the new frame as the currently active one.
pushFrameStack(frame_5c288a7691a09220574c3c13fecf2bcd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5c288a7691a09220574c3c13fecf2bcd) == 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$template, (Nuitka_StringObject *)mod_consts[73]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 365;
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 = 365;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(var_buffer == NULL);
var_buffer = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_named_blocks == NULL);
var_named_blocks = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_loader);
tmp_args_element_value_1 = par_loader;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 369;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[74], tmp_args_element_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(var_ancestors == NULL);
var_ancestors = tmp_assign_source_3;
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_ancestors);
tmp_called_instance_2 = var_ancestors;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 370;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[75]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_ancestors);
tmp_iter_arg_1 = var_ancestors;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_4;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_5 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_5 == 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 = "ooooooo";
exception_lineno = 371;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_ancestor;
var_ancestor = tmp_assign_source_6;
Py_INCREF(var_ancestor);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_ancestor);
tmp_expression_value_1 = var_ancestor;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[76]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooo";
goto try_except_handler_3;
}
if (par_loader == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 372;
type_description_1 = "ooooooo";
goto try_except_handler_3;
}
tmp_args_element_value_2 = par_loader;
if (var_named_blocks == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 372;
type_description_1 = "ooooooo";
goto try_except_handler_3;
}
tmp_args_element_value_3 = var_named_blocks;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 372;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooooooo";
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 try_except_handler_2;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_buffer);
tmp_args_element_value_4 = var_buffer;
if (var_named_blocks == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_5 = var_named_blocks;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_6 = par_loader;
CHECK_OBJECT(var_ancestors);
tmp_expression_value_3 = var_ancestors;
tmp_subscript_value_1 = mod_consts[79];
tmp_expression_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_1, 0);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[80]);
Py_DECREF(tmp_expression_value_2);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 373;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_7);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(var_writer == NULL);
var_writer = tmp_assign_source_7;
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_8;
CHECK_OBJECT(var_ancestors);
tmp_expression_value_4 = var_ancestors;
tmp_subscript_value_2 = mod_consts[79];
tmp_called_instance_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_2, 0);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_writer);
tmp_args_element_value_8 = var_writer;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 374;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[81], tmp_args_element_value_8);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_4;
CHECK_OBJECT(var_buffer);
tmp_called_instance_4 = var_buffer;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 375;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[82]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_4;
CHECK_OBJECT(var_buffer);
tmp_called_instance_5 = var_buffer;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 377;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[83]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto frame_return_exit_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;
// 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_5c288a7691a09220574c3c13fecf2bcd, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_5c288a7691a09220574c3c13fecf2bcd, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_5;
CHECK_OBJECT(var_buffer);
tmp_called_instance_6 = var_buffer;
frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = 377;
tmp_call_result_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[83]);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_5);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 366;
}
if (exception_tb && exception_tb->tb_frame == &frame_5c288a7691a09220574c3c13fecf2bcd->m_frame) frame_5c288a7691a09220574c3c13fecf2bcd->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooo";
goto try_except_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c288a7691a09220574c3c13fecf2bcd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c288a7691a09220574c3c13fecf2bcd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c288a7691a09220574c3c13fecf2bcd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5c288a7691a09220574c3c13fecf2bcd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5c288a7691a09220574c3c13fecf2bcd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5c288a7691a09220574c3c13fecf2bcd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5c288a7691a09220574c3c13fecf2bcd,
type_description_1,
par_self,
par_loader,
var_buffer,
var_named_blocks,
var_ancestors,
var_ancestor,
var_writer
);
// Release cached frame if used for exception.
if (frame_5c288a7691a09220574c3c13fecf2bcd == cache_frame_5c288a7691a09220574c3c13fecf2bcd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5c288a7691a09220574c3c13fecf2bcd);
cache_frame_5c288a7691a09220574c3c13fecf2bcd = NULL;
}
assertFrameObject(frame_5c288a7691a09220574c3c13fecf2bcd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_buffer);
Py_DECREF(var_buffer);
var_buffer = NULL;
Py_XDECREF(var_named_blocks);
var_named_blocks = NULL;
CHECK_OBJECT(var_ancestors);
Py_DECREF(var_ancestors);
var_ancestors = NULL;
Py_XDECREF(var_ancestor);
var_ancestor = NULL;
CHECK_OBJECT(var_writer);
Py_DECREF(var_writer);
var_writer = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_buffer);
var_buffer = NULL;
Py_XDECREF(var_named_blocks);
var_named_blocks = NULL;
Py_XDECREF(var_ancestors);
var_ancestors = NULL;
Py_XDECREF(var_ancestor);
var_ancestor = NULL;
Py_XDECREF(var_writer);
var_writer = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_loader);
Py_DECREF(par_loader);
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_loader);
Py_DECREF(par_loader);
// 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$template$$$function__5__get_ancestors(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_loader = python_pars[1];
PyObject *var_ancestors = NULL;
PyObject *var_chunk = NULL;
PyObject *var_template = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_459a473cef0d458a713d677b0cecc859;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_459a473cef0d458a713d677b0cecc859 = 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_459a473cef0d458a713d677b0cecc859)) {
Py_XDECREF(cache_frame_459a473cef0d458a713d677b0cecc859);
#if _DEBUG_REFCOUNTS
if (cache_frame_459a473cef0d458a713d677b0cecc859 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_459a473cef0d458a713d677b0cecc859 = MAKE_FUNCTION_FRAME(codeobj_459a473cef0d458a713d677b0cecc859, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_459a473cef0d458a713d677b0cecc859->m_type_description == NULL);
frame_459a473cef0d458a713d677b0cecc859 = cache_frame_459a473cef0d458a713d677b0cecc859;
// Push the new frame as the currently active one.
pushFrameStack(frame_459a473cef0d458a713d677b0cecc859);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_459a473cef0d458a713d677b0cecc859) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[31]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 380;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_assign_source_1, 0, tmp_list_element_1);
assert(var_ancestors == NULL);
var_ancestors = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[31]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[84]);
Py_DECREF(tmp_expression_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[85]);
Py_DECREF(tmp_expression_value_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
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_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 = "ooooo";
exception_lineno = 381;
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_chunk;
var_chunk = tmp_assign_source_4;
Py_INCREF(var_chunk);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_chunk);
tmp_isinstance_inst_1 = var_chunk;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
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 = 382;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 383;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_operand_value_1 = par_loader;
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 = 383;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[87]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[87]);
}
if (tmp_called_value_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_2;
}
frame_459a473cef0d458a713d677b0cecc859->m_frame.f_lineno = 384;
tmp_raise_type_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[88]);
if (tmp_raise_type_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_2;
}
exception_type = tmp_raise_type_1;
exception_lineno = 384;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto try_except_handler_2;
}
branch_no_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_7;
if (par_loader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = par_loader;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[89]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_chunk);
tmp_expression_value_6 = var_chunk;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[14]);
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 = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[14]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_459a473cef0d458a713d677b0cecc859->m_frame.f_lineno = 387;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_template;
var_template = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_4;
if (var_ancestors == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[90]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_8 = var_ancestors;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[91]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_template);
tmp_expression_value_9 = var_template;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[74]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (par_loader == NULL) {
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_args_element_value_4 = par_loader;
frame_459a473cef0d458a713d677b0cecc859->m_frame.f_lineno = 388;
tmp_args_element_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_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 = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_459a473cef0d458a713d677b0cecc859->m_frame.f_lineno = 388;
tmp_call_result_1 = 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_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_ancestors == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[90]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 389;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_ancestors;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_459a473cef0d458a713d677b0cecc859);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_459a473cef0d458a713d677b0cecc859);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_459a473cef0d458a713d677b0cecc859);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_459a473cef0d458a713d677b0cecc859, exception_lineno);
} else if (exception_tb->tb_frame != &frame_459a473cef0d458a713d677b0cecc859->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_459a473cef0d458a713d677b0cecc859, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_459a473cef0d458a713d677b0cecc859,
type_description_1,
par_self,
par_loader,
var_ancestors,
var_chunk,
var_template
);
// Release cached frame if used for exception.
if (frame_459a473cef0d458a713d677b0cecc859 == cache_frame_459a473cef0d458a713d677b0cecc859) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_459a473cef0d458a713d677b0cecc859);
cache_frame_459a473cef0d458a713d677b0cecc859 = NULL;
}
assertFrameObject(frame_459a473cef0d458a713d677b0cecc859);
// 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_ancestors);
var_ancestors = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
Py_XDECREF(var_template);
var_template = 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_ancestors);
var_ancestors = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
Py_XDECREF(var_template);
var_template = 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_loader);
Py_DECREF(par_loader);
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_loader);
Py_DECREF(par_loader);
// 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$template$$$function__6___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_autoescape = python_pars[1];
PyObject *par_namespace = python_pars[2];
PyObject *par_whitespace = python_pars[3];
struct Nuitka_FrameObject *frame_0b9785199387514b0652c50a2c2dcbc8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_0b9785199387514b0652c50a2c2dcbc8 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0b9785199387514b0652c50a2c2dcbc8)) {
Py_XDECREF(cache_frame_0b9785199387514b0652c50a2c2dcbc8);
#if _DEBUG_REFCOUNTS
if (cache_frame_0b9785199387514b0652c50a2c2dcbc8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0b9785199387514b0652c50a2c2dcbc8 = MAKE_FUNCTION_FRAME(codeobj_0b9785199387514b0652c50a2c2dcbc8, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0b9785199387514b0652c50a2c2dcbc8->m_type_description == NULL);
frame_0b9785199387514b0652c50a2c2dcbc8 = cache_frame_0b9785199387514b0652c50a2c2dcbc8;
// Push the new frame as the currently active one.
pushFrameStack(frame_0b9785199387514b0652c50a2c2dcbc8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0b9785199387514b0652c50a2c2dcbc8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_autoescape);
tmp_assattr_value_1 = par_autoescape;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[25], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_namespace);
tmp_or_left_value_1 = par_namespace;
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(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = MAKE_DICT_EMPTY();
tmp_assattr_value_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_assattr_value_2 = tmp_or_left_value_1;
or_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[27], 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 = 422;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_whitespace);
tmp_assattr_value_3 = par_whitespace;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[17], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = MAKE_DICT_EMPTY();
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[92], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_5;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_0b9785199387514b0652c50a2c2dcbc8->m_frame.f_lineno = 430;
tmp_assattr_value_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[94]);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[95], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b9785199387514b0652c50a2c2dcbc8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b9785199387514b0652c50a2c2dcbc8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0b9785199387514b0652c50a2c2dcbc8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0b9785199387514b0652c50a2c2dcbc8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0b9785199387514b0652c50a2c2dcbc8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0b9785199387514b0652c50a2c2dcbc8,
type_description_1,
par_self,
par_autoescape,
par_namespace,
par_whitespace
);
// Release cached frame if used for exception.
if (frame_0b9785199387514b0652c50a2c2dcbc8 == cache_frame_0b9785199387514b0652c50a2c2dcbc8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0b9785199387514b0652c50a2c2dcbc8);
cache_frame_0b9785199387514b0652c50a2c2dcbc8 = NULL;
}
assertFrameObject(frame_0b9785199387514b0652c50a2c2dcbc8);
// 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_autoescape);
Py_DECREF(par_autoescape);
CHECK_OBJECT(par_namespace);
Py_DECREF(par_namespace);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
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_autoescape);
Py_DECREF(par_autoescape);
CHECK_OBJECT(par_namespace);
Py_DECREF(par_namespace);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
// 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$template$$$function__7_reset(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_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_e6fb37cfc52a9678ae2073599ea22486;
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;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_e6fb37cfc52a9678ae2073599ea22486 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e6fb37cfc52a9678ae2073599ea22486)) {
Py_XDECREF(cache_frame_e6fb37cfc52a9678ae2073599ea22486);
#if _DEBUG_REFCOUNTS
if (cache_frame_e6fb37cfc52a9678ae2073599ea22486 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e6fb37cfc52a9678ae2073599ea22486 = MAKE_FUNCTION_FRAME(codeobj_e6fb37cfc52a9678ae2073599ea22486, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e6fb37cfc52a9678ae2073599ea22486->m_type_description == NULL);
frame_e6fb37cfc52a9678ae2073599ea22486 = cache_frame_e6fb37cfc52a9678ae2073599ea22486;
// Push the new frame as the currently active one.
pushFrameStack(frame_e6fb37cfc52a9678ae2073599ea22486);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e6fb37cfc52a9678ae2073599ea22486) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[95]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto try_except_handler_1;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_2 = tmp_with_1__source;
tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[97]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto try_except_handler_1;
}
frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = 434;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto try_except_handler_1;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_3 = tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[98]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "o";
goto try_except_handler_1;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_4;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = MAKE_DICT_EMPTY();
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[92], 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 = 435;
type_description_1 = "o";
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_e6fb37cfc52a9678ae2073599ea22486, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_e6fb37cfc52a9678ae2073599ea22486, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_5;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_2 = tmp_with_1__exit;
tmp_args_element_value_1 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_2 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_3 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = 435;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 435;
type_description_1 = "o";
goto try_except_handler_4;
}
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 = 435;
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_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 435;
}
if (exception_tb && exception_tb->tb_frame == &frame_e6fb37cfc52a9678ae2073599ea22486->m_frame) frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_4;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 434;
}
if (exception_tb && exception_tb->tb_frame == &frame_e6fb37cfc52a9678ae2073599ea22486->m_frame) frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_4;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_2;
// 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:;
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;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? 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;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = 435;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[99]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 435;
type_description_1 = "o";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_3:;
// 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_1;
// End of try:
try_end_3:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_e6fb37cfc52a9678ae2073599ea22486->m_frame.f_lineno = 435;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[99]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 435;
type_description_1 = "o";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e6fb37cfc52a9678ae2073599ea22486);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e6fb37cfc52a9678ae2073599ea22486);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e6fb37cfc52a9678ae2073599ea22486, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e6fb37cfc52a9678ae2073599ea22486->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e6fb37cfc52a9678ae2073599ea22486, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e6fb37cfc52a9678ae2073599ea22486,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_e6fb37cfc52a9678ae2073599ea22486 == cache_frame_e6fb37cfc52a9678ae2073599ea22486) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e6fb37cfc52a9678ae2073599ea22486);
cache_frame_e6fb37cfc52a9678ae2073599ea22486 = NULL;
}
assertFrameObject(frame_e6fb37cfc52a9678ae2073599ea22486);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__8_resolve_path(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *par_parent_path = python_pars[2];
struct Nuitka_FrameObject *frame_9a2efb4b6abc36a93f66559a1c0fc7db;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db)) {
Py_XDECREF(cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db);
#if _DEBUG_REFCOUNTS
if (cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db = MAKE_FUNCTION_FRAME(codeobj_9a2efb4b6abc36a93f66559a1c0fc7db, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db->m_type_description == NULL);
frame_9a2efb4b6abc36a93f66559a1c0fc7db = cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db;
// Push the new frame as the currently active one.
pushFrameStack(frame_9a2efb4b6abc36a93f66559a1c0fc7db);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9a2efb4b6abc36a93f66559a1c0fc7db) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_9a2efb4b6abc36a93f66559a1c0fc7db->m_frame.f_lineno = 439;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 439;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a2efb4b6abc36a93f66559a1c0fc7db);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a2efb4b6abc36a93f66559a1c0fc7db);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9a2efb4b6abc36a93f66559a1c0fc7db, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9a2efb4b6abc36a93f66559a1c0fc7db->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9a2efb4b6abc36a93f66559a1c0fc7db, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9a2efb4b6abc36a93f66559a1c0fc7db,
type_description_1,
par_self,
par_name,
par_parent_path
);
// Release cached frame if used for exception.
if (frame_9a2efb4b6abc36a93f66559a1c0fc7db == cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db);
cache_frame_9a2efb4b6abc36a93f66559a1c0fc7db = NULL;
}
assertFrameObject(frame_9a2efb4b6abc36a93f66559a1c0fc7db);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_parent_path);
Py_DECREF(par_parent_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$template$$$function__9_load(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *par_parent_path = python_pars[2];
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_5c84fcb6d0bdd687c41a0d6c32075290;
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;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *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_5c84fcb6d0bdd687c41a0d6c32075290 = 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_5c84fcb6d0bdd687c41a0d6c32075290)) {
Py_XDECREF(cache_frame_5c84fcb6d0bdd687c41a0d6c32075290);
#if _DEBUG_REFCOUNTS
if (cache_frame_5c84fcb6d0bdd687c41a0d6c32075290 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5c84fcb6d0bdd687c41a0d6c32075290 = MAKE_FUNCTION_FRAME(codeobj_5c84fcb6d0bdd687c41a0d6c32075290, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5c84fcb6d0bdd687c41a0d6c32075290->m_type_description == NULL);
frame_5c84fcb6d0bdd687c41a0d6c32075290 = cache_frame_5c84fcb6d0bdd687c41a0d6c32075290;
// Push the new frame as the currently active one.
pushFrameStack(frame_5c84fcb6d0bdd687c41a0d6c32075290);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5c84fcb6d0bdd687c41a0d6c32075290) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[102]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_kw_call_arg_value_0_1 = par_name;
CHECK_OBJECT(par_parent_path);
tmp_kw_call_dict_value_0_1 = par_parent_path;
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 443;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[103]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_name;
assert(old != NULL);
par_name = tmp_assign_source_1;
Py_DECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[95]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_3 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 444;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[98]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_4;
}
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_name);
tmp_cmp_expr_left_1 = par_name;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[92]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooo";
goto try_except_handler_4;
}
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_ass_subvalue_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_name);
tmp_args_element_value_1 = par_name;
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 446;
tmp_ass_subvalue_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[104], tmp_args_element_value_1);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "ooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[92]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 446;
type_description_1 = "ooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_name);
tmp_ass_subscript_1 = par_name;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "ooo";
goto try_except_handler_4;
}
}
branch_no_1:;
{
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[92]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_4;
}
if (par_name == NULL) {
Py_DECREF(tmp_expression_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_subscript_value_1 = par_name;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_7);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_4;
}
goto try_return_handler_3;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_5c84fcb6d0bdd687c41a0d6c32075290, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_5c84fcb6d0bdd687c41a0d6c32075290, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_BaseException;
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:;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_6;
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
tmp_args_element_value_2 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_3 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_4 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 447;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_5;
}
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 = 447;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 447;
}
if (exception_tb && exception_tb->tb_frame == &frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame) frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_no_3:;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 444;
}
if (exception_tb && exception_tb->tb_frame == &frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame) frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_end_2:;
goto try_end_1;
// 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_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:;
goto try_end_3;
// Return handler code:
try_return_handler_3:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 447;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[99]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_4:;
goto try_return_handler_2;
// 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;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 447;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[99]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_5:;
// 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:;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame.f_lineno = 447;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[99]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_6:;
goto try_end_4;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
goto frame_return_exit_1;
// 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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c84fcb6d0bdd687c41a0d6c32075290);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c84fcb6d0bdd687c41a0d6c32075290);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5c84fcb6d0bdd687c41a0d6c32075290);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5c84fcb6d0bdd687c41a0d6c32075290, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5c84fcb6d0bdd687c41a0d6c32075290->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5c84fcb6d0bdd687c41a0d6c32075290, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5c84fcb6d0bdd687c41a0d6c32075290,
type_description_1,
par_self,
par_name,
par_parent_path
);
// Release cached frame if used for exception.
if (frame_5c84fcb6d0bdd687c41a0d6c32075290 == cache_frame_5c84fcb6d0bdd687c41a0d6c32075290) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5c84fcb6d0bdd687c41a0d6c32075290);
cache_frame_5c84fcb6d0bdd687c41a0d6c32075290 = NULL;
}
assertFrameObject(frame_5c84fcb6d0bdd687c41a0d6c32075290);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
CHECK_OBJECT(tmp_with_1__exit);
Py_DECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_name);
par_name = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_name);
par_name = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_parent_path);
Py_DECREF(par_parent_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_parent_path);
Py_DECREF(par_parent_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__10__create_template(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_e3092d89ca7d6bc1d0600422f1c02fa2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2)) {
Py_XDECREF(cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2);
#if _DEBUG_REFCOUNTS
if (cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2 = MAKE_FUNCTION_FRAME(codeobj_e3092d89ca7d6bc1d0600422f1c02fa2, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2->m_type_description == NULL);
frame_e3092d89ca7d6bc1d0600422f1c02fa2 = cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2;
// Push the new frame as the currently active one.
pushFrameStack(frame_e3092d89ca7d6bc1d0600422f1c02fa2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e3092d89ca7d6bc1d0600422f1c02fa2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_e3092d89ca7d6bc1d0600422f1c02fa2->m_frame.f_lineno = 450;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 450;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3092d89ca7d6bc1d0600422f1c02fa2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3092d89ca7d6bc1d0600422f1c02fa2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e3092d89ca7d6bc1d0600422f1c02fa2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e3092d89ca7d6bc1d0600422f1c02fa2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e3092d89ca7d6bc1d0600422f1c02fa2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e3092d89ca7d6bc1d0600422f1c02fa2,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_e3092d89ca7d6bc1d0600422f1c02fa2 == cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2);
cache_frame_e3092d89ca7d6bc1d0600422f1c02fa2 = NULL;
}
assertFrameObject(frame_e3092d89ca7d6bc1d0600422f1c02fa2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$template$$$function__11___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_root_directory = python_pars[1];
PyObject *par_kwargs = python_pars[2];
struct Nuitka_FrameObject *frame_67ae6c339b24b479f9f2a9846fd20ce9;
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_67ae6c339b24b479f9f2a9846fd20ce9 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_67ae6c339b24b479f9f2a9846fd20ce9)) {
Py_XDECREF(cache_frame_67ae6c339b24b479f9f2a9846fd20ce9);
#if _DEBUG_REFCOUNTS
if (cache_frame_67ae6c339b24b479f9f2a9846fd20ce9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_67ae6c339b24b479f9f2a9846fd20ce9 = MAKE_FUNCTION_FRAME(codeobj_67ae6c339b24b479f9f2a9846fd20ce9, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_67ae6c339b24b479f9f2a9846fd20ce9->m_type_description == NULL);
frame_67ae6c339b24b479f9f2a9846fd20ce9 = cache_frame_67ae6c339b24b479f9f2a9846fd20ce9;
// Push the new frame as the currently active one.
pushFrameStack(frame_67ae6c339b24b479f9f2a9846fd20ce9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_67ae6c339b24b479f9f2a9846fd20ce9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_dircall_arg2_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[106]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 457;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER0(moduledict_tornado$template, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[107]);
Py_DECREF(tmp_expression_value_1);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg2_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_call_result_1 = impl___main__$$$function__8_complex_call_helper_star_dict(dir_call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[109]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_root_directory);
tmp_args_element_value_1 = par_root_directory;
frame_67ae6c339b24b479f9f2a9846fd20ce9->m_frame.f_lineno = 458;
tmp_assattr_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[110], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "oooc";
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[111], 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 = 458;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_67ae6c339b24b479f9f2a9846fd20ce9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_67ae6c339b24b479f9f2a9846fd20ce9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_67ae6c339b24b479f9f2a9846fd20ce9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_67ae6c339b24b479f9f2a9846fd20ce9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_67ae6c339b24b479f9f2a9846fd20ce9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_67ae6c339b24b479f9f2a9846fd20ce9,
type_description_1,
par_self,
par_root_directory,
par_kwargs,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_67ae6c339b24b479f9f2a9846fd20ce9 == cache_frame_67ae6c339b24b479f9f2a9846fd20ce9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_67ae6c339b24b479f9f2a9846fd20ce9);
cache_frame_67ae6c339b24b479f9f2a9846fd20ce9 = NULL;
}
assertFrameObject(frame_67ae6c339b24b479f9f2a9846fd20ce9);
// 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_root_directory);
Py_DECREF(par_root_directory);
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_root_directory);
Py_DECREF(par_root_directory);
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$template$$$function__12_resolve_path(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *par_parent_path = python_pars[2];
PyObject *var_current_path = NULL;
PyObject *var_file_dir = NULL;
PyObject *var_relative_path = NULL;
struct Nuitka_FrameObject *frame_f24472873e6c833d216e3a8183907683;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_f24472873e6c833d216e3a8183907683 = 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_f24472873e6c833d216e3a8183907683)) {
Py_XDECREF(cache_frame_f24472873e6c833d216e3a8183907683);
#if _DEBUG_REFCOUNTS
if (cache_frame_f24472873e6c833d216e3a8183907683 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f24472873e6c833d216e3a8183907683 = MAKE_FUNCTION_FRAME(codeobj_f24472873e6c833d216e3a8183907683, module_tornado$template, 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_f24472873e6c833d216e3a8183907683->m_type_description == NULL);
frame_f24472873e6c833d216e3a8183907683 = cache_frame_f24472873e6c833d216e3a8183907683;
// Push the new frame as the currently active one.
pushFrameStack(frame_f24472873e6c833d216e3a8183907683);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f24472873e6c833d216e3a8183907683) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_parent_path);
tmp_truth_name_1 = CHECK_IF_TRUE(par_parent_path);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooooo";
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_parent_path);
tmp_expression_value_1 = par_parent_path;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[112]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 463;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 463;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[113]);
Py_DECREF(tmp_called_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 463;
type_description_1 = "oooooo";
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 = 463;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_parent_path);
tmp_expression_value_2 = par_parent_path;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[112]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 464;
tmp_operand_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[114]);
Py_DECREF(tmp_called_value_2);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "oooooo";
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 = 464;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_name);
tmp_expression_value_3 = par_name;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[112]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 465;
tmp_operand_value_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[114]);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "oooooo";
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 = 465;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[109]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[115]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[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_4);
exception_lineno = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_parent_path == NULL) {
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_parent_path;
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 467;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(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 = 467;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_current_path == NULL);
var_current_path = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_4;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[109]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[117]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[109]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_current_path);
tmp_args_element_value_4 = var_current_path;
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 468;
tmp_args_element_value_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[110], tmp_args_element_value_4);
Py_DECREF(tmp_called_instance_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 468;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_3);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_file_dir == NULL);
var_file_dir = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[109]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[110]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[109]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[115]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_file_dir);
tmp_args_element_value_6 = var_file_dir;
if (par_name == NULL) {
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = par_name;
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 469;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_args_element_value_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_called_value_7);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 469;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_relative_path == NULL);
var_relative_path = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_15;
int tmp_truth_name_2;
CHECK_OBJECT(var_relative_path);
tmp_expression_value_14 = var_relative_path;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[112]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[111]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 470;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_f24472873e6c833d216e3a8183907683->m_frame.f_lineno = 470;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 470;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_add_expr_left_1;
nuitka_digit tmp_add_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_17;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(var_relative_path);
tmp_expression_value_16 = var_relative_path;
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[111]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = 1;
tmp_start_value_1 = BINARY_OPERATION_ADD_OBJECT_LONG_DIGIT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
assert(!(tmp_start_value_1 == NULL));
tmp_stop_value_1 = Py_None;
tmp_subscript_value_1 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_start_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_assign_source_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_name;
par_name = tmp_assign_source_4;
Py_XDECREF(old);
}
}
branch_no_2:;
branch_no_1:;
if (par_name == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 472;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = par_name;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f24472873e6c833d216e3a8183907683);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f24472873e6c833d216e3a8183907683);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f24472873e6c833d216e3a8183907683);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f24472873e6c833d216e3a8183907683, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f24472873e6c833d216e3a8183907683->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f24472873e6c833d216e3a8183907683, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f24472873e6c833d216e3a8183907683,
type_description_1,
par_self,
par_name,
par_parent_path,
var_current_path,
var_file_dir,
var_relative_path
);
// Release cached frame if used for exception.
if (frame_f24472873e6c833d216e3a8183907683 == cache_frame_f24472873e6c833d216e3a8183907683) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f24472873e6c833d216e3a8183907683);
cache_frame_f24472873e6c833d216e3a8183907683 = NULL;
}
assertFrameObject(frame_f24472873e6c833d216e3a8183907683);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_name);
par_name = NULL;
Py_XDECREF(var_current_path);
var_current_path = NULL;
Py_XDECREF(var_file_dir);
var_file_dir = NULL;
Py_XDECREF(var_relative_path);
var_relative_path = 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_name);
par_name = NULL;
Py_XDECREF(var_current_path);
var_current_path = NULL;
Py_XDECREF(var_file_dir);
var_file_dir = NULL;
Py_XDECREF(var_relative_path);
var_relative_path = 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_parent_path);
Py_DECREF(par_parent_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_parent_path);
Py_DECREF(par_parent_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__13__create_template(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *var_path = NULL;
PyObject *var_f = NULL;
PyObject *var_template = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_f60a492cc16d63280d3be4f9a280e5a8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_f60a492cc16d63280d3be4f9a280e5a8 = 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_f60a492cc16d63280d3be4f9a280e5a8)) {
Py_XDECREF(cache_frame_f60a492cc16d63280d3be4f9a280e5a8);
#if _DEBUG_REFCOUNTS
if (cache_frame_f60a492cc16d63280d3be4f9a280e5a8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f60a492cc16d63280d3be4f9a280e5a8 = MAKE_FUNCTION_FRAME(codeobj_f60a492cc16d63280d3be4f9a280e5a8, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f60a492cc16d63280d3be4f9a280e5a8->m_type_description == NULL);
frame_f60a492cc16d63280d3be4f9a280e5a8 = cache_frame_f60a492cc16d63280d3be4f9a280e5a8;
// Push the new frame as the currently active one.
pushFrameStack(frame_f60a492cc16d63280d3be4f9a280e5a8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f60a492cc16d63280d3be4f9a280e5a8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[109]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[115]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "ooooo";
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[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 = 475;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_2 = par_name;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 475;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_path == NULL);
var_path = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_path);
tmp_open_filename_1 = var_path;
tmp_open_mode_1 = mod_consts[118];
tmp_assign_source_2 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 476;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[98]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_4;
}
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_6 = tmp_with_1__enter;
assert(var_f == NULL);
Py_INCREF(tmp_assign_source_6);
var_f = tmp_assign_source_6;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_3;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_f);
tmp_called_instance_1 = var_f;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 477;
tmp_kw_call_arg_value_0_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[120]);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_name);
tmp_kw_call_dict_value_0_1 = par_name;
CHECK_OBJECT(par_self);
tmp_kw_call_dict_value_1_1 = par_self;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 477;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_3, args, kw_values, mod_consts[121]);
}
Py_DECREF(tmp_kw_call_arg_value_0_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
assert(var_template == NULL);
var_template = tmp_assign_source_7;
}
CHECK_OBJECT(var_template);
tmp_return_value = var_template;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_f60a492cc16d63280d3be4f9a280e5a8, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_f60a492cc16d63280d3be4f9a280e5a8, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_8;
tmp_assign_source_8 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_8;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
tmp_args_element_value_3 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_4 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_5 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 478;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
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 = 478;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 478;
}
if (exception_tb && exception_tb->tb_frame == &frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame) frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_5;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 476;
}
if (exception_tb && exception_tb->tb_frame == &frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame) frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_5;
branch_end_1:;
goto try_end_1;
// 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_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:;
goto try_end_3;
// Return handler code:
try_return_handler_3:;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? 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;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 478;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[99]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_3:;
goto try_return_handler_2;
// 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;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 478;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[99]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 478;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_4:;
// 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:;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_7 = tmp_with_1__exit;
frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame.f_lineno = 478;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[99]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_5:;
goto try_end_4;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
goto frame_return_exit_1;
// 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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f60a492cc16d63280d3be4f9a280e5a8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f60a492cc16d63280d3be4f9a280e5a8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f60a492cc16d63280d3be4f9a280e5a8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f60a492cc16d63280d3be4f9a280e5a8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f60a492cc16d63280d3be4f9a280e5a8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f60a492cc16d63280d3be4f9a280e5a8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f60a492cc16d63280d3be4f9a280e5a8,
type_description_1,
par_self,
par_name,
var_path,
var_f,
var_template
);
// Release cached frame if used for exception.
if (frame_f60a492cc16d63280d3be4f9a280e5a8 == cache_frame_f60a492cc16d63280d3be4f9a280e5a8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f60a492cc16d63280d3be4f9a280e5a8);
cache_frame_f60a492cc16d63280d3be4f9a280e5a8 = NULL;
}
assertFrameObject(frame_f60a492cc16d63280d3be4f9a280e5a8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
CHECK_OBJECT(tmp_with_1__exit);
Py_DECREF(tmp_with_1__exit);
tmp_with_1__exit = 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_path);
Py_DECREF(var_path);
var_path = NULL;
CHECK_OBJECT(var_f);
Py_DECREF(var_f);
var_f = NULL;
Py_XDECREF(var_template);
var_template = 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_path);
var_path = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_template);
var_template = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__14___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_dict = python_pars[1];
PyObject *par_kwargs = python_pars[2];
struct Nuitka_FrameObject *frame_bfbee133b4bcada5a3d665b6ff120e66;
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_bfbee133b4bcada5a3d665b6ff120e66 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bfbee133b4bcada5a3d665b6ff120e66)) {
Py_XDECREF(cache_frame_bfbee133b4bcada5a3d665b6ff120e66);
#if _DEBUG_REFCOUNTS
if (cache_frame_bfbee133b4bcada5a3d665b6ff120e66 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bfbee133b4bcada5a3d665b6ff120e66 = MAKE_FUNCTION_FRAME(codeobj_bfbee133b4bcada5a3d665b6ff120e66, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bfbee133b4bcada5a3d665b6ff120e66->m_type_description == NULL);
frame_bfbee133b4bcada5a3d665b6ff120e66 = cache_frame_bfbee133b4bcada5a3d665b6ff120e66;
// Push the new frame as the currently active one.
pushFrameStack(frame_bfbee133b4bcada5a3d665b6ff120e66);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bfbee133b4bcada5a3d665b6ff120e66) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_dircall_arg2_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[106]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 485;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER0(moduledict_tornado$template, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[107]);
Py_DECREF(tmp_expression_value_1);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg2_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_call_result_1 = impl___main__$$$function__8_complex_call_helper_star_dict(dir_call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_dict);
tmp_assattr_value_1 = par_dict;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[122], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfbee133b4bcada5a3d665b6ff120e66);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfbee133b4bcada5a3d665b6ff120e66);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bfbee133b4bcada5a3d665b6ff120e66, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bfbee133b4bcada5a3d665b6ff120e66->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bfbee133b4bcada5a3d665b6ff120e66, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bfbee133b4bcada5a3d665b6ff120e66,
type_description_1,
par_self,
par_dict,
par_kwargs,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_bfbee133b4bcada5a3d665b6ff120e66 == cache_frame_bfbee133b4bcada5a3d665b6ff120e66) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bfbee133b4bcada5a3d665b6ff120e66);
cache_frame_bfbee133b4bcada5a3d665b6ff120e66 = NULL;
}
assertFrameObject(frame_bfbee133b4bcada5a3d665b6ff120e66);
// 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_dict);
Py_DECREF(par_dict);
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_dict);
Py_DECREF(par_dict);
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$template$$$function__15_resolve_path(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *par_parent_path = python_pars[2];
PyObject *var_file_dir = NULL;
struct Nuitka_FrameObject *frame_bfe8ed99a0566f3b3b45f5a05536ee85;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85 = 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_bfe8ed99a0566f3b3b45f5a05536ee85)) {
Py_XDECREF(cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85);
#if _DEBUG_REFCOUNTS
if (cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85 = MAKE_FUNCTION_FRAME(codeobj_bfe8ed99a0566f3b3b45f5a05536ee85, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_type_description == NULL);
frame_bfe8ed99a0566f3b3b45f5a05536ee85 = cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85;
// Push the new frame as the currently active one.
pushFrameStack(frame_bfe8ed99a0566f3b3b45f5a05536ee85);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bfe8ed99a0566f3b3b45f5a05536ee85) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_parent_path);
tmp_truth_name_1 = CHECK_IF_TRUE(par_parent_path);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_parent_path);
tmp_expression_value_1 = par_parent_path;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[112]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 491;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 491;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[113]);
Py_DECREF(tmp_called_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 491;
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 = 491;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_parent_path);
tmp_expression_value_2 = par_parent_path;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[112]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 492;
tmp_operand_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[114]);
Py_DECREF(tmp_called_value_2);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
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 = 492;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_name);
tmp_expression_value_3 = par_name;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[112]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 493;
tmp_operand_value_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[114]);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_1 = "oooo";
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 = 493;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
assert(!(tmp_expression_value_4 == NULL));
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[117]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_parent_path == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[116]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 495;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = par_parent_path;
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 495;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_file_dir == NULL);
var_file_dir = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[124]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[115]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_file_dir);
tmp_args_element_value_3 = var_file_dir;
if (par_name == NULL) {
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = par_name;
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 496;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_args_element_value_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame.f_lineno = 496;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_name;
par_name = tmp_assign_source_2;
Py_XDECREF(old);
}
}
branch_no_1:;
if (par_name == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[14]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 497;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = par_name;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfe8ed99a0566f3b3b45f5a05536ee85);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfe8ed99a0566f3b3b45f5a05536ee85);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfe8ed99a0566f3b3b45f5a05536ee85);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bfe8ed99a0566f3b3b45f5a05536ee85, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bfe8ed99a0566f3b3b45f5a05536ee85->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bfe8ed99a0566f3b3b45f5a05536ee85, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bfe8ed99a0566f3b3b45f5a05536ee85,
type_description_1,
par_self,
par_name,
par_parent_path,
var_file_dir
);
// Release cached frame if used for exception.
if (frame_bfe8ed99a0566f3b3b45f5a05536ee85 == cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85);
cache_frame_bfe8ed99a0566f3b3b45f5a05536ee85 = NULL;
}
assertFrameObject(frame_bfe8ed99a0566f3b3b45f5a05536ee85);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_name);
par_name = NULL;
Py_XDECREF(var_file_dir);
var_file_dir = 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_name);
par_name = NULL;
Py_XDECREF(var_file_dir);
var_file_dir = 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_parent_path);
Py_DECREF(par_parent_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_parent_path);
Py_DECREF(par_parent_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__16__create_template(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_4535a62d1070dd0aabe1be80c9ea2d33;
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_4535a62d1070dd0aabe1be80c9ea2d33 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4535a62d1070dd0aabe1be80c9ea2d33)) {
Py_XDECREF(cache_frame_4535a62d1070dd0aabe1be80c9ea2d33);
#if _DEBUG_REFCOUNTS
if (cache_frame_4535a62d1070dd0aabe1be80c9ea2d33 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4535a62d1070dd0aabe1be80c9ea2d33 = MAKE_FUNCTION_FRAME(codeobj_4535a62d1070dd0aabe1be80c9ea2d33, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4535a62d1070dd0aabe1be80c9ea2d33->m_type_description == NULL);
frame_4535a62d1070dd0aabe1be80c9ea2d33 = cache_frame_4535a62d1070dd0aabe1be80c9ea2d33;
// Push the new frame as the currently active one.
pushFrameStack(frame_4535a62d1070dd0aabe1be80c9ea2d33);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4535a62d1070dd0aabe1be80c9ea2d33) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[122]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_subscript_value_1 = par_name;
tmp_kw_call_arg_value_0_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_kw_call_dict_value_0_1 = par_name;
CHECK_OBJECT(par_self);
tmp_kw_call_dict_value_1_1 = par_self;
frame_4535a62d1070dd0aabe1be80c9ea2d33->m_frame.f_lineno = 500;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[121]);
}
Py_DECREF(tmp_kw_call_arg_value_0_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4535a62d1070dd0aabe1be80c9ea2d33);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4535a62d1070dd0aabe1be80c9ea2d33);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4535a62d1070dd0aabe1be80c9ea2d33);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4535a62d1070dd0aabe1be80c9ea2d33, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4535a62d1070dd0aabe1be80c9ea2d33->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4535a62d1070dd0aabe1be80c9ea2d33, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4535a62d1070dd0aabe1be80c9ea2d33,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_4535a62d1070dd0aabe1be80c9ea2d33 == cache_frame_4535a62d1070dd0aabe1be80c9ea2d33) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4535a62d1070dd0aabe1be80c9ea2d33);
cache_frame_4535a62d1070dd0aabe1be80c9ea2d33 = NULL;
}
assertFrameObject(frame_4535a62d1070dd0aabe1be80c9ea2d33);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__18_generate(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_writer = python_pars[1];
struct Nuitka_FrameObject *frame_359fedb4fcbf9428044ffdcff427c771;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_359fedb4fcbf9428044ffdcff427c771 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_359fedb4fcbf9428044ffdcff427c771)) {
Py_XDECREF(cache_frame_359fedb4fcbf9428044ffdcff427c771);
#if _DEBUG_REFCOUNTS
if (cache_frame_359fedb4fcbf9428044ffdcff427c771 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_359fedb4fcbf9428044ffdcff427c771 = MAKE_FUNCTION_FRAME(codeobj_359fedb4fcbf9428044ffdcff427c771, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_359fedb4fcbf9428044ffdcff427c771->m_type_description == NULL);
frame_359fedb4fcbf9428044ffdcff427c771 = cache_frame_359fedb4fcbf9428044ffdcff427c771;
// Push the new frame as the currently active one.
pushFrameStack(frame_359fedb4fcbf9428044ffdcff427c771);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_359fedb4fcbf9428044ffdcff427c771) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_359fedb4fcbf9428044ffdcff427c771->m_frame.f_lineno = 508;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 508;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_359fedb4fcbf9428044ffdcff427c771);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_359fedb4fcbf9428044ffdcff427c771);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_359fedb4fcbf9428044ffdcff427c771, exception_lineno);
} else if (exception_tb->tb_frame != &frame_359fedb4fcbf9428044ffdcff427c771->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_359fedb4fcbf9428044ffdcff427c771, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_359fedb4fcbf9428044ffdcff427c771,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_359fedb4fcbf9428044ffdcff427c771 == cache_frame_359fedb4fcbf9428044ffdcff427c771) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_359fedb4fcbf9428044ffdcff427c771);
cache_frame_359fedb4fcbf9428044ffdcff427c771 = NULL;
}
assertFrameObject(frame_359fedb4fcbf9428044ffdcff427c771);
// 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_writer);
Py_DECREF(par_writer);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$template$$$function__19_find_named_blocks(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_loader = python_pars[1];
PyObject *par_named_blocks = python_pars[2];
PyObject *var_child = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_a193fb406301cd167cb93a9230b617c3;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_a193fb406301cd167cb93a9230b617c3 = 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_a193fb406301cd167cb93a9230b617c3)) {
Py_XDECREF(cache_frame_a193fb406301cd167cb93a9230b617c3);
#if _DEBUG_REFCOUNTS
if (cache_frame_a193fb406301cd167cb93a9230b617c3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a193fb406301cd167cb93a9230b617c3 = MAKE_FUNCTION_FRAME(codeobj_a193fb406301cd167cb93a9230b617c3, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a193fb406301cd167cb93a9230b617c3->m_type_description == NULL);
frame_a193fb406301cd167cb93a9230b617c3 = cache_frame_a193fb406301cd167cb93a9230b617c3;
// Push the new frame as the currently active one.
pushFrameStack(frame_a193fb406301cd167cb93a9230b617c3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a193fb406301cd167cb93a9230b617c3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_a193fb406301cd167cb93a9230b617c3->m_frame.f_lineno = 513;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[125]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 513;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_child;
var_child = tmp_assign_source_3;
Py_INCREF(var_child);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_child);
tmp_expression_value_1 = var_child;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (par_loader == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 514;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = par_loader;
if (par_named_blocks == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 514;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = par_named_blocks;
frame_a193fb406301cd167cb93a9230b617c3->m_frame.f_lineno = 514;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a193fb406301cd167cb93a9230b617c3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a193fb406301cd167cb93a9230b617c3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a193fb406301cd167cb93a9230b617c3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a193fb406301cd167cb93a9230b617c3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a193fb406301cd167cb93a9230b617c3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a193fb406301cd167cb93a9230b617c3,
type_description_1,
par_self,
par_loader,
par_named_blocks,
var_child
);
// Release cached frame if used for exception.
if (frame_a193fb406301cd167cb93a9230b617c3 == cache_frame_a193fb406301cd167cb93a9230b617c3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a193fb406301cd167cb93a9230b617c3);
cache_frame_a193fb406301cd167cb93a9230b617c3 = NULL;
}
assertFrameObject(frame_a193fb406301cd167cb93a9230b617c3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_child);
var_child = 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_child);
var_child = 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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
// 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$template$$$function__20___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_template = python_pars[1];
PyObject *par_body = python_pars[2];
struct Nuitka_FrameObject *frame_a6d817b5a4096617c8c52e47a02b7fb8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_a6d817b5a4096617c8c52e47a02b7fb8 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a6d817b5a4096617c8c52e47a02b7fb8)) {
Py_XDECREF(cache_frame_a6d817b5a4096617c8c52e47a02b7fb8);
#if _DEBUG_REFCOUNTS
if (cache_frame_a6d817b5a4096617c8c52e47a02b7fb8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a6d817b5a4096617c8c52e47a02b7fb8 = MAKE_FUNCTION_FRAME(codeobj_a6d817b5a4096617c8c52e47a02b7fb8, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a6d817b5a4096617c8c52e47a02b7fb8->m_type_description == NULL);
frame_a6d817b5a4096617c8c52e47a02b7fb8 = cache_frame_a6d817b5a4096617c8c52e47a02b7fb8;
// Push the new frame as the currently active one.
pushFrameStack(frame_a6d817b5a4096617c8c52e47a02b7fb8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a6d817b5a4096617c8c52e47a02b7fb8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_template);
tmp_assattr_value_1 = par_template;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[80], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_body);
tmp_assattr_value_2 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[84], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = mod_consts[79];
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[126], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a6d817b5a4096617c8c52e47a02b7fb8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a6d817b5a4096617c8c52e47a02b7fb8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a6d817b5a4096617c8c52e47a02b7fb8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a6d817b5a4096617c8c52e47a02b7fb8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a6d817b5a4096617c8c52e47a02b7fb8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a6d817b5a4096617c8c52e47a02b7fb8,
type_description_1,
par_self,
par_template,
par_body
);
// Release cached frame if used for exception.
if (frame_a6d817b5a4096617c8c52e47a02b7fb8 == cache_frame_a6d817b5a4096617c8c52e47a02b7fb8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a6d817b5a4096617c8c52e47a02b7fb8);
cache_frame_a6d817b5a4096617c8c52e47a02b7fb8 = NULL;
}
assertFrameObject(frame_a6d817b5a4096617c8c52e47a02b7fb8);
// 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_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
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_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
// 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$template$$$function__21_generate(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_writer = python_pars[1];
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_2451851311e0faad69589ced2f00e9ca;
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;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_2451851311e0faad69589ced2f00e9ca = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2451851311e0faad69589ced2f00e9ca)) {
Py_XDECREF(cache_frame_2451851311e0faad69589ced2f00e9ca);
#if _DEBUG_REFCOUNTS
if (cache_frame_2451851311e0faad69589ced2f00e9ca == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2451851311e0faad69589ced2f00e9ca = MAKE_FUNCTION_FRAME(codeobj_2451851311e0faad69589ced2f00e9ca, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2451851311e0faad69589ced2f00e9ca->m_type_description == NULL);
frame_2451851311e0faad69589ced2f00e9ca = cache_frame_2451851311e0faad69589ced2f00e9ca;
// Push the new frame as the currently active one.
pushFrameStack(frame_2451851311e0faad69589ced2f00e9ca);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2451851311e0faad69589ced2f00e9ca) == 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_args_element_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[128];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[126]);
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 = 524;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 524;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_writer);
tmp_called_instance_1 = par_writer;
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 525;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[129]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_3 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "oo";
goto try_except_handler_1;
}
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 525;
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 = 525;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[98]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_4;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_writer);
tmp_expression_value_5 = par_writer;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[127]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 526;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_args_element_value_3 = mod_consts[130];
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[126]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 526;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 526;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 526;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_writer);
tmp_expression_value_7 = par_writer;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[127]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_args_element_value_5 = mod_consts[131];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[126]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 527;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 527;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
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 = 527;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[84]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_writer);
tmp_args_element_value_7 = par_writer;
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 528;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[81], tmp_args_element_value_7);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(par_writer);
tmp_expression_value_10 = par_writer;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[127]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_args_element_value_8 = mod_consts[132];
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_args_element_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[126]);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 529;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_5);
}
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_2451851311e0faad69589ced2f00e9ca, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2451851311e0faad69589ced2f00e9ca, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_5;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
tmp_args_element_value_10 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_11 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_12 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 529;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11, tmp_args_element_value_12};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_4;
}
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 = 529;
type_description_1 = "oo";
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_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_2451851311e0faad69589ced2f00e9ca->m_frame) frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 525;
}
if (exception_tb && exception_tb->tb_frame == &frame_2451851311e0faad69589ced2f00e9ca->m_frame) frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_2;
// 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:;
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;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_7 = tmp_with_1__exit;
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 529;
tmp_call_result_6 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[99]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_3:;
// 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_1;
// End of try:
try_end_3:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_call_result_7;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_8 = tmp_with_1__exit;
frame_2451851311e0faad69589ced2f00e9ca->m_frame.f_lineno = 529;
tmp_call_result_7 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_8, mod_consts[99]);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_7);
}
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2451851311e0faad69589ced2f00e9ca);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2451851311e0faad69589ced2f00e9ca);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2451851311e0faad69589ced2f00e9ca, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2451851311e0faad69589ced2f00e9ca->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2451851311e0faad69589ced2f00e9ca, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2451851311e0faad69589ced2f00e9ca,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_2451851311e0faad69589ced2f00e9ca == cache_frame_2451851311e0faad69589ced2f00e9ca) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2451851311e0faad69589ced2f00e9ca);
cache_frame_2451851311e0faad69589ced2f00e9ca = NULL;
}
assertFrameObject(frame_2451851311e0faad69589ced2f00e9ca);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__22_each_child(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_bfa02db757926952b144360ead457921;
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_bfa02db757926952b144360ead457921 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bfa02db757926952b144360ead457921)) {
Py_XDECREF(cache_frame_bfa02db757926952b144360ead457921);
#if _DEBUG_REFCOUNTS
if (cache_frame_bfa02db757926952b144360ead457921 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bfa02db757926952b144360ead457921 = MAKE_FUNCTION_FRAME(codeobj_bfa02db757926952b144360ead457921, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bfa02db757926952b144360ead457921->m_type_description == NULL);
frame_bfa02db757926952b144360ead457921 = cache_frame_bfa02db757926952b144360ead457921;
// Push the new frame as the currently active one.
pushFrameStack(frame_bfa02db757926952b144360ead457921);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bfa02db757926952b144360ead457921) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfa02db757926952b144360ead457921);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfa02db757926952b144360ead457921);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bfa02db757926952b144360ead457921);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bfa02db757926952b144360ead457921, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bfa02db757926952b144360ead457921->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bfa02db757926952b144360ead457921, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bfa02db757926952b144360ead457921,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_bfa02db757926952b144360ead457921 == cache_frame_bfa02db757926952b144360ead457921) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bfa02db757926952b144360ead457921);
cache_frame_bfa02db757926952b144360ead457921 = NULL;
}
assertFrameObject(frame_bfa02db757926952b144360ead457921);
// 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$template$$$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_chunks = python_pars[1];
struct Nuitka_FrameObject *frame_8456fc3face271e6e97df7ba41a6c28d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_8456fc3face271e6e97df7ba41a6c28d = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8456fc3face271e6e97df7ba41a6c28d)) {
Py_XDECREF(cache_frame_8456fc3face271e6e97df7ba41a6c28d);
#if _DEBUG_REFCOUNTS
if (cache_frame_8456fc3face271e6e97df7ba41a6c28d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8456fc3face271e6e97df7ba41a6c28d = MAKE_FUNCTION_FRAME(codeobj_8456fc3face271e6e97df7ba41a6c28d, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8456fc3face271e6e97df7ba41a6c28d->m_type_description == NULL);
frame_8456fc3face271e6e97df7ba41a6c28d = cache_frame_8456fc3face271e6e97df7ba41a6c28d;
// Push the new frame as the currently active one.
pushFrameStack(frame_8456fc3face271e6e97df7ba41a6c28d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8456fc3face271e6e97df7ba41a6c28d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_chunks);
tmp_assattr_value_1 = par_chunks;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[85], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 537;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8456fc3face271e6e97df7ba41a6c28d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8456fc3face271e6e97df7ba41a6c28d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8456fc3face271e6e97df7ba41a6c28d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8456fc3face271e6e97df7ba41a6c28d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8456fc3face271e6e97df7ba41a6c28d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8456fc3face271e6e97df7ba41a6c28d,
type_description_1,
par_self,
par_chunks
);
// Release cached frame if used for exception.
if (frame_8456fc3face271e6e97df7ba41a6c28d == cache_frame_8456fc3face271e6e97df7ba41a6c28d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8456fc3face271e6e97df7ba41a6c28d);
cache_frame_8456fc3face271e6e97df7ba41a6c28d = NULL;
}
assertFrameObject(frame_8456fc3face271e6e97df7ba41a6c28d);
// 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_chunks);
Py_DECREF(par_chunks);
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_chunks);
Py_DECREF(par_chunks);
// 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$template$$$function__24_generate(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_writer = python_pars[1];
PyObject *var_chunk = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_098bd374fe736f5df2ddd77983c7f18b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_098bd374fe736f5df2ddd77983c7f18b = 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_098bd374fe736f5df2ddd77983c7f18b)) {
Py_XDECREF(cache_frame_098bd374fe736f5df2ddd77983c7f18b);
#if _DEBUG_REFCOUNTS
if (cache_frame_098bd374fe736f5df2ddd77983c7f18b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_098bd374fe736f5df2ddd77983c7f18b = MAKE_FUNCTION_FRAME(codeobj_098bd374fe736f5df2ddd77983c7f18b, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_098bd374fe736f5df2ddd77983c7f18b->m_type_description == NULL);
frame_098bd374fe736f5df2ddd77983c7f18b = cache_frame_098bd374fe736f5df2ddd77983c7f18b;
// Push the new frame as the currently active one.
pushFrameStack(frame_098bd374fe736f5df2ddd77983c7f18b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_098bd374fe736f5df2ddd77983c7f18b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[85]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
exception_lineno = 540;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_chunk;
var_chunk = tmp_assign_source_3;
Py_INCREF(var_chunk);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_chunk);
tmp_expression_value_2 = var_chunk;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if (par_writer == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[133]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 541;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = par_writer;
frame_098bd374fe736f5df2ddd77983c7f18b->m_frame.f_lineno = 541;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_098bd374fe736f5df2ddd77983c7f18b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_098bd374fe736f5df2ddd77983c7f18b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_098bd374fe736f5df2ddd77983c7f18b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_098bd374fe736f5df2ddd77983c7f18b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_098bd374fe736f5df2ddd77983c7f18b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_098bd374fe736f5df2ddd77983c7f18b,
type_description_1,
par_self,
par_writer,
var_chunk
);
// Release cached frame if used for exception.
if (frame_098bd374fe736f5df2ddd77983c7f18b == cache_frame_098bd374fe736f5df2ddd77983c7f18b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_098bd374fe736f5df2ddd77983c7f18b);
cache_frame_098bd374fe736f5df2ddd77983c7f18b = NULL;
}
assertFrameObject(frame_098bd374fe736f5df2ddd77983c7f18b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_chunk);
var_chunk = 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_chunk);
var_chunk = 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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__25_each_child(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_c696eb6961e0ab75fd921f7c21c276a0;
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_c696eb6961e0ab75fd921f7c21c276a0 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c696eb6961e0ab75fd921f7c21c276a0)) {
Py_XDECREF(cache_frame_c696eb6961e0ab75fd921f7c21c276a0);
#if _DEBUG_REFCOUNTS
if (cache_frame_c696eb6961e0ab75fd921f7c21c276a0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c696eb6961e0ab75fd921f7c21c276a0 = MAKE_FUNCTION_FRAME(codeobj_c696eb6961e0ab75fd921f7c21c276a0, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c696eb6961e0ab75fd921f7c21c276a0->m_type_description == NULL);
frame_c696eb6961e0ab75fd921f7c21c276a0 = cache_frame_c696eb6961e0ab75fd921f7c21c276a0;
// Push the new frame as the currently active one.
pushFrameStack(frame_c696eb6961e0ab75fd921f7c21c276a0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c696eb6961e0ab75fd921f7c21c276a0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[85]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c696eb6961e0ab75fd921f7c21c276a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c696eb6961e0ab75fd921f7c21c276a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c696eb6961e0ab75fd921f7c21c276a0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c696eb6961e0ab75fd921f7c21c276a0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c696eb6961e0ab75fd921f7c21c276a0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c696eb6961e0ab75fd921f7c21c276a0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c696eb6961e0ab75fd921f7c21c276a0,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_c696eb6961e0ab75fd921f7c21c276a0 == cache_frame_c696eb6961e0ab75fd921f7c21c276a0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c696eb6961e0ab75fd921f7c21c276a0);
cache_frame_c696eb6961e0ab75fd921f7c21c276a0 = NULL;
}
assertFrameObject(frame_c696eb6961e0ab75fd921f7c21c276a0);
// 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$template$$$function__26___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_name = python_pars[1];
PyObject *par_body = python_pars[2];
PyObject *par_template = python_pars[3];
PyObject *par_line = python_pars[4];
struct Nuitka_FrameObject *frame_d4946ef70d083f8abbc0ba88d4da40fa;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_d4946ef70d083f8abbc0ba88d4da40fa = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d4946ef70d083f8abbc0ba88d4da40fa)) {
Py_XDECREF(cache_frame_d4946ef70d083f8abbc0ba88d4da40fa);
#if _DEBUG_REFCOUNTS
if (cache_frame_d4946ef70d083f8abbc0ba88d4da40fa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d4946ef70d083f8abbc0ba88d4da40fa = MAKE_FUNCTION_FRAME(codeobj_d4946ef70d083f8abbc0ba88d4da40fa, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d4946ef70d083f8abbc0ba88d4da40fa->m_type_description == NULL);
frame_d4946ef70d083f8abbc0ba88d4da40fa = cache_frame_d4946ef70d083f8abbc0ba88d4da40fa;
// Push the new frame as the currently active one.
pushFrameStack(frame_d4946ef70d083f8abbc0ba88d4da40fa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d4946ef70d083f8abbc0ba88d4da40fa) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_name);
tmp_assattr_value_1 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[14], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 549;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_body);
tmp_assattr_value_2 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[84], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 550;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_template);
tmp_assattr_value_3 = par_template;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[80], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_line);
tmp_assattr_value_4 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[126], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4946ef70d083f8abbc0ba88d4da40fa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4946ef70d083f8abbc0ba88d4da40fa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d4946ef70d083f8abbc0ba88d4da40fa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d4946ef70d083f8abbc0ba88d4da40fa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d4946ef70d083f8abbc0ba88d4da40fa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d4946ef70d083f8abbc0ba88d4da40fa,
type_description_1,
par_self,
par_name,
par_body,
par_template,
par_line
);
// Release cached frame if used for exception.
if (frame_d4946ef70d083f8abbc0ba88d4da40fa == cache_frame_d4946ef70d083f8abbc0ba88d4da40fa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d4946ef70d083f8abbc0ba88d4da40fa);
cache_frame_d4946ef70d083f8abbc0ba88d4da40fa = NULL;
}
assertFrameObject(frame_d4946ef70d083f8abbc0ba88d4da40fa);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__27_each_child(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_a0f1e75fb4bac045ec036365d3fe94ae;
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_a0f1e75fb4bac045ec036365d3fe94ae = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a0f1e75fb4bac045ec036365d3fe94ae)) {
Py_XDECREF(cache_frame_a0f1e75fb4bac045ec036365d3fe94ae);
#if _DEBUG_REFCOUNTS
if (cache_frame_a0f1e75fb4bac045ec036365d3fe94ae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a0f1e75fb4bac045ec036365d3fe94ae = MAKE_FUNCTION_FRAME(codeobj_a0f1e75fb4bac045ec036365d3fe94ae, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a0f1e75fb4bac045ec036365d3fe94ae->m_type_description == NULL);
frame_a0f1e75fb4bac045ec036365d3fe94ae = cache_frame_a0f1e75fb4bac045ec036365d3fe94ae;
// Push the new frame as the currently active one.
pushFrameStack(frame_a0f1e75fb4bac045ec036365d3fe94ae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a0f1e75fb4bac045ec036365d3fe94ae) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0f1e75fb4bac045ec036365d3fe94ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0f1e75fb4bac045ec036365d3fe94ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0f1e75fb4bac045ec036365d3fe94ae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a0f1e75fb4bac045ec036365d3fe94ae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a0f1e75fb4bac045ec036365d3fe94ae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a0f1e75fb4bac045ec036365d3fe94ae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a0f1e75fb4bac045ec036365d3fe94ae,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_a0f1e75fb4bac045ec036365d3fe94ae == cache_frame_a0f1e75fb4bac045ec036365d3fe94ae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a0f1e75fb4bac045ec036365d3fe94ae);
cache_frame_a0f1e75fb4bac045ec036365d3fe94ae = NULL;
}
assertFrameObject(frame_a0f1e75fb4bac045ec036365d3fe94ae);
// 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$template$$$function__28_generate(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_writer = python_pars[1];
PyObject *var_block = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_02d0b18e5830e5cba654e4c2debf40d6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_02d0b18e5830e5cba654e4c2debf40d6 = 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_02d0b18e5830e5cba654e4c2debf40d6)) {
Py_XDECREF(cache_frame_02d0b18e5830e5cba654e4c2debf40d6);
#if _DEBUG_REFCOUNTS
if (cache_frame_02d0b18e5830e5cba654e4c2debf40d6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_02d0b18e5830e5cba654e4c2debf40d6 = MAKE_FUNCTION_FRAME(codeobj_02d0b18e5830e5cba654e4c2debf40d6, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_02d0b18e5830e5cba654e4c2debf40d6->m_type_description == NULL);
frame_02d0b18e5830e5cba654e4c2debf40d6 = cache_frame_02d0b18e5830e5cba654e4c2debf40d6;
// Push the new frame as the currently active one.
pushFrameStack(frame_02d0b18e5830e5cba654e4c2debf40d6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_02d0b18e5830e5cba654e4c2debf40d6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_writer);
tmp_expression_value_2 = par_writer;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[77]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_subscript_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[14]);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 558;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_block == NULL);
var_block = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_writer);
tmp_expression_value_4 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[134]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_block);
tmp_expression_value_5 = var_block;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[80]);
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 = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[126]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 559;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_7 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_7, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 559;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_8 = tmp_with_1__source;
tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_value_8, mod_consts[98]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_4;
}
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_block);
tmp_expression_value_9 = var_block;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[84]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 560;
type_description_1 = "ooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_writer);
tmp_args_element_value_3 = par_writer;
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 560;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[81], tmp_args_element_value_3);
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 = 560;
type_description_1 = "ooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_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;
// 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_02d0b18e5830e5cba654e4c2debf40d6, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_02d0b18e5830e5cba654e4c2debf40d6, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_6;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
tmp_args_element_value_4 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_5 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_6 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 560;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 560;
type_description_1 = "ooo";
goto try_except_handler_5;
}
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 = 560;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 560;
}
if (exception_tb && exception_tb->tb_frame == &frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame) frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 559;
}
if (exception_tb && exception_tb->tb_frame == &frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame) frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_end_1:;
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:;
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;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 560;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[99]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 560;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
// 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:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame.f_lineno = 560;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[99]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 560;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_4:;
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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02d0b18e5830e5cba654e4c2debf40d6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02d0b18e5830e5cba654e4c2debf40d6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_02d0b18e5830e5cba654e4c2debf40d6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_02d0b18e5830e5cba654e4c2debf40d6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_02d0b18e5830e5cba654e4c2debf40d6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_02d0b18e5830e5cba654e4c2debf40d6,
type_description_1,
par_self,
par_writer,
var_block
);
// Release cached frame if used for exception.
if (frame_02d0b18e5830e5cba654e4c2debf40d6 == cache_frame_02d0b18e5830e5cba654e4c2debf40d6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_02d0b18e5830e5cba654e4c2debf40d6);
cache_frame_02d0b18e5830e5cba654e4c2debf40d6 = NULL;
}
assertFrameObject(frame_02d0b18e5830e5cba654e4c2debf40d6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
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_block);
Py_DECREF(var_block);
var_block = 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_block);
var_block = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__29_find_named_blocks(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_loader = python_pars[1];
PyObject *par_named_blocks = python_pars[2];
struct Nuitka_FrameObject *frame_edff51aaa071017f9699a44d5642d1aa;
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;
static struct Nuitka_FrameObject *cache_frame_edff51aaa071017f9699a44d5642d1aa = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_edff51aaa071017f9699a44d5642d1aa)) {
Py_XDECREF(cache_frame_edff51aaa071017f9699a44d5642d1aa);
#if _DEBUG_REFCOUNTS
if (cache_frame_edff51aaa071017f9699a44d5642d1aa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_edff51aaa071017f9699a44d5642d1aa = MAKE_FUNCTION_FRAME(codeobj_edff51aaa071017f9699a44d5642d1aa, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_edff51aaa071017f9699a44d5642d1aa->m_type_description == NULL);
frame_edff51aaa071017f9699a44d5642d1aa = cache_frame_edff51aaa071017f9699a44d5642d1aa;
// Push the new frame as the currently active one.
pushFrameStack(frame_edff51aaa071017f9699a44d5642d1aa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_edff51aaa071017f9699a44d5642d1aa) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_ass_subvalue_1 = par_self;
CHECK_OBJECT(par_named_blocks);
tmp_ass_subscribed_1 = par_named_blocks;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 566;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_loader);
tmp_args_element_value_2 = par_loader;
CHECK_OBJECT(par_named_blocks);
tmp_args_element_value_3 = par_named_blocks;
frame_edff51aaa071017f9699a44d5642d1aa->m_frame.f_lineno = 566;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[76],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 566;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_edff51aaa071017f9699a44d5642d1aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edff51aaa071017f9699a44d5642d1aa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_edff51aaa071017f9699a44d5642d1aa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_edff51aaa071017f9699a44d5642d1aa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_edff51aaa071017f9699a44d5642d1aa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_edff51aaa071017f9699a44d5642d1aa,
type_description_1,
par_self,
par_loader,
par_named_blocks
);
// Release cached frame if used for exception.
if (frame_edff51aaa071017f9699a44d5642d1aa == cache_frame_edff51aaa071017f9699a44d5642d1aa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_edff51aaa071017f9699a44d5642d1aa);
cache_frame_edff51aaa071017f9699a44d5642d1aa = NULL;
}
assertFrameObject(frame_edff51aaa071017f9699a44d5642d1aa);
// 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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
// 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$template$$$function__30___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_name = python_pars[1];
struct Nuitka_FrameObject *frame_409d8d7c5351d503690a735c873f1fcf;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_409d8d7c5351d503690a735c873f1fcf = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_409d8d7c5351d503690a735c873f1fcf)) {
Py_XDECREF(cache_frame_409d8d7c5351d503690a735c873f1fcf);
#if _DEBUG_REFCOUNTS
if (cache_frame_409d8d7c5351d503690a735c873f1fcf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_409d8d7c5351d503690a735c873f1fcf = MAKE_FUNCTION_FRAME(codeobj_409d8d7c5351d503690a735c873f1fcf, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_409d8d7c5351d503690a735c873f1fcf->m_type_description == NULL);
frame_409d8d7c5351d503690a735c873f1fcf = cache_frame_409d8d7c5351d503690a735c873f1fcf;
// Push the new frame as the currently active one.
pushFrameStack(frame_409d8d7c5351d503690a735c873f1fcf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_409d8d7c5351d503690a735c873f1fcf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_name);
tmp_assattr_value_1 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[14], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_409d8d7c5351d503690a735c873f1fcf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_409d8d7c5351d503690a735c873f1fcf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_409d8d7c5351d503690a735c873f1fcf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_409d8d7c5351d503690a735c873f1fcf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_409d8d7c5351d503690a735c873f1fcf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_409d8d7c5351d503690a735c873f1fcf,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_409d8d7c5351d503690a735c873f1fcf == cache_frame_409d8d7c5351d503690a735c873f1fcf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_409d8d7c5351d503690a735c873f1fcf);
cache_frame_409d8d7c5351d503690a735c873f1fcf = NULL;
}
assertFrameObject(frame_409d8d7c5351d503690a735c873f1fcf);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$template$$$function__31___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_name = python_pars[1];
PyObject *par_reader = python_pars[2];
PyObject *par_line = python_pars[3];
struct Nuitka_FrameObject *frame_7a885bfb1dada39ebfe57b12ee18770b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_7a885bfb1dada39ebfe57b12ee18770b = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7a885bfb1dada39ebfe57b12ee18770b)) {
Py_XDECREF(cache_frame_7a885bfb1dada39ebfe57b12ee18770b);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a885bfb1dada39ebfe57b12ee18770b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a885bfb1dada39ebfe57b12ee18770b = MAKE_FUNCTION_FRAME(codeobj_7a885bfb1dada39ebfe57b12ee18770b, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a885bfb1dada39ebfe57b12ee18770b->m_type_description == NULL);
frame_7a885bfb1dada39ebfe57b12ee18770b = cache_frame_7a885bfb1dada39ebfe57b12ee18770b;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a885bfb1dada39ebfe57b12ee18770b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a885bfb1dada39ebfe57b12ee18770b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_name);
tmp_assattr_value_1 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[14], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 576;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_reader);
tmp_expression_value_1 = par_reader;
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[136], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_line);
tmp_assattr_value_3 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[126], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a885bfb1dada39ebfe57b12ee18770b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a885bfb1dada39ebfe57b12ee18770b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a885bfb1dada39ebfe57b12ee18770b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a885bfb1dada39ebfe57b12ee18770b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a885bfb1dada39ebfe57b12ee18770b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a885bfb1dada39ebfe57b12ee18770b,
type_description_1,
par_self,
par_name,
par_reader,
par_line
);
// Release cached frame if used for exception.
if (frame_7a885bfb1dada39ebfe57b12ee18770b == cache_frame_7a885bfb1dada39ebfe57b12ee18770b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a885bfb1dada39ebfe57b12ee18770b);
cache_frame_7a885bfb1dada39ebfe57b12ee18770b = NULL;
}
assertFrameObject(frame_7a885bfb1dada39ebfe57b12ee18770b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_reader);
Py_DECREF(par_reader);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_reader);
Py_DECREF(par_reader);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__32_find_named_blocks(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_loader = python_pars[1];
PyObject *par_named_blocks = python_pars[2];
PyObject *var_included = NULL;
struct Nuitka_FrameObject *frame_41fdec7c86b33a1bb1fc6779f6d67364;
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_41fdec7c86b33a1bb1fc6779f6d67364 = 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_41fdec7c86b33a1bb1fc6779f6d67364)) {
Py_XDECREF(cache_frame_41fdec7c86b33a1bb1fc6779f6d67364);
#if _DEBUG_REFCOUNTS
if (cache_frame_41fdec7c86b33a1bb1fc6779f6d67364 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_41fdec7c86b33a1bb1fc6779f6d67364 = MAKE_FUNCTION_FRAME(codeobj_41fdec7c86b33a1bb1fc6779f6d67364, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_41fdec7c86b33a1bb1fc6779f6d67364->m_type_description == NULL);
frame_41fdec7c86b33a1bb1fc6779f6d67364 = cache_frame_41fdec7c86b33a1bb1fc6779f6d67364;
// Push the new frame as the currently active one.
pushFrameStack(frame_41fdec7c86b33a1bb1fc6779f6d67364);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_41fdec7c86b33a1bb1fc6779f6d67364) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_loader);
tmp_cmp_expr_left_1 = par_loader;
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_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 583;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_loader);
tmp_expression_value_1 = par_loader;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[89]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
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 = 584;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[136]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 584;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_41fdec7c86b33a1bb1fc6779f6d67364->m_frame.f_lineno = 584;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_included == NULL);
var_included = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(var_included);
tmp_expression_value_4 = var_included;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[31]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 585;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_loader);
tmp_args_element_value_3 = par_loader;
CHECK_OBJECT(par_named_blocks);
tmp_args_element_value_4 = par_named_blocks;
frame_41fdec7c86b33a1bb1fc6779f6d67364->m_frame.f_lineno = 585;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[76],
call_args
);
}
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 = 585;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_41fdec7c86b33a1bb1fc6779f6d67364);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_41fdec7c86b33a1bb1fc6779f6d67364);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_41fdec7c86b33a1bb1fc6779f6d67364, exception_lineno);
} else if (exception_tb->tb_frame != &frame_41fdec7c86b33a1bb1fc6779f6d67364->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_41fdec7c86b33a1bb1fc6779f6d67364, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_41fdec7c86b33a1bb1fc6779f6d67364,
type_description_1,
par_self,
par_loader,
par_named_blocks,
var_included
);
// Release cached frame if used for exception.
if (frame_41fdec7c86b33a1bb1fc6779f6d67364 == cache_frame_41fdec7c86b33a1bb1fc6779f6d67364) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_41fdec7c86b33a1bb1fc6779f6d67364);
cache_frame_41fdec7c86b33a1bb1fc6779f6d67364 = NULL;
}
assertFrameObject(frame_41fdec7c86b33a1bb1fc6779f6d67364);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_included);
Py_DECREF(var_included);
var_included = 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_included);
var_included = 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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
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_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
// 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$template$$$function__33_generate(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_writer = python_pars[1];
PyObject *var_included = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_38bdb8297c5b757b7cc2ecbff127be80;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_38bdb8297c5b757b7cc2ecbff127be80 = 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_38bdb8297c5b757b7cc2ecbff127be80)) {
Py_XDECREF(cache_frame_38bdb8297c5b757b7cc2ecbff127be80);
#if _DEBUG_REFCOUNTS
if (cache_frame_38bdb8297c5b757b7cc2ecbff127be80 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_38bdb8297c5b757b7cc2ecbff127be80 = MAKE_FUNCTION_FRAME(codeobj_38bdb8297c5b757b7cc2ecbff127be80, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_38bdb8297c5b757b7cc2ecbff127be80->m_type_description == NULL);
frame_38bdb8297c5b757b7cc2ecbff127be80 = cache_frame_38bdb8297c5b757b7cc2ecbff127be80;
// Push the new frame as the currently active one.
pushFrameStack(frame_38bdb8297c5b757b7cc2ecbff127be80);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_38bdb8297c5b757b7cc2ecbff127be80) == 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_writer);
tmp_expression_value_1 = par_writer;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[18]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
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;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 588;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_writer);
tmp_expression_value_3 = par_writer;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[18]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[89]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[14]);
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 = 589;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[136]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 589;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 589;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_included == NULL);
var_included = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_writer);
tmp_expression_value_6 = par_writer;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[134]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_included);
tmp_args_element_value_3 = var_included;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[126]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 590;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_8 = tmp_with_1__source;
tmp_called_value_3 = LOOKUP_SPECIAL(tmp_expression_value_8, mod_consts[97]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 590;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_9 = tmp_with_1__source;
tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_value_9, mod_consts[98]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_4;
}
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_included);
tmp_expression_value_11 = var_included;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[31]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[84]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "ooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_writer);
tmp_args_element_value_5 = par_writer;
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 591;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[81], tmp_args_element_value_5);
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 = 591;
type_description_1 = "ooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_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;
// 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_38bdb8297c5b757b7cc2ecbff127be80, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_38bdb8297c5b757b7cc2ecbff127be80, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_BaseException;
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:;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_6;
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
tmp_args_element_value_6 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_7 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_8 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 591;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "ooo";
goto try_except_handler_5;
}
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 = 591;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 591;
}
if (exception_tb && exception_tb->tb_frame == &frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame) frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_no_3:;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 590;
}
if (exception_tb && exception_tb->tb_frame == &frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame) frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_end_2:;
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:;
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;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 591;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[99]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 591;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_4:;
// 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:;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame.f_lineno = 591;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[99]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_5:;
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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38bdb8297c5b757b7cc2ecbff127be80);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38bdb8297c5b757b7cc2ecbff127be80);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_38bdb8297c5b757b7cc2ecbff127be80, exception_lineno);
} else if (exception_tb->tb_frame != &frame_38bdb8297c5b757b7cc2ecbff127be80->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_38bdb8297c5b757b7cc2ecbff127be80, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_38bdb8297c5b757b7cc2ecbff127be80,
type_description_1,
par_self,
par_writer,
var_included
);
// Release cached frame if used for exception.
if (frame_38bdb8297c5b757b7cc2ecbff127be80 == cache_frame_38bdb8297c5b757b7cc2ecbff127be80) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_38bdb8297c5b757b7cc2ecbff127be80);
cache_frame_38bdb8297c5b757b7cc2ecbff127be80 = NULL;
}
assertFrameObject(frame_38bdb8297c5b757b7cc2ecbff127be80);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
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_included);
Py_DECREF(var_included);
var_included = 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_included);
var_included = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__34___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_method = python_pars[1];
PyObject *par_line = python_pars[2];
PyObject *par_body = python_pars[3];
struct Nuitka_FrameObject *frame_450dce12b88dca1e33aa288f4030b47c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_450dce12b88dca1e33aa288f4030b47c = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_450dce12b88dca1e33aa288f4030b47c)) {
Py_XDECREF(cache_frame_450dce12b88dca1e33aa288f4030b47c);
#if _DEBUG_REFCOUNTS
if (cache_frame_450dce12b88dca1e33aa288f4030b47c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_450dce12b88dca1e33aa288f4030b47c = MAKE_FUNCTION_FRAME(codeobj_450dce12b88dca1e33aa288f4030b47c, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_450dce12b88dca1e33aa288f4030b47c->m_type_description == NULL);
frame_450dce12b88dca1e33aa288f4030b47c = cache_frame_450dce12b88dca1e33aa288f4030b47c;
// Push the new frame as the currently active one.
pushFrameStack(frame_450dce12b88dca1e33aa288f4030b47c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_450dce12b88dca1e33aa288f4030b47c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_method);
tmp_assattr_value_1 = par_method;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[137], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_body);
tmp_assattr_value_3 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[84], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 598;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_450dce12b88dca1e33aa288f4030b47c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_450dce12b88dca1e33aa288f4030b47c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_450dce12b88dca1e33aa288f4030b47c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_450dce12b88dca1e33aa288f4030b47c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_450dce12b88dca1e33aa288f4030b47c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_450dce12b88dca1e33aa288f4030b47c,
type_description_1,
par_self,
par_method,
par_line,
par_body
);
// Release cached frame if used for exception.
if (frame_450dce12b88dca1e33aa288f4030b47c == cache_frame_450dce12b88dca1e33aa288f4030b47c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_450dce12b88dca1e33aa288f4030b47c);
cache_frame_450dce12b88dca1e33aa288f4030b47c = NULL;
}
assertFrameObject(frame_450dce12b88dca1e33aa288f4030b47c);
// 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_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
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_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
// 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$template$$$function__35_each_child(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_ee33089bfe49dba3cb496cac89df16d0;
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_ee33089bfe49dba3cb496cac89df16d0 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ee33089bfe49dba3cb496cac89df16d0)) {
Py_XDECREF(cache_frame_ee33089bfe49dba3cb496cac89df16d0);
#if _DEBUG_REFCOUNTS
if (cache_frame_ee33089bfe49dba3cb496cac89df16d0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ee33089bfe49dba3cb496cac89df16d0 = MAKE_FUNCTION_FRAME(codeobj_ee33089bfe49dba3cb496cac89df16d0, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ee33089bfe49dba3cb496cac89df16d0->m_type_description == NULL);
frame_ee33089bfe49dba3cb496cac89df16d0 = cache_frame_ee33089bfe49dba3cb496cac89df16d0;
// Push the new frame as the currently active one.
pushFrameStack(frame_ee33089bfe49dba3cb496cac89df16d0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ee33089bfe49dba3cb496cac89df16d0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 601;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ee33089bfe49dba3cb496cac89df16d0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ee33089bfe49dba3cb496cac89df16d0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ee33089bfe49dba3cb496cac89df16d0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ee33089bfe49dba3cb496cac89df16d0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ee33089bfe49dba3cb496cac89df16d0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ee33089bfe49dba3cb496cac89df16d0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ee33089bfe49dba3cb496cac89df16d0,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_ee33089bfe49dba3cb496cac89df16d0 == cache_frame_ee33089bfe49dba3cb496cac89df16d0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ee33089bfe49dba3cb496cac89df16d0);
cache_frame_ee33089bfe49dba3cb496cac89df16d0 = NULL;
}
assertFrameObject(frame_ee33089bfe49dba3cb496cac89df16d0);
// 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$template$$$function__36_generate(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_writer = python_pars[1];
PyObject *var_method_name = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_c9d44ecfc520f3fce0fb8fcf9c22de2e;
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;
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;
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 *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e)) {
Py_XDECREF(cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
#if _DEBUG_REFCOUNTS
if (cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e = MAKE_FUNCTION_FRAME(codeobj_c9d44ecfc520f3fce0fb8fcf9c22de2e, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_type_description == NULL);
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e = cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e;
// Push the new frame as the currently active one.
pushFrameStack(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_mod_expr_left_1 = mod_consts[138];
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[139]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_method_name == NULL);
var_method_name = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_writer);
tmp_expression_value_2 = par_writer;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[139]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
tmp_iadd_expr_right_1 = mod_consts[140];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assign_source_3 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_3;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_writer);
tmp_assattr_target_1 = par_writer;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[139], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_writer);
tmp_expression_value_3 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_2 = mod_consts[141];
CHECK_OBJECT(var_method_name);
tmp_mod_expr_right_2 = var_method_name;
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[126]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 606;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_writer);
tmp_called_instance_1 = par_writer;
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 607;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[129]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "ooo";
goto try_except_handler_3;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 607;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_6 = tmp_with_1__source;
tmp_assign_source_6 = LOOKUP_SPECIAL(tmp_expression_value_6, mod_consts[98]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_6;
}
{
nuitka_bool tmp_assign_source_7;
tmp_assign_source_7 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_7;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_writer);
tmp_expression_value_7 = par_writer;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[127]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_args_element_value_3 = mod_consts[130];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[126]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 608;
type_description_1 = "ooo";
goto try_except_handler_5;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 608;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_1 = "ooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_writer);
tmp_expression_value_9 = par_writer;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[127]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_args_element_value_5 = mod_consts[131];
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[126]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 609;
type_description_1 = "ooo";
goto try_except_handler_5;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 609;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
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 = 609;
type_description_1 = "ooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[84]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "ooo";
goto try_except_handler_5;
}
CHECK_OBJECT(par_writer);
tmp_args_element_value_7 = par_writer;
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 610;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[81], tmp_args_element_value_7);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "ooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_12;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(par_writer);
tmp_expression_value_12 = par_writer;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[127]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_args_element_value_8 = mod_consts[132];
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_args_element_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[126]);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_5;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 611;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_5);
}
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;
// 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_c9d44ecfc520f3fce0fb8fcf9c22de2e, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_c9d44ecfc520f3fce0fb8fcf9c22de2e, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_8;
tmp_assign_source_8 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_8;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
tmp_args_element_value_10 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_11 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_12 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 611;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11, tmp_args_element_value_12};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_6;
}
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 = 611;
type_description_1 = "ooo";
goto try_except_handler_6;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 611;
}
if (exception_tb && exception_tb->tb_frame == &frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame) frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_6;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 607;
}
if (exception_tb && exception_tb->tb_frame == &frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame) frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_6;
branch_end_1:;
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;
// 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_4;
// 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:;
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;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_7 = tmp_with_1__exit;
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 611;
tmp_call_result_6 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[99]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_4);
Py_XDECREF(exception_keeper_value_4);
Py_XDECREF(exception_keeper_tb_4);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_3:;
// 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:
try_end_4:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_call_result_7;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_8 = tmp_with_1__exit;
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 611;
tmp_call_result_7 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_8, mod_consts[99]);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_7);
}
branch_no_4:;
goto try_end_5;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_8;
PyObject *tmp_args_element_value_13;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_element_value_14;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(par_writer);
tmp_expression_value_14 = par_writer;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[127]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_3 = mod_consts[142];
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[137]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 613;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_method_name);
tmp_tuple_element_1 = var_method_name;
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 1, tmp_tuple_element_1);
tmp_args_element_value_13 = 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_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 613;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_args_element_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[126]);
if (tmp_args_element_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_13);
exception_lineno = 613;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame.f_lineno = 612;
{
PyObject *call_args[] = {tmp_args_element_value_13, tmp_args_element_value_14};
tmp_call_result_8 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_9, call_args);
}
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_14);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_8);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c9d44ecfc520f3fce0fb8fcf9c22de2e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c9d44ecfc520f3fce0fb8fcf9c22de2e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c9d44ecfc520f3fce0fb8fcf9c22de2e,
type_description_1,
par_self,
par_writer,
var_method_name
);
// Release cached frame if used for exception.
if (frame_c9d44ecfc520f3fce0fb8fcf9c22de2e == cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
cache_frame_c9d44ecfc520f3fce0fb8fcf9c22de2e = NULL;
}
assertFrameObject(frame_c9d44ecfc520f3fce0fb8fcf9c22de2e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_method_name);
Py_DECREF(var_method_name);
var_method_name = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_method_name);
var_method_name = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__37___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_statement = python_pars[1];
PyObject *par_line = python_pars[2];
PyObject *par_body = python_pars[3];
struct Nuitka_FrameObject *frame_9ed24e220889821b59955068ed91aedd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_9ed24e220889821b59955068ed91aedd = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9ed24e220889821b59955068ed91aedd)) {
Py_XDECREF(cache_frame_9ed24e220889821b59955068ed91aedd);
#if _DEBUG_REFCOUNTS
if (cache_frame_9ed24e220889821b59955068ed91aedd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9ed24e220889821b59955068ed91aedd = MAKE_FUNCTION_FRAME(codeobj_9ed24e220889821b59955068ed91aedd, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9ed24e220889821b59955068ed91aedd->m_type_description == NULL);
frame_9ed24e220889821b59955068ed91aedd = cache_frame_9ed24e220889821b59955068ed91aedd;
// Push the new frame as the currently active one.
pushFrameStack(frame_9ed24e220889821b59955068ed91aedd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9ed24e220889821b59955068ed91aedd) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_statement);
tmp_assattr_value_1 = par_statement;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[143], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 619;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_body);
tmp_assattr_value_3 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[84], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9ed24e220889821b59955068ed91aedd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9ed24e220889821b59955068ed91aedd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9ed24e220889821b59955068ed91aedd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9ed24e220889821b59955068ed91aedd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9ed24e220889821b59955068ed91aedd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9ed24e220889821b59955068ed91aedd,
type_description_1,
par_self,
par_statement,
par_line,
par_body
);
// Release cached frame if used for exception.
if (frame_9ed24e220889821b59955068ed91aedd == cache_frame_9ed24e220889821b59955068ed91aedd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9ed24e220889821b59955068ed91aedd);
cache_frame_9ed24e220889821b59955068ed91aedd = NULL;
}
assertFrameObject(frame_9ed24e220889821b59955068ed91aedd);
// 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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
// 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$template$$$function__38_each_child(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_617970024470e5965a544b119728d404;
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_617970024470e5965a544b119728d404 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_617970024470e5965a544b119728d404)) {
Py_XDECREF(cache_frame_617970024470e5965a544b119728d404);
#if _DEBUG_REFCOUNTS
if (cache_frame_617970024470e5965a544b119728d404 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_617970024470e5965a544b119728d404 = MAKE_FUNCTION_FRAME(codeobj_617970024470e5965a544b119728d404, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_617970024470e5965a544b119728d404->m_type_description == NULL);
frame_617970024470e5965a544b119728d404 = cache_frame_617970024470e5965a544b119728d404;
// Push the new frame as the currently active one.
pushFrameStack(frame_617970024470e5965a544b119728d404);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_617970024470e5965a544b119728d404) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 624;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_617970024470e5965a544b119728d404);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_617970024470e5965a544b119728d404);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_617970024470e5965a544b119728d404);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_617970024470e5965a544b119728d404, exception_lineno);
} else if (exception_tb->tb_frame != &frame_617970024470e5965a544b119728d404->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_617970024470e5965a544b119728d404, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_617970024470e5965a544b119728d404,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_617970024470e5965a544b119728d404 == cache_frame_617970024470e5965a544b119728d404) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_617970024470e5965a544b119728d404);
cache_frame_617970024470e5965a544b119728d404 = NULL;
}
assertFrameObject(frame_617970024470e5965a544b119728d404);
// 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$template$$$function__39_generate(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_writer = python_pars[1];
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_df945f75bff38cfd17d8695c138c8dc8;
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;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_df945f75bff38cfd17d8695c138c8dc8 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_df945f75bff38cfd17d8695c138c8dc8)) {
Py_XDECREF(cache_frame_df945f75bff38cfd17d8695c138c8dc8);
#if _DEBUG_REFCOUNTS
if (cache_frame_df945f75bff38cfd17d8695c138c8dc8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_df945f75bff38cfd17d8695c138c8dc8 = MAKE_FUNCTION_FRAME(codeobj_df945f75bff38cfd17d8695c138c8dc8, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_df945f75bff38cfd17d8695c138c8dc8->m_type_description == NULL);
frame_df945f75bff38cfd17d8695c138c8dc8 = cache_frame_df945f75bff38cfd17d8695c138c8dc8;
// Push the new frame as the currently active one.
pushFrameStack(frame_df945f75bff38cfd17d8695c138c8dc8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_df945f75bff38cfd17d8695c138c8dc8) == 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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 627;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[144];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[143]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 627;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_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 = 627;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[126]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 627;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 627;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 627;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_writer);
tmp_called_instance_1 = par_writer;
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 628;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[129]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "oo";
goto try_except_handler_1;
}
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 628;
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 = 628;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[98]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_4;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[84]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_writer);
tmp_args_element_value_3 = par_writer;
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 629;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[81], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_writer);
tmp_expression_value_7 = par_writer;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[127]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_args_element_value_4 = mod_consts[145];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[126]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 631;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_df945f75bff38cfd17d8695c138c8dc8, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_df945f75bff38cfd17d8695c138c8dc8, 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_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_5;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
tmp_args_element_value_6 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_7 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_8 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 631;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_4;
}
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 = 631;
type_description_1 = "oo";
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_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 631;
}
if (exception_tb && exception_tb->tb_frame == &frame_df945f75bff38cfd17d8695c138c8dc8->m_frame) frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 628;
}
if (exception_tb && exception_tb->tb_frame == &frame_df945f75bff38cfd17d8695c138c8dc8->m_frame) frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_2;
// 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:;
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;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? 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_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 631;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[99]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_3:;
// 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_1;
// End of try:
try_end_3:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_5;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_df945f75bff38cfd17d8695c138c8dc8->m_frame.f_lineno = 631;
tmp_call_result_5 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[99]);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_df945f75bff38cfd17d8695c138c8dc8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_df945f75bff38cfd17d8695c138c8dc8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_df945f75bff38cfd17d8695c138c8dc8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_df945f75bff38cfd17d8695c138c8dc8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_df945f75bff38cfd17d8695c138c8dc8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_df945f75bff38cfd17d8695c138c8dc8,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_df945f75bff38cfd17d8695c138c8dc8 == cache_frame_df945f75bff38cfd17d8695c138c8dc8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_df945f75bff38cfd17d8695c138c8dc8);
cache_frame_df945f75bff38cfd17d8695c138c8dc8 = NULL;
}
assertFrameObject(frame_df945f75bff38cfd17d8695c138c8dc8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__40___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_statement = python_pars[1];
PyObject *par_line = python_pars[2];
struct Nuitka_FrameObject *frame_f551603443ed60155fd8650391353d15;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_f551603443ed60155fd8650391353d15 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f551603443ed60155fd8650391353d15)) {
Py_XDECREF(cache_frame_f551603443ed60155fd8650391353d15);
#if _DEBUG_REFCOUNTS
if (cache_frame_f551603443ed60155fd8650391353d15 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f551603443ed60155fd8650391353d15 = MAKE_FUNCTION_FRAME(codeobj_f551603443ed60155fd8650391353d15, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f551603443ed60155fd8650391353d15->m_type_description == NULL);
frame_f551603443ed60155fd8650391353d15 = cache_frame_f551603443ed60155fd8650391353d15;
// Push the new frame as the currently active one.
pushFrameStack(frame_f551603443ed60155fd8650391353d15);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f551603443ed60155fd8650391353d15) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_statement);
tmp_assattr_value_1 = par_statement;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[143], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f551603443ed60155fd8650391353d15);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f551603443ed60155fd8650391353d15);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f551603443ed60155fd8650391353d15, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f551603443ed60155fd8650391353d15->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f551603443ed60155fd8650391353d15, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f551603443ed60155fd8650391353d15,
type_description_1,
par_self,
par_statement,
par_line
);
// Release cached frame if used for exception.
if (frame_f551603443ed60155fd8650391353d15 == cache_frame_f551603443ed60155fd8650391353d15) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f551603443ed60155fd8650391353d15);
cache_frame_f551603443ed60155fd8650391353d15 = NULL;
}
assertFrameObject(frame_f551603443ed60155fd8650391353d15);
// 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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__41_generate(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_writer = python_pars[1];
struct Nuitka_FrameObject *frame_4372beb42bc5a717613f1d7bc614ce92;
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_4372beb42bc5a717613f1d7bc614ce92 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4372beb42bc5a717613f1d7bc614ce92)) {
Py_XDECREF(cache_frame_4372beb42bc5a717613f1d7bc614ce92);
#if _DEBUG_REFCOUNTS
if (cache_frame_4372beb42bc5a717613f1d7bc614ce92 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4372beb42bc5a717613f1d7bc614ce92 = MAKE_FUNCTION_FRAME(codeobj_4372beb42bc5a717613f1d7bc614ce92, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4372beb42bc5a717613f1d7bc614ce92->m_type_description == NULL);
frame_4372beb42bc5a717613f1d7bc614ce92 = cache_frame_4372beb42bc5a717613f1d7bc614ce92;
// Push the new frame as the currently active one.
pushFrameStack(frame_4372beb42bc5a717613f1d7bc614ce92);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4372beb42bc5a717613f1d7bc614ce92) == 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_args_element_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[145];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[126]);
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 = 641;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_4372beb42bc5a717613f1d7bc614ce92->m_frame.f_lineno = 641;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_writer);
tmp_expression_value_3 = par_writer;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[127]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[144];
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[143]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[126]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_writer);
tmp_called_instance_1 = par_writer;
frame_4372beb42bc5a717613f1d7bc614ce92->m_frame.f_lineno = 642;
tmp_sub_expr_left_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[146]);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_1 = mod_consts[140];
tmp_args_element_value_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_4372beb42bc5a717613f1d7bc614ce92->m_frame.f_lineno = 642;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
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 = 642;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4372beb42bc5a717613f1d7bc614ce92);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4372beb42bc5a717613f1d7bc614ce92);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4372beb42bc5a717613f1d7bc614ce92, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4372beb42bc5a717613f1d7bc614ce92->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4372beb42bc5a717613f1d7bc614ce92, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4372beb42bc5a717613f1d7bc614ce92,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_4372beb42bc5a717613f1d7bc614ce92 == cache_frame_4372beb42bc5a717613f1d7bc614ce92) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4372beb42bc5a717613f1d7bc614ce92);
cache_frame_4372beb42bc5a717613f1d7bc614ce92 = NULL;
}
assertFrameObject(frame_4372beb42bc5a717613f1d7bc614ce92);
// 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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__42___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_statement = python_pars[1];
PyObject *par_line = python_pars[2];
struct Nuitka_FrameObject *frame_ff4ddd83fae351ef0fc9ccfb25c01c23;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23)) {
Py_XDECREF(cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
#if _DEBUG_REFCOUNTS
if (cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23 = MAKE_FUNCTION_FRAME(codeobj_ff4ddd83fae351ef0fc9ccfb25c01c23, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23->m_type_description == NULL);
frame_ff4ddd83fae351ef0fc9ccfb25c01c23 = cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23;
// Push the new frame as the currently active one.
pushFrameStack(frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ff4ddd83fae351ef0fc9ccfb25c01c23) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_statement);
tmp_assattr_value_1 = par_statement;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[143], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 647;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 648;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ff4ddd83fae351ef0fc9ccfb25c01c23, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ff4ddd83fae351ef0fc9ccfb25c01c23->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ff4ddd83fae351ef0fc9ccfb25c01c23, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ff4ddd83fae351ef0fc9ccfb25c01c23,
type_description_1,
par_self,
par_statement,
par_line
);
// Release cached frame if used for exception.
if (frame_ff4ddd83fae351ef0fc9ccfb25c01c23 == cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
cache_frame_ff4ddd83fae351ef0fc9ccfb25c01c23 = NULL;
}
assertFrameObject(frame_ff4ddd83fae351ef0fc9ccfb25c01c23);
// 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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
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_statement);
Py_DECREF(par_statement);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__43_generate(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_writer = python_pars[1];
struct Nuitka_FrameObject *frame_77fb2c93c8c9bb0a1c6842e2193ec506;
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_77fb2c93c8c9bb0a1c6842e2193ec506 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506)) {
Py_XDECREF(cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506);
#if _DEBUG_REFCOUNTS
if (cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506 = MAKE_FUNCTION_FRAME(codeobj_77fb2c93c8c9bb0a1c6842e2193ec506, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506->m_type_description == NULL);
frame_77fb2c93c8c9bb0a1c6842e2193ec506 = cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506;
// Push the new frame as the currently active one.
pushFrameStack(frame_77fb2c93c8c9bb0a1c6842e2193ec506);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_77fb2c93c8c9bb0a1c6842e2193ec506) == 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;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[143]);
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 = 651;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[126]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 651;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_77fb2c93c8c9bb0a1c6842e2193ec506->m_frame.f_lineno = 651;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_77fb2c93c8c9bb0a1c6842e2193ec506);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_77fb2c93c8c9bb0a1c6842e2193ec506);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_77fb2c93c8c9bb0a1c6842e2193ec506, exception_lineno);
} else if (exception_tb->tb_frame != &frame_77fb2c93c8c9bb0a1c6842e2193ec506->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_77fb2c93c8c9bb0a1c6842e2193ec506, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_77fb2c93c8c9bb0a1c6842e2193ec506,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_77fb2c93c8c9bb0a1c6842e2193ec506 == cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506);
cache_frame_77fb2c93c8c9bb0a1c6842e2193ec506 = NULL;
}
assertFrameObject(frame_77fb2c93c8c9bb0a1c6842e2193ec506);
// 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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__44___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_expression = python_pars[1];
PyObject *par_line = python_pars[2];
PyObject *par_raw = python_pars[3];
struct Nuitka_FrameObject *frame_1450d8893d2ce42fe4e32e8fad08e1f5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5)) {
Py_XDECREF(cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5);
#if _DEBUG_REFCOUNTS
if (cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5 = MAKE_FUNCTION_FRAME(codeobj_1450d8893d2ce42fe4e32e8fad08e1f5, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5->m_type_description == NULL);
frame_1450d8893d2ce42fe4e32e8fad08e1f5 = cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5;
// Push the new frame as the currently active one.
pushFrameStack(frame_1450d8893d2ce42fe4e32e8fad08e1f5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1450d8893d2ce42fe4e32e8fad08e1f5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_expression);
tmp_assattr_value_1 = par_expression;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[147], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 656;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 657;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_raw);
tmp_assattr_value_3 = par_raw;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[148], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1450d8893d2ce42fe4e32e8fad08e1f5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1450d8893d2ce42fe4e32e8fad08e1f5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1450d8893d2ce42fe4e32e8fad08e1f5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1450d8893d2ce42fe4e32e8fad08e1f5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1450d8893d2ce42fe4e32e8fad08e1f5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1450d8893d2ce42fe4e32e8fad08e1f5,
type_description_1,
par_self,
par_expression,
par_line,
par_raw
);
// Release cached frame if used for exception.
if (frame_1450d8893d2ce42fe4e32e8fad08e1f5 == cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5);
cache_frame_1450d8893d2ce42fe4e32e8fad08e1f5 = NULL;
}
assertFrameObject(frame_1450d8893d2ce42fe4e32e8fad08e1f5);
// 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_expression);
Py_DECREF(par_expression);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_raw);
Py_DECREF(par_raw);
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_expression);
Py_DECREF(par_expression);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_raw);
Py_DECREF(par_raw);
// 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$template$$$function__45_generate(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_writer = python_pars[1];
struct Nuitka_FrameObject *frame_b859302b2ac5df945bf06a3828417bf1;
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;
static struct Nuitka_FrameObject *cache_frame_b859302b2ac5df945bf06a3828417bf1 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b859302b2ac5df945bf06a3828417bf1)) {
Py_XDECREF(cache_frame_b859302b2ac5df945bf06a3828417bf1);
#if _DEBUG_REFCOUNTS
if (cache_frame_b859302b2ac5df945bf06a3828417bf1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b859302b2ac5df945bf06a3828417bf1 = MAKE_FUNCTION_FRAME(codeobj_b859302b2ac5df945bf06a3828417bf1, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b859302b2ac5df945bf06a3828417bf1->m_type_description == NULL);
frame_b859302b2ac5df945bf06a3828417bf1 = cache_frame_b859302b2ac5df945bf06a3828417bf1;
// Push the new frame as the currently active one.
pushFrameStack(frame_b859302b2ac5df945bf06a3828417bf1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b859302b2ac5df945bf06a3828417bf1) == 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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_writer);
tmp_expression_value_1 = par_writer;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[149];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[147]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 661;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_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 = 661;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[126]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 661;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b859302b2ac5df945bf06a3828417bf1->m_frame.f_lineno = 661;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_writer);
tmp_expression_value_4 = par_writer;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[127]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[150];
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[126]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 664;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b859302b2ac5df945bf06a3828417bf1->m_frame.f_lineno = 662;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_writer);
tmp_expression_value_6 = par_writer;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[127]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = mod_consts[151];
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[126]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 666;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b859302b2ac5df945bf06a3828417bf1->m_frame.f_lineno = 666;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
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 = 666;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
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_8;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[148]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 667;
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 = 667;
type_description_1 = "oo";
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_writer);
tmp_expression_value_10 = par_writer;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[152]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 667;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[25]);
Py_DECREF(tmp_expression_value_9);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 667;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_right_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_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_called_value_4;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_7;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(par_writer);
tmp_expression_value_11 = par_writer;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[127]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 670;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_2 = mod_consts[153];
CHECK_OBJECT(par_writer);
tmp_expression_value_13 = par_writer;
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[152]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 671;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[25]);
Py_DECREF(tmp_expression_value_12);
if (tmp_mod_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 671;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 671;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[126]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_7);
exception_lineno = 672;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b859302b2ac5df945bf06a3828417bf1->m_frame.f_lineno = 670;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_7);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 670;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_1:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_15;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(par_writer);
tmp_expression_value_15 = par_writer;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[127]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 674;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_9 = mod_consts[154];
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_args_element_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[126]);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 674;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b859302b2ac5df945bf06a3828417bf1->m_frame.f_lineno = 674;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_10);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 674;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b859302b2ac5df945bf06a3828417bf1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b859302b2ac5df945bf06a3828417bf1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b859302b2ac5df945bf06a3828417bf1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b859302b2ac5df945bf06a3828417bf1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b859302b2ac5df945bf06a3828417bf1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b859302b2ac5df945bf06a3828417bf1,
type_description_1,
par_self,
par_writer
);
// Release cached frame if used for exception.
if (frame_b859302b2ac5df945bf06a3828417bf1 == cache_frame_b859302b2ac5df945bf06a3828417bf1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b859302b2ac5df945bf06a3828417bf1);
cache_frame_b859302b2ac5df945bf06a3828417bf1 = NULL;
}
assertFrameObject(frame_b859302b2ac5df945bf06a3828417bf1);
// 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_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__46___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_expression = python_pars[1];
PyObject *par_line = python_pars[2];
struct Nuitka_FrameObject *frame_b8e88beb10e8e4c9320f1e78cd52d451;
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_b8e88beb10e8e4c9320f1e78cd52d451 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b8e88beb10e8e4c9320f1e78cd52d451)) {
Py_XDECREF(cache_frame_b8e88beb10e8e4c9320f1e78cd52d451);
#if _DEBUG_REFCOUNTS
if (cache_frame_b8e88beb10e8e4c9320f1e78cd52d451 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b8e88beb10e8e4c9320f1e78cd52d451 = MAKE_FUNCTION_FRAME(codeobj_b8e88beb10e8e4c9320f1e78cd52d451, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b8e88beb10e8e4c9320f1e78cd52d451->m_type_description == NULL);
frame_b8e88beb10e8e4c9320f1e78cd52d451 = cache_frame_b8e88beb10e8e4c9320f1e78cd52d451;
// Push the new frame as the currently active one.
pushFrameStack(frame_b8e88beb10e8e4c9320f1e78cd52d451);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b8e88beb10e8e4c9320f1e78cd52d451) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_kwargs_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[106]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 679;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER0(moduledict_tornado$template, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 679;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[107]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 679;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = mod_consts[155];
CHECK_OBJECT(par_expression);
tmp_add_expr_right_1 = par_expression;
tmp_tuple_element_1 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 679;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_line);
tmp_tuple_element_1 = par_line;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[156]);
frame_b8e88beb10e8e4c9320f1e78cd52d451->m_frame.f_lineno = 679;
tmp_call_result_1 = 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_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 679;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b8e88beb10e8e4c9320f1e78cd52d451);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b8e88beb10e8e4c9320f1e78cd52d451);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b8e88beb10e8e4c9320f1e78cd52d451, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b8e88beb10e8e4c9320f1e78cd52d451->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b8e88beb10e8e4c9320f1e78cd52d451, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b8e88beb10e8e4c9320f1e78cd52d451,
type_description_1,
par_self,
par_expression,
par_line,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_b8e88beb10e8e4c9320f1e78cd52d451 == cache_frame_b8e88beb10e8e4c9320f1e78cd52d451) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b8e88beb10e8e4c9320f1e78cd52d451);
cache_frame_b8e88beb10e8e4c9320f1e78cd52d451 = NULL;
}
assertFrameObject(frame_b8e88beb10e8e4c9320f1e78cd52d451);
// 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_expression);
Py_DECREF(par_expression);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
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_expression);
Py_DECREF(par_expression);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__47___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];
PyObject *par_line = python_pars[2];
PyObject *par_whitespace = python_pars[3];
struct Nuitka_FrameObject *frame_666cf2fbcdc781088537b550a79e5870;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_666cf2fbcdc781088537b550a79e5870 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_666cf2fbcdc781088537b550a79e5870)) {
Py_XDECREF(cache_frame_666cf2fbcdc781088537b550a79e5870);
#if _DEBUG_REFCOUNTS
if (cache_frame_666cf2fbcdc781088537b550a79e5870 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_666cf2fbcdc781088537b550a79e5870 = MAKE_FUNCTION_FRAME(codeobj_666cf2fbcdc781088537b550a79e5870, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_666cf2fbcdc781088537b550a79e5870->m_type_description == NULL);
frame_666cf2fbcdc781088537b550a79e5870 = cache_frame_666cf2fbcdc781088537b550a79e5870;
// Push the new frame as the currently active one.
pushFrameStack(frame_666cf2fbcdc781088537b550a79e5870);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_666cf2fbcdc781088537b550a79e5870) == 2); // Frame stack
// Framed code:
{
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[157], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 684;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_line);
tmp_assattr_value_2 = par_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[126], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_whitespace);
tmp_assattr_value_3 = par_whitespace;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[17], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 686;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_666cf2fbcdc781088537b550a79e5870);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_666cf2fbcdc781088537b550a79e5870);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_666cf2fbcdc781088537b550a79e5870, exception_lineno);
} else if (exception_tb->tb_frame != &frame_666cf2fbcdc781088537b550a79e5870->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_666cf2fbcdc781088537b550a79e5870, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_666cf2fbcdc781088537b550a79e5870,
type_description_1,
par_self,
par_value,
par_line,
par_whitespace
);
// Release cached frame if used for exception.
if (frame_666cf2fbcdc781088537b550a79e5870 == cache_frame_666cf2fbcdc781088537b550a79e5870) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_666cf2fbcdc781088537b550a79e5870);
cache_frame_666cf2fbcdc781088537b550a79e5870 = NULL;
}
assertFrameObject(frame_666cf2fbcdc781088537b550a79e5870);
// 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);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
// 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$template$$$function__48_generate(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_writer = python_pars[1];
PyObject *var_value = NULL;
struct Nuitka_FrameObject *frame_4c0e8307b8e175b9b853ac4740c8bb06;
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_4c0e8307b8e175b9b853ac4740c8bb06 = 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_4c0e8307b8e175b9b853ac4740c8bb06)) {
Py_XDECREF(cache_frame_4c0e8307b8e175b9b853ac4740c8bb06);
#if _DEBUG_REFCOUNTS
if (cache_frame_4c0e8307b8e175b9b853ac4740c8bb06 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4c0e8307b8e175b9b853ac4740c8bb06 = MAKE_FUNCTION_FRAME(codeobj_4c0e8307b8e175b9b853ac4740c8bb06, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4c0e8307b8e175b9b853ac4740c8bb06->m_type_description == NULL);
frame_4c0e8307b8e175b9b853ac4740c8bb06 = cache_frame_4c0e8307b8e175b9b853ac4740c8bb06;
// Push the new frame as the currently active one.
pushFrameStack(frame_4c0e8307b8e175b9b853ac4740c8bb06);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4c0e8307b8e175b9b853ac4740c8bb06) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[157]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 689;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_value == NULL);
var_value = 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 = mod_consts[158];
CHECK_OBJECT(var_value);
tmp_cmp_expr_right_1 = var_value;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 693;
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:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_value);
tmp_args_element_value_2 = var_value;
frame_4c0e8307b8e175b9b853ac4740c8bb06->m_frame.f_lineno = 694;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_value;
assert(old != NULL);
var_value = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_value);
tmp_truth_name_1 = CHECK_IF_TRUE(var_value);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_writer);
tmp_expression_value_3 = par_writer;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[127]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[159];
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
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 = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_value);
tmp_args_element_value_4 = var_value;
frame_4c0e8307b8e175b9b853ac4740c8bb06->m_frame.f_lineno = 697;
tmp_mod_expr_right_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[53], tmp_args_element_value_4);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[126]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4c0e8307b8e175b9b853ac4740c8bb06->m_frame.f_lineno = 697;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_5};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 697;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4c0e8307b8e175b9b853ac4740c8bb06);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4c0e8307b8e175b9b853ac4740c8bb06);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4c0e8307b8e175b9b853ac4740c8bb06, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4c0e8307b8e175b9b853ac4740c8bb06->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4c0e8307b8e175b9b853ac4740c8bb06, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4c0e8307b8e175b9b853ac4740c8bb06,
type_description_1,
par_self,
par_writer,
var_value
);
// Release cached frame if used for exception.
if (frame_4c0e8307b8e175b9b853ac4740c8bb06 == cache_frame_4c0e8307b8e175b9b853ac4740c8bb06) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4c0e8307b8e175b9b853ac4740c8bb06);
cache_frame_4c0e8307b8e175b9b853ac4740c8bb06 = NULL;
}
assertFrameObject(frame_4c0e8307b8e175b9b853ac4740c8bb06);
// 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_value);
var_value = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_value);
var_value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writer);
Py_DECREF(par_writer);
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_writer);
Py_DECREF(par_writer);
// 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$template$$$function__49___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_message = python_pars[1];
PyObject *par_filename = python_pars[2];
PyObject *par_lineno = python_pars[3];
struct Nuitka_FrameObject *frame_5152fbe651a757013248371bcc8552a2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_5152fbe651a757013248371bcc8552a2 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_5152fbe651a757013248371bcc8552a2)) {
Py_XDECREF(cache_frame_5152fbe651a757013248371bcc8552a2);
#if _DEBUG_REFCOUNTS
if (cache_frame_5152fbe651a757013248371bcc8552a2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5152fbe651a757013248371bcc8552a2 = MAKE_FUNCTION_FRAME(codeobj_5152fbe651a757013248371bcc8552a2, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5152fbe651a757013248371bcc8552a2->m_type_description == NULL);
frame_5152fbe651a757013248371bcc8552a2 = cache_frame_5152fbe651a757013248371bcc8552a2;
// Push the new frame as the currently active one.
pushFrameStack(frame_5152fbe651a757013248371bcc8552a2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5152fbe651a757013248371bcc8552a2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_message);
tmp_assattr_value_1 = par_message;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[160], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 713;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_filename);
tmp_assattr_value_2 = par_filename;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[161], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_lineno);
tmp_assattr_value_3 = par_lineno;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[162], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5152fbe651a757013248371bcc8552a2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5152fbe651a757013248371bcc8552a2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5152fbe651a757013248371bcc8552a2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5152fbe651a757013248371bcc8552a2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5152fbe651a757013248371bcc8552a2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5152fbe651a757013248371bcc8552a2,
type_description_1,
par_self,
par_message,
par_filename,
par_lineno
);
// Release cached frame if used for exception.
if (frame_5152fbe651a757013248371bcc8552a2 == cache_frame_5152fbe651a757013248371bcc8552a2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5152fbe651a757013248371bcc8552a2);
cache_frame_5152fbe651a757013248371bcc8552a2 = NULL;
}
assertFrameObject(frame_5152fbe651a757013248371bcc8552a2);
// 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_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
CHECK_OBJECT(par_lineno);
Py_DECREF(par_lineno);
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_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
CHECK_OBJECT(par_lineno);
Py_DECREF(par_lineno);
// 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$template$$$function__50___str__(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_860ca7e9e4b10242913823baed7c24de;
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_860ca7e9e4b10242913823baed7c24de = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_860ca7e9e4b10242913823baed7c24de)) {
Py_XDECREF(cache_frame_860ca7e9e4b10242913823baed7c24de);
#if _DEBUG_REFCOUNTS
if (cache_frame_860ca7e9e4b10242913823baed7c24de == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_860ca7e9e4b10242913823baed7c24de = MAKE_FUNCTION_FRAME(codeobj_860ca7e9e4b10242913823baed7c24de, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_860ca7e9e4b10242913823baed7c24de->m_type_description == NULL);
frame_860ca7e9e4b10242913823baed7c24de = cache_frame_860ca7e9e4b10242913823baed7c24de;
// Push the new frame as the currently active one.
pushFrameStack(frame_860ca7e9e4b10242913823baed7c24de);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_860ca7e9e4b10242913823baed7c24de) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
tmp_mod_expr_left_1 = mod_consts[163];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[160]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[161]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[162]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = 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_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_860ca7e9e4b10242913823baed7c24de);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_860ca7e9e4b10242913823baed7c24de);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_860ca7e9e4b10242913823baed7c24de);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_860ca7e9e4b10242913823baed7c24de, exception_lineno);
} else if (exception_tb->tb_frame != &frame_860ca7e9e4b10242913823baed7c24de->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_860ca7e9e4b10242913823baed7c24de, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_860ca7e9e4b10242913823baed7c24de,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_860ca7e9e4b10242913823baed7c24de == cache_frame_860ca7e9e4b10242913823baed7c24de) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_860ca7e9e4b10242913823baed7c24de);
cache_frame_860ca7e9e4b10242913823baed7c24de = NULL;
}
assertFrameObject(frame_860ca7e9e4b10242913823baed7c24de);
// 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$template$$$function__51___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_file = python_pars[1];
PyObject *par_named_blocks = python_pars[2];
PyObject *par_loader = python_pars[3];
PyObject *par_current_template = python_pars[4];
struct Nuitka_FrameObject *frame_616e5df75ca32f550cad11c89cea1f53;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_616e5df75ca32f550cad11c89cea1f53 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_616e5df75ca32f550cad11c89cea1f53)) {
Py_XDECREF(cache_frame_616e5df75ca32f550cad11c89cea1f53);
#if _DEBUG_REFCOUNTS
if (cache_frame_616e5df75ca32f550cad11c89cea1f53 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_616e5df75ca32f550cad11c89cea1f53 = MAKE_FUNCTION_FRAME(codeobj_616e5df75ca32f550cad11c89cea1f53, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_616e5df75ca32f550cad11c89cea1f53->m_type_description == NULL);
frame_616e5df75ca32f550cad11c89cea1f53 = cache_frame_616e5df75ca32f550cad11c89cea1f53;
// Push the new frame as the currently active one.
pushFrameStack(frame_616e5df75ca32f550cad11c89cea1f53);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_616e5df75ca32f550cad11c89cea1f53) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_file);
tmp_assattr_value_1 = par_file;
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);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 731;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_named_blocks);
tmp_assattr_value_2 = par_named_blocks;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[77], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 732;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_loader);
tmp_assattr_value_3 = par_loader;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[18], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 733;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_current_template);
tmp_assattr_value_4 = par_current_template;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[152], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 734;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = mod_consts[79];
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[139], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 735;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = MAKE_LIST_EMPTY(0);
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[164], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 736;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = mod_consts[79];
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[165], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 737;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_616e5df75ca32f550cad11c89cea1f53);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_616e5df75ca32f550cad11c89cea1f53);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_616e5df75ca32f550cad11c89cea1f53, exception_lineno);
} else if (exception_tb->tb_frame != &frame_616e5df75ca32f550cad11c89cea1f53->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_616e5df75ca32f550cad11c89cea1f53, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_616e5df75ca32f550cad11c89cea1f53,
type_description_1,
par_self,
par_file,
par_named_blocks,
par_loader,
par_current_template
);
// Release cached frame if used for exception.
if (frame_616e5df75ca32f550cad11c89cea1f53 == cache_frame_616e5df75ca32f550cad11c89cea1f53) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_616e5df75ca32f550cad11c89cea1f53);
cache_frame_616e5df75ca32f550cad11c89cea1f53 = NULL;
}
assertFrameObject(frame_616e5df75ca32f550cad11c89cea1f53);
// 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_file);
Py_DECREF(par_file);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
CHECK_OBJECT(par_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_current_template);
Py_DECREF(par_current_template);
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_file);
Py_DECREF(par_file);
CHECK_OBJECT(par_named_blocks);
Py_DECREF(par_named_blocks);
CHECK_OBJECT(par_loader);
Py_DECREF(par_loader);
CHECK_OBJECT(par_current_template);
Py_DECREF(par_current_template);
// 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$template$$$function__52_indent_size(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_f265cf786da53478eef46cd925b36916;
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_f265cf786da53478eef46cd925b36916 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f265cf786da53478eef46cd925b36916)) {
Py_XDECREF(cache_frame_f265cf786da53478eef46cd925b36916);
#if _DEBUG_REFCOUNTS
if (cache_frame_f265cf786da53478eef46cd925b36916 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f265cf786da53478eef46cd925b36916 = MAKE_FUNCTION_FRAME(codeobj_f265cf786da53478eef46cd925b36916, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f265cf786da53478eef46cd925b36916->m_type_description == NULL);
frame_f265cf786da53478eef46cd925b36916 = cache_frame_f265cf786da53478eef46cd925b36916;
// Push the new frame as the currently active one.
pushFrameStack(frame_f265cf786da53478eef46cd925b36916);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f265cf786da53478eef46cd925b36916) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[165]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f265cf786da53478eef46cd925b36916);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f265cf786da53478eef46cd925b36916);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f265cf786da53478eef46cd925b36916);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f265cf786da53478eef46cd925b36916, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f265cf786da53478eef46cd925b36916->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f265cf786da53478eef46cd925b36916, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f265cf786da53478eef46cd925b36916,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_f265cf786da53478eef46cd925b36916 == cache_frame_f265cf786da53478eef46cd925b36916) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f265cf786da53478eef46cd925b36916);
cache_frame_f265cf786da53478eef46cd925b36916 = NULL;
}
assertFrameObject(frame_f265cf786da53478eef46cd925b36916);
// 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$template$$$function__53_indent(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 *var_Indenter = NULL;
PyObject *outline_0_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
struct Nuitka_FrameObject *frame_293cc725e21c64f580366b474d4e08eb;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
bool tmp_result;
PyObject *locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_fb940a74d8677e27e87d4de72a35c349_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_fb940a74d8677e27e87d4de72a35c349_2 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_293cc725e21c64f580366b474d4e08eb = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_293cc725e21c64f580366b474d4e08eb)) {
Py_XDECREF(cache_frame_293cc725e21c64f580366b474d4e08eb);
#if _DEBUG_REFCOUNTS
if (cache_frame_293cc725e21c64f580366b474d4e08eb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_293cc725e21c64f580366b474d4e08eb = MAKE_FUNCTION_FRAME(codeobj_293cc725e21c64f580366b474d4e08eb, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_293cc725e21c64f580366b474d4e08eb->m_type_description == NULL);
frame_293cc725e21c64f580366b474d4e08eb = cache_frame_293cc725e21c64f580366b474d4e08eb;
// Push the new frame as the currently active one.
pushFrameStack(frame_293cc725e21c64f580366b474d4e08eb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_293cc725e21c64f580366b474d4e08eb) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_1 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[167];
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 = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_1 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[79];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
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 = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
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_3 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_3;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_2, mod_consts[168]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_3 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[168]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
tmp_tuple_element_1 = mod_consts[169];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_1 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_293cc725e21c64f580366b474d4e08eb->m_frame.f_lineno = 743;
tmp_assign_source_4 = 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_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_4;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_4 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[170]);
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 = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[56];
tmp_getattr_default_1 = mod_consts[172];
tmp_tuple_element_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_5 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_5 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[56]);
Py_DECREF(tmp_expression_value_5);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 743;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
type_description_1 = "co";
goto try_except_handler_2;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_5;
}
branch_end_2:;
{
PyObject *tmp_assign_source_6;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_4;
}
tmp_dictset_value = mod_consts[175];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_4;
}
if (isFrameUnusable(cache_frame_fb940a74d8677e27e87d4de72a35c349_2)) {
Py_XDECREF(cache_frame_fb940a74d8677e27e87d4de72a35c349_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_fb940a74d8677e27e87d4de72a35c349_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fb940a74d8677e27e87d4de72a35c349_2 = MAKE_CLASS_FRAME(codeobj_fb940a74d8677e27e87d4de72a35c349, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fb940a74d8677e27e87d4de72a35c349_2->m_type_description == NULL);
frame_fb940a74d8677e27e87d4de72a35c349_2 = cache_frame_fb940a74d8677e27e87d4de72a35c349_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_fb940a74d8677e27e87d4de72a35c349_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fb940a74d8677e27e87d4de72a35c349_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_annotations_1 = DICT_COPY(mod_consts[177]);
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__1___enter__(tmp_annotations_1, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[97], 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 = 744;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_dict_key_1 = mod_consts[179];
tmp_dict_value_1 = PyObject_GetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[180]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 748;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_1);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[181];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_closure_2[0] = par_self;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__2___exit__(tmp_annotations_2, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[98], 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 = 748;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fb940a74d8677e27e87d4de72a35c349_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_fb940a74d8677e27e87d4de72a35c349_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fb940a74d8677e27e87d4de72a35c349_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fb940a74d8677e27e87d4de72a35c349_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fb940a74d8677e27e87d4de72a35c349_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fb940a74d8677e27e87d4de72a35c349_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_fb940a74d8677e27e87d4de72a35c349_2 == cache_frame_fb940a74d8677e27e87d4de72a35c349_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fb940a74d8677e27e87d4de72a35c349_2);
cache_frame_fb940a74d8677e27e87d4de72a35c349_2 = NULL;
}
assertFrameObject(frame_fb940a74d8677e27e87d4de72a35c349_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:;
type_description_1 = "co";
goto try_except_handler_4;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[166];
tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_4;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_4;
}
branch_no_4:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = mod_consts[169];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 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_2, 1, tmp_tuple_element_3);
tmp_tuple_element_3 = locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_293cc725e21c64f580366b474d4e08eb->m_frame.f_lineno = 743;
tmp_assign_source_7 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 743;
type_description_1 = "co";
goto try_except_handler_4;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_7;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_6 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_6);
goto try_return_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
Py_DECREF(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743);
locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743 = NULL;
goto try_return_handler_3;
// 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_DECREF(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743);
locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
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_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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 743;
goto try_except_handler_2;
outline_result_1:;
assert(var_Indenter == NULL);
var_Indenter = tmp_assign_source_6;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_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_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
{
PyObject *tmp_called_value_3;
CHECK_OBJECT(var_Indenter);
tmp_called_value_3 = var_Indenter;
frame_293cc725e21c64f580366b474d4e08eb->m_frame.f_lineno = 752;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 752;
type_description_1 = "co";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_293cc725e21c64f580366b474d4e08eb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_293cc725e21c64f580366b474d4e08eb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_293cc725e21c64f580366b474d4e08eb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_293cc725e21c64f580366b474d4e08eb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_293cc725e21c64f580366b474d4e08eb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_293cc725e21c64f580366b474d4e08eb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_293cc725e21c64f580366b474d4e08eb,
type_description_1,
par_self,
var_Indenter
);
// Release cached frame if used for exception.
if (frame_293cc725e21c64f580366b474d4e08eb == cache_frame_293cc725e21c64f580366b474d4e08eb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_293cc725e21c64f580366b474d4e08eb);
cache_frame_293cc725e21c64f580366b474d4e08eb = NULL;
}
assertFrameObject(frame_293cc725e21c64f580366b474d4e08eb);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_Indenter);
Py_DECREF(var_Indenter);
var_Indenter = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_Indenter);
var_Indenter = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
Py_XDECREF(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743);
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.
Py_XDECREF(locals_tornado$template$$$function__53_indent$$$class__1_Indenter_743);
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$template$$$function__53_indent$$$function__1___enter__(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];
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_c228515917d17455d031b06b64002baf;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_c228515917d17455d031b06b64002baf = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c228515917d17455d031b06b64002baf)) {
Py_XDECREF(cache_frame_c228515917d17455d031b06b64002baf);
#if _DEBUG_REFCOUNTS
if (cache_frame_c228515917d17455d031b06b64002baf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c228515917d17455d031b06b64002baf = MAKE_FUNCTION_FRAME(codeobj_c228515917d17455d031b06b64002baf, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c228515917d17455d031b06b64002baf->m_type_description == NULL);
frame_c228515917d17455d031b06b64002baf = cache_frame_c228515917d17455d031b06b64002baf;
// Push the new frame as the currently active one.
pushFrameStack(frame_c228515917d17455d031b06b64002baf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c228515917d17455d031b06b64002baf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 745;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[165]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
tmp_iadd_expr_right_1 = mod_consts[140];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "oc";
goto try_except_handler_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 745;
type_description_1 = "oc";
goto try_except_handler_1;
}
tmp_assattr_target_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[165], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 745;
type_description_1 = "oc";
goto try_except_handler_1;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 746;
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_c228515917d17455d031b06b64002baf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c228515917d17455d031b06b64002baf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c228515917d17455d031b06b64002baf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c228515917d17455d031b06b64002baf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c228515917d17455d031b06b64002baf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c228515917d17455d031b06b64002baf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c228515917d17455d031b06b64002baf,
type_description_1,
par__,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_c228515917d17455d031b06b64002baf == cache_frame_c228515917d17455d031b06b64002baf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c228515917d17455d031b06b64002baf);
cache_frame_c228515917d17455d031b06b64002baf = NULL;
}
assertFrameObject(frame_c228515917d17455d031b06b64002baf);
// 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$template$$$function__53_indent$$$function__2___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par__ = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_3d96d8355e278690f0ea7fa13031979d;
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;
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_3d96d8355e278690f0ea7fa13031979d = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3d96d8355e278690f0ea7fa13031979d)) {
Py_XDECREF(cache_frame_3d96d8355e278690f0ea7fa13031979d);
#if _DEBUG_REFCOUNTS
if (cache_frame_3d96d8355e278690f0ea7fa13031979d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3d96d8355e278690f0ea7fa13031979d = MAKE_FUNCTION_FRAME(codeobj_3d96d8355e278690f0ea7fa13031979d, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3d96d8355e278690f0ea7fa13031979d->m_type_description == NULL);
frame_3d96d8355e278690f0ea7fa13031979d = cache_frame_3d96d8355e278690f0ea7fa13031979d;
// Push the new frame as the currently active one.
pushFrameStack(frame_3d96d8355e278690f0ea7fa13031979d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3d96d8355e278690f0ea7fa13031979d) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 749;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[165]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 749;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[79];
tmp_operand_value_1 = RICH_COMPARE_GT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 749;
type_description_1 = "ooc";
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 = 749;
type_description_1 = "ooc";
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_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 749;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_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[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 750;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[165]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 750;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_isub_expr_left_1 = tmp_inplace_assign_1__value;
tmp_isub_expr_right_1 = mod_consts[140];
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 750;
type_description_1 = "ooc";
goto try_except_handler_1;
}
tmp_assign_source_2 = tmp_isub_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 750;
type_description_1 = "ooc";
goto try_except_handler_1;
}
tmp_assattr_target_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[165], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 750;
type_description_1 = "ooc";
goto try_except_handler_1;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3d96d8355e278690f0ea7fa13031979d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3d96d8355e278690f0ea7fa13031979d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3d96d8355e278690f0ea7fa13031979d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3d96d8355e278690f0ea7fa13031979d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3d96d8355e278690f0ea7fa13031979d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3d96d8355e278690f0ea7fa13031979d,
type_description_1,
par__,
par_args,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_3d96d8355e278690f0ea7fa13031979d == cache_frame_3d96d8355e278690f0ea7fa13031979d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3d96d8355e278690f0ea7fa13031979d);
cache_frame_3d96d8355e278690f0ea7fa13031979d = NULL;
}
assertFrameObject(frame_3d96d8355e278690f0ea7fa13031979d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
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__);
Py_DECREF(par__);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
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__);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
// 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$template$$$function__54_include(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_template = python_pars[1];
PyObject *par_line = python_pars[2];
PyObject *var_IncludeTemplate = NULL;
PyObject *outline_0_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
struct Nuitka_FrameObject *frame_e8a763bcaba7f7c992d03a95dccc55a9;
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;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_e082e2333558aea8c707d6ee9375b19d_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_e082e2333558aea8c707d6ee9375b19d_2 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_e8a763bcaba7f7c992d03a95dccc55a9 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_e8a763bcaba7f7c992d03a95dccc55a9)) {
Py_XDECREF(cache_frame_e8a763bcaba7f7c992d03a95dccc55a9);
#if _DEBUG_REFCOUNTS
if (cache_frame_e8a763bcaba7f7c992d03a95dccc55a9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e8a763bcaba7f7c992d03a95dccc55a9 = MAKE_FUNCTION_FRAME(codeobj_e8a763bcaba7f7c992d03a95dccc55a9, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e8a763bcaba7f7c992d03a95dccc55a9->m_type_description == NULL);
frame_e8a763bcaba7f7c992d03a95dccc55a9 = cache_frame_e8a763bcaba7f7c992d03a95dccc55a9;
// Push the new frame as the currently active one.
pushFrameStack(frame_e8a763bcaba7f7c992d03a95dccc55a9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e8a763bcaba7f7c992d03a95dccc55a9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_2 = Nuitka_Cell_GET(par_self);
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[164]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 755;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[184]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 755;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_3 = Nuitka_Cell_GET(par_self);
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[152]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 755;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_args_element_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_line);
tmp_tuple_element_1 = par_line;
PyTuple_SET_ITEM0(tmp_args_element_value_1, 1, tmp_tuple_element_1);
frame_e8a763bcaba7f7c992d03a95dccc55a9->m_frame.f_lineno = 755;
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 = 755;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_template);
tmp_assattr_value_1 = par_template;
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[152], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 756;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
}
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_1 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[167];
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 = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_4 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[79];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
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 = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
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_3 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_3;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_5 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_5, mod_consts[168]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_6 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[168]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_tuple_element_2 = mod_consts[185];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_2 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_e8a763bcaba7f7c992d03a95dccc55a9->m_frame.f_lineno = 758;
tmp_assign_source_4 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_4;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_7 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[170]);
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 = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_3;
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[171];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[56];
tmp_getattr_default_1 = mod_consts[172];
tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_8;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_8 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_8 == NULL));
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[56]);
Py_DECREF(tmp_expression_value_8);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 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_mod_expr_right_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 758;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
type_description_1 = "cooo";
goto try_except_handler_2;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_5;
}
branch_end_2:;
{
PyObject *tmp_assign_source_6;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_4;
}
tmp_dictset_value = mod_consts[186];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_4;
}
if (isFrameUnusable(cache_frame_e082e2333558aea8c707d6ee9375b19d_2)) {
Py_XDECREF(cache_frame_e082e2333558aea8c707d6ee9375b19d_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_e082e2333558aea8c707d6ee9375b19d_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e082e2333558aea8c707d6ee9375b19d_2 = MAKE_CLASS_FRAME(codeobj_e082e2333558aea8c707d6ee9375b19d, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e082e2333558aea8c707d6ee9375b19d_2->m_type_description == NULL);
frame_e082e2333558aea8c707d6ee9375b19d_2 = cache_frame_e082e2333558aea8c707d6ee9375b19d_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_e082e2333558aea8c707d6ee9375b19d_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e082e2333558aea8c707d6ee9375b19d_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_annotations_1 = DICT_COPY(mod_consts[177]);
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__1___enter__(tmp_annotations_1, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[97], 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 = 759;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_dict_key_1 = mod_consts[179];
tmp_dict_value_1 = PyObject_GetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[180]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 762;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_1);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[181];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_closure_2[0] = par_self;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__2___exit__(tmp_annotations_2, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[98], 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 = 762;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e082e2333558aea8c707d6ee9375b19d_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_e082e2333558aea8c707d6ee9375b19d_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e082e2333558aea8c707d6ee9375b19d_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e082e2333558aea8c707d6ee9375b19d_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e082e2333558aea8c707d6ee9375b19d_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e082e2333558aea8c707d6ee9375b19d_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_e082e2333558aea8c707d6ee9375b19d_2 == cache_frame_e082e2333558aea8c707d6ee9375b19d_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e082e2333558aea8c707d6ee9375b19d_2);
cache_frame_e082e2333558aea8c707d6ee9375b19d_2 = NULL;
}
assertFrameObject(frame_e082e2333558aea8c707d6ee9375b19d_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:;
type_description_1 = "cooo";
goto try_except_handler_4;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[166];
tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_4;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_4;
}
branch_no_4:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_3;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_3 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = mod_consts[185];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_4 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_e8a763bcaba7f7c992d03a95dccc55a9->m_frame.f_lineno = 758;
tmp_assign_source_7 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "cooo";
goto try_except_handler_4;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_7;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_6 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_6);
goto try_return_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
Py_DECREF(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758);
locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758 = NULL;
goto try_return_handler_3;
// 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_DECREF(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758);
locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
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_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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 758;
goto try_except_handler_2;
outline_result_1:;
assert(var_IncludeTemplate == NULL);
var_IncludeTemplate = tmp_assign_source_6;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_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_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
{
PyObject *tmp_called_value_4;
CHECK_OBJECT(var_IncludeTemplate);
tmp_called_value_4 = var_IncludeTemplate;
frame_e8a763bcaba7f7c992d03a95dccc55a9->m_frame.f_lineno = 765;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 765;
type_description_1 = "cooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e8a763bcaba7f7c992d03a95dccc55a9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e8a763bcaba7f7c992d03a95dccc55a9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e8a763bcaba7f7c992d03a95dccc55a9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e8a763bcaba7f7c992d03a95dccc55a9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e8a763bcaba7f7c992d03a95dccc55a9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e8a763bcaba7f7c992d03a95dccc55a9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e8a763bcaba7f7c992d03a95dccc55a9,
type_description_1,
par_self,
par_template,
par_line,
var_IncludeTemplate
);
// Release cached frame if used for exception.
if (frame_e8a763bcaba7f7c992d03a95dccc55a9 == cache_frame_e8a763bcaba7f7c992d03a95dccc55a9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e8a763bcaba7f7c992d03a95dccc55a9);
cache_frame_e8a763bcaba7f7c992d03a95dccc55a9 = NULL;
}
assertFrameObject(frame_e8a763bcaba7f7c992d03a95dccc55a9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_IncludeTemplate);
Py_DECREF(var_IncludeTemplate);
var_IncludeTemplate = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_IncludeTemplate);
var_IncludeTemplate = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
Py_XDECREF(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758);
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
Py_XDECREF(locals_tornado$template$$$function__54_include$$$class__1_IncludeTemplate_758);
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
// 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$template$$$function__54_include$$$function__1___enter__(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_91c76306442ce229296e4bd7b94b77be;
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_91c76306442ce229296e4bd7b94b77be = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_91c76306442ce229296e4bd7b94b77be)) {
Py_XDECREF(cache_frame_91c76306442ce229296e4bd7b94b77be);
#if _DEBUG_REFCOUNTS
if (cache_frame_91c76306442ce229296e4bd7b94b77be == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_91c76306442ce229296e4bd7b94b77be = MAKE_FUNCTION_FRAME(codeobj_91c76306442ce229296e4bd7b94b77be, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_91c76306442ce229296e4bd7b94b77be->m_type_description == NULL);
frame_91c76306442ce229296e4bd7b94b77be = cache_frame_91c76306442ce229296e4bd7b94b77be;
// Push the new frame as the currently active one.
pushFrameStack(frame_91c76306442ce229296e4bd7b94b77be);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_91c76306442ce229296e4bd7b94b77be) == 2); // Frame stack
// Framed code:
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 760;
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_91c76306442ce229296e4bd7b94b77be);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_91c76306442ce229296e4bd7b94b77be);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_91c76306442ce229296e4bd7b94b77be);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_91c76306442ce229296e4bd7b94b77be, exception_lineno);
} else if (exception_tb->tb_frame != &frame_91c76306442ce229296e4bd7b94b77be->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_91c76306442ce229296e4bd7b94b77be, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_91c76306442ce229296e4bd7b94b77be,
type_description_1,
par__,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_91c76306442ce229296e4bd7b94b77be == cache_frame_91c76306442ce229296e4bd7b94b77be) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_91c76306442ce229296e4bd7b94b77be);
cache_frame_91c76306442ce229296e4bd7b94b77be = NULL;
}
assertFrameObject(frame_91c76306442ce229296e4bd7b94b77be);
// 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$template$$$function__54_include$$$function__2___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par__ = python_pars[0];
PyObject *par_args = python_pars[1];
struct Nuitka_FrameObject *frame_1b70ce3b4bd8dcfb2103347bf31f71e5;
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_1b70ce3b4bd8dcfb2103347bf31f71e5 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5)) {
Py_XDECREF(cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
#if _DEBUG_REFCOUNTS
if (cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5 = MAKE_FUNCTION_FRAME(codeobj_1b70ce3b4bd8dcfb2103347bf31f71e5, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5->m_type_description == NULL);
frame_1b70ce3b4bd8dcfb2103347bf31f71e5 = cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5;
// Push the new frame as the currently active one.
pushFrameStack(frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1b70ce3b4bd8dcfb2103347bf31f71e5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_assattr_target_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[164]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[189]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_1b70ce3b4bd8dcfb2103347bf31f71e5->m_frame.f_lineno = 763;
tmp_expression_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[79];
tmp_assattr_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
Py_DECREF(tmp_assattr_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[152], 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 = 763;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1b70ce3b4bd8dcfb2103347bf31f71e5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1b70ce3b4bd8dcfb2103347bf31f71e5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1b70ce3b4bd8dcfb2103347bf31f71e5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1b70ce3b4bd8dcfb2103347bf31f71e5,
type_description_1,
par__,
par_args,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_1b70ce3b4bd8dcfb2103347bf31f71e5 == cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
cache_frame_1b70ce3b4bd8dcfb2103347bf31f71e5 = NULL;
}
assertFrameObject(frame_1b70ce3b4bd8dcfb2103347bf31f71e5);
// 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__);
Py_DECREF(par__);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
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__);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
// 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$template$$$function__55_write_line(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_line = python_pars[1];
PyObject *par_line_number = python_pars[2];
PyObject *par_indent = python_pars[3];
PyObject *var_line_comment = NULL;
PyObject *var_ancestors = NULL;
PyObject *outline_0_var_tmpl = NULL;
PyObject *outline_0_var_lineno = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_1 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_2 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__source_iter = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_3f2c81d28d4bddb1d88e94b07c7b30da;
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;
struct Nuitka_FrameObject *frame_db81c3766b0d0c5a39283b645191cf06_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
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_db81c3766b0d0c5a39283b645191cf06_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da = 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_3f2c81d28d4bddb1d88e94b07c7b30da)) {
Py_XDECREF(cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da);
#if _DEBUG_REFCOUNTS
if (cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da = MAKE_FUNCTION_FRAME(codeobj_3f2c81d28d4bddb1d88e94b07c7b30da, module_tornado$template, 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_3f2c81d28d4bddb1d88e94b07c7b30da->m_type_description == NULL);
frame_3f2c81d28d4bddb1d88e94b07c7b30da = cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da;
// Push the new frame as the currently active one.
pushFrameStack(frame_3f2c81d28d4bddb1d88e94b07c7b30da);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3f2c81d28d4bddb1d88e94b07c7b30da) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_indent);
tmp_cmp_expr_left_1 = par_indent;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[165]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 771;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_indent;
assert(old != NULL);
par_indent = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
tmp_mod_expr_left_1 = mod_consts[190];
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 772;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[152]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 772;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
Py_DECREF(tmp_expression_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 772;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_line_number);
tmp_tuple_element_1 = par_line_number;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
tmp_assign_source_2 = 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_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 772;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_line_comment == NULL);
var_line_comment = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 773;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[164]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 773;
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 = 773;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_3;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_5;
if (par_self == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 775;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[164]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 774;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_5;
}
if (isFrameUnusable(cache_frame_db81c3766b0d0c5a39283b645191cf06_2)) {
Py_XDECREF(cache_frame_db81c3766b0d0c5a39283b645191cf06_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_db81c3766b0d0c5a39283b645191cf06_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_db81c3766b0d0c5a39283b645191cf06_2 = MAKE_FUNCTION_FRAME(codeobj_db81c3766b0d0c5a39283b645191cf06, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_db81c3766b0d0c5a39283b645191cf06_2->m_type_description == NULL);
frame_db81c3766b0d0c5a39283b645191cf06_2 = cache_frame_db81c3766b0d0c5a39283b645191cf06_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_db81c3766b0d0c5a39283b645191cf06_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_db81c3766b0d0c5a39283b645191cf06_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
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_2 = "oo";
exception_lineno = 774;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_iter_arg_2 = tmp_listcomp_1__iter_value_0;
tmp_assign_source_7 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 774;
type_description_2 = "oo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_7;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_2 = "oo";
exception_lineno = 774;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_9 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_2 = "oo";
exception_lineno = 774;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_listcomp$tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "oo";
exception_lineno = 774;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[191];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_2 = "oo";
exception_lineno = 774;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_1);
tmp_assign_source_10 = tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = outline_0_var_tmpl;
outline_0_var_tmpl = tmp_assign_source_10;
Py_INCREF(outline_0_var_tmpl);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_2);
tmp_assign_source_11 = tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = outline_0_var_lineno;
outline_0_var_lineno = tmp_assign_source_11;
Py_INCREF(outline_0_var_lineno);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_mod_expr_left_2 = mod_consts[192];
CHECK_OBJECT(outline_0_var_tmpl);
tmp_expression_value_6 = outline_0_var_tmpl;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[14]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(outline_0_var_lineno);
tmp_tuple_element_2 = outline_0_var_lineno;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_2);
tmp_append_value_1 = 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_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_2 = "oo";
goto try_except_handler_3;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 774;
type_description_2 = "oo";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 774;
type_description_2 = "oo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assign_source_3 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_assign_source_3);
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_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
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;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_db81c3766b0d0c5a39283b645191cf06_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_db81c3766b0d0c5a39283b645191cf06_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_2;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_db81c3766b0d0c5a39283b645191cf06_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_db81c3766b0d0c5a39283b645191cf06_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_db81c3766b0d0c5a39283b645191cf06_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_db81c3766b0d0c5a39283b645191cf06_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_db81c3766b0d0c5a39283b645191cf06_2,
type_description_2,
outline_0_var_tmpl,
outline_0_var_lineno
);
// Release cached frame if used for exception.
if (frame_db81c3766b0d0c5a39283b645191cf06_2 == cache_frame_db81c3766b0d0c5a39283b645191cf06_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_db81c3766b0d0c5a39283b645191cf06_2);
cache_frame_db81c3766b0d0c5a39283b645191cf06_2 = NULL;
}
assertFrameObject(frame_db81c3766b0d0c5a39283b645191cf06_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:;
type_description_1 = "oooooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_tmpl);
outline_0_var_tmpl = NULL;
Py_XDECREF(outline_0_var_lineno);
outline_0_var_lineno = NULL;
goto outline_result_1;
// 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(outline_0_var_tmpl);
outline_0_var_tmpl = NULL;
Py_XDECREF(outline_0_var_lineno);
outline_0_var_lineno = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 774;
goto frame_exception_exit_1;
outline_result_1:;
assert(var_ancestors == NULL);
var_ancestors = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_line_comment);
tmp_iadd_expr_left_1 = var_line_comment;
tmp_mod_expr_left_3 = mod_consts[193];
tmp_str_arg_value_1 = mod_consts[194];
tmp_called_value_1 = (PyObject *)&PyReversed_Type;
CHECK_OBJECT(var_ancestors);
tmp_args_element_value_1 = var_ancestors;
frame_3f2c81d28d4bddb1d88e94b07c7b30da->m_frame.f_lineno = 777;
tmp_iterable_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_3 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_mod_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_right_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_UNICODE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_UNICODE_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
assert(!(tmp_result == false));
tmp_assign_source_12 = tmp_iadd_expr_left_1;
var_line_comment = tmp_assign_source_12;
}
branch_no_2:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_mult_expr_left_1;
PyObject *tmp_mult_expr_right_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_7;
tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[195]);
assert(tmp_called_value_2 != NULL);
tmp_mult_expr_left_1 = mod_consts[196];
CHECK_OBJECT(par_indent);
tmp_mult_expr_right_1 = par_indent;
tmp_add_expr_left_2 = BINARY_OPERATION_MULT_OBJECT_UNICODE_OBJECT(tmp_mult_expr_left_1, tmp_mult_expr_right_1);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_line);
tmp_add_expr_right_2 = par_line;
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_line_comment);
tmp_add_expr_right_1 = var_line_comment;
tmp_kw_call_arg_value_0_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_kw_call_arg_value_0_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = par_self;
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[31]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_3f2c81d28d4bddb1d88e94b07c7b30da->m_frame.f_lineno = 778;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[197]);
}
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f2c81d28d4bddb1d88e94b07c7b30da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f2c81d28d4bddb1d88e94b07c7b30da);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3f2c81d28d4bddb1d88e94b07c7b30da, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3f2c81d28d4bddb1d88e94b07c7b30da->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3f2c81d28d4bddb1d88e94b07c7b30da, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3f2c81d28d4bddb1d88e94b07c7b30da,
type_description_1,
par_self,
par_line,
par_line_number,
par_indent,
var_line_comment,
var_ancestors
);
// Release cached frame if used for exception.
if (frame_3f2c81d28d4bddb1d88e94b07c7b30da == cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da);
cache_frame_3f2c81d28d4bddb1d88e94b07c7b30da = NULL;
}
assertFrameObject(frame_3f2c81d28d4bddb1d88e94b07c7b30da);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_indent);
Py_DECREF(par_indent);
par_indent = NULL;
CHECK_OBJECT(var_line_comment);
Py_DECREF(var_line_comment);
var_line_comment = NULL;
Py_XDECREF(var_ancestors);
var_ancestors = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_indent);
par_indent = NULL;
Py_XDECREF(var_line_comment);
var_line_comment = NULL;
Py_XDECREF(var_ancestors);
var_ancestors = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_line_number);
Py_DECREF(par_line_number);
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_line);
Py_DECREF(par_line);
CHECK_OBJECT(par_line_number);
Py_DECREF(par_line_number);
// 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$template$$$function__56___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_name = python_pars[1];
PyObject *par_text = python_pars[2];
PyObject *par_whitespace = python_pars[3];
struct Nuitka_FrameObject *frame_100c0896e5d4c07c73c9b0f10e508544;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_100c0896e5d4c07c73c9b0f10e508544 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_100c0896e5d4c07c73c9b0f10e508544)) {
Py_XDECREF(cache_frame_100c0896e5d4c07c73c9b0f10e508544);
#if _DEBUG_REFCOUNTS
if (cache_frame_100c0896e5d4c07c73c9b0f10e508544 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_100c0896e5d4c07c73c9b0f10e508544 = MAKE_FUNCTION_FRAME(codeobj_100c0896e5d4c07c73c9b0f10e508544, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_100c0896e5d4c07c73c9b0f10e508544->m_type_description == NULL);
frame_100c0896e5d4c07c73c9b0f10e508544 = cache_frame_100c0896e5d4c07c73c9b0f10e508544;
// Push the new frame as the currently active one.
pushFrameStack(frame_100c0896e5d4c07c73c9b0f10e508544);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_100c0896e5d4c07c73c9b0f10e508544) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_name);
tmp_assattr_value_1 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[14], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 783;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_text);
tmp_assattr_value_2 = par_text;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[198], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 784;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_whitespace);
tmp_assattr_value_3 = par_whitespace;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[17], 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 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = mod_consts[140];
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[126], 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 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = mod_consts[79];
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[199], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_100c0896e5d4c07c73c9b0f10e508544);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_100c0896e5d4c07c73c9b0f10e508544);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_100c0896e5d4c07c73c9b0f10e508544, exception_lineno);
} else if (exception_tb->tb_frame != &frame_100c0896e5d4c07c73c9b0f10e508544->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_100c0896e5d4c07c73c9b0f10e508544, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_100c0896e5d4c07c73c9b0f10e508544,
type_description_1,
par_self,
par_name,
par_text,
par_whitespace
);
// Release cached frame if used for exception.
if (frame_100c0896e5d4c07c73c9b0f10e508544 == cache_frame_100c0896e5d4c07c73c9b0f10e508544) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_100c0896e5d4c07c73c9b0f10e508544);
cache_frame_100c0896e5d4c07c73c9b0f10e508544 = NULL;
}
assertFrameObject(frame_100c0896e5d4c07c73c9b0f10e508544);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_text);
Py_DECREF(par_text);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_text);
Py_DECREF(par_text);
CHECK_OBJECT(par_whitespace);
Py_DECREF(par_whitespace);
// 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$template$$$function__57_find(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_needle = python_pars[1];
PyObject *par_start = python_pars[2];
PyObject *par_end = python_pars[3];
PyObject *var_pos = NULL;
PyObject *var_index = NULL;
struct Nuitka_FrameObject *frame_751d4cb50b8ac91db793430c47ed2011;
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_751d4cb50b8ac91db793430c47ed2011 = 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_751d4cb50b8ac91db793430c47ed2011)) {
Py_XDECREF(cache_frame_751d4cb50b8ac91db793430c47ed2011);
#if _DEBUG_REFCOUNTS
if (cache_frame_751d4cb50b8ac91db793430c47ed2011 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_751d4cb50b8ac91db793430c47ed2011 = MAKE_FUNCTION_FRAME(codeobj_751d4cb50b8ac91db793430c47ed2011, module_tornado$template, 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_751d4cb50b8ac91db793430c47ed2011->m_type_description == NULL);
frame_751d4cb50b8ac91db793430c47ed2011 = cache_frame_751d4cb50b8ac91db793430c47ed2011;
// Push the new frame as the currently active one.
pushFrameStack(frame_751d4cb50b8ac91db793430c47ed2011);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_751d4cb50b8ac91db793430c47ed2011) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_start);
tmp_cmp_expr_left_1 = par_start;
tmp_cmp_expr_right_1 = mod_consts[79];
tmp_operand_value_1 = RICH_COMPARE_GE_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "oooooo";
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 = 790;
type_description_1 = "oooooo";
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_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_tuple_element_1;
tmp_raise_type_1 = PyExc_AssertionError;
CHECK_OBJECT(par_start);
tmp_tuple_element_1 = par_start;
tmp_raise_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_raise_value_1, 0, tmp_tuple_element_1);
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 790;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[199]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 791;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_pos == NULL);
var_pos = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(par_start);
tmp_iadd_expr_left_1 = par_start;
CHECK_OBJECT(var_pos);
tmp_iadd_expr_right_1 = var_pos;
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
par_start = tmp_assign_source_2;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_end);
tmp_cmp_expr_left_2 = par_end;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[198]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 794;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[200]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 794;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_needle);
tmp_args_element_value_1 = par_needle;
CHECK_OBJECT(par_start);
tmp_args_element_value_2 = par_start;
frame_751d4cb50b8ac91db793430c47ed2011->m_frame.f_lineno = 794;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 794;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_index == NULL);
var_index = tmp_assign_source_3;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
CHECK_OBJECT(par_end);
tmp_iadd_expr_left_2 = par_end;
CHECK_OBJECT(var_pos);
tmp_iadd_expr_right_2 = var_pos;
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 796;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_2;
par_end = tmp_assign_source_4;
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_end);
tmp_cmp_expr_left_3 = par_end;
CHECK_OBJECT(par_start);
tmp_cmp_expr_right_3 = par_start;
tmp_operand_value_2 = RICH_COMPARE_GE_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "oooooo";
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 = 797;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = PyExc_AssertionError;
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_lineno = 797;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[198]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 798;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[200]);
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 = 798;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_needle);
tmp_args_element_value_3 = par_needle;
CHECK_OBJECT(par_start);
tmp_args_element_value_4 = par_start;
CHECK_OBJECT(par_end);
tmp_args_element_value_5 = par_end;
frame_751d4cb50b8ac91db793430c47ed2011->m_frame.f_lineno = 798;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 798;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_index == NULL);
var_index = tmp_assign_source_5;
}
branch_end_2:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_index);
tmp_cmp_expr_left_4 = var_index;
tmp_cmp_expr_right_4 = mod_consts[201];
tmp_condition_result_4 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 799;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
CHECK_OBJECT(var_index);
tmp_isub_expr_left_1 = var_index;
CHECK_OBJECT(var_pos);
tmp_isub_expr_right_1 = var_pos;
tmp_result = INPLACE_OPERATION_SUB_OBJECT_OBJECT(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 800;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_6 = tmp_isub_expr_left_1;
var_index = tmp_assign_source_6;
}
branch_no_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_751d4cb50b8ac91db793430c47ed2011);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_751d4cb50b8ac91db793430c47ed2011);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_751d4cb50b8ac91db793430c47ed2011, exception_lineno);
} else if (exception_tb->tb_frame != &frame_751d4cb50b8ac91db793430c47ed2011->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_751d4cb50b8ac91db793430c47ed2011, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_751d4cb50b8ac91db793430c47ed2011,
type_description_1,
par_self,
par_needle,
par_start,
par_end,
var_pos,
var_index
);
// Release cached frame if used for exception.
if (frame_751d4cb50b8ac91db793430c47ed2011 == cache_frame_751d4cb50b8ac91db793430c47ed2011) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_751d4cb50b8ac91db793430c47ed2011);
cache_frame_751d4cb50b8ac91db793430c47ed2011 = NULL;
}
assertFrameObject(frame_751d4cb50b8ac91db793430c47ed2011);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_index);
tmp_return_value = var_index;
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_start);
par_start = NULL;
Py_XDECREF(par_end);
par_end = NULL;
CHECK_OBJECT(var_pos);
Py_DECREF(var_pos);
var_pos = NULL;
CHECK_OBJECT(var_index);
Py_DECREF(var_index);
var_index = 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_start);
par_start = NULL;
Py_XDECREF(par_end);
par_end = NULL;
Py_XDECREF(var_pos);
var_pos = NULL;
Py_XDECREF(var_index);
var_index = 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_needle);
Py_DECREF(par_needle);
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_needle);
Py_DECREF(par_needle);
// 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$template$$$function__58_consume(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_count = python_pars[1];
PyObject *var_newpos = NULL;
PyObject *var_s = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_1047f07d78c736d2860cb4d1b2f8a663;
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;
static struct Nuitka_FrameObject *cache_frame_1047f07d78c736d2860cb4d1b2f8a663 = 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_1047f07d78c736d2860cb4d1b2f8a663)) {
Py_XDECREF(cache_frame_1047f07d78c736d2860cb4d1b2f8a663);
#if _DEBUG_REFCOUNTS
if (cache_frame_1047f07d78c736d2860cb4d1b2f8a663 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1047f07d78c736d2860cb4d1b2f8a663 = MAKE_FUNCTION_FRAME(codeobj_1047f07d78c736d2860cb4d1b2f8a663, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1047f07d78c736d2860cb4d1b2f8a663->m_type_description == NULL);
frame_1047f07d78c736d2860cb4d1b2f8a663 = cache_frame_1047f07d78c736d2860cb4d1b2f8a663;
// Push the new frame as the currently active one.
pushFrameStack(frame_1047f07d78c736d2860cb4d1b2f8a663);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1047f07d78c736d2860cb4d1b2f8a663) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_count);
tmp_cmp_expr_left_1 = par_count;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[198]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 805;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 805;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_sub_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[199]);
if (tmp_sub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_sub_expr_left_1);
exception_lineno = 805;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_SUB_OBJECT_LONG_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
Py_DECREF(tmp_sub_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 805;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_count;
assert(old != NULL);
par_count = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 806;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_add_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[199]);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_count);
tmp_add_expr_right_1 = par_count;
tmp_assign_source_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_newpos == NULL);
var_newpos = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_4;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 807;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_self;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[126]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[198]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[202]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = mod_consts[7];
if (par_self == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[199]);
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 = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_newpos);
tmp_args_element_value_3 = var_newpos;
frame_1047f07d78c736d2860cb4d1b2f8a663->m_frame.f_lineno = 807;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_iadd_expr_right_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_4 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_4;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[126], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 807;
type_description_1 = "oooo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_stop_value_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 808;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[198]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 808;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_expression_value_8);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 808;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = par_self;
tmp_start_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[199]);
if (tmp_start_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_8);
exception_lineno = 808;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_newpos);
tmp_stop_value_1 = var_newpos;
tmp_subscript_value_1 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_start_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_assign_source_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_8);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 808;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_s == NULL);
var_s = tmp_assign_source_5;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(var_newpos);
tmp_assattr_value_2 = var_newpos;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 809;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[199], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 809;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1047f07d78c736d2860cb4d1b2f8a663);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1047f07d78c736d2860cb4d1b2f8a663);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1047f07d78c736d2860cb4d1b2f8a663, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1047f07d78c736d2860cb4d1b2f8a663->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1047f07d78c736d2860cb4d1b2f8a663, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1047f07d78c736d2860cb4d1b2f8a663,
type_description_1,
par_self,
par_count,
var_newpos,
var_s
);
// Release cached frame if used for exception.
if (frame_1047f07d78c736d2860cb4d1b2f8a663 == cache_frame_1047f07d78c736d2860cb4d1b2f8a663) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1047f07d78c736d2860cb4d1b2f8a663);
cache_frame_1047f07d78c736d2860cb4d1b2f8a663 = NULL;
}
assertFrameObject(frame_1047f07d78c736d2860cb4d1b2f8a663);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_s);
tmp_return_value = var_s;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
par_count = NULL;
CHECK_OBJECT(var_newpos);
Py_DECREF(var_newpos);
var_newpos = NULL;
CHECK_OBJECT(var_s);
Py_DECREF(var_s);
var_s = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_count);
par_count = NULL;
Py_XDECREF(var_newpos);
var_newpos = NULL;
Py_XDECREF(var_s);
var_s = 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);
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$template$$$function__59_remaining(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_b71cfa9a6ed03b532dd5aa9d02dd5c6b;
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_b71cfa9a6ed03b532dd5aa9d02dd5c6b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b)) {
Py_XDECREF(cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
#if _DEBUG_REFCOUNTS
if (cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b = MAKE_FUNCTION_FRAME(codeobj_b71cfa9a6ed03b532dd5aa9d02dd5c6b, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b->m_type_description == NULL);
frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b = cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b;
// Push the new frame as the currently active one.
pushFrameStack(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[198]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 813;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 813;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_sub_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[199]);
if (tmp_sub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_sub_expr_left_1);
exception_lineno = 813;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_SUB_OBJECT_LONG_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
Py_DECREF(tmp_sub_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 813;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b == cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
cache_frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b = NULL;
}
assertFrameObject(frame_b71cfa9a6ed03b532dd5aa9d02dd5c6b);
// 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$template$$$function__60___len__(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_991b5fd148afcfb8b542ac7e54949666;
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_991b5fd148afcfb8b542ac7e54949666 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_991b5fd148afcfb8b542ac7e54949666)) {
Py_XDECREF(cache_frame_991b5fd148afcfb8b542ac7e54949666);
#if _DEBUG_REFCOUNTS
if (cache_frame_991b5fd148afcfb8b542ac7e54949666 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_991b5fd148afcfb8b542ac7e54949666 = MAKE_FUNCTION_FRAME(codeobj_991b5fd148afcfb8b542ac7e54949666, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_991b5fd148afcfb8b542ac7e54949666->m_type_description == NULL);
frame_991b5fd148afcfb8b542ac7e54949666 = cache_frame_991b5fd148afcfb8b542ac7e54949666;
// Push the new frame as the currently active one.
pushFrameStack(frame_991b5fd148afcfb8b542ac7e54949666);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_991b5fd148afcfb8b542ac7e54949666) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_991b5fd148afcfb8b542ac7e54949666->m_frame.f_lineno = 816;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[203]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_991b5fd148afcfb8b542ac7e54949666);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_991b5fd148afcfb8b542ac7e54949666);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_991b5fd148afcfb8b542ac7e54949666);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_991b5fd148afcfb8b542ac7e54949666, exception_lineno);
} else if (exception_tb->tb_frame != &frame_991b5fd148afcfb8b542ac7e54949666->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_991b5fd148afcfb8b542ac7e54949666, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_991b5fd148afcfb8b542ac7e54949666,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_991b5fd148afcfb8b542ac7e54949666 == cache_frame_991b5fd148afcfb8b542ac7e54949666) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_991b5fd148afcfb8b542ac7e54949666);
cache_frame_991b5fd148afcfb8b542ac7e54949666 = NULL;
}
assertFrameObject(frame_991b5fd148afcfb8b542ac7e54949666);
// 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$template$$$function__61___getitem__(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_key = python_pars[1];
PyObject *var_size = NULL;
PyObject *var_start = NULL;
PyObject *var_stop = NULL;
PyObject *var_step = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_95a58bb5c3466deb11f36f82e26b7600;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
bool tmp_result;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_95a58bb5c3466deb11f36f82e26b7600 = 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_95a58bb5c3466deb11f36f82e26b7600)) {
Py_XDECREF(cache_frame_95a58bb5c3466deb11f36f82e26b7600);
#if _DEBUG_REFCOUNTS
if (cache_frame_95a58bb5c3466deb11f36f82e26b7600 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_95a58bb5c3466deb11f36f82e26b7600 = MAKE_FUNCTION_FRAME(codeobj_95a58bb5c3466deb11f36f82e26b7600, module_tornado$template, 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_95a58bb5c3466deb11f36f82e26b7600->m_type_description == NULL);
frame_95a58bb5c3466deb11f36f82e26b7600 = cache_frame_95a58bb5c3466deb11f36f82e26b7600;
// Push the new frame as the currently active one.
pushFrameStack(frame_95a58bb5c3466deb11f36f82e26b7600);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_95a58bb5c3466deb11f36f82e26b7600) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_key);
tmp_isinstance_inst_1 = par_key;
tmp_isinstance_cls_1 = (PyObject *)&PySlice_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 = 819;
type_description_1 = "oooooo";
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_len_arg_1;
CHECK_OBJECT(par_self);
tmp_len_arg_1 = par_self;
tmp_assign_source_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 820;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_size == NULL);
var_size = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_key);
tmp_called_instance_1 = par_key;
CHECK_OBJECT(var_size);
tmp_args_element_value_1 = var_size;
frame_95a58bb5c3466deb11f36f82e26b7600->m_frame.f_lineno = 821;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[204], tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 3);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 821;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 3);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 821;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_5 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 821;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_5;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 821;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[205];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooo";
exception_lineno = 821;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
assert(var_start == NULL);
Py_INCREF(tmp_assign_source_6);
var_start = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
assert(var_stop == NULL);
Py_INCREF(tmp_assign_source_7);
var_stop = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_3;
assert(var_step == NULL);
Py_INCREF(tmp_assign_source_8);
var_step = tmp_assign_source_8;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_start);
tmp_cmp_expr_left_1 = var_start;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[199]);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 823;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_start;
assert(old != NULL);
var_start = tmp_assign_source_9;
Py_DECREF(old);
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_start);
tmp_iadd_expr_left_1 = var_start;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_iadd_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[199]);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_10 = tmp_iadd_expr_left_1;
var_start = tmp_assign_source_10;
}
branch_end_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_stop);
tmp_cmp_expr_left_2 = var_stop;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_stop);
tmp_iadd_expr_left_2 = var_stop;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_iadd_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[199]);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 827;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 827;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_11 = tmp_iadd_expr_left_2;
var_stop = tmp_assign_source_11;
}
branch_no_3:;
{
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_1;
PyObject *tmp_step_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[198]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_start);
tmp_start_value_1 = var_start;
CHECK_OBJECT(var_stop);
tmp_stop_value_1 = var_stop;
CHECK_OBJECT(var_step);
tmp_step_value_1 = var_step;
tmp_subscript_value_1 = MAKE_SLICEOBJ3(tmp_start_value_1, tmp_stop_value_1, tmp_step_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_4);
Py_DECREF(tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_key);
tmp_cmp_expr_left_3 = par_key;
tmp_cmp_expr_right_3 = mod_consts[79];
tmp_condition_result_4 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 829;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[198]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_subscript_value_2 = par_key;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_3;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[198]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_add_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[199]);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_8);
exception_lineno = 832;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_add_expr_right_1 = par_key;
tmp_subscript_value_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_8);
exception_lineno = 832;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_8);
Py_DECREF(tmp_subscript_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_4:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95a58bb5c3466deb11f36f82e26b7600);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95a58bb5c3466deb11f36f82e26b7600);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95a58bb5c3466deb11f36f82e26b7600);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_95a58bb5c3466deb11f36f82e26b7600, exception_lineno);
} else if (exception_tb->tb_frame != &frame_95a58bb5c3466deb11f36f82e26b7600->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_95a58bb5c3466deb11f36f82e26b7600, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_95a58bb5c3466deb11f36f82e26b7600,
type_description_1,
par_self,
par_key,
var_size,
var_start,
var_stop,
var_step
);
// Release cached frame if used for exception.
if (frame_95a58bb5c3466deb11f36f82e26b7600 == cache_frame_95a58bb5c3466deb11f36f82e26b7600) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_95a58bb5c3466deb11f36f82e26b7600);
cache_frame_95a58bb5c3466deb11f36f82e26b7600 = NULL;
}
assertFrameObject(frame_95a58bb5c3466deb11f36f82e26b7600);
// 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_size);
var_size = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_stop);
var_stop = NULL;
Py_XDECREF(var_step);
var_step = 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_size);
var_size = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_stop);
var_stop = NULL;
Py_XDECREF(var_step);
var_step = 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_key);
Py_DECREF(par_key);
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_key);
Py_DECREF(par_key);
// 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$template$$$function__62___str__(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_bae33c7e9266f3668ecf11a9d5f334af;
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_bae33c7e9266f3668ecf11a9d5f334af = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bae33c7e9266f3668ecf11a9d5f334af)) {
Py_XDECREF(cache_frame_bae33c7e9266f3668ecf11a9d5f334af);
#if _DEBUG_REFCOUNTS
if (cache_frame_bae33c7e9266f3668ecf11a9d5f334af == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bae33c7e9266f3668ecf11a9d5f334af = MAKE_FUNCTION_FRAME(codeobj_bae33c7e9266f3668ecf11a9d5f334af, module_tornado$template, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bae33c7e9266f3668ecf11a9d5f334af->m_type_description == NULL);
frame_bae33c7e9266f3668ecf11a9d5f334af = cache_frame_bae33c7e9266f3668ecf11a9d5f334af;
// Push the new frame as the currently active one.
pushFrameStack(frame_bae33c7e9266f3668ecf11a9d5f334af);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bae33c7e9266f3668ecf11a9d5f334af) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[198]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_start_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[199]);
if (tmp_start_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 835;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_stop_value_1 = Py_None;
tmp_subscript_value_1 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_start_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bae33c7e9266f3668ecf11a9d5f334af);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bae33c7e9266f3668ecf11a9d5f334af);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bae33c7e9266f3668ecf11a9d5f334af);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bae33c7e9266f3668ecf11a9d5f334af, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bae33c7e9266f3668ecf11a9d5f334af->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bae33c7e9266f3668ecf11a9d5f334af, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bae33c7e9266f3668ecf11a9d5f334af,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_bae33c7e9266f3668ecf11a9d5f334af == cache_frame_bae33c7e9266f3668ecf11a9d5f334af) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bae33c7e9266f3668ecf11a9d5f334af);
cache_frame_bae33c7e9266f3668ecf11a9d5f334af = NULL;
}
assertFrameObject(frame_bae33c7e9266f3668ecf11a9d5f334af);
// 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$template$$$function__63_raise_parse_error(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_msg = python_pars[1];
struct Nuitka_FrameObject *frame_2861ffe69f0de0e663e873e28f51110d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_2861ffe69f0de0e663e873e28f51110d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2861ffe69f0de0e663e873e28f51110d)) {
Py_XDECREF(cache_frame_2861ffe69f0de0e663e873e28f51110d);
#if _DEBUG_REFCOUNTS
if (cache_frame_2861ffe69f0de0e663e873e28f51110d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2861ffe69f0de0e663e873e28f51110d = MAKE_FUNCTION_FRAME(codeobj_2861ffe69f0de0e663e873e28f51110d, module_tornado$template, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2861ffe69f0de0e663e873e28f51110d->m_type_description == NULL);
frame_2861ffe69f0de0e663e873e28f51110d = cache_frame_2861ffe69f0de0e663e873e28f51110d;
// Push the new frame as the currently active one.
pushFrameStack(frame_2861ffe69f0de0e663e873e28f51110d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2861ffe69f0de0e663e873e28f51110d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[87]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[87]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 838;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_msg);
tmp_args_element_value_1 = par_msg;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 838;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[126]);
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 = 838;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_2861ffe69f0de0e663e873e28f51110d->m_frame.f_lineno = 838;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 838;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 838;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2861ffe69f0de0e663e873e28f51110d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2861ffe69f0de0e663e873e28f51110d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2861ffe69f0de0e663e873e28f51110d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2861ffe69f0de0e663e873e28f51110d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2861ffe69f0de0e663e873e28f51110d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2861ffe69f0de0e663e873e28f51110d,
type_description_1,
par_self,
par_msg
);
// Release cached frame if used for exception.
if (frame_2861ffe69f0de0e663e873e28f51110d == cache_frame_2861ffe69f0de0e663e873e28f51110d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2861ffe69f0de0e663e873e28f51110d);
cache_frame_2861ffe69f0de0e663e873e28f51110d = NULL;
}
assertFrameObject(frame_2861ffe69f0de0e663e873e28f51110d);
// 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_msg);
Py_DECREF(par_msg);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$template$$$function__64__format_code(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_code = python_pars[0];
PyObject *var_lines = NULL;
PyObject *var_format = NULL;
PyObject *outline_0_var_i = NULL;
PyObject *outline_0_var_line = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_1 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_2 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__source_iter = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_1728b3ef554cc3b28241f7d139d7b585;
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;
struct Nuitka_FrameObject *frame_c8edc68b4264b7bcf39e9d7a53c39d09_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
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_c8edc68b4264b7bcf39e9d7a53c39d09_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_1728b3ef554cc3b28241f7d139d7b585 = 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_1728b3ef554cc3b28241f7d139d7b585)) {
Py_XDECREF(cache_frame_1728b3ef554cc3b28241f7d139d7b585);
#if _DEBUG_REFCOUNTS
if (cache_frame_1728b3ef554cc3b28241f7d139d7b585 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1728b3ef554cc3b28241f7d139d7b585 = MAKE_FUNCTION_FRAME(codeobj_1728b3ef554cc3b28241f7d139d7b585, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1728b3ef554cc3b28241f7d139d7b585->m_type_description == NULL);
frame_1728b3ef554cc3b28241f7d139d7b585 = cache_frame_1728b3ef554cc3b28241f7d139d7b585;
// Push the new frame as the currently active one.
pushFrameStack(frame_1728b3ef554cc3b28241f7d139d7b585);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1728b3ef554cc3b28241f7d139d7b585) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_code);
tmp_expression_value_1 = par_code;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[206]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 842;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_1728b3ef554cc3b28241f7d139d7b585->m_frame.f_lineno = 842;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 842;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_lines == NULL);
var_lines = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_add_expr_left_1;
nuitka_digit tmp_add_expr_right_1;
PyObject *tmp_len_arg_2;
tmp_mod_expr_left_1 = mod_consts[207];
CHECK_OBJECT(var_lines);
tmp_len_arg_2 = var_lines;
tmp_add_expr_left_1 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 843;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = 1;
tmp_operand_value_1 = BINARY_OPERATION_ADD_OBJECT_LONG_DIGIT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
assert(!(tmp_operand_value_1 == NULL));
tmp_len_arg_1 = UNARY_OPERATION(PyObject_Repr, tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 843;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 843;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_LONG(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 843;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_format == NULL);
var_format = tmp_assign_source_2;
}
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
tmp_str_arg_value_1 = mod_consts[23];
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = (PyObject *)&PyEnum_Type;
CHECK_OBJECT(var_lines);
tmp_args_element_value_1 = var_lines;
frame_1728b3ef554cc3b28241f7d139d7b585->m_frame.f_lineno = 844;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_4;
}
if (isFrameUnusable(cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2)) {
Py_XDECREF(cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2 = MAKE_FUNCTION_FRAME(codeobj_c8edc68b4264b7bcf39e9d7a53c39d09, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2->m_type_description == NULL);
frame_c8edc68b4264b7bcf39e9d7a53c39d09_2 = cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_5 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_5 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "ooo";
exception_lineno = 844;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_iter_arg_2 = tmp_listcomp_1__iter_value_0;
tmp_assign_source_6 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_6;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_2 = "ooo";
exception_lineno = 844;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_2 = "ooo";
exception_lineno = 844;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_listcomp$tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "ooo";
exception_lineno = 844;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[191];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_2 = "ooo";
exception_lineno = 844;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_1);
tmp_assign_source_9 = tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = outline_0_var_i;
outline_0_var_i = tmp_assign_source_9;
Py_INCREF(outline_0_var_i);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_2);
tmp_assign_source_10 = tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = outline_0_var_line;
outline_0_var_line = tmp_assign_source_10;
Py_INCREF(outline_0_var_line);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
if (var_format == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[208]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_3;
}
tmp_mod_expr_left_2 = var_format;
CHECK_OBJECT(outline_0_var_i);
tmp_add_expr_left_2 = outline_0_var_i;
tmp_add_expr_right_2 = mod_consts[140];
tmp_tuple_element_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_2, tmp_add_expr_right_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_3;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(outline_0_var_line);
tmp_tuple_element_1 = outline_0_var_line;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_1);
tmp_append_value_1 = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_3;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_2 = "ooo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_iterable_value_1 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_iterable_value_1);
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_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_2;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c8edc68b4264b7bcf39e9d7a53c39d09_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c8edc68b4264b7bcf39e9d7a53c39d09_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c8edc68b4264b7bcf39e9d7a53c39d09_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c8edc68b4264b7bcf39e9d7a53c39d09_2,
type_description_2,
outline_0_var_i,
outline_0_var_line,
var_format
);
// Release cached frame if used for exception.
if (frame_c8edc68b4264b7bcf39e9d7a53c39d09_2 == cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2);
cache_frame_c8edc68b4264b7bcf39e9d7a53c39d09_2 = NULL;
}
assertFrameObject(frame_c8edc68b4264b7bcf39e9d7a53c39d09_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:;
type_description_1 = "ooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_i);
outline_0_var_i = NULL;
Py_XDECREF(outline_0_var_line);
outline_0_var_line = NULL;
goto outline_result_1;
// 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(outline_0_var_i);
outline_0_var_i = NULL;
Py_XDECREF(outline_0_var_line);
outline_0_var_line = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 844;
goto frame_exception_exit_1;
outline_result_1:;
tmp_return_value = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 844;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1728b3ef554cc3b28241f7d139d7b585);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1728b3ef554cc3b28241f7d139d7b585);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1728b3ef554cc3b28241f7d139d7b585);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1728b3ef554cc3b28241f7d139d7b585, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1728b3ef554cc3b28241f7d139d7b585->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1728b3ef554cc3b28241f7d139d7b585, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1728b3ef554cc3b28241f7d139d7b585,
type_description_1,
par_code,
var_lines,
var_format
);
// Release cached frame if used for exception.
if (frame_1728b3ef554cc3b28241f7d139d7b585 == cache_frame_1728b3ef554cc3b28241f7d139d7b585) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1728b3ef554cc3b28241f7d139d7b585);
cache_frame_1728b3ef554cc3b28241f7d139d7b585 = NULL;
}
assertFrameObject(frame_1728b3ef554cc3b28241f7d139d7b585);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_lines);
Py_DECREF(var_lines);
var_lines = NULL;
Py_XDECREF(var_format);
var_format = 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_lines);
var_lines = NULL;
Py_XDECREF(var_format);
var_format = 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_code);
Py_DECREF(par_code);
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_code);
Py_DECREF(par_code);
// 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$template$$$function__65__parse(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_reader = python_pars[0];
PyObject *par_template = python_pars[1];
PyObject *par_in_block = python_pars[2];
PyObject *par_in_loop = python_pars[3];
PyObject *var_body = NULL;
PyObject *var_curly = NULL;
PyObject *var_cons = NULL;
PyObject *var_start_brace = NULL;
PyObject *var_line = NULL;
PyObject *var_end = NULL;
PyObject *var_contents = NULL;
PyObject *var_operator = NULL;
PyObject *var_space = NULL;
PyObject *var_suffix = NULL;
PyObject *var_intermediate_blocks = NULL;
PyObject *var_allowed_parents = NULL;
PyObject *var_block = NULL;
PyObject *var_fn = NULL;
PyObject *var_mode = NULL;
PyObject *var_block_body = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_489d37db8a4c04a3cad9937047a7929b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
int tmp_res;
bool tmp_result;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_489d37db8a4c04a3cad9937047a7929b = 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_489d37db8a4c04a3cad9937047a7929b)) {
Py_XDECREF(cache_frame_489d37db8a4c04a3cad9937047a7929b);
#if _DEBUG_REFCOUNTS
if (cache_frame_489d37db8a4c04a3cad9937047a7929b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_489d37db8a4c04a3cad9937047a7929b = MAKE_FUNCTION_FRAME(codeobj_489d37db8a4c04a3cad9937047a7929b, module_tornado$template, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_489d37db8a4c04a3cad9937047a7929b->m_type_description == NULL);
frame_489d37db8a4c04a3cad9937047a7929b = cache_frame_489d37db8a4c04a3cad9937047a7929b;
// Push the new frame as the currently active one.
pushFrameStack(frame_489d37db8a4c04a3cad9937047a7929b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_489d37db8a4c04a3cad9937047a7929b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_call_arg_element_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[209]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[209]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 853;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_1 = MAKE_LIST_EMPTY(0);
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 853;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_call_arg_element_1);
Py_DECREF(tmp_call_arg_element_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 853;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_body == NULL);
var_body = tmp_assign_source_1;
}
loop_start_1:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[79];
{
PyObject *old = var_curly;
var_curly = tmp_assign_source_2;
Py_INCREF(var_curly);
Py_XDECREF(old);
}
}
loop_start_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 858;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = par_reader;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[200]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 858;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[211];
if (var_curly == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 858;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = var_curly;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 858;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 858;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_curly;
var_curly = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_curly);
tmp_cmp_expr_left_1 = var_curly;
tmp_cmp_expr_right_1 = mod_consts[201];
tmp_or_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_or_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 859;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_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 = 859;
type_description_1 = "oooooooooooooooooooo";
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(var_curly);
tmp_add_expr_left_1 = var_curly;
tmp_add_expr_right_1 = mod_consts[140];
tmp_cmp_expr_left_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 859;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_cmp_expr_left_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 859;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 859;
tmp_cmp_expr_right_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[203]);
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 = 859;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_or_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 859;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
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:;
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(par_in_block);
tmp_truth_name_1 = CHECK_IF_TRUE(par_in_block);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 861;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 862;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_reader;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[213]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 862;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[214];
CHECK_OBJECT(par_in_block);
tmp_mod_expr_right_1 = par_in_block;
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
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 = 863;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 862;
tmp_call_result_1 = 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_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 862;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_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_called_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_6;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 865;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = var_body;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[85]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 865;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[184]);
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 = 865;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[215]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[215]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 866;
tmp_args_element_value_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[216]);
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);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_reader;
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[126]);
if (tmp_args_element_value_6 == 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_5);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = par_reader;
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[17]);
if (tmp_args_element_value_7 == 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_5);
Py_DECREF(tmp_args_element_value_6);
exception_lineno = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 866;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_args_element_value_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_7);
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 = 866;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 865;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 865;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 868;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_body;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 871;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = par_reader;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 871;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_2 = var_curly;
tmp_add_expr_right_2 = mod_consts[140];
tmp_subscript_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_2, tmp_add_expr_right_2);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 871;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 871;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[217];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 871;
type_description_1 = "oooooooooooooooooooo";
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_assign_source_4;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 872;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_left_1 = var_curly;
tmp_iadd_expr_right_1 = mod_consts[140];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 872;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_1;
var_curly = tmp_assign_source_4;
}
goto loop_start_2;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_add_expr_left_3;
PyObject *tmp_add_expr_right_3;
PyObject *tmp_called_instance_3;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_2;
PyObject *tmp_add_expr_left_4;
PyObject *tmp_add_expr_right_4;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_3;
PyObject *tmp_add_expr_left_5;
PyObject *tmp_add_expr_right_5;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_3 = var_curly;
tmp_add_expr_right_3 = mod_consts[218];
tmp_cmp_expr_left_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_3, tmp_add_expr_right_3);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_cmp_expr_left_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 878;
tmp_cmp_expr_right_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[203]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = RICH_COMPARE_LT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 878;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = par_reader;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_4 = var_curly;
tmp_add_expr_right_4 = mod_consts[140];
tmp_subscript_value_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_4, tmp_add_expr_right_4);
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_2);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_5 = mod_consts[211];
tmp_and_left_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_and_left_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 879;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 880;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = par_reader;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 880;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_5 = var_curly;
tmp_add_expr_right_5 = mod_consts[218];
tmp_subscript_value_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_5, tmp_add_expr_right_5);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_6 = mod_consts[211];
tmp_and_right_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_left_6);
if (tmp_and_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 882;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_left_2 = var_curly;
tmp_iadd_expr_right_2 = mod_consts[140];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 882;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = tmp_iadd_expr_left_2;
var_curly = tmp_assign_source_5;
}
goto loop_start_2;
branch_no_4:;
goto loop_end_1;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 857;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_1:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
if (var_curly == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 887;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_7 = var_curly;
tmp_cmp_expr_right_7 = mod_consts[79];
tmp_condition_result_5 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 887;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_8;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 888;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = par_reader;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[216]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (var_curly == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[212]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 888;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = var_curly;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 888;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_cons;
var_cons = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_9;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_12;
PyObject *tmp_expression_value_14;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = var_body;
tmp_expression_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[85]);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[184]);
Py_DECREF(tmp_expression_value_11);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[215]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[215]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_cons);
tmp_args_element_value_10 = var_cons;
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = par_reader;
tmp_args_element_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[126]);
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_11);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_14 = par_reader;
tmp_args_element_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[17]);
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_11);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 889;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11, tmp_args_element_value_12};
tmp_args_element_value_9 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 889;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_7);
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 = 889;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_5:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_4;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 891;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_4 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 891;
tmp_assign_source_7 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[216],
PyTuple_GET_ITEM(mod_consts[219], 0)
);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 891;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_start_brace;
var_start_brace = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_15;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 892;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_15 = par_reader;
tmp_assign_source_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[126]);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 892;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_line;
var_line = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_6;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_4;
int tmp_truth_name_2;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_4;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_5 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 898;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[203]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_4);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_4);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_4);
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_16 = par_reader;
tmp_subscript_value_4 = mod_consts[79];
tmp_cmp_expr_left_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, tmp_subscript_value_4, 0);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_8 = mod_consts[220];
tmp_and_right_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
Py_DECREF(tmp_cmp_expr_left_8);
if (tmp_and_right_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 898;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_6 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_5;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 899;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 899;
tmp_call_result_5 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_6,
mod_consts[216],
PyTuple_GET_ITEM(mod_consts[221], 0)
);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_17;
PyObject *tmp_expression_value_18;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_13;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_14;
PyObject *tmp_args_element_value_15;
PyObject *tmp_args_element_value_16;
PyObject *tmp_expression_value_19;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_18 = var_body;
tmp_expression_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[85]);
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[184]);
Py_DECREF(tmp_expression_value_17);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[215]);
if (unlikely(tmp_called_value_10 == NULL)) {
tmp_called_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[215]);
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_start_brace);
tmp_args_element_value_14 = var_start_brace;
CHECK_OBJECT(var_line);
tmp_args_element_value_15 = var_line;
if (par_reader == NULL) {
Py_DECREF(tmp_called_value_9);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_19 = par_reader;
tmp_args_element_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[17]);
if (tmp_args_element_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 900;
{
PyObject *call_args[] = {tmp_args_element_value_14, tmp_args_element_value_15, tmp_args_element_value_16};
tmp_args_element_value_13 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_10, call_args);
}
Py_DECREF(tmp_args_element_value_16);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 900;
tmp_call_result_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_13);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 900;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
goto loop_start_1;
branch_no_6:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(var_start_brace);
tmp_cmp_expr_left_9 = var_start_brace;
tmp_cmp_expr_right_9 = mod_consts[222];
tmp_condition_result_7 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 904;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_20;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 905;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_20 = par_reader;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[200]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 905;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 905;
tmp_assign_source_9 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_11, mod_consts[223]);
Py_DECREF(tmp_called_value_11);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 905;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_end;
var_end = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(var_end);
tmp_cmp_expr_left_10 = var_end;
tmp_cmp_expr_right_10 = mod_consts[201];
tmp_condition_result_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 906;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_7;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 907;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_7 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 907;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_7,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[224], 0)
);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 907;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
branch_no_8:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_21;
PyObject *tmp_called_instance_8;
PyObject *tmp_args_element_value_17;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 908;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_8 = par_reader;
CHECK_OBJECT(var_end);
tmp_args_element_value_17 = var_end;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 908;
tmp_expression_value_21 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_8, mod_consts[216], tmp_args_element_value_17);
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 908;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[225]);
Py_DECREF(tmp_expression_value_21);
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 908;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 908;
tmp_assign_source_10 = CALL_FUNCTION_NO_ARGS(tmp_called_value_12);
Py_DECREF(tmp_called_value_12);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 908;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_contents;
var_contents = tmp_assign_source_10;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_9;
PyObject *tmp_call_result_8;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 909;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_9 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 909;
tmp_call_result_8 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_9,
mod_consts[216],
PyTuple_GET_ITEM(mod_consts[219], 0)
);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 909;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_8);
}
goto loop_start_1;
branch_no_7:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(var_start_brace);
tmp_cmp_expr_left_11 = var_start_brace;
tmp_cmp_expr_right_11 = mod_consts[226];
tmp_condition_result_9 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 913;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_22;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 914;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_22 = par_reader;
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[200]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 914;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 914;
tmp_assign_source_11 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_13, mod_consts[227]);
Py_DECREF(tmp_called_value_13);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 914;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_end;
var_end = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(var_end);
tmp_cmp_expr_left_12 = var_end;
tmp_cmp_expr_right_12 = mod_consts[201];
tmp_condition_result_10 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
if (tmp_condition_result_10 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 915;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_called_instance_10;
PyObject *tmp_call_result_9;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 916;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_10 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 916;
tmp_call_result_9 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_10,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[228], 0)
);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 916;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_9);
}
branch_no_10:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_23;
PyObject *tmp_called_instance_11;
PyObject *tmp_args_element_value_18;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 917;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_11 = par_reader;
CHECK_OBJECT(var_end);
tmp_args_element_value_18 = var_end;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 917;
tmp_expression_value_23 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_11, mod_consts[216], tmp_args_element_value_18);
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 917;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[225]);
Py_DECREF(tmp_expression_value_23);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 917;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 917;
tmp_assign_source_12 = CALL_FUNCTION_NO_ARGS(tmp_called_value_14);
Py_DECREF(tmp_called_value_14);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 917;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_contents;
var_contents = tmp_assign_source_12;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_12;
PyObject *tmp_call_result_10;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 918;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_12 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 918;
tmp_call_result_10 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_12,
mod_consts[216],
PyTuple_GET_ITEM(mod_consts[219], 0)
);
if (tmp_call_result_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 918;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_10);
}
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_contents);
tmp_operand_value_1 = var_contents;
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 = 919;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_called_instance_13;
PyObject *tmp_call_result_11;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 920;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_13 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 920;
tmp_call_result_11 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_13,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[229], 0)
);
if (tmp_call_result_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 920;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_11);
}
branch_no_11:;
{
PyObject *tmp_called_value_15;
PyObject *tmp_expression_value_24;
PyObject *tmp_expression_value_25;
PyObject *tmp_call_result_12;
PyObject *tmp_args_element_value_19;
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_20;
PyObject *tmp_args_element_value_21;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_25 = var_body;
tmp_expression_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[85]);
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[184]);
Py_DECREF(tmp_expression_value_24);
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[230]);
if (unlikely(tmp_called_value_16 == NULL)) {
tmp_called_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[230]);
}
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_15);
exception_lineno = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_20 = var_contents;
CHECK_OBJECT(var_line);
tmp_args_element_value_21 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 921;
{
PyObject *call_args[] = {tmp_args_element_value_20, tmp_args_element_value_21};
tmp_args_element_value_19 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_16, call_args);
}
if (tmp_args_element_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_15);
exception_lineno = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 921;
tmp_call_result_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_19);
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_element_value_19);
if (tmp_call_result_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_12);
}
goto loop_start_1;
branch_no_9:;
{
bool tmp_condition_result_12;
PyObject *tmp_operand_value_2;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
CHECK_OBJECT(var_start_brace);
tmp_cmp_expr_left_13 = var_start_brace;
tmp_cmp_expr_right_13 = mod_consts[231];
tmp_operand_value_2 = RICH_COMPARE_EQ_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 925;
type_description_1 = "oooooooooooooooooooo";
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 = 925;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_12 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_tuple_element_1;
tmp_raise_type_1 = PyExc_AssertionError;
CHECK_OBJECT(var_start_brace);
tmp_tuple_element_1 = var_start_brace;
tmp_raise_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_raise_value_1, 0, tmp_tuple_element_1);
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 925;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_12:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_26;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 926;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_26 = par_reader;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[200]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 926;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 926;
tmp_assign_source_13 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_17, mod_consts[232]);
Py_DECREF(tmp_called_value_17);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 926;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_end;
var_end = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
CHECK_OBJECT(var_end);
tmp_cmp_expr_left_14 = var_end;
tmp_cmp_expr_right_14 = mod_consts[201];
tmp_condition_result_13 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_14, tmp_cmp_expr_right_14);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 927;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_called_instance_14;
PyObject *tmp_call_result_13;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 928;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_14 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 928;
tmp_call_result_13 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_14,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[233], 0)
);
if (tmp_call_result_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 928;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_13);
}
branch_no_13:;
{
PyObject *tmp_assign_source_14;
PyObject *tmp_called_value_18;
PyObject *tmp_expression_value_27;
PyObject *tmp_called_instance_15;
PyObject *tmp_args_element_value_22;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 929;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_15 = par_reader;
CHECK_OBJECT(var_end);
tmp_args_element_value_22 = var_end;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 929;
tmp_expression_value_27 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_15, mod_consts[216], tmp_args_element_value_22);
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[225]);
Py_DECREF(tmp_expression_value_27);
if (tmp_called_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 929;
tmp_assign_source_14 = CALL_FUNCTION_NO_ARGS(tmp_called_value_18);
Py_DECREF(tmp_called_value_18);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_contents;
var_contents = tmp_assign_source_14;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_16;
PyObject *tmp_call_result_14;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 930;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_16 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 930;
tmp_call_result_14 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_16,
mod_consts[216],
PyTuple_GET_ITEM(mod_consts[219], 0)
);
if (tmp_call_result_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 930;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_14);
}
{
bool tmp_condition_result_14;
PyObject *tmp_operand_value_3;
CHECK_OBJECT(var_contents);
tmp_operand_value_3 = var_contents;
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 = 931;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_14 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_called_instance_17;
PyObject *tmp_call_result_15;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 932;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_17 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 932;
tmp_call_result_15 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_17,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[234], 0)
);
if (tmp_call_result_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 932;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_15);
}
branch_no_14:;
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(var_contents);
tmp_expression_value_28 = var_contents;
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[235]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "oooooooooooooooooooo";
goto try_except_handler_2;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 934;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_19, mod_consts[236]);
Py_DECREF(tmp_called_value_19);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "oooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_15 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "oooooooooooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_15;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_16 = UNPACK_NEXT(tmp_unpack_1, 0, 3);
if (tmp_assign_source_16 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooooooo";
exception_lineno = 934;
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_16;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_17 = UNPACK_NEXT(tmp_unpack_2, 1, 3);
if (tmp_assign_source_17 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooooooo";
exception_lineno = 934;
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_17;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_18 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_18 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooooooo";
exception_lineno = 934;
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__element_3;
tmp_tuple_unpack_1__element_3 = tmp_assign_source_18;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooooooo";
exception_lineno = 934;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[205];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooooooo";
exception_lineno = 934;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_19;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_19 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_operator;
var_operator = tmp_assign_source_19;
Py_INCREF(var_operator);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_20;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_20 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_space;
var_space = tmp_assign_source_20;
Py_INCREF(var_space);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_21;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_21 = tmp_tuple_unpack_1__element_3;
{
PyObject *old = var_suffix;
var_suffix = tmp_assign_source_21;
Py_INCREF(var_suffix);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_22;
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_29;
CHECK_OBJECT(var_suffix);
tmp_expression_value_29 = var_suffix;
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[225]);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 935;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 935;
tmp_assign_source_22 = CALL_FUNCTION_NO_ARGS(tmp_called_value_20);
Py_DECREF(tmp_called_value_20);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 935;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_suffix;
assert(old != NULL);
var_suffix = tmp_assign_source_22;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = DEEP_COPY_DICT(mod_consts[237]);
{
PyObject *old = var_intermediate_blocks;
var_intermediate_blocks = tmp_assign_source_23;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_key_value_1;
CHECK_OBJECT(var_intermediate_blocks);
tmp_dict_arg_value_1 = var_intermediate_blocks;
CHECK_OBJECT(var_operator);
tmp_key_value_1 = var_operator;
tmp_assign_source_24 = DICT_GET_ITEM_WITH_HASH_ERROR0(tmp_dict_arg_value_1, tmp_key_value_1);
if (tmp_assign_source_24 == NULL && !ERROR_OCCURRED()) {
tmp_assign_source_24 = Py_None;
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 944;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_allowed_parents;
var_allowed_parents = tmp_assign_source_24;
Py_INCREF(var_allowed_parents);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_15;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
CHECK_OBJECT(var_allowed_parents);
tmp_cmp_expr_left_15 = var_allowed_parents;
tmp_cmp_expr_right_15 = Py_None;
tmp_condition_result_15 = (tmp_cmp_expr_left_15 != tmp_cmp_expr_right_15) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
bool tmp_condition_result_16;
PyObject *tmp_operand_value_4;
CHECK_OBJECT(par_in_block);
tmp_operand_value_4 = par_in_block;
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 = 946;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_16 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_called_value_21;
PyObject *tmp_expression_value_30;
PyObject *tmp_call_result_16;
PyObject *tmp_args_element_value_23;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_2;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 947;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_30 = par_reader;
tmp_called_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[213]);
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 947;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_2 = mod_consts[238];
CHECK_OBJECT(var_operator);
tmp_tuple_element_2 = var_operator;
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_allowed_parents);
tmp_tuple_element_2 = var_allowed_parents;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_2);
tmp_args_element_value_23 = 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_args_element_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_21);
exception_lineno = 948;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 947;
tmp_call_result_16 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_23);
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_element_value_23);
if (tmp_call_result_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 947;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_16);
}
branch_no_16:;
{
bool tmp_condition_result_17;
PyObject *tmp_cmp_expr_left_16;
PyObject *tmp_cmp_expr_right_16;
CHECK_OBJECT(par_in_block);
tmp_cmp_expr_left_16 = par_in_block;
CHECK_OBJECT(var_allowed_parents);
tmp_cmp_expr_right_16 = var_allowed_parents;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_16, tmp_cmp_expr_left_16);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 950;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_17 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_called_value_22;
PyObject *tmp_expression_value_31;
PyObject *tmp_call_result_17;
PyObject *tmp_args_element_value_24;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_3;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 951;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_31 = par_reader;
tmp_called_value_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[213]);
if (tmp_called_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 951;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_3 = mod_consts[239];
CHECK_OBJECT(var_operator);
tmp_tuple_element_3 = var_operator;
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 0, tmp_tuple_element_3);
CHECK_OBJECT(par_in_block);
tmp_tuple_element_3 = par_in_block;
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 1, tmp_tuple_element_3);
tmp_args_element_value_24 = 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_args_element_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_22);
exception_lineno = 952;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 951;
tmp_call_result_17 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_24);
Py_DECREF(tmp_called_value_22);
Py_DECREF(tmp_args_element_value_24);
if (tmp_call_result_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 951;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_17);
}
branch_no_17:;
{
PyObject *tmp_called_value_23;
PyObject *tmp_expression_value_32;
PyObject *tmp_expression_value_33;
PyObject *tmp_call_result_18;
PyObject *tmp_args_element_value_25;
PyObject *tmp_called_value_24;
PyObject *tmp_args_element_value_26;
PyObject *tmp_args_element_value_27;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_33 = var_body;
tmp_expression_value_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[85]);
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[184]);
Py_DECREF(tmp_expression_value_32);
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[240]);
if (unlikely(tmp_called_value_24 == NULL)) {
tmp_called_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[240]);
}
if (tmp_called_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_23);
exception_lineno = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_26 = var_contents;
CHECK_OBJECT(var_line);
tmp_args_element_value_27 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 954;
{
PyObject *call_args[] = {tmp_args_element_value_26, tmp_args_element_value_27};
tmp_args_element_value_25 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_24, call_args);
}
if (tmp_args_element_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_23);
exception_lineno = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 954;
tmp_call_result_18 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_25);
Py_DECREF(tmp_called_value_23);
Py_DECREF(tmp_args_element_value_25);
if (tmp_call_result_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 954;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_18);
}
goto loop_start_1;
goto branch_end_15;
branch_no_15:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_17;
PyObject *tmp_cmp_expr_right_17;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_17 = var_operator;
tmp_cmp_expr_right_17 = mod_consts[241];
tmp_condition_result_18 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_17, tmp_cmp_expr_right_17);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 958;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
bool tmp_condition_result_19;
PyObject *tmp_operand_value_5;
CHECK_OBJECT(par_in_block);
tmp_operand_value_5 = par_in_block;
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 = 959;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_19 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_called_instance_18;
PyObject *tmp_call_result_19;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 960;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_18 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 960;
tmp_call_result_19 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_18,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[242], 0)
);
if (tmp_call_result_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 960;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_19);
}
branch_no_19:;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 961;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_body;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_18;
branch_no_18:;
{
bool tmp_condition_result_20;
PyObject *tmp_cmp_expr_left_18;
PyObject *tmp_cmp_expr_right_18;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_18 = var_operator;
tmp_cmp_expr_right_18 = mod_consts[243];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_18, tmp_cmp_expr_left_18);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 963;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_20 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_20 != false) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_cmp_expr_left_19;
PyObject *tmp_cmp_expr_right_19;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_19 = var_operator;
tmp_cmp_expr_right_19 = mod_consts[244];
tmp_condition_result_21 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_19, tmp_cmp_expr_right_19);
if (tmp_condition_result_21 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 975;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
goto loop_start_1;
branch_no_21:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_20;
PyObject *tmp_cmp_expr_right_20;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_20 = var_operator;
tmp_cmp_expr_right_20 = mod_consts[245];
tmp_condition_result_22 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_20, tmp_cmp_expr_right_20);
if (tmp_condition_result_22 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_called_value_25;
PyObject *tmp_expression_value_34;
PyObject *tmp_called_value_26;
PyObject *tmp_expression_value_35;
CHECK_OBJECT(var_suffix);
tmp_expression_value_35 = var_suffix;
tmp_called_value_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_35, mod_consts[225]);
if (tmp_called_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 978;
tmp_expression_value_34 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_26, mod_consts[246]);
Py_DECREF(tmp_called_value_26);
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[225]);
Py_DECREF(tmp_expression_value_34);
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 978;
tmp_assign_source_25 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_25, mod_consts[247]);
Py_DECREF(tmp_called_value_25);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_suffix;
assert(old != NULL);
var_suffix = tmp_assign_source_25;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_23;
PyObject *tmp_operand_value_6;
CHECK_OBJECT(var_suffix);
tmp_operand_value_6 = var_suffix;
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 = 979;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_23 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
PyObject *tmp_called_instance_19;
PyObject *tmp_call_result_20;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 980;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_19 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 980;
tmp_call_result_20 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_19,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[248], 0)
);
if (tmp_call_result_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 980;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_20);
}
branch_no_23:;
{
PyObject *tmp_assign_source_26;
PyObject *tmp_called_value_27;
PyObject *tmp_args_element_value_28;
tmp_called_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_value_27 == NULL)) {
tmp_called_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 981;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_28 = var_suffix;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 981;
tmp_assign_source_26 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_28);
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 981;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_26;
Py_XDECREF(old);
}
}
goto branch_end_22;
branch_no_22:;
{
bool tmp_condition_result_24;
PyObject *tmp_cmp_expr_left_21;
PyObject *tmp_cmp_expr_right_21;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_21 = var_operator;
tmp_cmp_expr_right_21 = mod_consts[249];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_21, tmp_cmp_expr_left_21);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 982;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_24 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_24 != false) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
{
bool tmp_condition_result_25;
PyObject *tmp_operand_value_7;
CHECK_OBJECT(var_suffix);
tmp_operand_value_7 = var_suffix;
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 = 983;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_25 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
{
PyObject *tmp_called_instance_20;
PyObject *tmp_call_result_21;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 984;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_20 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 984;
tmp_call_result_21 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_20,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[250], 0)
);
if (tmp_call_result_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 984;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_21);
}
branch_no_25:;
{
PyObject *tmp_assign_source_27;
PyObject *tmp_called_value_28;
PyObject *tmp_args_element_value_29;
PyObject *tmp_args_element_value_30;
tmp_called_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[251]);
if (unlikely(tmp_called_value_28 == NULL)) {
tmp_called_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[251]);
}
if (tmp_called_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 985;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_29 = var_contents;
CHECK_OBJECT(var_line);
tmp_args_element_value_30 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 985;
{
PyObject *call_args[] = {tmp_args_element_value_29, tmp_args_element_value_30};
tmp_assign_source_27 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_28, call_args);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 985;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_27;
Py_XDECREF(old);
}
}
goto branch_end_24;
branch_no_24:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_cmp_expr_left_22;
PyObject *tmp_cmp_expr_right_22;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_22 = var_operator;
tmp_cmp_expr_right_22 = mod_consts[134];
tmp_condition_result_26 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_22, tmp_cmp_expr_right_22);
if (tmp_condition_result_26 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 986;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_29;
PyObject *tmp_expression_value_36;
PyObject *tmp_called_value_30;
PyObject *tmp_expression_value_37;
CHECK_OBJECT(var_suffix);
tmp_expression_value_37 = var_suffix;
tmp_called_value_30 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[225]);
if (tmp_called_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 987;
tmp_expression_value_36 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_30, mod_consts[246]);
Py_DECREF(tmp_called_value_30);
if (tmp_expression_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[225]);
Py_DECREF(tmp_expression_value_36);
if (tmp_called_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 987;
tmp_assign_source_28 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_29, mod_consts[247]);
Py_DECREF(tmp_called_value_29);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_suffix;
assert(old != NULL);
var_suffix = tmp_assign_source_28;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_27;
PyObject *tmp_operand_value_8;
CHECK_OBJECT(var_suffix);
tmp_operand_value_8 = var_suffix;
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 = 988;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_27 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_called_instance_21;
PyObject *tmp_call_result_22;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 989;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_21 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 989;
tmp_call_result_22 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_21,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[252], 0)
);
if (tmp_call_result_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 989;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_22);
}
branch_no_27:;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_called_value_31;
PyObject *tmp_args_element_value_31;
PyObject *tmp_args_element_value_32;
PyObject *tmp_args_element_value_33;
tmp_called_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[253]);
if (unlikely(tmp_called_value_31 == NULL)) {
tmp_called_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[253]);
}
if (tmp_called_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 990;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_31 = var_suffix;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 990;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_32 = par_reader;
CHECK_OBJECT(var_line);
tmp_args_element_value_33 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 990;
{
PyObject *call_args[] = {tmp_args_element_value_31, tmp_args_element_value_32, tmp_args_element_value_33};
tmp_assign_source_29 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_31, call_args);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 990;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_29;
Py_XDECREF(old);
}
}
goto branch_end_26;
branch_no_26:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_cmp_expr_left_23;
PyObject *tmp_cmp_expr_right_23;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_23 = var_operator;
tmp_cmp_expr_right_23 = mod_consts[254];
tmp_condition_result_28 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_23, tmp_cmp_expr_right_23);
if (tmp_condition_result_28 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 991;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
{
bool tmp_condition_result_29;
PyObject *tmp_operand_value_9;
CHECK_OBJECT(var_suffix);
tmp_operand_value_9 = var_suffix;
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 = 992;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_29 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
{
PyObject *tmp_called_instance_22;
PyObject *tmp_call_result_23;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 993;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_22 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 993;
tmp_call_result_23 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_22,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[255], 0)
);
if (tmp_call_result_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 993;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_23);
}
branch_no_29:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_value_32;
PyObject *tmp_args_element_value_34;
PyObject *tmp_args_element_value_35;
tmp_called_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[251]);
if (unlikely(tmp_called_value_32 == NULL)) {
tmp_called_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[251]);
}
if (tmp_called_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 994;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_34 = var_suffix;
CHECK_OBJECT(var_line);
tmp_args_element_value_35 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 994;
{
PyObject *call_args[] = {tmp_args_element_value_34, tmp_args_element_value_35};
tmp_assign_source_30 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_32, call_args);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 994;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_30;
Py_XDECREF(old);
}
}
goto branch_end_28;
branch_no_28:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_cmp_expr_left_24;
PyObject *tmp_cmp_expr_right_24;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_24 = var_operator;
tmp_cmp_expr_right_24 = mod_consts[25];
tmp_condition_result_30 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_24, tmp_cmp_expr_right_24);
if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 995;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
{
PyObject *tmp_assign_source_31;
PyObject *tmp_called_value_33;
PyObject *tmp_expression_value_38;
CHECK_OBJECT(var_suffix);
tmp_expression_value_38 = var_suffix;
tmp_called_value_33 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[225]);
if (tmp_called_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 996;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 996;
tmp_assign_source_31 = CALL_FUNCTION_NO_ARGS(tmp_called_value_33);
Py_DECREF(tmp_called_value_33);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 996;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_31;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_31;
PyObject *tmp_cmp_expr_left_25;
PyObject *tmp_cmp_expr_right_25;
CHECK_OBJECT(var_fn);
tmp_cmp_expr_left_25 = var_fn;
tmp_cmp_expr_right_25 = mod_consts[256];
tmp_condition_result_31 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_25, tmp_cmp_expr_right_25);
if (tmp_condition_result_31 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 997;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_31 == NUITKA_BOOL_TRUE) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = Py_None;
{
PyObject *old = var_fn;
assert(old != NULL);
var_fn = tmp_assign_source_32;
Py_INCREF(var_fn);
Py_DECREF(old);
}
}
branch_no_31:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_fn);
tmp_assattr_value_1 = var_fn;
if (par_template == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 999;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_template;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[25], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
goto loop_start_1;
goto branch_end_30;
branch_no_30:;
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_cmp_expr_left_26;
PyObject *tmp_cmp_expr_right_26;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_26 = var_operator;
tmp_cmp_expr_right_26 = mod_consts[17];
tmp_condition_result_32 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_26, tmp_cmp_expr_right_26);
if (tmp_condition_result_32 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1001;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_value_34;
PyObject *tmp_expression_value_39;
CHECK_OBJECT(var_suffix);
tmp_expression_value_39 = var_suffix;
tmp_called_value_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[225]);
if (tmp_called_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1002;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1002;
tmp_assign_source_33 = CALL_FUNCTION_NO_ARGS(tmp_called_value_34);
Py_DECREF(tmp_called_value_34);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1002;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_mode;
var_mode = tmp_assign_source_33;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_35;
PyObject *tmp_call_result_24;
PyObject *tmp_args_element_value_36;
PyObject *tmp_args_element_value_37;
tmp_called_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[22]);
if (unlikely(tmp_called_value_35 == NULL)) {
tmp_called_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[22]);
}
if (tmp_called_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1004;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_mode);
tmp_args_element_value_36 = var_mode;
tmp_args_element_value_37 = mod_consts[23];
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1004;
{
PyObject *call_args[] = {tmp_args_element_value_36, tmp_args_element_value_37};
tmp_call_result_24 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_35, call_args);
}
if (tmp_call_result_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1004;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_24);
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(var_mode);
tmp_assattr_value_2 = var_mode;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1005;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_reader;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[17], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1005;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
goto loop_start_1;
goto branch_end_32;
branch_no_32:;
{
nuitka_bool tmp_condition_result_33;
PyObject *tmp_cmp_expr_left_27;
PyObject *tmp_cmp_expr_right_27;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_27 = var_operator;
tmp_cmp_expr_right_27 = mod_consts[148];
tmp_condition_result_33 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_27, tmp_cmp_expr_right_27);
if (tmp_condition_result_33 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1007;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
{
PyObject *tmp_assign_source_34;
PyObject *tmp_called_value_36;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_1;
tmp_called_value_36 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[230]);
if (unlikely(tmp_called_value_36 == NULL)) {
tmp_called_value_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[230]);
}
if (tmp_called_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1008;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_tuple_element_4 = var_suffix;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_4);
CHECK_OBJECT(var_line);
tmp_tuple_element_4 = var_line;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_4);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[156]);
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1008;
tmp_assign_source_34 = CALL_FUNCTION(tmp_called_value_36, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1008;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_34;
Py_XDECREF(old);
}
}
goto branch_end_33;
branch_no_33:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_cmp_expr_left_28;
PyObject *tmp_cmp_expr_right_28;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_28 = var_operator;
tmp_cmp_expr_right_28 = mod_consts[257];
tmp_condition_result_34 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_28, tmp_cmp_expr_right_28);
if (tmp_condition_result_34 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1009;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
{
PyObject *tmp_assign_source_35;
PyObject *tmp_called_value_37;
PyObject *tmp_args_element_value_38;
PyObject *tmp_args_element_value_39;
tmp_called_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[258]);
if (unlikely(tmp_called_value_37 == NULL)) {
tmp_called_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[258]);
}
if (tmp_called_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1010;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_38 = var_suffix;
CHECK_OBJECT(var_line);
tmp_args_element_value_39 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1010;
{
PyObject *call_args[] = {tmp_args_element_value_38, tmp_args_element_value_39};
tmp_assign_source_35 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_37, call_args);
}
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1010;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_35;
Py_XDECREF(old);
}
}
branch_no_34:;
branch_end_33:;
branch_end_32:;
branch_end_30:;
branch_end_28:;
branch_end_26:;
branch_end_24:;
branch_end_22:;
{
PyObject *tmp_called_value_38;
PyObject *tmp_expression_value_40;
PyObject *tmp_expression_value_41;
PyObject *tmp_call_result_25;
PyObject *tmp_args_element_value_40;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 1011;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_41 = var_body;
tmp_expression_value_40 = LOOKUP_ATTRIBUTE(tmp_expression_value_41, mod_consts[85]);
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1011;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_38 = LOOKUP_ATTRIBUTE(tmp_expression_value_40, mod_consts[184]);
Py_DECREF(tmp_expression_value_40);
if (tmp_called_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1011;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (var_block == NULL) {
Py_DECREF(tmp_called_value_38);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[259]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1011;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_40 = var_block;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1011;
tmp_call_result_25 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_38, tmp_args_element_value_40);
Py_DECREF(tmp_called_value_38);
if (tmp_call_result_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1011;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_25);
}
goto loop_start_1;
goto branch_end_20;
branch_no_20:;
{
bool tmp_condition_result_35;
PyObject *tmp_cmp_expr_left_29;
PyObject *tmp_cmp_expr_right_29;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_29 = var_operator;
tmp_cmp_expr_right_29 = mod_consts[260];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_29, tmp_cmp_expr_left_29);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1014;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_35 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_35 != false) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
{
bool tmp_condition_result_36;
PyObject *tmp_cmp_expr_left_30;
PyObject *tmp_cmp_expr_right_30;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_30 = var_operator;
tmp_cmp_expr_right_30 = mod_consts[261];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_30, tmp_cmp_expr_left_30);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1016;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_36 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_36 != false) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_39;
PyObject *tmp_args_element_value_41;
PyObject *tmp_args_element_value_42;
PyObject *tmp_args_element_value_43;
PyObject *tmp_args_element_value_44;
tmp_called_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_called_value_39 == NULL)) {
tmp_called_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_called_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1017;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1017;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_41 = par_reader;
if (par_template == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1017;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_42 = par_template;
CHECK_OBJECT(var_operator);
tmp_args_element_value_43 = var_operator;
CHECK_OBJECT(var_operator);
tmp_args_element_value_44 = var_operator;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1017;
{
PyObject *call_args[] = {tmp_args_element_value_41, tmp_args_element_value_42, tmp_args_element_value_43, tmp_args_element_value_44};
tmp_assign_source_36 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_39, call_args);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1017;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block_body;
var_block_body = tmp_assign_source_36;
Py_XDECREF(old);
}
}
goto branch_end_36;
branch_no_36:;
{
nuitka_bool tmp_condition_result_37;
PyObject *tmp_cmp_expr_left_31;
PyObject *tmp_cmp_expr_right_31;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_31 = var_operator;
tmp_cmp_expr_right_31 = mod_consts[262];
tmp_condition_result_37 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_31, tmp_cmp_expr_right_31);
if (tmp_condition_result_37 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1018;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
{
PyObject *tmp_assign_source_37;
PyObject *tmp_called_value_40;
PyObject *tmp_args_element_value_45;
PyObject *tmp_args_element_value_46;
PyObject *tmp_args_element_value_47;
PyObject *tmp_args_element_value_48;
tmp_called_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_called_value_40 == NULL)) {
tmp_called_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_called_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1021;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1021;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_45 = par_reader;
if (par_template == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1021;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_46 = par_template;
CHECK_OBJECT(var_operator);
tmp_args_element_value_47 = var_operator;
tmp_args_element_value_48 = Py_None;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1021;
{
PyObject *call_args[] = {tmp_args_element_value_45, tmp_args_element_value_46, tmp_args_element_value_47, tmp_args_element_value_48};
tmp_assign_source_37 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_40, call_args);
}
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1021;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block_body;
var_block_body = tmp_assign_source_37;
Py_XDECREF(old);
}
}
goto branch_end_37;
branch_no_37:;
{
PyObject *tmp_assign_source_38;
PyObject *tmp_called_value_41;
PyObject *tmp_args_element_value_49;
PyObject *tmp_args_element_value_50;
PyObject *tmp_args_element_value_51;
PyObject *tmp_args_element_value_52;
tmp_called_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_called_value_41 == NULL)) {
tmp_called_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_called_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1023;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1023;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_49 = par_reader;
if (par_template == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1023;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_50 = par_template;
CHECK_OBJECT(var_operator);
tmp_args_element_value_51 = var_operator;
if (par_in_loop == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[263]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1023;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_52 = par_in_loop;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1023;
{
PyObject *call_args[] = {tmp_args_element_value_49, tmp_args_element_value_50, tmp_args_element_value_51, tmp_args_element_value_52};
tmp_assign_source_38 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_41, call_args);
}
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1023;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block_body;
var_block_body = tmp_assign_source_38;
Py_XDECREF(old);
}
}
branch_end_37:;
branch_end_36:;
{
nuitka_bool tmp_condition_result_38;
PyObject *tmp_cmp_expr_left_32;
PyObject *tmp_cmp_expr_right_32;
if (var_operator == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[264]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1025;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_32 = var_operator;
tmp_cmp_expr_right_32 = mod_consts[262];
tmp_condition_result_38 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_32, tmp_cmp_expr_right_32);
if (tmp_condition_result_38 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1025;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
{
bool tmp_condition_result_39;
PyObject *tmp_operand_value_10;
CHECK_OBJECT(var_suffix);
tmp_operand_value_10 = var_suffix;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_10);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1026;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_39 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_39;
} else {
goto branch_no_39;
}
}
branch_yes_39:;
{
PyObject *tmp_called_instance_23;
PyObject *tmp_call_result_26;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1027;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_23 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1027;
tmp_call_result_26 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_23,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[265], 0)
);
if (tmp_call_result_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1027;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_26);
}
branch_no_39:;
{
PyObject *tmp_assign_source_39;
PyObject *tmp_called_value_42;
PyObject *tmp_args_element_value_53;
PyObject *tmp_args_element_value_54;
PyObject *tmp_args_element_value_55;
tmp_called_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[266]);
if (unlikely(tmp_called_value_42 == NULL)) {
tmp_called_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[266]);
}
if (tmp_called_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1028;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_53 = var_suffix;
CHECK_OBJECT(var_line);
tmp_args_element_value_54 = var_line;
CHECK_OBJECT(var_block_body);
tmp_args_element_value_55 = var_block_body;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1028;
{
PyObject *call_args[] = {tmp_args_element_value_53, tmp_args_element_value_54, tmp_args_element_value_55};
tmp_assign_source_39 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_42, call_args);
}
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1028;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_39;
Py_XDECREF(old);
}
}
goto branch_end_38;
branch_no_38:;
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_cmp_expr_left_33;
PyObject *tmp_cmp_expr_right_33;
if (var_operator == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[264]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1029;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_33 = var_operator;
tmp_cmp_expr_right_33 = mod_consts[259];
tmp_condition_result_40 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_33, tmp_cmp_expr_right_33);
if (tmp_condition_result_40 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1029;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto branch_yes_40;
} else {
goto branch_no_40;
}
}
branch_yes_40:;
{
bool tmp_condition_result_41;
PyObject *tmp_operand_value_11;
CHECK_OBJECT(var_suffix);
tmp_operand_value_11 = var_suffix;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_11);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1030;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_41 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_41 != false) {
goto branch_yes_41;
} else {
goto branch_no_41;
}
}
branch_yes_41:;
{
PyObject *tmp_called_instance_24;
PyObject *tmp_call_result_27;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1031;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_24 = par_reader;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1031;
tmp_call_result_27 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_24,
mod_consts[213],
PyTuple_GET_ITEM(mod_consts[267], 0)
);
if (tmp_call_result_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1031;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_27);
}
branch_no_41:;
{
PyObject *tmp_assign_source_40;
PyObject *tmp_called_value_43;
PyObject *tmp_args_element_value_56;
PyObject *tmp_args_element_value_57;
PyObject *tmp_args_element_value_58;
PyObject *tmp_args_element_value_59;
tmp_called_value_43 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_called_value_43 == NULL)) {
tmp_called_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_called_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1032;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_suffix);
tmp_args_element_value_56 = var_suffix;
CHECK_OBJECT(var_block_body);
tmp_args_element_value_57 = var_block_body;
if (par_template == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1032;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_58 = par_template;
CHECK_OBJECT(var_line);
tmp_args_element_value_59 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1032;
{
PyObject *call_args[] = {tmp_args_element_value_56, tmp_args_element_value_57, tmp_args_element_value_58, tmp_args_element_value_59};
tmp_assign_source_40 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_43, call_args);
}
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1032;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_40;
Py_XDECREF(old);
}
}
goto branch_end_40;
branch_no_40:;
{
PyObject *tmp_assign_source_41;
PyObject *tmp_called_value_44;
PyObject *tmp_args_element_value_60;
PyObject *tmp_args_element_value_61;
PyObject *tmp_args_element_value_62;
tmp_called_value_44 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[269]);
if (unlikely(tmp_called_value_44 == NULL)) {
tmp_called_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[269]);
}
if (tmp_called_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_60 = var_contents;
CHECK_OBJECT(var_line);
tmp_args_element_value_61 = var_line;
CHECK_OBJECT(var_block_body);
tmp_args_element_value_62 = var_block_body;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1034;
{
PyObject *call_args[] = {tmp_args_element_value_60, tmp_args_element_value_61, tmp_args_element_value_62};
tmp_assign_source_41 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_44, call_args);
}
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_block;
var_block = tmp_assign_source_41;
Py_XDECREF(old);
}
}
branch_end_40:;
branch_end_38:;
{
PyObject *tmp_called_instance_25;
PyObject *tmp_expression_value_42;
PyObject *tmp_call_result_28;
PyObject *tmp_args_element_value_63;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 1035;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_42 = var_body;
tmp_called_instance_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_42, mod_consts[85]);
if (tmp_called_instance_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1035;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_block);
tmp_args_element_value_63 = var_block;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1035;
tmp_call_result_28 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_25, mod_consts[184], tmp_args_element_value_63);
Py_DECREF(tmp_called_instance_25);
if (tmp_call_result_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1035;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_28);
}
goto loop_start_1;
goto branch_end_35;
branch_no_35:;
{
bool tmp_condition_result_42;
PyObject *tmp_cmp_expr_left_34;
PyObject *tmp_cmp_expr_right_34;
CHECK_OBJECT(var_operator);
tmp_cmp_expr_left_34 = var_operator;
tmp_cmp_expr_right_34 = mod_consts[270];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_34, tmp_cmp_expr_left_34);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1038;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_42 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_42 != false) {
goto branch_yes_42;
} else {
goto branch_no_42;
}
}
branch_yes_42:;
{
bool tmp_condition_result_43;
PyObject *tmp_operand_value_12;
if (par_in_loop == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[263]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1039;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_12 = par_in_loop;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_12);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1039;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_43 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_43 != false) {
goto branch_yes_43;
} else {
goto branch_no_43;
}
}
branch_yes_43:;
{
PyObject *tmp_called_value_45;
PyObject *tmp_expression_value_43;
PyObject *tmp_call_result_29;
PyObject *tmp_args_element_value_64;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_5;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1040;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_43 = par_reader;
tmp_called_value_45 = LOOKUP_ATTRIBUTE(tmp_expression_value_43, mod_consts[213]);
if (tmp_called_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1040;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_4 = mod_consts[238];
CHECK_OBJECT(var_operator);
tmp_tuple_element_5 = var_operator;
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_mod_expr_right_4, 0, tmp_tuple_element_5);
tmp_tuple_element_5 = PySet_New(mod_consts[271]);
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_5);
tmp_args_element_value_64 = 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_args_element_value_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_45);
exception_lineno = 1041;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1040;
tmp_call_result_29 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_45, tmp_args_element_value_64);
Py_DECREF(tmp_called_value_45);
Py_DECREF(tmp_args_element_value_64);
if (tmp_call_result_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1040;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_29);
}
branch_no_43:;
{
PyObject *tmp_called_value_46;
PyObject *tmp_expression_value_44;
PyObject *tmp_expression_value_45;
PyObject *tmp_call_result_30;
PyObject *tmp_args_element_value_65;
PyObject *tmp_called_value_47;
PyObject *tmp_args_element_value_66;
PyObject *tmp_args_element_value_67;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_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 = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_45 = var_body;
tmp_expression_value_44 = LOOKUP_ATTRIBUTE(tmp_expression_value_45, mod_consts[85]);
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_46 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[184]);
Py_DECREF(tmp_expression_value_44);
if (tmp_called_value_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_47 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[251]);
if (unlikely(tmp_called_value_47 == NULL)) {
tmp_called_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[251]);
}
if (tmp_called_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_46);
exception_lineno = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_66 = var_contents;
CHECK_OBJECT(var_line);
tmp_args_element_value_67 = var_line;
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1043;
{
PyObject *call_args[] = {tmp_args_element_value_66, tmp_args_element_value_67};
tmp_args_element_value_65 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_47, call_args);
}
if (tmp_args_element_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_46);
exception_lineno = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1043;
tmp_call_result_30 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_46, tmp_args_element_value_65);
Py_DECREF(tmp_called_value_46);
Py_DECREF(tmp_args_element_value_65);
if (tmp_call_result_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1043;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_30);
}
goto loop_start_1;
goto branch_end_42;
branch_no_42:;
{
PyObject *tmp_called_value_48;
PyObject *tmp_expression_value_46;
PyObject *tmp_call_result_31;
PyObject *tmp_args_element_value_68;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
if (par_reader == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1047;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_46 = par_reader;
tmp_called_value_48 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[213]);
if (tmp_called_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_5 = mod_consts[272];
CHECK_OBJECT(var_operator);
tmp_mod_expr_right_5 = var_operator;
tmp_args_element_value_68 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
if (tmp_args_element_value_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_48);
exception_lineno = 1047;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_489d37db8a4c04a3cad9937047a7929b->m_frame.f_lineno = 1047;
tmp_call_result_31 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_48, tmp_args_element_value_68);
Py_DECREF(tmp_called_value_48);
Py_DECREF(tmp_args_element_value_68);
if (tmp_call_result_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_31);
}
branch_end_42:;
branch_end_35:;
branch_end_20:;
branch_end_18:;
branch_end_15:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 854;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_489d37db8a4c04a3cad9937047a7929b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_489d37db8a4c04a3cad9937047a7929b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_489d37db8a4c04a3cad9937047a7929b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_489d37db8a4c04a3cad9937047a7929b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_489d37db8a4c04a3cad9937047a7929b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_489d37db8a4c04a3cad9937047a7929b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_489d37db8a4c04a3cad9937047a7929b,
type_description_1,
par_reader,
par_template,
par_in_block,
par_in_loop,
var_body,
var_curly,
var_cons,
var_start_brace,
var_line,
var_end,
var_contents,
var_operator,
var_space,
var_suffix,
var_intermediate_blocks,
var_allowed_parents,
var_block,
var_fn,
var_mode,
var_block_body
);
// Release cached frame if used for exception.
if (frame_489d37db8a4c04a3cad9937047a7929b == cache_frame_489d37db8a4c04a3cad9937047a7929b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_489d37db8a4c04a3cad9937047a7929b);
cache_frame_489d37db8a4c04a3cad9937047a7929b = NULL;
}
assertFrameObject(frame_489d37db8a4c04a3cad9937047a7929b);
// 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_body);
var_body = NULL;
Py_XDECREF(var_curly);
var_curly = NULL;
Py_XDECREF(var_cons);
var_cons = NULL;
Py_XDECREF(var_start_brace);
var_start_brace = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_end);
var_end = NULL;
Py_XDECREF(var_contents);
var_contents = NULL;
Py_XDECREF(var_operator);
var_operator = NULL;
Py_XDECREF(var_space);
var_space = NULL;
Py_XDECREF(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_intermediate_blocks);
var_intermediate_blocks = NULL;
Py_XDECREF(var_allowed_parents);
var_allowed_parents = NULL;
Py_XDECREF(var_block);
var_block = NULL;
Py_XDECREF(var_fn);
var_fn = NULL;
Py_XDECREF(var_mode);
var_mode = NULL;
Py_XDECREF(var_block_body);
var_block_body = 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_body);
var_body = NULL;
Py_XDECREF(var_curly);
var_curly = NULL;
Py_XDECREF(var_cons);
var_cons = NULL;
Py_XDECREF(var_start_brace);
var_start_brace = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_end);
var_end = NULL;
Py_XDECREF(var_contents);
var_contents = NULL;
Py_XDECREF(var_operator);
var_operator = NULL;
Py_XDECREF(var_space);
var_space = NULL;
Py_XDECREF(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_intermediate_blocks);
var_intermediate_blocks = NULL;
Py_XDECREF(var_allowed_parents);
var_allowed_parents = NULL;
Py_XDECREF(var_block);
var_block = NULL;
Py_XDECREF(var_fn);
var_fn = NULL;
Py_XDECREF(var_mode);
var_mode = NULL;
Py_XDECREF(var_block_body);
var_block_body = 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_reader);
Py_DECREF(par_reader);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_in_block);
Py_DECREF(par_in_block);
CHECK_OBJECT(par_in_loop);
Py_DECREF(par_in_loop);
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_reader);
Py_DECREF(par_reader);
CHECK_OBJECT(par_template);
Py_DECREF(par_template);
CHECK_OBJECT(par_in_block);
Py_DECREF(par_in_block);
CHECK_OBJECT(par_in_loop);
Py_DECREF(par_in_loop);
// 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$template$$$function__10__create_template(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__10__create_template,
mod_consts[104],
#if PYTHON_VERSION >= 0x300
mod_consts[318],
#endif
codeobj_e3092d89ca7d6bc1d0600422f1c02fa2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__11___init__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__11___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[322],
#endif
codeobj_67ae6c339b24b479f9f2a9846fd20ce9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__12_resolve_path(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__12_resolve_path,
mod_consts[102],
#if PYTHON_VERSION >= 0x300
mod_consts[323],
#endif
codeobj_f24472873e6c833d216e3a8183907683,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__13__create_template(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__13__create_template,
mod_consts[104],
#if PYTHON_VERSION >= 0x300
mod_consts[324],
#endif
codeobj_f60a492cc16d63280d3be4f9a280e5a8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__14___init__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__14___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[327],
#endif
codeobj_bfbee133b4bcada5a3d665b6ff120e66,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__15_resolve_path(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__15_resolve_path,
mod_consts[102],
#if PYTHON_VERSION >= 0x300
mod_consts[328],
#endif
codeobj_bfe8ed99a0566f3b3b45f5a05536ee85,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__16__create_template(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__16__create_template,
mod_consts[104],
#if PYTHON_VERSION >= 0x300
mod_consts[329],
#endif
codeobj_4535a62d1070dd0aabe1be80c9ea2d33,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__17_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[330],
#endif
codeobj_c79a92a315ee7820e14522a9daefe6b1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
Nuitka_Function_EnableConstReturnGeneric(result, mod_consts[294]);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__18_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__18_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[332],
#endif
codeobj_359fedb4fcbf9428044ffdcff427c771,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__19_find_named_blocks(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__19_find_named_blocks,
mod_consts[76],
#if PYTHON_VERSION >= 0x300
mod_consts[333],
#endif
codeobj_a193fb406301cd167cb93a9230b617c3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__1_filter_whitespace(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__1_filter_whitespace,
mod_consts[22],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b75fb1ceb78107c886e9c058c68766c7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[11],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__20___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__20___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[334],
#endif
codeobj_a6d817b5a4096617c8c52e47a02b7fb8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__21_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__21_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[335],
#endif
codeobj_2451851311e0faad69589ced2f00e9ca,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__22_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__22_each_child,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[336],
#endif
codeobj_bfa02db757926952b144360ead457921,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__23___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__23___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[337],
#endif
codeobj_8456fc3face271e6e97df7ba41a6c28d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__24_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__24_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[338],
#endif
codeobj_098bd374fe736f5df2ddd77983c7f18b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__25_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__25_each_child,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[339],
#endif
codeobj_c696eb6961e0ab75fd921f7c21c276a0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__26___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__26___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[341],
#endif
codeobj_d4946ef70d083f8abbc0ba88d4da40fa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__27_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__27_each_child,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[342],
#endif
codeobj_a0f1e75fb4bac045ec036365d3fe94ae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__28_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__28_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[343],
#endif
codeobj_02d0b18e5830e5cba654e4c2debf40d6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__29_find_named_blocks(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__29_find_named_blocks,
mod_consts[76],
#if PYTHON_VERSION >= 0x300
mod_consts[344],
#endif
codeobj_edff51aaa071017f9699a44d5642d1aa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__2___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__2___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[305],
#endif
codeobj_f1be40cfe00adcc3bd96336b65f8a304,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[45],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__30___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__30___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[345],
#endif
codeobj_409d8d7c5351d503690a735c873f1fcf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__31___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__31___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[346],
#endif
codeobj_7a885bfb1dada39ebfe57b12ee18770b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__32_find_named_blocks(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__32_find_named_blocks,
mod_consts[76],
#if PYTHON_VERSION >= 0x300
mod_consts[347],
#endif
codeobj_41fdec7c86b33a1bb1fc6779f6d67364,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__33_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__33_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[348],
#endif
codeobj_38bdb8297c5b757b7cc2ecbff127be80,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__34___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__34___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[349],
#endif
codeobj_450dce12b88dca1e33aa288f4030b47c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__35_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__35_each_child,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[350],
#endif
codeobj_ee33089bfe49dba3cb496cac89df16d0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__36_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__36_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[351],
#endif
codeobj_c9d44ecfc520f3fce0fb8fcf9c22de2e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__37___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__37___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[352],
#endif
codeobj_9ed24e220889821b59955068ed91aedd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__38_each_child(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__38_each_child,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
mod_consts[353],
#endif
codeobj_617970024470e5965a544b119728d404,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__39_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__39_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[354],
#endif
codeobj_df945f75bff38cfd17d8695c138c8dc8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__3_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__3_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[307],
#endif
codeobj_d1d4672e334abe27735d2277f676c29a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[71],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__3_generate$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__3_generate$$$function__1_lambda,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[60],
#endif
codeobj_498b5118530a43c8d3546c0cf99e5b4b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__40___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__40___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[355],
#endif
codeobj_f551603443ed60155fd8650391353d15,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__41_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__41_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[356],
#endif
codeobj_4372beb42bc5a717613f1d7bc614ce92,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__42___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__42___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[357],
#endif
codeobj_ff4ddd83fae351ef0fc9ccfb25c01c23,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__43_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__43_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[358],
#endif
codeobj_77fb2c93c8c9bb0a1c6842e2193ec506,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__44___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__44___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[360],
#endif
codeobj_1450d8893d2ce42fe4e32e8fad08e1f5,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__45_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__45_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[361],
#endif
codeobj_b859302b2ac5df945bf06a3828417bf1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__46___init__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__46___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[362],
#endif
codeobj_b8e88beb10e8e4c9320f1e78cd52d451,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__47___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__47___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[363],
#endif
codeobj_666cf2fbcdc781088537b550a79e5870,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__48_generate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__48_generate,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[364],
#endif
codeobj_4c0e8307b8e175b9b853ac4740c8bb06,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__49___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__49___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[368],
#endif
codeobj_5152fbe651a757013248371bcc8552a2,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__4__generate_python(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__4__generate_python,
mod_consts[32],
#if PYTHON_VERSION >= 0x300
mod_consts[308],
#endif
codeobj_5c288a7691a09220574c3c13fecf2bcd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__50___str__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__50___str__,
mod_consts[369],
#if PYTHON_VERSION >= 0x300
mod_consts[370],
#endif
codeobj_860ca7e9e4b10242913823baed7c24de,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__51___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__51___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[371],
#endif
codeobj_616e5df75ca32f550cad11c89cea1f53,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__52_indent_size(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__52_indent_size,
mod_consts[146],
#if PYTHON_VERSION >= 0x300
mod_consts[372],
#endif
codeobj_f265cf786da53478eef46cd925b36916,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__53_indent,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[374],
#endif
codeobj_293cc725e21c64f580366b474d4e08eb,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__1___enter__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__53_indent$$$function__1___enter__,
mod_consts[97],
#if PYTHON_VERSION >= 0x300
mod_consts[178],
#endif
codeobj_c228515917d17455d031b06b64002baf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__53_indent$$$function__2___exit__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__53_indent$$$function__2___exit__,
mod_consts[98],
#if PYTHON_VERSION >= 0x300
mod_consts[182],
#endif
codeobj_3d96d8355e278690f0ea7fa13031979d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__54_include,
mod_consts[134],
#if PYTHON_VERSION >= 0x300
mod_consts[376],
#endif
codeobj_e8a763bcaba7f7c992d03a95dccc55a9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__1___enter__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__54_include$$$function__1___enter__,
mod_consts[97],
#if PYTHON_VERSION >= 0x300
mod_consts[187],
#endif
codeobj_91c76306442ce229296e4bd7b94b77be,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__54_include$$$function__2___exit__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__54_include$$$function__2___exit__,
mod_consts[98],
#if PYTHON_VERSION >= 0x300
mod_consts[188],
#endif
codeobj_1b70ce3b4bd8dcfb2103347bf31f71e5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__55_write_line(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__55_write_line,
mod_consts[127],
#if PYTHON_VERSION >= 0x300
mod_consts[378],
#endif
codeobj_3f2c81d28d4bddb1d88e94b07c7b30da,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__56___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__56___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[379],
#endif
codeobj_100c0896e5d4c07c73c9b0f10e508544,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__57_find(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__57_find,
mod_consts[200],
#if PYTHON_VERSION >= 0x300
mod_consts[383],
#endif
codeobj_751d4cb50b8ac91db793430c47ed2011,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__58_consume(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__58_consume,
mod_consts[216],
#if PYTHON_VERSION >= 0x300
mod_consts[384],
#endif
codeobj_1047f07d78c736d2860cb4d1b2f8a663,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__59_remaining(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__59_remaining,
mod_consts[203],
#if PYTHON_VERSION >= 0x300
mod_consts[385],
#endif
codeobj_b71cfa9a6ed03b532dd5aa9d02dd5c6b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__5__get_ancestors(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__5__get_ancestors,
mod_consts[74],
#if PYTHON_VERSION >= 0x300
mod_consts[309],
#endif
codeobj_459a473cef0d458a713d677b0cecc859,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__60___len__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__60___len__,
mod_consts[386],
#if PYTHON_VERSION >= 0x300
mod_consts[387],
#endif
codeobj_991b5fd148afcfb8b542ac7e54949666,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__61___getitem__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__61___getitem__,
mod_consts[170],
#if PYTHON_VERSION >= 0x300
mod_consts[390],
#endif
codeobj_95a58bb5c3466deb11f36f82e26b7600,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__62___str__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__62___str__,
mod_consts[369],
#if PYTHON_VERSION >= 0x300
mod_consts[391],
#endif
codeobj_bae33c7e9266f3668ecf11a9d5f334af,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__63_raise_parse_error(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__63_raise_parse_error,
mod_consts[213],
#if PYTHON_VERSION >= 0x300
mod_consts[393],
#endif
codeobj_2861ffe69f0de0e663e873e28f51110d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__64__format_code(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__64__format_code,
mod_consts[40],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_1728b3ef554cc3b28241f7d139d7b585,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__65__parse(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__65__parse,
mod_consts[30],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_489d37db8a4c04a3cad9937047a7929b,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__6___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__6___init__,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
mod_consts[311],
#endif
codeobj_0b9785199387514b0652c50a2c2dcbc8,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[96],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__7_reset(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__7_reset,
mod_consts[313],
#if PYTHON_VERSION >= 0x300
mod_consts[314],
#endif
codeobj_e6fb37cfc52a9678ae2073599ea22486,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[100],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__8_resolve_path(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__8_resolve_path,
mod_consts[102],
#if PYTHON_VERSION >= 0x300
mod_consts[316],
#endif
codeobj_9a2efb4b6abc36a93f66559a1c0fc7db,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[101],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$template$$$function__9_load(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$template$$$function__9_load,
mod_consts[89],
#if PYTHON_VERSION >= 0x300
mod_consts[317],
#endif
codeobj_5c84fcb6d0bdd687c41a0d6c32075290,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$template,
mod_consts[105],
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$template[] = {
impl_tornado$template$$$function__3_generate$$$function__1_lambda,
impl_tornado$template$$$function__53_indent$$$function__1___enter__,
impl_tornado$template$$$function__53_indent$$$function__2___exit__,
impl_tornado$template$$$function__54_include$$$function__1___enter__,
impl_tornado$template$$$function__54_include$$$function__2___exit__,
impl_tornado$template$$$function__1_filter_whitespace,
impl_tornado$template$$$function__2___init__,
impl_tornado$template$$$function__3_generate,
impl_tornado$template$$$function__4__generate_python,
impl_tornado$template$$$function__5__get_ancestors,
impl_tornado$template$$$function__6___init__,
impl_tornado$template$$$function__7_reset,
impl_tornado$template$$$function__8_resolve_path,
impl_tornado$template$$$function__9_load,
impl_tornado$template$$$function__10__create_template,
impl_tornado$template$$$function__11___init__,
impl_tornado$template$$$function__12_resolve_path,
impl_tornado$template$$$function__13__create_template,
impl_tornado$template$$$function__14___init__,
impl_tornado$template$$$function__15_resolve_path,
impl_tornado$template$$$function__16__create_template,
NULL,
impl_tornado$template$$$function__18_generate,
impl_tornado$template$$$function__19_find_named_blocks,
impl_tornado$template$$$function__20___init__,
impl_tornado$template$$$function__21_generate,
impl_tornado$template$$$function__22_each_child,
impl_tornado$template$$$function__23___init__,
impl_tornado$template$$$function__24_generate,
impl_tornado$template$$$function__25_each_child,
impl_tornado$template$$$function__26___init__,
impl_tornado$template$$$function__27_each_child,
impl_tornado$template$$$function__28_generate,
impl_tornado$template$$$function__29_find_named_blocks,
impl_tornado$template$$$function__30___init__,
impl_tornado$template$$$function__31___init__,
impl_tornado$template$$$function__32_find_named_blocks,
impl_tornado$template$$$function__33_generate,
impl_tornado$template$$$function__34___init__,
impl_tornado$template$$$function__35_each_child,
impl_tornado$template$$$function__36_generate,
impl_tornado$template$$$function__37___init__,
impl_tornado$template$$$function__38_each_child,
impl_tornado$template$$$function__39_generate,
impl_tornado$template$$$function__40___init__,
impl_tornado$template$$$function__41_generate,
impl_tornado$template$$$function__42___init__,
impl_tornado$template$$$function__43_generate,
impl_tornado$template$$$function__44___init__,
impl_tornado$template$$$function__45_generate,
impl_tornado$template$$$function__46___init__,
impl_tornado$template$$$function__47___init__,
impl_tornado$template$$$function__48_generate,
impl_tornado$template$$$function__49___init__,
impl_tornado$template$$$function__50___str__,
impl_tornado$template$$$function__51___init__,
impl_tornado$template$$$function__52_indent_size,
impl_tornado$template$$$function__53_indent,
impl_tornado$template$$$function__54_include,
impl_tornado$template$$$function__55_write_line,
impl_tornado$template$$$function__56___init__,
impl_tornado$template$$$function__57_find,
impl_tornado$template$$$function__58_consume,
impl_tornado$template$$$function__59_remaining,
impl_tornado$template$$$function__60___len__,
impl_tornado$template$$$function__61___getitem__,
impl_tornado$template$$$function__62___str__,
impl_tornado$template$$$function__63_raise_parse_error,
impl_tornado$template$$$function__64__format_code,
impl_tornado$template$$$function__65__parse,
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$template;
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$template) || 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$template[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$template,
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$template(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.template");
// Store the module for future use.
module_tornado$template = 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.template: 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.template: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.template: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$template\n");
moduledict_tornado$template = MODULE_DICT(module_tornado$template);
#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$template,
(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$template,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[23]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$template,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$template, (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$template,
(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$template, (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$template,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$template);
// 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$template, (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$template, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$template, (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$template, (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$template);
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$template, (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;
struct Nuitka_CellObject *outline_3_var___class__ = Nuitka_Cell_Empty();
struct Nuitka_CellObject *outline_4_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_5_var___class__ = NULL;
PyObject *outline_6_var___class__ = NULL;
PyObject *outline_7_var___class__ = NULL;
PyObject *outline_8_var___class__ = NULL;
PyObject *outline_9_var___class__ = NULL;
PyObject *outline_10_var___class__ = NULL;
PyObject *outline_11_var___class__ = NULL;
PyObject *outline_12_var___class__ = NULL;
PyObject *outline_13_var___class__ = NULL;
PyObject *outline_14_var___class__ = NULL;
PyObject *outline_15_var___class__ = NULL;
struct Nuitka_CellObject *outline_16_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_17_var___class__ = NULL;
PyObject *outline_18_var___class__ = NULL;
PyObject *outline_19_var___class__ = NULL;
PyObject *outline_20_var___class__ = NULL;
PyObject *tmp_class_creation_10__bases = NULL;
PyObject *tmp_class_creation_10__bases_orig = NULL;
PyObject *tmp_class_creation_10__class_decl_dict = NULL;
PyObject *tmp_class_creation_10__metaclass = NULL;
PyObject *tmp_class_creation_10__prepared = NULL;
PyObject *tmp_class_creation_11__bases = NULL;
PyObject *tmp_class_creation_11__bases_orig = NULL;
PyObject *tmp_class_creation_11__class_decl_dict = NULL;
PyObject *tmp_class_creation_11__metaclass = NULL;
PyObject *tmp_class_creation_11__prepared = NULL;
PyObject *tmp_class_creation_12__bases = NULL;
PyObject *tmp_class_creation_12__bases_orig = NULL;
PyObject *tmp_class_creation_12__class_decl_dict = NULL;
PyObject *tmp_class_creation_12__metaclass = NULL;
PyObject *tmp_class_creation_12__prepared = NULL;
PyObject *tmp_class_creation_13__bases = NULL;
PyObject *tmp_class_creation_13__bases_orig = NULL;
PyObject *tmp_class_creation_13__class_decl_dict = NULL;
PyObject *tmp_class_creation_13__metaclass = NULL;
PyObject *tmp_class_creation_13__prepared = NULL;
PyObject *tmp_class_creation_14__bases = NULL;
PyObject *tmp_class_creation_14__bases_orig = NULL;
PyObject *tmp_class_creation_14__class_decl_dict = NULL;
PyObject *tmp_class_creation_14__metaclass = NULL;
PyObject *tmp_class_creation_14__prepared = NULL;
PyObject *tmp_class_creation_15__bases = NULL;
PyObject *tmp_class_creation_15__bases_orig = NULL;
PyObject *tmp_class_creation_15__class_decl_dict = NULL;
PyObject *tmp_class_creation_15__metaclass = NULL;
PyObject *tmp_class_creation_15__prepared = NULL;
PyObject *tmp_class_creation_16__bases = NULL;
PyObject *tmp_class_creation_16__bases_orig = NULL;
PyObject *tmp_class_creation_16__class_decl_dict = NULL;
PyObject *tmp_class_creation_16__metaclass = NULL;
PyObject *tmp_class_creation_16__prepared = NULL;
PyObject *tmp_class_creation_17__bases = NULL;
PyObject *tmp_class_creation_17__bases_orig = NULL;
PyObject *tmp_class_creation_17__class_decl_dict = NULL;
PyObject *tmp_class_creation_17__metaclass = NULL;
PyObject *tmp_class_creation_17__prepared = NULL;
PyObject *tmp_class_creation_18__bases = NULL;
PyObject *tmp_class_creation_18__bases_orig = NULL;
PyObject *tmp_class_creation_18__class_decl_dict = NULL;
PyObject *tmp_class_creation_18__metaclass = NULL;
PyObject *tmp_class_creation_18__prepared = NULL;
PyObject *tmp_class_creation_19__bases = NULL;
PyObject *tmp_class_creation_19__class_decl_dict = NULL;
PyObject *tmp_class_creation_19__metaclass = NULL;
PyObject *tmp_class_creation_19__prepared = 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_20__bases = NULL;
PyObject *tmp_class_creation_20__class_decl_dict = NULL;
PyObject *tmp_class_creation_20__metaclass = NULL;
PyObject *tmp_class_creation_20__prepared = NULL;
PyObject *tmp_class_creation_21__bases = NULL;
PyObject *tmp_class_creation_21__class_decl_dict = NULL;
PyObject *tmp_class_creation_21__metaclass = NULL;
PyObject *tmp_class_creation_21__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__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_class_creation_7__bases = NULL;
PyObject *tmp_class_creation_7__bases_orig = NULL;
PyObject *tmp_class_creation_7__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_class_creation_8__bases = NULL;
PyObject *tmp_class_creation_8__bases_orig = 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__bases_orig = 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_334dd95518f3a15a7553ddb5c7596b04;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$template$$$class__1__UnsetMarker_220 = NULL;
PyObject *tmp_dictset_value;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *locals_tornado$template$$$class__2_Template_252 = NULL;
struct Nuitka_FrameObject *frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *locals_tornado$template$$$class__3_BaseLoader_392 = NULL;
struct Nuitka_FrameObject *frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *locals_tornado$template$$$class__4_Loader_453 = NULL;
struct Nuitka_FrameObject *frame_11f2b572ae1016ba52d0d50b252f4b68_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4 = NULL;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *locals_tornado$template$$$class__5_DictLoader_481 = NULL;
struct Nuitka_FrameObject *frame_1b8afad441282e6e9dee264c2302c3c3_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_1b8afad441282e6e9dee264c2302c3c3_5 = NULL;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *locals_tornado$template$$$class__6__Node_503 = NULL;
struct Nuitka_FrameObject *frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 = NULL;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *locals_tornado$template$$$class__7__File_517 = NULL;
struct Nuitka_FrameObject *frame_29db05089589c8ea1ef6ad8e37660564_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_29db05089589c8ea1ef6ad8e37660564_7 = NULL;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23;
PyObject *locals_tornado$template$$$class__8__ChunkList_535 = NULL;
struct Nuitka_FrameObject *frame_f72dc65022469f6212f1087258bd12a7_8;
NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL;
static struct Nuitka_FrameObject *cache_frame_f72dc65022469f6212f1087258bd12a7_8 = NULL;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
PyObject *exception_keeper_type_25;
PyObject *exception_keeper_value_25;
PyTracebackObject *exception_keeper_tb_25;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26;
PyObject *locals_tornado$template$$$class__9__NamedBlock_547 = NULL;
struct Nuitka_FrameObject *frame_3aa8bdb6a443a560d40a408c4e75afa5_9;
NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL;
static struct Nuitka_FrameObject *cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9 = NULL;
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 *exception_keeper_type_29;
PyObject *exception_keeper_value_29;
PyTracebackObject *exception_keeper_tb_29;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_29;
PyObject *locals_tornado$template$$$class__10__ExtendsBlock_569 = NULL;
struct Nuitka_FrameObject *frame_18bc1336ec81e9d6bf7a905b84f062ae_10;
NUITKA_MAY_BE_UNUSED char const *type_description_10 = NULL;
static struct Nuitka_FrameObject *cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10 = NULL;
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;
PyObject *locals_tornado$template$$$class__11__IncludeBlock_574 = NULL;
struct Nuitka_FrameObject *frame_69bcc9f8d15af1cae408d6cc230baff1_11;
NUITKA_MAY_BE_UNUSED char const *type_description_11 = NULL;
static struct Nuitka_FrameObject *cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11 = NULL;
PyObject *exception_keeper_type_33;
PyObject *exception_keeper_value_33;
PyTracebackObject *exception_keeper_tb_33;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33;
PyObject *exception_keeper_type_34;
PyObject *exception_keeper_value_34;
PyTracebackObject *exception_keeper_tb_34;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_34;
PyObject *exception_keeper_type_35;
PyObject *exception_keeper_value_35;
PyTracebackObject *exception_keeper_tb_35;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_35;
PyObject *locals_tornado$template$$$class__12__ApplyBlock_594 = NULL;
struct Nuitka_FrameObject *frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12;
NUITKA_MAY_BE_UNUSED char const *type_description_12 = NULL;
static struct Nuitka_FrameObject *cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 = NULL;
PyObject *exception_keeper_type_36;
PyObject *exception_keeper_value_36;
PyTracebackObject *exception_keeper_tb_36;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_36;
PyObject *exception_keeper_type_37;
PyObject *exception_keeper_value_37;
PyTracebackObject *exception_keeper_tb_37;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_37;
PyObject *exception_keeper_type_38;
PyObject *exception_keeper_value_38;
PyTracebackObject *exception_keeper_tb_38;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_38;
PyObject *locals_tornado$template$$$class__13__ControlBlock_617 = NULL;
struct Nuitka_FrameObject *frame_ce451adc4a692f7f324030cf6b076357_13;
NUITKA_MAY_BE_UNUSED char const *type_description_13 = NULL;
static struct Nuitka_FrameObject *cache_frame_ce451adc4a692f7f324030cf6b076357_13 = NULL;
PyObject *exception_keeper_type_39;
PyObject *exception_keeper_value_39;
PyTracebackObject *exception_keeper_tb_39;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_39;
PyObject *exception_keeper_type_40;
PyObject *exception_keeper_value_40;
PyTracebackObject *exception_keeper_tb_40;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_40;
PyObject *exception_keeper_type_41;
PyObject *exception_keeper_value_41;
PyTracebackObject *exception_keeper_tb_41;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_41;
PyObject *locals_tornado$template$$$class__14__IntermediateControlBlock_634 = NULL;
struct Nuitka_FrameObject *frame_8865c043121207ddc1962f38673be9b1_14;
NUITKA_MAY_BE_UNUSED char const *type_description_14 = NULL;
static struct Nuitka_FrameObject *cache_frame_8865c043121207ddc1962f38673be9b1_14 = NULL;
PyObject *exception_keeper_type_42;
PyObject *exception_keeper_value_42;
PyTracebackObject *exception_keeper_tb_42;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_42;
PyObject *exception_keeper_type_43;
PyObject *exception_keeper_value_43;
PyTracebackObject *exception_keeper_tb_43;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_43;
PyObject *exception_keeper_type_44;
PyObject *exception_keeper_value_44;
PyTracebackObject *exception_keeper_tb_44;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_44;
PyObject *locals_tornado$template$$$class__15__Statement_645 = NULL;
struct Nuitka_FrameObject *frame_9140d5420aeec96ced7c11f8d8c889e5_15;
NUITKA_MAY_BE_UNUSED char const *type_description_15 = NULL;
static struct Nuitka_FrameObject *cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15 = NULL;
PyObject *exception_keeper_type_45;
PyObject *exception_keeper_value_45;
PyTracebackObject *exception_keeper_tb_45;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_45;
PyObject *exception_keeper_type_46;
PyObject *exception_keeper_value_46;
PyTracebackObject *exception_keeper_tb_46;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_46;
PyObject *exception_keeper_type_47;
PyObject *exception_keeper_value_47;
PyTracebackObject *exception_keeper_tb_47;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_47;
PyObject *locals_tornado$template$$$class__16__Expression_654 = NULL;
struct Nuitka_FrameObject *frame_c90379810339cf78a1536bcfe5575960_16;
NUITKA_MAY_BE_UNUSED char const *type_description_16 = NULL;
static struct Nuitka_FrameObject *cache_frame_c90379810339cf78a1536bcfe5575960_16 = NULL;
PyObject *exception_keeper_type_48;
PyObject *exception_keeper_value_48;
PyTracebackObject *exception_keeper_tb_48;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_48;
PyObject *exception_keeper_type_49;
PyObject *exception_keeper_value_49;
PyTracebackObject *exception_keeper_tb_49;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_49;
PyObject *exception_keeper_type_50;
PyObject *exception_keeper_value_50;
PyTracebackObject *exception_keeper_tb_50;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_50;
PyObject *locals_tornado$template$$$class__17__Module_677 = NULL;
struct Nuitka_FrameObject *frame_e01651c2d0866817cc819fc0ce5759f6_17;
NUITKA_MAY_BE_UNUSED char const *type_description_17 = NULL;
static struct Nuitka_FrameObject *cache_frame_e01651c2d0866817cc819fc0ce5759f6_17 = NULL;
PyObject *exception_keeper_type_51;
PyObject *exception_keeper_value_51;
PyTracebackObject *exception_keeper_tb_51;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_51;
PyObject *exception_keeper_type_52;
PyObject *exception_keeper_value_52;
PyTracebackObject *exception_keeper_tb_52;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_52;
PyObject *exception_keeper_type_53;
PyObject *exception_keeper_value_53;
PyTracebackObject *exception_keeper_tb_53;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_53;
PyObject *locals_tornado$template$$$class__18__Text_682 = NULL;
struct Nuitka_FrameObject *frame_8514cff5dcb7e04874d8678cf4a5d4b9_18;
NUITKA_MAY_BE_UNUSED char const *type_description_18 = NULL;
static struct Nuitka_FrameObject *cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 = NULL;
PyObject *exception_keeper_type_54;
PyObject *exception_keeper_value_54;
PyTracebackObject *exception_keeper_tb_54;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_54;
PyObject *exception_keeper_type_55;
PyObject *exception_keeper_value_55;
PyTracebackObject *exception_keeper_tb_55;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_55;
PyObject *exception_keeper_type_56;
PyObject *exception_keeper_value_56;
PyTracebackObject *exception_keeper_tb_56;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_56;
PyObject *locals_tornado$template$$$class__19_ParseError_700 = NULL;
struct Nuitka_FrameObject *frame_c0cc7a93df4c4a7486595c764edab8fb_19;
NUITKA_MAY_BE_UNUSED char const *type_description_19 = NULL;
static struct Nuitka_FrameObject *cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19 = NULL;
PyObject *exception_keeper_type_57;
PyObject *exception_keeper_value_57;
PyTracebackObject *exception_keeper_tb_57;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_57;
PyObject *exception_keeper_type_58;
PyObject *exception_keeper_value_58;
PyTracebackObject *exception_keeper_tb_58;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_58;
PyObject *exception_keeper_type_59;
PyObject *exception_keeper_value_59;
PyTracebackObject *exception_keeper_tb_59;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_59;
PyObject *locals_tornado$template$$$class__20__CodeWriter_723 = NULL;
struct Nuitka_FrameObject *frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20;
NUITKA_MAY_BE_UNUSED char const *type_description_20 = NULL;
static struct Nuitka_FrameObject *cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 = NULL;
PyObject *exception_keeper_type_60;
PyObject *exception_keeper_value_60;
PyTracebackObject *exception_keeper_tb_60;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_60;
PyObject *exception_keeper_type_61;
PyObject *exception_keeper_value_61;
PyTracebackObject *exception_keeper_tb_61;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_61;
PyObject *exception_keeper_type_62;
PyObject *exception_keeper_value_62;
PyTracebackObject *exception_keeper_tb_62;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_62;
PyObject *locals_tornado$template$$$class__21__TemplateReader_781 = NULL;
struct Nuitka_FrameObject *frame_2d50f5b447980a86c66802ab05a34e81_21;
NUITKA_MAY_BE_UNUSED char const *type_description_21 = NULL;
static struct Nuitka_FrameObject *cache_frame_2d50f5b447980a86c66802ab05a34e81_21 = NULL;
PyObject *exception_keeper_type_63;
PyObject *exception_keeper_value_63;
PyTracebackObject *exception_keeper_tb_63;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_63;
PyObject *exception_keeper_type_64;
PyObject *exception_keeper_value_64;
PyTracebackObject *exception_keeper_tb_64;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_64;
PyObject *exception_keeper_type_65;
PyObject *exception_keeper_value_65;
PyTracebackObject *exception_keeper_tb_65;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_65;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[273];
UPDATE_STRING_DICT0(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[274], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[275];
UPDATE_STRING_DICT0(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[276], tmp_assign_source_2);
}
// Frame without reuse.
frame_334dd95518f3a15a7553ddb5c7596b04 = MAKE_MODULE_FRAME(codeobj_334dd95518f3a15a7553ddb5c7596b04, module_tornado$template);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_334dd95518f3a15a7553ddb5c7596b04);
assert(Py_REFCNT(frame_334dd95518f3a15a7553ddb5c7596b04) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[275];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[277]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[277]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[278], 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$template, (Nuitka_StringObject *)mod_consts[277]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[277]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[279], 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$template, (Nuitka_StringObject *)mod_consts[280], 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[51];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 199;
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 = 199;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[51], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
tmp_import_name_from_1 = IMPORT_HARD_IO();
assert(!(tmp_import_name_from_1 == NULL));
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_5 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$template,
mod_consts[73],
mod_consts[79]
);
} else {
tmp_assign_source_5 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[73]);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[73], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[69];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 201;
tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[281];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 202;
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = IMPORT_HARD_POSIXPATH();
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[123], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[2];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 204;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[93];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 205;
tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_2;
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[282];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[283];
tmp_level_value_6 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 207;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$template,
mod_consts[12],
mod_consts[79]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[12]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[12], 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[284];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[285];
tmp_level_value_7 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 208;
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 = 208;
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$template,
mod_consts[42],
mod_consts[79]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[42]);
}
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 = 208;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
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[286];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$template;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[287];
tmp_level_value_8 = mod_consts[79];
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 209;
tmp_assign_source_13 = 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_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$template,
mod_consts[58],
mod_consts[79]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[58]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[58], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
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_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$template,
mod_consts[63],
mod_consts[79]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[63]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[63], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
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_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$template,
mod_consts[55],
mod_consts[79]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[55]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[55], tmp_assign_source_16);
}
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_17;
tmp_assign_source_17 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_17 == NULL));
assert(tmp_import_from_2__module == NULL);
Py_INCREF(tmp_assign_source_17);
tmp_import_from_2__module = tmp_assign_source_17;
}
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_7 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$template,
mod_consts[180],
mod_consts[79]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[180]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_8 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$template,
mod_consts[288],
mod_consts[79]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[288]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[288], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_9 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$template,
mod_consts[66],
mod_consts[79]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[66]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[66], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_10 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$template,
mod_consts[289],
mod_consts[79]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[289]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[289], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_11 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$template,
mod_consts[290],
mod_consts[79]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[290]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_12 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$template,
mod_consts[291],
mod_consts[79]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[291]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
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_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$template,
mod_consts[292],
mod_consts[79]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[292]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
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_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_tornado$template,
mod_consts[293],
mod_consts[79]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[293]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[293], 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;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_26 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = mod_consts[46];
UPDATE_STRING_DICT0(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_28;
}
// Tried code:
{
PyObject *tmp_assign_source_29;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[167];
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));
goto condexpr_end_1;
condexpr_false_1:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
condexpr_end_1:;
tmp_bases_value_1 = mod_consts[294];
tmp_assign_source_29 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_29;
}
{
bool tmp_condition_result_2;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[167];
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_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 220;
goto try_except_handler_3;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_1 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_1, mod_consts[168]);
tmp_condition_result_3 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[168]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_3;
}
tmp_args_value_1 = mod_consts[295];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 220;
tmp_assign_source_30 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_30;
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_3 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_3, mod_consts[170]);
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 = 220;
goto try_except_handler_3;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
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[171];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[56];
tmp_getattr_default_1 = mod_consts[172];
tmp_tuple_element_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_3;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_4;
PyObject *tmp_type_arg_1;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_1 = tmp_class_creation_1__prepared;
tmp_expression_value_4 = BUILTIN_TYPE1(tmp_type_arg_1);
assert(!(tmp_expression_value_4 == NULL));
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[56]);
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 = 220;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 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_mod_expr_right_1);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 220;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_3;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_31;
}
branch_end_2:;
{
PyObject *tmp_assign_source_32;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$template$$$class__1__UnsetMarker_220 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__1__UnsetMarker_220, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_5;
}
tmp_dictset_value = mod_consts[24];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__1__UnsetMarker_220, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_5;
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_2 = mod_consts[24];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = mod_consts[294];
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = locals_tornado$template$$$class__1__UnsetMarker_220;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 220;
tmp_assign_source_33 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
goto try_except_handler_5;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_33;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_32 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_32);
goto try_return_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
Py_DECREF(locals_tornado$template$$$class__1__UnsetMarker_220);
locals_tornado$template$$$class__1__UnsetMarker_220 = NULL;
goto try_return_handler_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__1__UnsetMarker_220);
locals_tornado$template$$$class__1__UnsetMarker_220 = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_4;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 220;
goto try_except_handler_3;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_32);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
{
PyObject *tmp_assign_source_34;
PyObject *tmp_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (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 = 224;
goto frame_exception_exit_1;
}
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 224;
tmp_assign_source_34 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_annotations_1;
tmp_annotations_1 = DICT_COPY(mod_consts[296]);
tmp_assign_source_35 = MAKE_FUNCTION_tornado$template$$$function__1_filter_whitespace(tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[22], tmp_assign_source_35);
}
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_36 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_36;
}
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_5;
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_6;
int tmp_truth_name_1;
PyObject *tmp_type_arg_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[167];
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_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
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[167];
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_2;
condexpr_false_2:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
tmp_condition_result_6 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_5 = tmp_class_creation_2__bases;
tmp_subscript_value_1 = mod_consts[79];
tmp_type_arg_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, 0);
if (tmp_type_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_2);
Py_DECREF(tmp_type_arg_2);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_3:;
condexpr_end_2:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_38 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_38;
}
{
bool tmp_condition_result_7;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[167];
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_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 252;
goto try_except_handler_6;
}
branch_no_4:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_6 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_6, mod_consts[168]);
tmp_condition_result_8 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_39;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_7 = tmp_class_creation_2__metaclass;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[168]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
tmp_tuple_element_3 = mod_consts[119];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_3 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 252;
tmp_assign_source_39 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_39;
}
{
bool tmp_condition_result_9;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_8 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_8, mod_consts[170]);
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 = 252;
goto try_except_handler_6;
}
tmp_condition_result_9 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
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_4;
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[171];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[56];
tmp_getattr_default_2 = mod_consts[172];
tmp_tuple_element_4 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_6;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_9;
PyObject *tmp_type_arg_3;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_3 = tmp_class_creation_2__prepared;
tmp_expression_value_9 = BUILTIN_TYPE1(tmp_type_arg_3);
assert(!(tmp_expression_value_9 == NULL));
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[56]);
Py_DECREF(tmp_expression_value_9);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_4);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
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 = 252;
goto try_except_handler_6;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 252;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_6;
}
branch_no_6:;
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_40;
tmp_assign_source_40 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_40;
}
branch_end_5:;
{
PyObject *tmp_assign_source_41;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$template$$$class__2_Template_252 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[297];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[274], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[119];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
if (isFrameUnusable(cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2)) {
Py_XDECREF(cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 = MAKE_CLASS_FRAME(codeobj_e2c6cdc40ae496b53b92fcaf9d416ebf, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2->m_type_description == NULL);
frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 = cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
PyObject *tmp_tuple_element_5;
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_2;
PyObject *tmp_tuple_element_6;
tmp_tuple_element_5 = mod_consts[298];
tmp_defaults_1 = MAKE_TUPLE_EMPTY(5);
PyTuple_SET_ITEM0(tmp_defaults_1, 0, tmp_tuple_element_5);
tmp_tuple_element_5 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_1, 1, tmp_tuple_element_5);
tmp_tuple_element_5 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[15]);
if (tmp_tuple_element_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_2 = "o";
goto tuple_build_exception_3;
}
Py_INCREF(tmp_tuple_element_5);
} else {
goto tuple_build_exception_3;
}
}
PyTuple_SET_ITEM(tmp_defaults_1, 2, tmp_tuple_element_5);
tmp_tuple_element_5 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[15]);
if (tmp_tuple_element_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_2 = "o";
goto tuple_build_exception_3;
}
Py_INCREF(tmp_tuple_element_5);
} else {
goto tuple_build_exception_3;
}
}
PyTuple_SET_ITEM(tmp_defaults_1, 3, tmp_tuple_element_5);
tmp_tuple_element_5 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_1, 4, tmp_tuple_element_5);
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_defaults_1);
goto frame_exception_exit_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_dict_key_1 = mod_consts[299];
tmp_expression_value_10 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[288]);
if (tmp_expression_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[288]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[288]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_defaults_1);
exception_lineno = 264;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_tuple_element_6 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[300]);
if (tmp_tuple_element_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_6 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_6);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_2, 0, tmp_tuple_element_6);
tmp_tuple_element_6 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[301]);
if (tmp_tuple_element_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_6 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_tuple_element_6);
} else {
goto frame_exception_exit_2;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_2, 1, tmp_tuple_element_6);
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_10, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_10);
Py_DECREF(tmp_subscript_value_2);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_defaults_1);
exception_lineno = 264;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_2 = _PyDict_NewPresized( 7 );
{
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_3;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_4;
PyObject *tmp_tuple_element_7;
PyObject *tmp_expression_value_13;
PyObject *tmp_subscript_value_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_6;
PyObject *tmp_tuple_element_8;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_7;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[14];
tmp_dict_value_1 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[300]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_1);
} else {
goto dict_build_exception_1;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[18];
tmp_expression_value_11 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[292]);
if (tmp_expression_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_11);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_3 = mod_consts[302];
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_11, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_11);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[303];
tmp_expression_value_12 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[288]);
if (tmp_expression_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[288]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[288]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_12);
} else {
goto dict_build_exception_1;
}
}
tmp_tuple_element_7 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[304]);
if (tmp_tuple_element_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_7 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_tuple_element_7);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_4, 0, tmp_tuple_element_7);
tmp_tuple_element_7 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[24]);
if (tmp_tuple_element_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_7 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_tuple_element_7 == NULL)) {
tmp_tuple_element_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_2 = "o";
goto tuple_build_exception_4;
}
Py_INCREF(tmp_tuple_element_7);
} else {
goto tuple_build_exception_4;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_4, 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_expression_value_12);
Py_DECREF(tmp_subscript_value_4);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_4);
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_4);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[25];
tmp_expression_value_13 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[292]);
if (tmp_expression_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_13);
} else {
goto dict_build_exception_1;
}
}
tmp_expression_value_14 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[288]);
if (tmp_expression_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[288]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[288]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_13);
exception_lineno = 268;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_14);
} else {
goto dict_build_exception_1;
}
}
tmp_tuple_element_8 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[300]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_8);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_6 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_6, 0, tmp_tuple_element_8);
tmp_tuple_element_8 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[24]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_tuple_element_8 == NULL)) {
tmp_tuple_element_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_2 = "o";
goto tuple_build_exception_5;
}
Py_INCREF(tmp_tuple_element_8);
} else {
goto tuple_build_exception_5;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_6, 1, tmp_tuple_element_8);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_expression_value_13);
Py_DECREF(tmp_expression_value_14);
Py_DECREF(tmp_subscript_value_6);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_subscript_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_14, tmp_subscript_value_6);
Py_DECREF(tmp_expression_value_14);
Py_DECREF(tmp_subscript_value_6);
if (tmp_subscript_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_13);
exception_lineno = 268;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_13, tmp_subscript_value_5);
Py_DECREF(tmp_expression_value_13);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[17];
tmp_expression_value_15 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[292]);
if (tmp_expression_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_15);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_7 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[300]);
if (tmp_subscript_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_7 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_7);
} else {
goto dict_build_exception_1;
}
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_15, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_15);
Py_DECREF(tmp_subscript_value_7);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[181];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_2, 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_defaults_1);
Py_DECREF(tmp_annotations_2);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__2___init__(tmp_defaults_1, tmp_annotations_2);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[107], 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 = 262;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_dict_key_2 = mod_consts[306];
tmp_dict_value_2 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[180]);
if (tmp_dict_value_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_2 == NULL)) {
tmp_dict_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_2);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_3 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[181];
tmp_dict_value_2 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[301]);
if (tmp_dict_value_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_2 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_2);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__3_generate(tmp_annotations_3);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_8;
tmp_dict_key_3 = mod_consts[18];
tmp_expression_value_16 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[292]);
if (tmp_expression_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_16);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_8 = mod_consts[302];
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_16);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_4 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[181];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[300]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__4__generate_python(tmp_annotations_4);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[32], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_9;
tmp_dict_key_4 = mod_consts[18];
tmp_expression_value_17 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[292]);
if (tmp_expression_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_17);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_9 = mod_consts[302];
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_17, tmp_subscript_value_9);
Py_DECREF(tmp_expression_value_17);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_5 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_18;
PyObject *tmp_subscript_value_10;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[181];
tmp_expression_value_18 = PyObject_GetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[289]);
if (tmp_expression_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[289]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[289]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_18);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_10 = mod_consts[29];
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_18, tmp_subscript_value_10);
Py_DECREF(tmp_expression_value_18);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_5);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__5__get_ancestors(tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[74], 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 = 379;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e2c6cdc40ae496b53b92fcaf9d416ebf_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_e2c6cdc40ae496b53b92fcaf9d416ebf_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 == cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2);
cache_frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2 = NULL;
}
assertFrameObject(frame_e2c6cdc40ae496b53b92fcaf9d416ebf_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_8;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_1 = mod_consts[166];
tmp_condition_result_10 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_10 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__2_Template_252, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
branch_no_7:;
{
PyObject *tmp_assign_source_42;
PyObject *tmp_called_value_5;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_5 = tmp_class_creation_2__metaclass;
tmp_tuple_element_9 = mod_consts[119];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_9 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_9);
tmp_tuple_element_9 = locals_tornado$template$$$class__2_Template_252;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 252;
tmp_assign_source_42 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
goto try_except_handler_8;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_42;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_41 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_41);
goto try_return_handler_8;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
Py_DECREF(locals_tornado$template$$$class__2_Template_252);
locals_tornado$template$$$class__2_Template_252 = NULL;
goto try_return_handler_7;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__2_Template_252);
locals_tornado$template$$$class__2_Template_252 = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_7;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 252;
goto try_except_handler_6;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119], tmp_assign_source_41);
}
goto try_end_4;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_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_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
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_43;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_43 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_43;
}
{
PyObject *tmp_assign_source_44;
tmp_assign_source_44 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_44;
}
{
PyObject *tmp_assign_source_45;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_11;
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_12;
int tmp_truth_name_2;
PyObject *tmp_type_arg_4;
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_11;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[167];
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_11 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
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[167];
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_4;
condexpr_false_4:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
tmp_condition_result_12 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_19 = tmp_class_creation_3__bases;
tmp_subscript_value_11 = mod_consts[79];
tmp_type_arg_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_19, tmp_subscript_value_11, 0);
if (tmp_type_arg_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_4);
Py_DECREF(tmp_type_arg_4);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_5:;
condexpr_end_4:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_45 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_45;
}
{
bool tmp_condition_result_13;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[167];
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_13 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 392;
goto try_except_handler_9;
}
branch_no_8:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_expression_value_20;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_20 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_20, mod_consts[168]);
tmp_condition_result_14 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_46;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_21;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_21 = tmp_class_creation_3__metaclass;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[168]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
tmp_tuple_element_10 = mod_consts[302];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_10 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 392;
tmp_assign_source_46 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_46;
}
{
bool tmp_condition_result_15;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_22 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_22, mod_consts[170]);
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 = 392;
goto try_except_handler_9;
}
tmp_condition_result_15 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
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_11;
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[171];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[56];
tmp_getattr_default_3 = mod_consts[172];
tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_9;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_23;
PyObject *tmp_type_arg_5;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_5 = tmp_class_creation_3__prepared;
tmp_expression_value_23 = BUILTIN_TYPE1(tmp_type_arg_5);
assert(!(tmp_expression_value_23 == NULL));
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[56]);
Py_DECREF(tmp_expression_value_23);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_9;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
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 = 392;
goto try_except_handler_9;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 392;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_9;
}
branch_no_10:;
goto branch_end_9;
branch_no_9:;
{
PyObject *tmp_assign_source_47;
tmp_assign_source_47 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_47;
}
branch_end_9:;
{
PyObject *tmp_assign_source_48;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$template$$$class__3_BaseLoader_392 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[310];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[274], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[302];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
if (isFrameUnusable(cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3)) {
Py_XDECREF(cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 = MAKE_CLASS_FRAME(codeobj_6ebaddf4fc486c51ddf39ec9b2ec17a5, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3->m_type_description == NULL);
frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 = cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_2;
PyObject *tmp_tuple_element_12;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
tmp_tuple_element_12 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[26]);
if (tmp_tuple_element_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_12 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_tuple_element_12 == NULL)) {
tmp_tuple_element_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_tuple_element_12);
} else {
goto frame_exception_exit_3;
}
}
tmp_defaults_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM(tmp_defaults_2, 0, tmp_tuple_element_12);
tmp_tuple_element_12 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 1, tmp_tuple_element_12);
tmp_tuple_element_12 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 2, tmp_tuple_element_12);
tmp_dict_key_5 = mod_consts[25];
tmp_dict_value_5 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_dict_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_5 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_5);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_6 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_12;
PyObject *tmp_expression_value_25;
PyObject *tmp_subscript_value_13;
PyObject *tmp_tuple_element_13;
PyObject *tmp_expression_value_26;
PyObject *tmp_subscript_value_14;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[27];
tmp_expression_value_24 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[292]);
if (tmp_expression_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_24);
} else {
goto dict_build_exception_3;
}
}
tmp_expression_value_25 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[290]);
if (tmp_expression_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_24);
exception_lineno = 403;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_25);
} else {
goto dict_build_exception_3;
}
}
tmp_tuple_element_13 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_tuple_element_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_13 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_13);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_13, 0, tmp_tuple_element_13);
tmp_tuple_element_13 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[180]);
if (tmp_tuple_element_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_13 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_tuple_element_13 == NULL)) {
tmp_tuple_element_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_2 = "o";
goto tuple_build_exception_7;
}
Py_INCREF(tmp_tuple_element_13);
} else {
goto tuple_build_exception_7;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 1, tmp_tuple_element_13);
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_expression_value_24);
Py_DECREF(tmp_expression_value_25);
Py_DECREF(tmp_subscript_value_13);
goto dict_build_exception_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_subscript_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_25, tmp_subscript_value_13);
Py_DECREF(tmp_expression_value_25);
Py_DECREF(tmp_subscript_value_13);
if (tmp_subscript_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_24);
exception_lineno = 403;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_24, tmp_subscript_value_12);
Py_DECREF(tmp_expression_value_24);
Py_DECREF(tmp_subscript_value_12);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[17];
tmp_expression_value_26 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[292]);
if (tmp_expression_value_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_26);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_14 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_subscript_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_14);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_26, tmp_subscript_value_14);
Py_DECREF(tmp_expression_value_26);
Py_DECREF(tmp_subscript_value_14);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[181];
tmp_dict_value_5 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_5, tmp_dict_value_5);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_defaults_2);
Py_DECREF(tmp_annotations_6);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__6___init__(tmp_defaults_2, tmp_annotations_6);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[107], 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 = 400;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_7;
tmp_annotations_7 = DICT_COPY(mod_consts[312]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__7_reset(tmp_annotations_7);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[313], 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 = 432;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
tmp_defaults_3 = mod_consts[315];
tmp_dict_key_6 = mod_consts[14];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_8 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_27;
PyObject *tmp_subscript_value_15;
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[116];
tmp_expression_value_27 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[292]);
if (tmp_expression_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_27 == NULL)) {
tmp_expression_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_27);
} else {
goto dict_build_exception_4;
}
}
tmp_subscript_value_15 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_subscript_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_15 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_15);
} else {
goto dict_build_exception_4;
}
}
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_27, tmp_subscript_value_15);
Py_DECREF(tmp_expression_value_27);
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 = 437;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[181];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto dict_build_exception_4;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
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_8);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__8_resolve_path(tmp_defaults_3, tmp_annotations_8);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[102], 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 = 437;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_defaults_4 = mod_consts[315];
tmp_dict_key_7 = mod_consts[14];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_7);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_9 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_28;
PyObject *tmp_subscript_value_16;
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[116];
tmp_expression_value_28 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[292]);
if (tmp_expression_value_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_28 == NULL)) {
tmp_expression_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_28);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_16 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_subscript_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_16 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_16);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_28, tmp_subscript_value_16);
Py_DECREF(tmp_expression_value_28);
Py_DECREF(tmp_subscript_value_16);
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[181];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[119]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_7 == NULL)) {
tmp_dict_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_dict_value_7);
} else {
goto dict_build_exception_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
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_9);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__9_load(tmp_defaults_4, tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[89], 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 = 441;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_10;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_dict_key_8 = mod_consts[14];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[300]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_10 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[181];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[119]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_8 == NULL)) {
tmp_dict_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_dict_value_8);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
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_10);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__10__create_template(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[104], 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 = 449;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_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_6ebaddf4fc486c51ddf39ec9b2ec17a5_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 == cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3);
cache_frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3 = NULL;
}
assertFrameObject(frame_6ebaddf4fc486c51ddf39ec9b2ec17a5_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_11;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_3__bases;
tmp_cmp_expr_right_2 = mod_consts[166];
tmp_condition_result_16 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_16 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__3_BaseLoader_392, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
branch_no_11:;
{
PyObject *tmp_assign_source_49;
PyObject *tmp_called_value_7;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_7 = tmp_class_creation_3__metaclass;
tmp_tuple_element_14 = mod_consts[302];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_14 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_14);
tmp_tuple_element_14 = locals_tornado$template$$$class__3_BaseLoader_392;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 392;
tmp_assign_source_49 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
goto try_except_handler_11;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_49;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_48 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_48);
goto try_return_handler_11;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
Py_DECREF(locals_tornado$template$$$class__3_BaseLoader_392);
locals_tornado$template$$$class__3_BaseLoader_392 = NULL;
goto try_return_handler_10;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__3_BaseLoader_392);
locals_tornado$template$$$class__3_BaseLoader_392 = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_10;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 392;
goto try_except_handler_9;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302], tmp_assign_source_48);
}
goto try_end_5;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_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_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
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_50;
PyObject *tmp_tuple_element_15;
tmp_tuple_element_15 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_tuple_element_15 == NULL)) {
tmp_tuple_element_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
tmp_assign_source_50 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_50, 0, tmp_tuple_element_15);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_50;
}
{
PyObject *tmp_assign_source_51;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_51 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_51;
}
{
PyObject *tmp_assign_source_52;
tmp_assign_source_52 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_17;
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_18;
int tmp_truth_name_3;
PyObject *tmp_type_arg_6;
PyObject *tmp_expression_value_29;
PyObject *tmp_subscript_value_17;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[167];
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_17 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
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[167];
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_6;
condexpr_false_6:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
tmp_condition_result_18 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_29 = tmp_class_creation_4__bases;
tmp_subscript_value_17 = mod_consts[79];
tmp_type_arg_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_29, tmp_subscript_value_17, 0);
if (tmp_type_arg_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_6);
Py_DECREF(tmp_type_arg_6);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_7:;
condexpr_end_6:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_53 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_53;
}
{
bool tmp_condition_result_19;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[167];
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_19 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 453;
goto try_except_handler_12;
}
branch_no_12:;
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_expression_value_30;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_30 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_30, mod_consts[168]);
tmp_condition_result_20 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_54;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_31;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_16;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_31 = tmp_class_creation_4__metaclass;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[168]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
tmp_tuple_element_16 = mod_consts[319];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_16 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 453;
tmp_assign_source_54 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_54;
}
{
bool tmp_condition_result_21;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_32;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_32 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_32, mod_consts[170]);
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 = 453;
goto try_except_handler_12;
}
tmp_condition_result_21 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_21 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
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_17;
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[171];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[56];
tmp_getattr_default_4 = mod_consts[172];
tmp_tuple_element_17 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_33;
PyObject *tmp_type_arg_7;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_7 = tmp_class_creation_4__prepared;
tmp_expression_value_33 = BUILTIN_TYPE1(tmp_type_arg_7);
assert(!(tmp_expression_value_33 == NULL));
tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[56]);
Py_DECREF(tmp_expression_value_33);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_17);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_12;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_12;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 453;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_12;
}
branch_no_14:;
goto branch_end_13;
branch_no_13:;
{
PyObject *tmp_assign_source_55;
tmp_assign_source_55 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_55;
}
branch_end_13:;
{
PyObject *tmp_assign_source_56;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$template$$$class__4_Loader_453 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[320];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[274], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[319];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
if (isFrameUnusable(cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4)) {
Py_XDECREF(cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4 = MAKE_CLASS_FRAME(codeobj_11f2b572ae1016ba52d0d50b252f4b68, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4->m_type_description == NULL);
frame_11f2b572ae1016ba52d0d50b252f4b68_4 = cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_11f2b572ae1016ba52d0d50b252f4b68_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_11f2b572ae1016ba52d0d50b252f4b68_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_dict_key_9 = mod_consts[321];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[300]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_11 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[306];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[180]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_9 == NULL)) {
tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 456;
type_description_2 = "c";
goto dict_build_exception_7;
}
Py_INCREF(tmp_dict_value_9);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[181];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
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_11);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_closure_1[0] = outline_3_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__11___init__(tmp_annotations_11, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[107], 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 = 456;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_5;
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
tmp_defaults_5 = mod_consts[315];
tmp_dict_key_10 = mod_consts[14];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[300]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_12 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_34;
PyObject *tmp_subscript_value_18;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[116];
tmp_expression_value_34 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[292]);
if (tmp_expression_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_2 = "c";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_34);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_18 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[300]);
if (tmp_subscript_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_18 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_18);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_value_34, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_34);
Py_DECREF(tmp_subscript_value_18);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_2 = "c";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[181];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[300]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto dict_build_exception_8;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_8;
// Exception handling pass through code for dict_build:
dict_build_exception_8:;
Py_DECREF(tmp_annotations_12);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__12_resolve_path(tmp_defaults_5, tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[102], 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 = 460;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
tmp_dict_key_11 = mod_consts[14];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[300]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_13 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[181];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[119]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_11 == NULL)) {
tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_dict_value_11);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
goto dict_build_noexception_9;
// Exception handling pass through code for dict_build:
dict_build_exception_9:;
Py_DECREF(tmp_annotations_13);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__13__create_template(tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[104], 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 = 474;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_11f2b572ae1016ba52d0d50b252f4b68_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_11f2b572ae1016ba52d0d50b252f4b68_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_11f2b572ae1016ba52d0d50b252f4b68_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_11f2b572ae1016ba52d0d50b252f4b68_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_11f2b572ae1016ba52d0d50b252f4b68_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_11f2b572ae1016ba52d0d50b252f4b68_4,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_11f2b572ae1016ba52d0d50b252f4b68_4 == cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4);
cache_frame_11f2b572ae1016ba52d0d50b252f4b68_4 = NULL;
}
assertFrameObject(frame_11f2b572ae1016ba52d0d50b252f4b68_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_14;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_4__bases_orig;
tmp_condition_result_22 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_22 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__4_Loader_453, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
branch_no_15:;
{
PyObject *tmp_assign_source_57;
PyObject *tmp_called_value_9;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_18;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_9 = tmp_class_creation_4__metaclass;
tmp_tuple_element_18 = mod_consts[319];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_18 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_18);
tmp_tuple_element_18 = locals_tornado$template$$$class__4_Loader_453;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 453;
tmp_assign_source_57 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_14;
}
assert(Nuitka_Cell_GET(outline_3_var___class__) == NULL);
PyCell_SET(outline_3_var___class__, tmp_assign_source_57);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_3_var___class__));
tmp_assign_source_56 = Nuitka_Cell_GET(outline_3_var___class__);
Py_INCREF(tmp_assign_source_56);
goto try_return_handler_14;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
Py_DECREF(locals_tornado$template$$$class__4_Loader_453);
locals_tornado$template$$$class__4_Loader_453 = NULL;
goto try_return_handler_13;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__4_Loader_453);
locals_tornado$template$$$class__4_Loader_453 = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_13;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 453;
goto try_except_handler_12;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[319], tmp_assign_source_56);
}
goto try_end_6;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_58;
PyObject *tmp_tuple_element_19;
tmp_tuple_element_19 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_tuple_element_19 == NULL)) {
tmp_tuple_element_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_assign_source_58 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_58, 0, tmp_tuple_element_19);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_58;
}
{
PyObject *tmp_assign_source_59;
PyObject *tmp_dircall_arg1_4;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dircall_arg1_4 = tmp_class_creation_5__bases_orig;
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_59 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_59;
}
{
PyObject *tmp_assign_source_60;
tmp_assign_source_60 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_23;
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_24;
int tmp_truth_name_4;
PyObject *tmp_type_arg_8;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_19;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[167];
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_23 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
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[167];
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_8;
condexpr_false_8:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_condition_result_24 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_35 = tmp_class_creation_5__bases;
tmp_subscript_value_19 = mod_consts[79];
tmp_type_arg_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_35, tmp_subscript_value_19, 0);
if (tmp_type_arg_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_8);
Py_DECREF(tmp_type_arg_8);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_9:;
condexpr_end_8:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_61 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_61;
}
{
bool tmp_condition_result_25;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[167];
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_25 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
branch_no_16:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_expression_value_36;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_36 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_36, mod_consts[168]);
tmp_condition_result_26 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_assign_source_62;
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_37;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_20;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_37 = tmp_class_creation_5__metaclass;
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[168]);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_tuple_element_20 = mod_consts[325];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_20);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_20 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_20);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 481;
tmp_assign_source_62 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_10);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_62;
}
{
bool tmp_condition_result_27;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_38;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_38 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_38, mod_consts[170]);
tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_condition_result_27 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
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_21;
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[171];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[56];
tmp_getattr_default_5 = mod_consts[172];
tmp_tuple_element_21 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_39;
PyObject *tmp_type_arg_9;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_9 = tmp_class_creation_5__prepared;
tmp_expression_value_39 = BUILTIN_TYPE1(tmp_type_arg_9);
assert(!(tmp_expression_value_39 == NULL));
tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[56]);
Py_DECREF(tmp_expression_value_39);
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_21);
}
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_15;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_15;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 481;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_15;
}
branch_no_18:;
goto branch_end_17;
branch_no_17:;
{
PyObject *tmp_assign_source_63;
tmp_assign_source_63 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_63;
}
branch_end_17:;
{
PyObject *tmp_assign_source_64;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$template$$$class__5_DictLoader_481 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[326];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[274], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[325];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
if (isFrameUnusable(cache_frame_1b8afad441282e6e9dee264c2302c3c3_5)) {
Py_XDECREF(cache_frame_1b8afad441282e6e9dee264c2302c3c3_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_1b8afad441282e6e9dee264c2302c3c3_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1b8afad441282e6e9dee264c2302c3c3_5 = MAKE_CLASS_FRAME(codeobj_1b8afad441282e6e9dee264c2302c3c3, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1b8afad441282e6e9dee264c2302c3c3_5->m_type_description == NULL);
frame_1b8afad441282e6e9dee264c2302c3c3_5 = cache_frame_1b8afad441282e6e9dee264c2302c3c3_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_1b8afad441282e6e9dee264c2302c3c3_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1b8afad441282e6e9dee264c2302c3c3_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_20;
PyObject *tmp_tuple_element_22;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_dict_key_12 = mod_consts[122];
tmp_expression_value_40 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[290]);
if (tmp_expression_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_2 = "c";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_40);
} else {
goto frame_exception_exit_5;
}
}
tmp_tuple_element_22 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_tuple_element_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_22 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_22);
} else {
goto frame_exception_exit_5;
}
}
tmp_subscript_value_20 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_20, 0, tmp_tuple_element_22);
tmp_tuple_element_22 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_tuple_element_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_22 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_22);
} else {
goto frame_exception_exit_5;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_20, 1, tmp_tuple_element_22);
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_40);
Py_DECREF(tmp_subscript_value_20);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_2 = "c";
goto frame_exception_exit_5;
}
tmp_annotations_14 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[306];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[180]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_dict_value_12 == NULL)) {
tmp_dict_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_2 = "c";
goto dict_build_exception_10;
}
Py_INCREF(tmp_dict_value_12);
} else {
goto dict_build_exception_10;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[181];
tmp_dict_value_12 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
goto dict_build_noexception_10;
// Exception handling pass through code for dict_build:
dict_build_exception_10:;
Py_DECREF(tmp_annotations_14);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
tmp_closure_2[0] = outline_4_var___class__;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__14___init__(tmp_annotations_14, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[107], 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 = 484;
type_description_2 = "c";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_defaults_6;
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_defaults_6 = mod_consts[315];
tmp_dict_key_13 = mod_consts[14];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_21;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[116];
tmp_expression_value_41 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[292]);
if (tmp_expression_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_2 = "c";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_41);
} else {
goto dict_build_exception_11;
}
}
tmp_subscript_value_21 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_subscript_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_21 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_21);
} else {
goto dict_build_exception_11;
}
}
tmp_dict_value_13 = LOOKUP_SUBSCRIPT(tmp_expression_value_41, tmp_subscript_value_21);
Py_DECREF(tmp_expression_value_41);
Py_DECREF(tmp_subscript_value_21);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_2 = "c";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[181];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_11;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_11;
// Exception handling pass through code for dict_build:
dict_build_exception_11:;
Py_DECREF(tmp_annotations_15);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_11:;
Py_INCREF(tmp_defaults_6);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__15_resolve_path(tmp_defaults_6, tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[102], 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 = 488;
type_description_2 = "c";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
tmp_dict_key_14 = mod_consts[14];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[300]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_16 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[181];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[119]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_14 == NULL)) {
tmp_dict_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 499;
type_description_2 = "c";
goto dict_build_exception_12;
}
Py_INCREF(tmp_dict_value_14);
} else {
goto dict_build_exception_12;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
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_16);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_12:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__16__create_template(tmp_annotations_16);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[104], 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 = 499;
type_description_2 = "c";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1b8afad441282e6e9dee264c2302c3c3_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_1b8afad441282e6e9dee264c2302c3c3_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1b8afad441282e6e9dee264c2302c3c3_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1b8afad441282e6e9dee264c2302c3c3_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1b8afad441282e6e9dee264c2302c3c3_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1b8afad441282e6e9dee264c2302c3c3_5,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_1b8afad441282e6e9dee264c2302c3c3_5 == cache_frame_1b8afad441282e6e9dee264c2302c3c3_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1b8afad441282e6e9dee264c2302c3c3_5);
cache_frame_1b8afad441282e6e9dee264c2302c3c3_5 = NULL;
}
assertFrameObject(frame_1b8afad441282e6e9dee264c2302c3c3_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_17;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_5__bases_orig;
tmp_condition_result_28 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_28 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__5_DictLoader_481, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
branch_no_19:;
{
PyObject *tmp_assign_source_65;
PyObject *tmp_called_value_11;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_23;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_11 = tmp_class_creation_5__metaclass;
tmp_tuple_element_23 = mod_consts[325];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_23 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_23);
tmp_tuple_element_23 = locals_tornado$template$$$class__5_DictLoader_481;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 481;
tmp_assign_source_65 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_17;
}
assert(Nuitka_Cell_GET(outline_4_var___class__) == NULL);
PyCell_SET(outline_4_var___class__, tmp_assign_source_65);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__));
tmp_assign_source_64 = Nuitka_Cell_GET(outline_4_var___class__);
Py_INCREF(tmp_assign_source_64);
goto try_return_handler_17;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
Py_DECREF(locals_tornado$template$$$class__5_DictLoader_481);
locals_tornado$template$$$class__5_DictLoader_481 = NULL;
goto try_return_handler_16;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__5_DictLoader_481);
locals_tornado$template$$$class__5_DictLoader_481 = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto try_except_handler_16;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 481;
goto try_except_handler_15;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[325], tmp_assign_source_64);
}
goto try_end_7;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
Py_DECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_66;
PyObject *tmp_dircall_arg1_5;
tmp_dircall_arg1_5 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_66 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_66;
}
{
PyObject *tmp_assign_source_67;
tmp_assign_source_67 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_67;
}
{
PyObject *tmp_assign_source_68;
PyObject *tmp_metaclass_value_6;
bool tmp_condition_result_29;
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_30;
int tmp_truth_name_5;
PyObject *tmp_type_arg_10;
PyObject *tmp_expression_value_42;
PyObject *tmp_subscript_value_22;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[167];
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_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
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[167];
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_10;
condexpr_false_10:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_6__bases);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
tmp_condition_result_30 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_42 = tmp_class_creation_6__bases;
tmp_subscript_value_22 = mod_consts[79];
tmp_type_arg_10 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_42, tmp_subscript_value_22, 0);
if (tmp_type_arg_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_10);
Py_DECREF(tmp_type_arg_10);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
goto condexpr_end_11;
condexpr_false_11:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_11:;
condexpr_end_10:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_68 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_68;
}
{
bool tmp_condition_result_31;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[167];
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_31 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 503;
goto try_except_handler_18;
}
branch_no_20:;
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_expression_value_43;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_43 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_43, mod_consts[168]);
tmp_condition_result_32 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
{
PyObject *tmp_assign_source_69;
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_44;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_24;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_44 = tmp_class_creation_6__metaclass;
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[168]);
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
tmp_tuple_element_24 = mod_consts[135];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 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_11, 1, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 503;
tmp_assign_source_69 = CALL_FUNCTION(tmp_called_value_12, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_value_11);
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_69;
}
{
bool tmp_condition_result_33;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_45;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_45 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_45, mod_consts[170]);
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 = 503;
goto try_except_handler_18;
}
tmp_condition_result_33 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_33 != false) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
{
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_25;
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[171];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[56];
tmp_getattr_default_6 = mod_consts[172];
tmp_tuple_element_25 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_18;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_46;
PyObject *tmp_type_arg_11;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_11 = tmp_class_creation_6__prepared;
tmp_expression_value_46 = BUILTIN_TYPE1(tmp_type_arg_11);
assert(!(tmp_expression_value_46 == NULL));
tmp_tuple_element_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[56]);
Py_DECREF(tmp_expression_value_46);
if (tmp_tuple_element_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_25);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_18;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
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 = 503;
goto try_except_handler_18;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 503;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_18;
}
branch_no_22:;
goto branch_end_21;
branch_no_21:;
{
PyObject *tmp_assign_source_70;
tmp_assign_source_70 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_70;
}
branch_end_21:;
{
PyObject *tmp_assign_source_71;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_tornado$template$$$class__6__Node_503 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_20;
}
tmp_dictset_value = mod_consts[135];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_20;
}
if (isFrameUnusable(cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6)) {
Py_XDECREF(cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 = MAKE_CLASS_FRAME(codeobj_d5e156dbfd1c683a66c5bcdbeb08f8ad, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6->m_type_description == NULL);
frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 = cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
PyObject *tmp_expression_value_47;
PyObject *tmp_subscript_value_23;
tmp_dict_key_15 = mod_consts[181];
tmp_expression_value_47 = PyObject_GetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[291]);
if (tmp_expression_value_47 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_47 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_47 == NULL)) {
tmp_expression_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_47);
} else {
goto frame_exception_exit_6;
}
}
tmp_subscript_value_23 = mod_consts[135];
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_47, tmp_subscript_value_23);
Py_DECREF(tmp_expression_value_47);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_17 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__17_each_child(tmp_annotations_17);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[125], 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 = 504;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_18;
tmp_annotations_18 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__18_generate(tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
PyObject *tmp_expression_value_48;
PyObject *tmp_subscript_value_24;
tmp_dict_key_16 = mod_consts[18];
tmp_expression_value_48 = PyObject_GetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[292]);
if (tmp_expression_value_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_48);
} else {
goto frame_exception_exit_6;
}
}
tmp_subscript_value_24 = PyObject_GetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[302]);
if (tmp_subscript_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_subscript_value_24 == NULL)) {
tmp_subscript_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_subscript_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_48);
exception_lineno = 511;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_subscript_value_24);
} else {
goto frame_exception_exit_6;
}
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_48, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_48);
Py_DECREF(tmp_subscript_value_24);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_19 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_49;
PyObject *tmp_subscript_value_25;
PyObject *tmp_tuple_element_26;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[77];
tmp_expression_value_49 = PyObject_GetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[290]);
if (tmp_expression_value_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_49 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_49 == NULL)) {
tmp_expression_value_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_2 = "o";
goto dict_build_exception_13;
}
Py_INCREF(tmp_expression_value_49);
} else {
goto dict_build_exception_13;
}
}
tmp_tuple_element_26 = PyObject_GetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[300]);
if (tmp_tuple_element_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_26 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_26);
} else {
goto dict_build_exception_13;
}
}
tmp_subscript_value_25 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_25, 0, tmp_tuple_element_26);
tmp_tuple_element_26 = mod_consts[268];
PyTuple_SET_ITEM0(tmp_subscript_value_25, 1, tmp_tuple_element_26);
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_49, tmp_subscript_value_25);
Py_DECREF(tmp_expression_value_49);
Py_DECREF(tmp_subscript_value_25);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_2 = "o";
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[181];
tmp_dict_value_16 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_13;
// Exception handling pass through code for dict_build:
dict_build_exception_13:;
Py_DECREF(tmp_annotations_19);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_13:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__19_find_named_blocks(tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[76], 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 = 510;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_6:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 == cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
cache_frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6 = NULL;
}
assertFrameObject(frame_d5e156dbfd1c683a66c5bcdbeb08f8ad_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_20;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_6__bases;
tmp_cmp_expr_right_5 = mod_consts[166];
tmp_condition_result_34 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_34 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_20;
}
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__6__Node_503, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_20;
}
branch_no_23:;
{
PyObject *tmp_assign_source_72;
PyObject *tmp_called_value_13;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_27;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_13 = tmp_class_creation_6__metaclass;
tmp_tuple_element_27 = mod_consts[135];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_27 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_27);
tmp_tuple_element_27 = locals_tornado$template$$$class__6__Node_503;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 503;
tmp_assign_source_72 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
goto try_except_handler_20;
}
assert(outline_5_var___class__ == NULL);
outline_5_var___class__ = tmp_assign_source_72;
}
CHECK_OBJECT(outline_5_var___class__);
tmp_assign_source_71 = outline_5_var___class__;
Py_INCREF(tmp_assign_source_71);
goto try_return_handler_20;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
Py_DECREF(locals_tornado$template$$$class__6__Node_503);
locals_tornado$template$$$class__6__Node_503 = NULL;
goto try_return_handler_19;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__6__Node_503);
locals_tornado$template$$$class__6__Node_503 = NULL;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto try_except_handler_19;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_19:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 503;
goto try_except_handler_18;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_71);
}
goto try_end_8;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_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_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
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_73;
PyObject *tmp_tuple_element_28;
tmp_tuple_element_28 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_28 == NULL)) {
tmp_tuple_element_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
tmp_assign_source_73 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_73, 0, tmp_tuple_element_28);
assert(tmp_class_creation_7__bases_orig == NULL);
tmp_class_creation_7__bases_orig = tmp_assign_source_73;
}
{
PyObject *tmp_assign_source_74;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_7__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_74 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_74;
}
{
PyObject *tmp_assign_source_75;
tmp_assign_source_75 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_75;
}
{
PyObject *tmp_assign_source_76;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_35;
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_36;
int tmp_truth_name_6;
PyObject *tmp_type_arg_12;
PyObject *tmp_expression_value_50;
PyObject *tmp_subscript_value_26;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[167];
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_35 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
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[167];
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_12;
condexpr_false_12:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_7__bases);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
tmp_condition_result_36 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_50 = tmp_class_creation_7__bases;
tmp_subscript_value_26 = mod_consts[79];
tmp_type_arg_12 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_50, tmp_subscript_value_26, 0);
if (tmp_type_arg_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
tmp_metaclass_value_7 = BUILTIN_TYPE1(tmp_type_arg_12);
Py_DECREF(tmp_type_arg_12);
if (tmp_metaclass_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
goto condexpr_end_13;
condexpr_false_13:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_13:;
condexpr_end_12:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_76 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_76;
}
{
bool tmp_condition_result_37;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[167];
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_37 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_37 != false) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 517;
goto try_except_handler_21;
}
branch_no_24:;
{
nuitka_bool tmp_condition_result_38;
PyObject *tmp_expression_value_51;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_51 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_51, mod_consts[168]);
tmp_condition_result_38 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
{
PyObject *tmp_assign_source_77;
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_52;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_29;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_52 = tmp_class_creation_7__metaclass;
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_52, mod_consts[168]);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
tmp_tuple_element_29 = mod_consts[29];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_29 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 517;
tmp_assign_source_77 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_77;
}
{
bool tmp_condition_result_39;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_53;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_53 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_53, mod_consts[170]);
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 = 517;
goto try_except_handler_21;
}
tmp_condition_result_39 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
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_30;
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[171];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[56];
tmp_getattr_default_7 = mod_consts[172];
tmp_tuple_element_30 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_21;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_54;
PyObject *tmp_type_arg_13;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_30);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_13 = tmp_class_creation_7__prepared;
tmp_expression_value_54 = BUILTIN_TYPE1(tmp_type_arg_13);
assert(!(tmp_expression_value_54 == NULL));
tmp_tuple_element_30 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[56]);
Py_DECREF(tmp_expression_value_54);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_30);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_21;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
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 = 517;
goto try_except_handler_21;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 517;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_21;
}
branch_no_26:;
goto branch_end_25;
branch_no_25:;
{
PyObject *tmp_assign_source_78;
tmp_assign_source_78 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_78;
}
branch_end_25:;
{
PyObject *tmp_assign_source_79;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_tornado$template$$$class__7__File_517 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_23;
}
tmp_dictset_value = mod_consts[29];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_23;
}
if (isFrameUnusable(cache_frame_29db05089589c8ea1ef6ad8e37660564_7)) {
Py_XDECREF(cache_frame_29db05089589c8ea1ef6ad8e37660564_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_29db05089589c8ea1ef6ad8e37660564_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29db05089589c8ea1ef6ad8e37660564_7 = MAKE_CLASS_FRAME(codeobj_29db05089589c8ea1ef6ad8e37660564, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29db05089589c8ea1ef6ad8e37660564_7->m_type_description == NULL);
frame_29db05089589c8ea1ef6ad8e37660564_7 = cache_frame_29db05089589c8ea1ef6ad8e37660564_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_29db05089589c8ea1ef6ad8e37660564_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29db05089589c8ea1ef6ad8e37660564_7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_20;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
tmp_dict_key_17 = mod_consts[80];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$template$$$class__7__File_517, mod_consts[119]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_17 == NULL)) {
tmp_dict_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_7;
}
}
tmp_annotations_20 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[84];
tmp_dict_value_17 = mod_consts[209];
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[181];
tmp_dict_value_17 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__20___init__(tmp_annotations_20);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[107], 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 = 518;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_21;
tmp_annotations_21 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__21_generate(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 523;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_22;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
PyObject *tmp_expression_value_55;
PyObject *tmp_subscript_value_27;
tmp_dict_key_18 = mod_consts[181];
tmp_expression_value_55 = PyObject_GetItem(locals_tornado$template$$$class__7__File_517, mod_consts[291]);
if (tmp_expression_value_55 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_55 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_55 == NULL)) {
tmp_expression_value_55 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_expression_value_55);
} else {
goto frame_exception_exit_7;
}
}
tmp_subscript_value_27 = mod_consts[135];
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_55, tmp_subscript_value_27);
Py_DECREF(tmp_expression_value_55);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_annotations_22 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__22_each_child(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[125], 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 = 531;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_29db05089589c8ea1ef6ad8e37660564_7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_7:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29db05089589c8ea1ef6ad8e37660564_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29db05089589c8ea1ef6ad8e37660564_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29db05089589c8ea1ef6ad8e37660564_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29db05089589c8ea1ef6ad8e37660564_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29db05089589c8ea1ef6ad8e37660564_7,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_29db05089589c8ea1ef6ad8e37660564_7 == cache_frame_29db05089589c8ea1ef6ad8e37660564_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29db05089589c8ea1ef6ad8e37660564_7);
cache_frame_29db05089589c8ea1ef6ad8e37660564_7 = NULL;
}
assertFrameObject(frame_29db05089589c8ea1ef6ad8e37660564_7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_6;
frame_no_exception_6:;
goto skip_nested_handling_6;
nested_frame_exit_6:;
goto try_except_handler_23;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_7__bases;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_cmp_expr_right_6 = tmp_class_creation_7__bases_orig;
tmp_condition_result_40 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_40 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_23;
}
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dictset_value = tmp_class_creation_7__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__7__File_517, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_23;
}
branch_no_27:;
{
PyObject *tmp_assign_source_80;
PyObject *tmp_called_value_15;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_31;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_15 = tmp_class_creation_7__metaclass;
tmp_tuple_element_31 = mod_consts[29];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_31 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_31);
tmp_tuple_element_31 = locals_tornado$template$$$class__7__File_517;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 517;
tmp_assign_source_80 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_23;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_80;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_79 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_79);
goto try_return_handler_23;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
Py_DECREF(locals_tornado$template$$$class__7__File_517);
locals_tornado$template$$$class__7__File_517 = NULL;
goto try_return_handler_22;
// Exception handler code:
try_except_handler_23:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__7__File_517);
locals_tornado$template$$$class__7__File_517 = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto try_except_handler_22;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_22:;
CHECK_OBJECT(outline_6_var___class__);
Py_DECREF(outline_6_var___class__);
outline_6_var___class__ = NULL;
goto outline_result_7;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 517;
goto try_except_handler_21;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_79);
}
goto try_end_9;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_23 = exception_type;
exception_keeper_value_23 = exception_value;
exception_keeper_tb_23 = exception_tb;
exception_keeper_lineno_23 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
Py_XDECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
Py_XDECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_23;
exception_value = exception_keeper_value_23;
exception_tb = exception_keeper_tb_23;
exception_lineno = exception_keeper_lineno_23;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
Py_DECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_7__bases);
Py_DECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
Py_DECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
Py_DECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_7__prepared);
Py_DECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_81;
PyObject *tmp_tuple_element_32;
tmp_tuple_element_32 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_32 == NULL)) {
tmp_tuple_element_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
tmp_assign_source_81 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_81, 0, tmp_tuple_element_32);
assert(tmp_class_creation_8__bases_orig == NULL);
tmp_class_creation_8__bases_orig = tmp_assign_source_81;
}
{
PyObject *tmp_assign_source_82;
PyObject *tmp_dircall_arg1_7;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_dircall_arg1_7 = tmp_class_creation_8__bases_orig;
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
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 = 535;
goto try_except_handler_24;
}
assert(tmp_class_creation_8__bases == NULL);
tmp_class_creation_8__bases = tmp_assign_source_82;
}
{
PyObject *tmp_assign_source_83;
tmp_assign_source_83 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__class_decl_dict == NULL);
tmp_class_creation_8__class_decl_dict = tmp_assign_source_83;
}
{
PyObject *tmp_assign_source_84;
PyObject *tmp_metaclass_value_8;
bool tmp_condition_result_41;
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_42;
int tmp_truth_name_7;
PyObject *tmp_type_arg_14;
PyObject *tmp_expression_value_56;
PyObject *tmp_subscript_value_28;
PyObject *tmp_bases_value_8;
tmp_key_value_22 = mod_consts[167];
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_41 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_41 != false) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
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[167];
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_14;
condexpr_false_14:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_8__bases);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
tmp_condition_result_42 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_expression_value_56 = tmp_class_creation_8__bases;
tmp_subscript_value_28 = mod_consts[79];
tmp_type_arg_14 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_56, tmp_subscript_value_28, 0);
if (tmp_type_arg_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
tmp_metaclass_value_8 = BUILTIN_TYPE1(tmp_type_arg_14);
Py_DECREF(tmp_type_arg_14);
if (tmp_metaclass_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_metaclass_value_8 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_8);
condexpr_end_15:;
condexpr_end_14:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_bases_value_8 = tmp_class_creation_8__bases;
tmp_assign_source_84 = SELECT_METACLASS(tmp_metaclass_value_8, tmp_bases_value_8);
Py_DECREF(tmp_metaclass_value_8);
if (tmp_assign_source_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
assert(tmp_class_creation_8__metaclass == NULL);
tmp_class_creation_8__metaclass = tmp_assign_source_84;
}
{
bool tmp_condition_result_43;
PyObject *tmp_key_value_24;
PyObject *tmp_dict_arg_value_24;
tmp_key_value_24 = mod_consts[167];
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_43 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_43 != false) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_8__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 535;
goto try_except_handler_24;
}
branch_no_28:;
{
nuitka_bool tmp_condition_result_44;
PyObject *tmp_expression_value_57;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_57 = tmp_class_creation_8__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_57, mod_consts[168]);
tmp_condition_result_44 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_44 == NUITKA_BOOL_TRUE) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
{
PyObject *tmp_assign_source_85;
PyObject *tmp_called_value_16;
PyObject *tmp_expression_value_58;
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_58 = tmp_class_creation_8__metaclass;
tmp_called_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_58, mod_consts[168]);
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
tmp_tuple_element_33 = mod_consts[209];
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_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 535;
tmp_assign_source_85 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_15, tmp_kwargs_value_15);
Py_DECREF(tmp_called_value_16);
Py_DECREF(tmp_args_value_15);
if (tmp_assign_source_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_24;
}
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_85;
}
{
bool tmp_condition_result_45;
PyObject *tmp_operand_value_8;
PyObject *tmp_expression_value_59;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_expression_value_59 = tmp_class_creation_8__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_59, mod_consts[170]);
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 = 535;
goto try_except_handler_24;
}
tmp_condition_result_45 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_45 != false) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
{
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[171];
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_getattr_target_8 = tmp_class_creation_8__metaclass;
tmp_getattr_attr_8 = mod_consts[56];
tmp_getattr_default_8 = mod_consts[172];
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 = 535;
goto try_except_handler_24;
}
tmp_mod_expr_right_8 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_60;
PyObject *tmp_type_arg_15;
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 0, tmp_tuple_element_34);
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_type_arg_15 = tmp_class_creation_8__prepared;
tmp_expression_value_60 = BUILTIN_TYPE1(tmp_type_arg_15);
assert(!(tmp_expression_value_60 == NULL));
tmp_tuple_element_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_60, mod_consts[56]);
Py_DECREF(tmp_expression_value_60);
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 1, tmp_tuple_element_34);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_mod_expr_right_8);
goto try_except_handler_24;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
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 = 535;
goto try_except_handler_24;
}
exception_type = tmp_raise_type_8;
Py_INCREF(tmp_raise_type_8);
exception_value = tmp_raise_value_8;
exception_lineno = 535;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_24;
}
branch_no_30:;
goto branch_end_29;
branch_no_29:;
{
PyObject *tmp_assign_source_86;
tmp_assign_source_86 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_86;
}
branch_end_29:;
{
PyObject *tmp_assign_source_87;
{
PyObject *tmp_set_locals_8;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_set_locals_8 = tmp_class_creation_8__prepared;
locals_tornado$template$$$class__8__ChunkList_535 = tmp_set_locals_8;
Py_INCREF(tmp_set_locals_8);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_26;
}
tmp_dictset_value = mod_consts[209];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_26;
}
if (isFrameUnusable(cache_frame_f72dc65022469f6212f1087258bd12a7_8)) {
Py_XDECREF(cache_frame_f72dc65022469f6212f1087258bd12a7_8);
#if _DEBUG_REFCOUNTS
if (cache_frame_f72dc65022469f6212f1087258bd12a7_8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f72dc65022469f6212f1087258bd12a7_8 = MAKE_CLASS_FRAME(codeobj_f72dc65022469f6212f1087258bd12a7, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f72dc65022469f6212f1087258bd12a7_8->m_type_description == NULL);
frame_f72dc65022469f6212f1087258bd12a7_8 = cache_frame_f72dc65022469f6212f1087258bd12a7_8;
// Push the new frame as the currently active one.
pushFrameStack(frame_f72dc65022469f6212f1087258bd12a7_8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f72dc65022469f6212f1087258bd12a7_8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
PyObject *tmp_expression_value_61;
PyObject *tmp_subscript_value_29;
tmp_dict_key_19 = mod_consts[85];
tmp_expression_value_61 = PyObject_GetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[289]);
if (tmp_expression_value_61 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_61 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[289]);
if (unlikely(tmp_expression_value_61 == NULL)) {
tmp_expression_value_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[289]);
}
if (tmp_expression_value_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_expression_value_61);
} else {
goto frame_exception_exit_8;
}
}
tmp_subscript_value_29 = PyObject_GetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[135]);
if (tmp_subscript_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_subscript_value_29 == NULL)) {
tmp_subscript_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_subscript_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_61);
exception_lineno = 536;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_subscript_value_29);
} else {
goto frame_exception_exit_8;
}
}
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_61, tmp_subscript_value_29);
Py_DECREF(tmp_expression_value_61);
Py_DECREF(tmp_subscript_value_29);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_annotations_23 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[181];
tmp_dict_value_19 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_19, tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__23___init__(tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[107], 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 = 536;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_24;
tmp_annotations_24 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__24_generate(tmp_annotations_24);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_25;
PyObject *tmp_dict_key_20;
PyObject *tmp_dict_value_20;
PyObject *tmp_expression_value_62;
PyObject *tmp_subscript_value_30;
tmp_dict_key_20 = mod_consts[181];
tmp_expression_value_62 = PyObject_GetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[291]);
if (tmp_expression_value_62 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_62 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_62 == NULL)) {
tmp_expression_value_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_expression_value_62);
} else {
goto frame_exception_exit_8;
}
}
tmp_subscript_value_30 = mod_consts[135];
tmp_dict_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_62, tmp_subscript_value_30);
Py_DECREF(tmp_expression_value_62);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_annotations_25 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__25_each_child(tmp_annotations_25);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[125], 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 = 543;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f72dc65022469f6212f1087258bd12a7_8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f72dc65022469f6212f1087258bd12a7_8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f72dc65022469f6212f1087258bd12a7_8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f72dc65022469f6212f1087258bd12a7_8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f72dc65022469f6212f1087258bd12a7_8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f72dc65022469f6212f1087258bd12a7_8,
type_description_2,
outline_7_var___class__
);
// Release cached frame if used for exception.
if (frame_f72dc65022469f6212f1087258bd12a7_8 == cache_frame_f72dc65022469f6212f1087258bd12a7_8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f72dc65022469f6212f1087258bd12a7_8);
cache_frame_f72dc65022469f6212f1087258bd12a7_8 = NULL;
}
assertFrameObject(frame_f72dc65022469f6212f1087258bd12a7_8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_7;
frame_no_exception_7:;
goto skip_nested_handling_7;
nested_frame_exit_7:;
goto try_except_handler_26;
skip_nested_handling_7:;
{
nuitka_bool tmp_condition_result_46;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_8__bases;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_cmp_expr_right_7 = tmp_class_creation_8__bases_orig;
tmp_condition_result_46 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_46 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_26;
}
if (tmp_condition_result_46 == NUITKA_BOOL_TRUE) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_dictset_value = tmp_class_creation_8__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__8__ChunkList_535, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_26;
}
branch_no_31:;
{
PyObject *tmp_assign_source_88;
PyObject *tmp_called_value_17;
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_17 = tmp_class_creation_8__metaclass;
tmp_tuple_element_35 = mod_consts[209];
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$template$$$class__8__ChunkList_535;
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_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 535;
tmp_assign_source_88 = CALL_FUNCTION(tmp_called_value_17, tmp_args_value_16, tmp_kwargs_value_16);
Py_DECREF(tmp_args_value_16);
if (tmp_assign_source_88 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_26;
}
assert(outline_7_var___class__ == NULL);
outline_7_var___class__ = tmp_assign_source_88;
}
CHECK_OBJECT(outline_7_var___class__);
tmp_assign_source_87 = outline_7_var___class__;
Py_INCREF(tmp_assign_source_87);
goto try_return_handler_26;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_26:;
Py_DECREF(locals_tornado$template$$$class__8__ChunkList_535);
locals_tornado$template$$$class__8__ChunkList_535 = NULL;
goto try_return_handler_25;
// Exception handler code:
try_except_handler_26:;
exception_keeper_type_24 = exception_type;
exception_keeper_value_24 = exception_value;
exception_keeper_tb_24 = exception_tb;
exception_keeper_lineno_24 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__8__ChunkList_535);
locals_tornado$template$$$class__8__ChunkList_535 = NULL;
// Re-raise.
exception_type = exception_keeper_type_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto try_except_handler_25;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_25:;
CHECK_OBJECT(outline_7_var___class__);
Py_DECREF(outline_7_var___class__);
outline_7_var___class__ = NULL;
goto outline_result_8;
// Exception handler code:
try_except_handler_25:;
exception_keeper_type_25 = exception_type;
exception_keeper_value_25 = exception_value;
exception_keeper_tb_25 = exception_tb;
exception_keeper_lineno_25 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto outline_exception_8;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_8:;
exception_lineno = 535;
goto try_except_handler_24;
outline_result_8:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[209], tmp_assign_source_87);
}
goto try_end_10;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_26 = exception_type;
exception_keeper_value_26 = exception_value;
exception_keeper_tb_26 = exception_tb;
exception_keeper_lineno_26 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_8__bases_orig);
tmp_class_creation_8__bases_orig = NULL;
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_26;
exception_value = exception_keeper_value_26;
exception_tb = exception_keeper_tb_26;
exception_lineno = exception_keeper_lineno_26;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
Py_DECREF(tmp_class_creation_8__bases_orig);
tmp_class_creation_8__bases_orig = NULL;
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;
// Tried code:
{
PyObject *tmp_assign_source_89;
PyObject *tmp_tuple_element_36;
tmp_tuple_element_36 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_36 == NULL)) {
tmp_tuple_element_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
tmp_assign_source_89 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_89, 0, tmp_tuple_element_36);
assert(tmp_class_creation_9__bases_orig == NULL);
tmp_class_creation_9__bases_orig = tmp_assign_source_89;
}
{
PyObject *tmp_assign_source_90;
PyObject *tmp_dircall_arg1_8;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dircall_arg1_8 = tmp_class_creation_9__bases_orig;
Py_INCREF(tmp_dircall_arg1_8);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_8};
tmp_assign_source_90 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_90 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
assert(tmp_class_creation_9__bases == NULL);
tmp_class_creation_9__bases = tmp_assign_source_90;
}
{
PyObject *tmp_assign_source_91;
tmp_assign_source_91 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__class_decl_dict == NULL);
tmp_class_creation_9__class_decl_dict = tmp_assign_source_91;
}
{
PyObject *tmp_assign_source_92;
PyObject *tmp_metaclass_value_9;
bool tmp_condition_result_47;
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_48;
int tmp_truth_name_8;
PyObject *tmp_type_arg_16;
PyObject *tmp_expression_value_63;
PyObject *tmp_subscript_value_31;
PyObject *tmp_bases_value_9;
tmp_key_value_25 = mod_consts[167];
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_47 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_47 != false) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
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[167];
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_16;
condexpr_false_16:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_truth_name_8 = CHECK_IF_TRUE(tmp_class_creation_9__bases);
if (tmp_truth_name_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
tmp_condition_result_48 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_48 == NUITKA_BOOL_TRUE) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_expression_value_63 = tmp_class_creation_9__bases;
tmp_subscript_value_31 = mod_consts[79];
tmp_type_arg_16 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_63, tmp_subscript_value_31, 0);
if (tmp_type_arg_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
tmp_metaclass_value_9 = BUILTIN_TYPE1(tmp_type_arg_16);
Py_DECREF(tmp_type_arg_16);
if (tmp_metaclass_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
goto condexpr_end_17;
condexpr_false_17:;
tmp_metaclass_value_9 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_9);
condexpr_end_17:;
condexpr_end_16:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_bases_value_9 = tmp_class_creation_9__bases;
tmp_assign_source_92 = SELECT_METACLASS(tmp_metaclass_value_9, tmp_bases_value_9);
Py_DECREF(tmp_metaclass_value_9);
if (tmp_assign_source_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
assert(tmp_class_creation_9__metaclass == NULL);
tmp_class_creation_9__metaclass = tmp_assign_source_92;
}
{
bool tmp_condition_result_49;
PyObject *tmp_key_value_27;
PyObject *tmp_dict_arg_value_27;
tmp_key_value_27 = mod_consts[167];
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_49 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_49 != false) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_9__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 547;
goto try_except_handler_27;
}
branch_no_32:;
{
nuitka_bool tmp_condition_result_50;
PyObject *tmp_expression_value_64;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_64 = tmp_class_creation_9__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_64, mod_consts[168]);
tmp_condition_result_50 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_50 == NUITKA_BOOL_TRUE) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
{
PyObject *tmp_assign_source_93;
PyObject *tmp_called_value_18;
PyObject *tmp_expression_value_65;
PyObject *tmp_args_value_17;
PyObject *tmp_tuple_element_37;
PyObject *tmp_kwargs_value_17;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_65 = tmp_class_creation_9__metaclass;
tmp_called_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_65, mod_consts[168]);
if (tmp_called_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
tmp_tuple_element_37 = mod_consts[268];
tmp_args_value_17 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_17, 0, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_37 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_17, 1, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_17 = tmp_class_creation_9__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 547;
tmp_assign_source_93 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_17, tmp_kwargs_value_17);
Py_DECREF(tmp_called_value_18);
Py_DECREF(tmp_args_value_17);
if (tmp_assign_source_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_93;
}
{
bool tmp_condition_result_51;
PyObject *tmp_operand_value_9;
PyObject *tmp_expression_value_66;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_expression_value_66 = tmp_class_creation_9__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_66, mod_consts[170]);
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 = 547;
goto try_except_handler_27;
}
tmp_condition_result_51 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_51 != false) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
{
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_38;
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[171];
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_getattr_target_9 = tmp_class_creation_9__metaclass;
tmp_getattr_attr_9 = mod_consts[56];
tmp_getattr_default_9 = mod_consts[172];
tmp_tuple_element_38 = BUILTIN_GETATTR(tmp_getattr_target_9, tmp_getattr_attr_9, tmp_getattr_default_9);
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_27;
}
tmp_mod_expr_right_9 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_67;
PyObject *tmp_type_arg_17;
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 0, tmp_tuple_element_38);
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_type_arg_17 = tmp_class_creation_9__prepared;
tmp_expression_value_67 = BUILTIN_TYPE1(tmp_type_arg_17);
assert(!(tmp_expression_value_67 == NULL));
tmp_tuple_element_38 = LOOKUP_ATTRIBUTE(tmp_expression_value_67, mod_consts[56]);
Py_DECREF(tmp_expression_value_67);
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto tuple_build_exception_13;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 1, tmp_tuple_element_38);
}
goto tuple_build_noexception_13;
// Exception handling pass through code for tuple_build:
tuple_build_exception_13:;
Py_DECREF(tmp_mod_expr_right_9);
goto try_except_handler_27;
// Finished with no exception for tuple_build:
tuple_build_noexception_13:;
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 = 547;
goto try_except_handler_27;
}
exception_type = tmp_raise_type_9;
Py_INCREF(tmp_raise_type_9);
exception_value = tmp_raise_value_9;
exception_lineno = 547;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_27;
}
branch_no_34:;
goto branch_end_33;
branch_no_33:;
{
PyObject *tmp_assign_source_94;
tmp_assign_source_94 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_94;
}
branch_end_33:;
{
PyObject *tmp_assign_source_95;
{
PyObject *tmp_set_locals_9;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_set_locals_9 = tmp_class_creation_9__prepared;
locals_tornado$template$$$class__9__NamedBlock_547 = tmp_set_locals_9;
Py_INCREF(tmp_set_locals_9);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_29;
}
tmp_dictset_value = mod_consts[268];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_29;
}
if (isFrameUnusable(cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9)) {
Py_XDECREF(cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
#if _DEBUG_REFCOUNTS
if (cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9 = MAKE_CLASS_FRAME(codeobj_3aa8bdb6a443a560d40a408c4e75afa5, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9->m_type_description == NULL);
frame_3aa8bdb6a443a560d40a408c4e75afa5_9 = cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9;
// Push the new frame as the currently active one.
pushFrameStack(frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3aa8bdb6a443a560d40a408c4e75afa5_9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_26;
PyObject *tmp_dict_key_21;
PyObject *tmp_dict_value_21;
tmp_dict_key_21 = mod_consts[14];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[300]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_21);
} else {
goto frame_exception_exit_9;
}
}
tmp_annotations_26 = _PyDict_NewPresized( 5 );
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[84];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[135]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_21 == NULL)) {
tmp_dict_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_2 = "o";
goto dict_build_exception_14;
}
Py_INCREF(tmp_dict_value_21);
} else {
goto dict_build_exception_14;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[80];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[119]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_21 == NULL)) {
tmp_dict_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_2 = "o";
goto dict_build_exception_14;
}
Py_INCREF(tmp_dict_value_21);
} else {
goto dict_build_exception_14;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[126];
tmp_dict_value_21 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[340]);
if (tmp_dict_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_21 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_21);
} else {
goto dict_build_exception_14;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[181];
tmp_dict_value_21 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_21, tmp_dict_value_21);
assert(!(tmp_res != 0));
goto dict_build_noexception_14;
// Exception handling pass through code for dict_build:
dict_build_exception_14:;
Py_DECREF(tmp_annotations_26);
goto frame_exception_exit_9;
// Finished with no exception for dict_build:
dict_build_noexception_14:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__26___init__(tmp_annotations_26);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[107], 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 = 548;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
{
PyObject *tmp_annotations_27;
PyObject *tmp_dict_key_22;
PyObject *tmp_dict_value_22;
PyObject *tmp_expression_value_68;
PyObject *tmp_subscript_value_32;
tmp_dict_key_22 = mod_consts[181];
tmp_expression_value_68 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[291]);
if (tmp_expression_value_68 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_68 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_68 == NULL)) {
tmp_expression_value_68 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_2 = "o";
goto frame_exception_exit_9;
}
Py_INCREF(tmp_expression_value_68);
} else {
goto frame_exception_exit_9;
}
}
tmp_subscript_value_32 = mod_consts[135];
tmp_dict_value_22 = LOOKUP_SUBSCRIPT(tmp_expression_value_68, tmp_subscript_value_32);
Py_DECREF(tmp_expression_value_68);
if (tmp_dict_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_annotations_27 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_22, tmp_dict_value_22);
Py_DECREF(tmp_dict_value_22);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__27_each_child(tmp_annotations_27);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[125], 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 = 554;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
{
PyObject *tmp_annotations_28;
tmp_annotations_28 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__28_generate(tmp_annotations_28);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 557;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
{
PyObject *tmp_annotations_29;
PyObject *tmp_dict_key_23;
PyObject *tmp_dict_value_23;
PyObject *tmp_expression_value_69;
PyObject *tmp_subscript_value_33;
tmp_dict_key_23 = mod_consts[18];
tmp_expression_value_69 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[292]);
if (tmp_expression_value_69 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_69 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_69 == NULL)) {
tmp_expression_value_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_2 = "o";
goto frame_exception_exit_9;
}
Py_INCREF(tmp_expression_value_69);
} else {
goto frame_exception_exit_9;
}
}
tmp_subscript_value_33 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[302]);
if (tmp_subscript_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_subscript_value_33 == NULL)) {
tmp_subscript_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_subscript_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_69);
exception_lineno = 563;
type_description_2 = "o";
goto frame_exception_exit_9;
}
Py_INCREF(tmp_subscript_value_33);
} else {
goto frame_exception_exit_9;
}
}
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_69, tmp_subscript_value_33);
Py_DECREF(tmp_expression_value_69);
Py_DECREF(tmp_subscript_value_33);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_annotations_29 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_70;
PyObject *tmp_subscript_value_34;
PyObject *tmp_tuple_element_39;
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[77];
tmp_expression_value_70 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[290]);
if (tmp_expression_value_70 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_70 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_70 == NULL)) {
tmp_expression_value_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_2 = "o";
goto dict_build_exception_15;
}
Py_INCREF(tmp_expression_value_70);
} else {
goto dict_build_exception_15;
}
}
tmp_tuple_element_39 = PyObject_GetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[300]);
if (tmp_tuple_element_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_39 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_39);
} else {
goto dict_build_exception_15;
}
}
tmp_subscript_value_34 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_34, 0, tmp_tuple_element_39);
tmp_tuple_element_39 = mod_consts[268];
PyTuple_SET_ITEM0(tmp_subscript_value_34, 1, tmp_tuple_element_39);
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_70, tmp_subscript_value_34);
Py_DECREF(tmp_expression_value_70);
Py_DECREF(tmp_subscript_value_34);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_2 = "o";
goto dict_build_exception_15;
}
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[181];
tmp_dict_value_23 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_23, tmp_dict_value_23);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_15;
// Exception handling pass through code for dict_build:
dict_build_exception_15:;
Py_DECREF(tmp_annotations_29);
goto frame_exception_exit_9;
// Finished with no exception for dict_build:
dict_build_noexception_15:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__29_find_named_blocks(tmp_annotations_29);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[76], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_8;
frame_exception_exit_9:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3aa8bdb6a443a560d40a408c4e75afa5_9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3aa8bdb6a443a560d40a408c4e75afa5_9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3aa8bdb6a443a560d40a408c4e75afa5_9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3aa8bdb6a443a560d40a408c4e75afa5_9,
type_description_2,
outline_8_var___class__
);
// Release cached frame if used for exception.
if (frame_3aa8bdb6a443a560d40a408c4e75afa5_9 == cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
cache_frame_3aa8bdb6a443a560d40a408c4e75afa5_9 = NULL;
}
assertFrameObject(frame_3aa8bdb6a443a560d40a408c4e75afa5_9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_8;
frame_no_exception_8:;
goto skip_nested_handling_8;
nested_frame_exit_8:;
goto try_except_handler_29;
skip_nested_handling_8:;
{
nuitka_bool tmp_condition_result_52;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_cmp_expr_left_8 = tmp_class_creation_9__bases;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_cmp_expr_right_8 = tmp_class_creation_9__bases_orig;
tmp_condition_result_52 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_condition_result_52 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_29;
}
if (tmp_condition_result_52 == NUITKA_BOOL_TRUE) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dictset_value = tmp_class_creation_9__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__9__NamedBlock_547, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_29;
}
branch_no_35:;
{
PyObject *tmp_assign_source_96;
PyObject *tmp_called_value_19;
PyObject *tmp_args_value_18;
PyObject *tmp_tuple_element_40;
PyObject *tmp_kwargs_value_18;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_called_value_19 = tmp_class_creation_9__metaclass;
tmp_tuple_element_40 = mod_consts[268];
tmp_args_value_18 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_18, 0, tmp_tuple_element_40);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_40 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_18, 1, tmp_tuple_element_40);
tmp_tuple_element_40 = locals_tornado$template$$$class__9__NamedBlock_547;
PyTuple_SET_ITEM0(tmp_args_value_18, 2, tmp_tuple_element_40);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_18 = tmp_class_creation_9__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 547;
tmp_assign_source_96 = CALL_FUNCTION(tmp_called_value_19, tmp_args_value_18, tmp_kwargs_value_18);
Py_DECREF(tmp_args_value_18);
if (tmp_assign_source_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
goto try_except_handler_29;
}
assert(outline_8_var___class__ == NULL);
outline_8_var___class__ = tmp_assign_source_96;
}
CHECK_OBJECT(outline_8_var___class__);
tmp_assign_source_95 = outline_8_var___class__;
Py_INCREF(tmp_assign_source_95);
goto try_return_handler_29;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_29:;
Py_DECREF(locals_tornado$template$$$class__9__NamedBlock_547);
locals_tornado$template$$$class__9__NamedBlock_547 = NULL;
goto try_return_handler_28;
// Exception handler code:
try_except_handler_29:;
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;
Py_DECREF(locals_tornado$template$$$class__9__NamedBlock_547);
locals_tornado$template$$$class__9__NamedBlock_547 = NULL;
// 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 try_except_handler_28;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_28:;
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_28:;
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;
// 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 outline_exception_9;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_9:;
exception_lineno = 547;
goto try_except_handler_27;
outline_result_9:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[268], tmp_assign_source_95);
}
goto try_end_11;
// Exception handler code:
try_except_handler_27:;
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_XDECREF(tmp_class_creation_9__bases_orig);
tmp_class_creation_9__bases_orig = NULL;
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_29;
exception_value = exception_keeper_value_29;
exception_tb = exception_keeper_tb_29;
exception_lineno = exception_keeper_lineno_29;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
Py_DECREF(tmp_class_creation_9__bases_orig);
tmp_class_creation_9__bases_orig = NULL;
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_97;
PyObject *tmp_tuple_element_41;
tmp_tuple_element_41 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_41 == NULL)) {
tmp_tuple_element_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_assign_source_97 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_97, 0, tmp_tuple_element_41);
assert(tmp_class_creation_10__bases_orig == NULL);
tmp_class_creation_10__bases_orig = tmp_assign_source_97;
}
{
PyObject *tmp_assign_source_98;
PyObject *tmp_dircall_arg1_9;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dircall_arg1_9 = tmp_class_creation_10__bases_orig;
Py_INCREF(tmp_dircall_arg1_9);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_9};
tmp_assign_source_98 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_98 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
assert(tmp_class_creation_10__bases == NULL);
tmp_class_creation_10__bases = tmp_assign_source_98;
}
{
PyObject *tmp_assign_source_99;
tmp_assign_source_99 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__class_decl_dict == NULL);
tmp_class_creation_10__class_decl_dict = tmp_assign_source_99;
}
{
PyObject *tmp_assign_source_100;
PyObject *tmp_metaclass_value_10;
bool tmp_condition_result_53;
PyObject *tmp_key_value_28;
PyObject *tmp_dict_arg_value_28;
PyObject *tmp_dict_arg_value_29;
PyObject *tmp_key_value_29;
nuitka_bool tmp_condition_result_54;
int tmp_truth_name_9;
PyObject *tmp_type_arg_18;
PyObject *tmp_expression_value_71;
PyObject *tmp_subscript_value_35;
PyObject *tmp_bases_value_10;
tmp_key_value_28 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_28 = tmp_class_creation_10__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_28, tmp_key_value_28);
assert(!(tmp_res == -1));
tmp_condition_result_53 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_53 != false) {
goto condexpr_true_18;
} else {
goto condexpr_false_18;
}
condexpr_true_18:;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_29 = tmp_class_creation_10__class_decl_dict;
tmp_key_value_29 = mod_consts[167];
tmp_metaclass_value_10 = DICT_GET_ITEM0(tmp_dict_arg_value_29, tmp_key_value_29);
if (tmp_metaclass_value_10 == NULL) {
tmp_metaclass_value_10 = Py_None;
}
assert(!(tmp_metaclass_value_10 == NULL));
Py_INCREF(tmp_metaclass_value_10);
goto condexpr_end_18;
condexpr_false_18:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_truth_name_9 = CHECK_IF_TRUE(tmp_class_creation_10__bases);
if (tmp_truth_name_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_condition_result_54 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_54 == NUITKA_BOOL_TRUE) {
goto condexpr_true_19;
} else {
goto condexpr_false_19;
}
condexpr_true_19:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_expression_value_71 = tmp_class_creation_10__bases;
tmp_subscript_value_35 = mod_consts[79];
tmp_type_arg_18 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_71, tmp_subscript_value_35, 0);
if (tmp_type_arg_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_metaclass_value_10 = BUILTIN_TYPE1(tmp_type_arg_18);
Py_DECREF(tmp_type_arg_18);
if (tmp_metaclass_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
goto condexpr_end_19;
condexpr_false_19:;
tmp_metaclass_value_10 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_10);
condexpr_end_19:;
condexpr_end_18:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_bases_value_10 = tmp_class_creation_10__bases;
tmp_assign_source_100 = SELECT_METACLASS(tmp_metaclass_value_10, tmp_bases_value_10);
Py_DECREF(tmp_metaclass_value_10);
if (tmp_assign_source_100 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
assert(tmp_class_creation_10__metaclass == NULL);
tmp_class_creation_10__metaclass = tmp_assign_source_100;
}
{
bool tmp_condition_result_55;
PyObject *tmp_key_value_30;
PyObject *tmp_dict_arg_value_30;
tmp_key_value_30 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_30 = tmp_class_creation_10__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_30, tmp_key_value_30);
assert(!(tmp_res == -1));
tmp_condition_result_55 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_55 != false) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_10__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 569;
goto try_except_handler_30;
}
branch_no_36:;
{
nuitka_bool tmp_condition_result_56;
PyObject *tmp_expression_value_72;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_72 = tmp_class_creation_10__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_72, mod_consts[168]);
tmp_condition_result_56 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_56 == NUITKA_BOOL_TRUE) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
{
PyObject *tmp_assign_source_101;
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_73;
PyObject *tmp_args_value_19;
PyObject *tmp_tuple_element_42;
PyObject *tmp_kwargs_value_19;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_73 = tmp_class_creation_10__metaclass;
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_73, mod_consts[168]);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_tuple_element_42 = mod_consts[86];
tmp_args_value_19 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_19, 0, tmp_tuple_element_42);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_42 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_19, 1, tmp_tuple_element_42);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_19 = tmp_class_creation_10__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 569;
tmp_assign_source_101 = CALL_FUNCTION(tmp_called_value_20, tmp_args_value_19, tmp_kwargs_value_19);
Py_DECREF(tmp_called_value_20);
Py_DECREF(tmp_args_value_19);
if (tmp_assign_source_101 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_101;
}
{
bool tmp_condition_result_57;
PyObject *tmp_operand_value_10;
PyObject *tmp_expression_value_74;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_expression_value_74 = tmp_class_creation_10__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_74, mod_consts[170]);
tmp_operand_value_10 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_10);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_condition_result_57 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_57 != false) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
{
PyObject *tmp_raise_type_10;
PyObject *tmp_raise_value_10;
PyObject *tmp_mod_expr_left_10;
PyObject *tmp_mod_expr_right_10;
PyObject *tmp_tuple_element_43;
PyObject *tmp_getattr_target_10;
PyObject *tmp_getattr_attr_10;
PyObject *tmp_getattr_default_10;
tmp_raise_type_10 = PyExc_TypeError;
tmp_mod_expr_left_10 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_getattr_target_10 = tmp_class_creation_10__metaclass;
tmp_getattr_attr_10 = mod_consts[56];
tmp_getattr_default_10 = mod_consts[172];
tmp_tuple_element_43 = BUILTIN_GETATTR(tmp_getattr_target_10, tmp_getattr_attr_10, tmp_getattr_default_10);
if (tmp_tuple_element_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
tmp_mod_expr_right_10 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_75;
PyObject *tmp_type_arg_19;
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 0, tmp_tuple_element_43);
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_type_arg_19 = tmp_class_creation_10__prepared;
tmp_expression_value_75 = BUILTIN_TYPE1(tmp_type_arg_19);
assert(!(tmp_expression_value_75 == NULL));
tmp_tuple_element_43 = LOOKUP_ATTRIBUTE(tmp_expression_value_75, mod_consts[56]);
Py_DECREF(tmp_expression_value_75);
if (tmp_tuple_element_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto tuple_build_exception_14;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 1, tmp_tuple_element_43);
}
goto tuple_build_noexception_14;
// Exception handling pass through code for tuple_build:
tuple_build_exception_14:;
Py_DECREF(tmp_mod_expr_right_10);
goto try_except_handler_30;
// Finished with no exception for tuple_build:
tuple_build_noexception_14:;
tmp_raise_value_10 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_10, tmp_mod_expr_right_10);
Py_DECREF(tmp_mod_expr_right_10);
if (tmp_raise_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_30;
}
exception_type = tmp_raise_type_10;
Py_INCREF(tmp_raise_type_10);
exception_value = tmp_raise_value_10;
exception_lineno = 569;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_30;
}
branch_no_38:;
goto branch_end_37;
branch_no_37:;
{
PyObject *tmp_assign_source_102;
tmp_assign_source_102 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_102;
}
branch_end_37:;
{
PyObject *tmp_assign_source_103;
{
PyObject *tmp_set_locals_10;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_set_locals_10 = tmp_class_creation_10__prepared;
locals_tornado$template$$$class__10__ExtendsBlock_569 = tmp_set_locals_10;
Py_INCREF(tmp_set_locals_10);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__10__ExtendsBlock_569, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_32;
}
tmp_dictset_value = mod_consts[86];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__10__ExtendsBlock_569, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_32;
}
if (isFrameUnusable(cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10)) {
Py_XDECREF(cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
#if _DEBUG_REFCOUNTS
if (cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10 = MAKE_CLASS_FRAME(codeobj_18bc1336ec81e9d6bf7a905b84f062ae, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10->m_type_description == NULL);
frame_18bc1336ec81e9d6bf7a905b84f062ae_10 = cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10;
// Push the new frame as the currently active one.
pushFrameStack(frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_18bc1336ec81e9d6bf7a905b84f062ae_10) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_30;
PyObject *tmp_dict_key_24;
PyObject *tmp_dict_value_24;
tmp_dict_key_24 = mod_consts[14];
tmp_dict_value_24 = PyObject_GetItem(locals_tornado$template$$$class__10__ExtendsBlock_569, mod_consts[300]);
if (tmp_dict_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_24 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_24);
} else {
goto frame_exception_exit_10;
}
}
tmp_annotations_30 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_24, tmp_dict_value_24);
Py_DECREF(tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dict_key_24 = mod_consts[181];
tmp_dict_value_24 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_24, tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__30___init__(tmp_annotations_30);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__10__ExtendsBlock_569, mod_consts[107], 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 = 570;
type_description_2 = "o";
goto frame_exception_exit_10;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_9;
frame_exception_exit_10:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_18bc1336ec81e9d6bf7a905b84f062ae_10, exception_lineno);
} else if (exception_tb->tb_frame != &frame_18bc1336ec81e9d6bf7a905b84f062ae_10->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_18bc1336ec81e9d6bf7a905b84f062ae_10, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_18bc1336ec81e9d6bf7a905b84f062ae_10,
type_description_2,
outline_9_var___class__
);
// Release cached frame if used for exception.
if (frame_18bc1336ec81e9d6bf7a905b84f062ae_10 == cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
cache_frame_18bc1336ec81e9d6bf7a905b84f062ae_10 = NULL;
}
assertFrameObject(frame_18bc1336ec81e9d6bf7a905b84f062ae_10);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_9;
frame_no_exception_9:;
goto skip_nested_handling_9;
nested_frame_exit_9:;
goto try_except_handler_32;
skip_nested_handling_9:;
{
nuitka_bool tmp_condition_result_58;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_cmp_expr_left_9 = tmp_class_creation_10__bases;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_cmp_expr_right_9 = tmp_class_creation_10__bases_orig;
tmp_condition_result_58 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_58 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_32;
}
if (tmp_condition_result_58 == NUITKA_BOOL_TRUE) {
goto branch_yes_39;
} else {
goto branch_no_39;
}
}
branch_yes_39:;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dictset_value = tmp_class_creation_10__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__10__ExtendsBlock_569, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_32;
}
branch_no_39:;
{
PyObject *tmp_assign_source_104;
PyObject *tmp_called_value_21;
PyObject *tmp_args_value_20;
PyObject *tmp_tuple_element_44;
PyObject *tmp_kwargs_value_20;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_called_value_21 = tmp_class_creation_10__metaclass;
tmp_tuple_element_44 = mod_consts[86];
tmp_args_value_20 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_20, 0, tmp_tuple_element_44);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_44 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_20, 1, tmp_tuple_element_44);
tmp_tuple_element_44 = locals_tornado$template$$$class__10__ExtendsBlock_569;
PyTuple_SET_ITEM0(tmp_args_value_20, 2, tmp_tuple_element_44);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_20 = tmp_class_creation_10__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 569;
tmp_assign_source_104 = CALL_FUNCTION(tmp_called_value_21, tmp_args_value_20, tmp_kwargs_value_20);
Py_DECREF(tmp_args_value_20);
if (tmp_assign_source_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
goto try_except_handler_32;
}
assert(outline_9_var___class__ == NULL);
outline_9_var___class__ = tmp_assign_source_104;
}
CHECK_OBJECT(outline_9_var___class__);
tmp_assign_source_103 = outline_9_var___class__;
Py_INCREF(tmp_assign_source_103);
goto try_return_handler_32;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_32:;
Py_DECREF(locals_tornado$template$$$class__10__ExtendsBlock_569);
locals_tornado$template$$$class__10__ExtendsBlock_569 = NULL;
goto try_return_handler_31;
// Exception handler code:
try_except_handler_32:;
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;
Py_DECREF(locals_tornado$template$$$class__10__ExtendsBlock_569);
locals_tornado$template$$$class__10__ExtendsBlock_569 = NULL;
// 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 try_except_handler_31;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_31:;
CHECK_OBJECT(outline_9_var___class__);
Py_DECREF(outline_9_var___class__);
outline_9_var___class__ = NULL;
goto outline_result_10;
// Exception handler code:
try_except_handler_31:;
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;
// 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 outline_exception_10;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_10:;
exception_lineno = 569;
goto try_except_handler_30;
outline_result_10:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[86], tmp_assign_source_103);
}
goto try_end_12;
// Exception handler code:
try_except_handler_30:;
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;
Py_XDECREF(tmp_class_creation_10__bases_orig);
tmp_class_creation_10__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_10__bases);
tmp_class_creation_10__bases = NULL;
Py_XDECREF(tmp_class_creation_10__class_decl_dict);
tmp_class_creation_10__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_10__metaclass);
tmp_class_creation_10__metaclass = NULL;
Py_XDECREF(tmp_class_creation_10__prepared);
tmp_class_creation_10__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_32;
exception_value = exception_keeper_value_32;
exception_tb = exception_keeper_tb_32;
exception_lineno = exception_keeper_lineno_32;
goto frame_exception_exit_1;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
Py_DECREF(tmp_class_creation_10__bases_orig);
tmp_class_creation_10__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_10__bases);
Py_DECREF(tmp_class_creation_10__bases);
tmp_class_creation_10__bases = NULL;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
Py_DECREF(tmp_class_creation_10__class_decl_dict);
tmp_class_creation_10__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
Py_DECREF(tmp_class_creation_10__metaclass);
tmp_class_creation_10__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_10__prepared);
Py_DECREF(tmp_class_creation_10__prepared);
tmp_class_creation_10__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_105;
PyObject *tmp_tuple_element_45;
tmp_tuple_element_45 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_45 == NULL)) {
tmp_tuple_element_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_assign_source_105 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_105, 0, tmp_tuple_element_45);
assert(tmp_class_creation_11__bases_orig == NULL);
tmp_class_creation_11__bases_orig = tmp_assign_source_105;
}
{
PyObject *tmp_assign_source_106;
PyObject *tmp_dircall_arg1_10;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dircall_arg1_10 = tmp_class_creation_11__bases_orig;
Py_INCREF(tmp_dircall_arg1_10);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_10};
tmp_assign_source_106 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_106 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
assert(tmp_class_creation_11__bases == NULL);
tmp_class_creation_11__bases = tmp_assign_source_106;
}
{
PyObject *tmp_assign_source_107;
tmp_assign_source_107 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__class_decl_dict == NULL);
tmp_class_creation_11__class_decl_dict = tmp_assign_source_107;
}
{
PyObject *tmp_assign_source_108;
PyObject *tmp_metaclass_value_11;
bool tmp_condition_result_59;
PyObject *tmp_key_value_31;
PyObject *tmp_dict_arg_value_31;
PyObject *tmp_dict_arg_value_32;
PyObject *tmp_key_value_32;
nuitka_bool tmp_condition_result_60;
int tmp_truth_name_10;
PyObject *tmp_type_arg_20;
PyObject *tmp_expression_value_76;
PyObject *tmp_subscript_value_36;
PyObject *tmp_bases_value_11;
tmp_key_value_31 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_31 = tmp_class_creation_11__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_31, tmp_key_value_31);
assert(!(tmp_res == -1));
tmp_condition_result_59 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_59 != false) {
goto condexpr_true_20;
} else {
goto condexpr_false_20;
}
condexpr_true_20:;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_32 = tmp_class_creation_11__class_decl_dict;
tmp_key_value_32 = mod_consts[167];
tmp_metaclass_value_11 = DICT_GET_ITEM0(tmp_dict_arg_value_32, tmp_key_value_32);
if (tmp_metaclass_value_11 == NULL) {
tmp_metaclass_value_11 = Py_None;
}
assert(!(tmp_metaclass_value_11 == NULL));
Py_INCREF(tmp_metaclass_value_11);
goto condexpr_end_20;
condexpr_false_20:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_truth_name_10 = CHECK_IF_TRUE(tmp_class_creation_11__bases);
if (tmp_truth_name_10 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_condition_result_60 = tmp_truth_name_10 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_60 == NUITKA_BOOL_TRUE) {
goto condexpr_true_21;
} else {
goto condexpr_false_21;
}
condexpr_true_21:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_expression_value_76 = tmp_class_creation_11__bases;
tmp_subscript_value_36 = mod_consts[79];
tmp_type_arg_20 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_76, tmp_subscript_value_36, 0);
if (tmp_type_arg_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_metaclass_value_11 = BUILTIN_TYPE1(tmp_type_arg_20);
Py_DECREF(tmp_type_arg_20);
if (tmp_metaclass_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
goto condexpr_end_21;
condexpr_false_21:;
tmp_metaclass_value_11 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_11);
condexpr_end_21:;
condexpr_end_20:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_bases_value_11 = tmp_class_creation_11__bases;
tmp_assign_source_108 = SELECT_METACLASS(tmp_metaclass_value_11, tmp_bases_value_11);
Py_DECREF(tmp_metaclass_value_11);
if (tmp_assign_source_108 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
assert(tmp_class_creation_11__metaclass == NULL);
tmp_class_creation_11__metaclass = tmp_assign_source_108;
}
{
bool tmp_condition_result_61;
PyObject *tmp_key_value_33;
PyObject *tmp_dict_arg_value_33;
tmp_key_value_33 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_33 = tmp_class_creation_11__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_33, tmp_key_value_33);
assert(!(tmp_res == -1));
tmp_condition_result_61 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_61 != false) {
goto branch_yes_40;
} else {
goto branch_no_40;
}
}
branch_yes_40:;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_11__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 574;
goto try_except_handler_33;
}
branch_no_40:;
{
nuitka_bool tmp_condition_result_62;
PyObject *tmp_expression_value_77;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_77 = tmp_class_creation_11__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_77, mod_consts[168]);
tmp_condition_result_62 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_62 == NUITKA_BOOL_TRUE) {
goto branch_yes_41;
} else {
goto branch_no_41;
}
}
branch_yes_41:;
{
PyObject *tmp_assign_source_109;
PyObject *tmp_called_value_22;
PyObject *tmp_expression_value_78;
PyObject *tmp_args_value_21;
PyObject *tmp_tuple_element_46;
PyObject *tmp_kwargs_value_21;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_78 = tmp_class_creation_11__metaclass;
tmp_called_value_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_78, mod_consts[168]);
if (tmp_called_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_tuple_element_46 = mod_consts[253];
tmp_args_value_21 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_21, 0, tmp_tuple_element_46);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_46 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_21, 1, tmp_tuple_element_46);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_21 = tmp_class_creation_11__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 574;
tmp_assign_source_109 = CALL_FUNCTION(tmp_called_value_22, tmp_args_value_21, tmp_kwargs_value_21);
Py_DECREF(tmp_called_value_22);
Py_DECREF(tmp_args_value_21);
if (tmp_assign_source_109 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_109;
}
{
bool tmp_condition_result_63;
PyObject *tmp_operand_value_11;
PyObject *tmp_expression_value_79;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_expression_value_79 = tmp_class_creation_11__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_79, mod_consts[170]);
tmp_operand_value_11 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_11);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_condition_result_63 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_63 != false) {
goto branch_yes_42;
} else {
goto branch_no_42;
}
}
branch_yes_42:;
{
PyObject *tmp_raise_type_11;
PyObject *tmp_raise_value_11;
PyObject *tmp_mod_expr_left_11;
PyObject *tmp_mod_expr_right_11;
PyObject *tmp_tuple_element_47;
PyObject *tmp_getattr_target_11;
PyObject *tmp_getattr_attr_11;
PyObject *tmp_getattr_default_11;
tmp_raise_type_11 = PyExc_TypeError;
tmp_mod_expr_left_11 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_getattr_target_11 = tmp_class_creation_11__metaclass;
tmp_getattr_attr_11 = mod_consts[56];
tmp_getattr_default_11 = mod_consts[172];
tmp_tuple_element_47 = BUILTIN_GETATTR(tmp_getattr_target_11, tmp_getattr_attr_11, tmp_getattr_default_11);
if (tmp_tuple_element_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
tmp_mod_expr_right_11 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_80;
PyObject *tmp_type_arg_21;
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 0, tmp_tuple_element_47);
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_type_arg_21 = tmp_class_creation_11__prepared;
tmp_expression_value_80 = BUILTIN_TYPE1(tmp_type_arg_21);
assert(!(tmp_expression_value_80 == NULL));
tmp_tuple_element_47 = LOOKUP_ATTRIBUTE(tmp_expression_value_80, mod_consts[56]);
Py_DECREF(tmp_expression_value_80);
if (tmp_tuple_element_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto tuple_build_exception_15;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 1, tmp_tuple_element_47);
}
goto tuple_build_noexception_15;
// Exception handling pass through code for tuple_build:
tuple_build_exception_15:;
Py_DECREF(tmp_mod_expr_right_11);
goto try_except_handler_33;
// Finished with no exception for tuple_build:
tuple_build_noexception_15:;
tmp_raise_value_11 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_11, tmp_mod_expr_right_11);
Py_DECREF(tmp_mod_expr_right_11);
if (tmp_raise_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_33;
}
exception_type = tmp_raise_type_11;
Py_INCREF(tmp_raise_type_11);
exception_value = tmp_raise_value_11;
exception_lineno = 574;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_33;
}
branch_no_42:;
goto branch_end_41;
branch_no_41:;
{
PyObject *tmp_assign_source_110;
tmp_assign_source_110 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_110;
}
branch_end_41:;
{
PyObject *tmp_assign_source_111;
{
PyObject *tmp_set_locals_11;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_set_locals_11 = tmp_class_creation_11__prepared;
locals_tornado$template$$$class__11__IncludeBlock_574 = tmp_set_locals_11;
Py_INCREF(tmp_set_locals_11);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_35;
}
tmp_dictset_value = mod_consts[253];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_35;
}
if (isFrameUnusable(cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11)) {
Py_XDECREF(cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11);
#if _DEBUG_REFCOUNTS
if (cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11 = MAKE_CLASS_FRAME(codeobj_69bcc9f8d15af1cae408d6cc230baff1, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11->m_type_description == NULL);
frame_69bcc9f8d15af1cae408d6cc230baff1_11 = cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11;
// Push the new frame as the currently active one.
pushFrameStack(frame_69bcc9f8d15af1cae408d6cc230baff1_11);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_69bcc9f8d15af1cae408d6cc230baff1_11) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_31;
PyObject *tmp_dict_key_25;
PyObject *tmp_dict_value_25;
tmp_dict_key_25 = mod_consts[14];
tmp_dict_value_25 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[300]);
if (tmp_dict_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_25 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_25);
} else {
goto frame_exception_exit_11;
}
}
tmp_annotations_31 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_25, tmp_dict_value_25);
Py_DECREF(tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dict_key_25 = mod_consts[210];
tmp_dict_value_25 = mod_consts[28];
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_25, tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dict_key_25 = mod_consts[126];
tmp_dict_value_25 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[340]);
if (tmp_dict_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_25 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_25);
} else {
goto frame_exception_exit_11;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_25, tmp_dict_value_25);
Py_DECREF(tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dict_key_25 = mod_consts[181];
tmp_dict_value_25 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_25, tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__31___init__(tmp_annotations_31);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[107], 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 = 575;
type_description_2 = "o";
goto frame_exception_exit_11;
}
}
{
PyObject *tmp_annotations_32;
PyObject *tmp_dict_key_26;
PyObject *tmp_dict_value_26;
PyObject *tmp_expression_value_81;
PyObject *tmp_subscript_value_37;
tmp_dict_key_26 = mod_consts[18];
tmp_expression_value_81 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[292]);
if (tmp_expression_value_81 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_81 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_81 == NULL)) {
tmp_expression_value_81 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_81 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_2 = "o";
goto frame_exception_exit_11;
}
Py_INCREF(tmp_expression_value_81);
} else {
goto frame_exception_exit_11;
}
}
tmp_subscript_value_37 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[302]);
if (tmp_subscript_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_subscript_value_37 == NULL)) {
tmp_subscript_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_subscript_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_81);
exception_lineno = 581;
type_description_2 = "o";
goto frame_exception_exit_11;
}
Py_INCREF(tmp_subscript_value_37);
} else {
goto frame_exception_exit_11;
}
}
tmp_dict_value_26 = LOOKUP_SUBSCRIPT(tmp_expression_value_81, tmp_subscript_value_37);
Py_DECREF(tmp_expression_value_81);
Py_DECREF(tmp_subscript_value_37);
if (tmp_dict_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_annotations_32 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_82;
PyObject *tmp_subscript_value_38;
PyObject *tmp_tuple_element_48;
tmp_res = PyDict_SetItem(tmp_annotations_32, tmp_dict_key_26, tmp_dict_value_26);
Py_DECREF(tmp_dict_value_26);
assert(!(tmp_res != 0));
tmp_dict_key_26 = mod_consts[77];
tmp_expression_value_82 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[290]);
if (tmp_expression_value_82 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_82 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_82 == NULL)) {
tmp_expression_value_82 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_2 = "o";
goto dict_build_exception_16;
}
Py_INCREF(tmp_expression_value_82);
} else {
goto dict_build_exception_16;
}
}
tmp_tuple_element_48 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[300]);
if (tmp_tuple_element_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_48 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_48);
} else {
goto dict_build_exception_16;
}
}
tmp_subscript_value_38 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_38, 0, tmp_tuple_element_48);
tmp_tuple_element_48 = PyObject_GetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[268]);
if (tmp_tuple_element_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_48 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_tuple_element_48 == NULL)) {
tmp_tuple_element_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_tuple_element_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_2 = "o";
goto tuple_build_exception_16;
}
Py_INCREF(tmp_tuple_element_48);
} else {
goto tuple_build_exception_16;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_38, 1, tmp_tuple_element_48);
goto tuple_build_noexception_16;
// Exception handling pass through code for tuple_build:
tuple_build_exception_16:;
Py_DECREF(tmp_expression_value_82);
Py_DECREF(tmp_subscript_value_38);
goto dict_build_exception_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_16:;
tmp_dict_value_26 = LOOKUP_SUBSCRIPT(tmp_expression_value_82, tmp_subscript_value_38);
Py_DECREF(tmp_expression_value_82);
Py_DECREF(tmp_subscript_value_38);
if (tmp_dict_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_2 = "o";
goto dict_build_exception_16;
}
tmp_res = PyDict_SetItem(tmp_annotations_32, tmp_dict_key_26, tmp_dict_value_26);
Py_DECREF(tmp_dict_value_26);
assert(!(tmp_res != 0));
tmp_dict_key_26 = mod_consts[181];
tmp_dict_value_26 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_32, tmp_dict_key_26, tmp_dict_value_26);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_16;
// Exception handling pass through code for dict_build:
dict_build_exception_16:;
Py_DECREF(tmp_annotations_32);
goto frame_exception_exit_11;
// Finished with no exception for dict_build:
dict_build_noexception_16:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__32_find_named_blocks(tmp_annotations_32);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[76], 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 = 580;
type_description_2 = "o";
goto frame_exception_exit_11;
}
}
{
PyObject *tmp_annotations_33;
tmp_annotations_33 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__33_generate(tmp_annotations_33);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_2 = "o";
goto frame_exception_exit_11;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_69bcc9f8d15af1cae408d6cc230baff1_11);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_10;
frame_exception_exit_11:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_69bcc9f8d15af1cae408d6cc230baff1_11);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_69bcc9f8d15af1cae408d6cc230baff1_11, exception_lineno);
} else if (exception_tb->tb_frame != &frame_69bcc9f8d15af1cae408d6cc230baff1_11->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_69bcc9f8d15af1cae408d6cc230baff1_11, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_69bcc9f8d15af1cae408d6cc230baff1_11,
type_description_2,
outline_10_var___class__
);
// Release cached frame if used for exception.
if (frame_69bcc9f8d15af1cae408d6cc230baff1_11 == cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11);
cache_frame_69bcc9f8d15af1cae408d6cc230baff1_11 = NULL;
}
assertFrameObject(frame_69bcc9f8d15af1cae408d6cc230baff1_11);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_10;
frame_no_exception_10:;
goto skip_nested_handling_10;
nested_frame_exit_10:;
goto try_except_handler_35;
skip_nested_handling_10:;
{
nuitka_bool tmp_condition_result_64;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_cmp_expr_left_10 = tmp_class_creation_11__bases;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_cmp_expr_right_10 = tmp_class_creation_11__bases_orig;
tmp_condition_result_64 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_64 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_35;
}
if (tmp_condition_result_64 == NUITKA_BOOL_TRUE) {
goto branch_yes_43;
} else {
goto branch_no_43;
}
}
branch_yes_43:;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dictset_value = tmp_class_creation_11__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__11__IncludeBlock_574, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_35;
}
branch_no_43:;
{
PyObject *tmp_assign_source_112;
PyObject *tmp_called_value_23;
PyObject *tmp_args_value_22;
PyObject *tmp_tuple_element_49;
PyObject *tmp_kwargs_value_22;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_called_value_23 = tmp_class_creation_11__metaclass;
tmp_tuple_element_49 = mod_consts[253];
tmp_args_value_22 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_22, 0, tmp_tuple_element_49);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_49 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_22, 1, tmp_tuple_element_49);
tmp_tuple_element_49 = locals_tornado$template$$$class__11__IncludeBlock_574;
PyTuple_SET_ITEM0(tmp_args_value_22, 2, tmp_tuple_element_49);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_22 = tmp_class_creation_11__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 574;
tmp_assign_source_112 = CALL_FUNCTION(tmp_called_value_23, tmp_args_value_22, tmp_kwargs_value_22);
Py_DECREF(tmp_args_value_22);
if (tmp_assign_source_112 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
goto try_except_handler_35;
}
assert(outline_10_var___class__ == NULL);
outline_10_var___class__ = tmp_assign_source_112;
}
CHECK_OBJECT(outline_10_var___class__);
tmp_assign_source_111 = outline_10_var___class__;
Py_INCREF(tmp_assign_source_111);
goto try_return_handler_35;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_35:;
Py_DECREF(locals_tornado$template$$$class__11__IncludeBlock_574);
locals_tornado$template$$$class__11__IncludeBlock_574 = NULL;
goto try_return_handler_34;
// Exception handler code:
try_except_handler_35:;
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;
Py_DECREF(locals_tornado$template$$$class__11__IncludeBlock_574);
locals_tornado$template$$$class__11__IncludeBlock_574 = NULL;
// 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 try_except_handler_34;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_34:;
CHECK_OBJECT(outline_10_var___class__);
Py_DECREF(outline_10_var___class__);
outline_10_var___class__ = NULL;
goto outline_result_11;
// Exception handler code:
try_except_handler_34:;
exception_keeper_type_34 = exception_type;
exception_keeper_value_34 = exception_value;
exception_keeper_tb_34 = exception_tb;
exception_keeper_lineno_34 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_34;
exception_value = exception_keeper_value_34;
exception_tb = exception_keeper_tb_34;
exception_lineno = exception_keeper_lineno_34;
goto outline_exception_11;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_11:;
exception_lineno = 574;
goto try_except_handler_33;
outline_result_11:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[253], tmp_assign_source_111);
}
goto try_end_13;
// Exception handler code:
try_except_handler_33:;
exception_keeper_type_35 = exception_type;
exception_keeper_value_35 = exception_value;
exception_keeper_tb_35 = exception_tb;
exception_keeper_lineno_35 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_11__bases_orig);
tmp_class_creation_11__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_11__bases);
tmp_class_creation_11__bases = NULL;
Py_XDECREF(tmp_class_creation_11__class_decl_dict);
tmp_class_creation_11__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_11__metaclass);
tmp_class_creation_11__metaclass = NULL;
Py_XDECREF(tmp_class_creation_11__prepared);
tmp_class_creation_11__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_35;
exception_value = exception_keeper_value_35;
exception_tb = exception_keeper_tb_35;
exception_lineno = exception_keeper_lineno_35;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
Py_DECREF(tmp_class_creation_11__bases_orig);
tmp_class_creation_11__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_11__bases);
Py_DECREF(tmp_class_creation_11__bases);
tmp_class_creation_11__bases = NULL;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
Py_DECREF(tmp_class_creation_11__class_decl_dict);
tmp_class_creation_11__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
Py_DECREF(tmp_class_creation_11__metaclass);
tmp_class_creation_11__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_11__prepared);
Py_DECREF(tmp_class_creation_11__prepared);
tmp_class_creation_11__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_113;
PyObject *tmp_tuple_element_50;
tmp_tuple_element_50 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_50 == NULL)) {
tmp_tuple_element_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_assign_source_113 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_113, 0, tmp_tuple_element_50);
assert(tmp_class_creation_12__bases_orig == NULL);
tmp_class_creation_12__bases_orig = tmp_assign_source_113;
}
{
PyObject *tmp_assign_source_114;
PyObject *tmp_dircall_arg1_11;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_dircall_arg1_11 = tmp_class_creation_12__bases_orig;
Py_INCREF(tmp_dircall_arg1_11);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_11};
tmp_assign_source_114 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_114 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
assert(tmp_class_creation_12__bases == NULL);
tmp_class_creation_12__bases = tmp_assign_source_114;
}
{
PyObject *tmp_assign_source_115;
tmp_assign_source_115 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_12__class_decl_dict == NULL);
tmp_class_creation_12__class_decl_dict = tmp_assign_source_115;
}
{
PyObject *tmp_assign_source_116;
PyObject *tmp_metaclass_value_12;
bool tmp_condition_result_65;
PyObject *tmp_key_value_34;
PyObject *tmp_dict_arg_value_34;
PyObject *tmp_dict_arg_value_35;
PyObject *tmp_key_value_35;
nuitka_bool tmp_condition_result_66;
int tmp_truth_name_11;
PyObject *tmp_type_arg_22;
PyObject *tmp_expression_value_83;
PyObject *tmp_subscript_value_39;
PyObject *tmp_bases_value_12;
tmp_key_value_34 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_dict_arg_value_34 = tmp_class_creation_12__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_34, tmp_key_value_34);
assert(!(tmp_res == -1));
tmp_condition_result_65 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_65 != false) {
goto condexpr_true_22;
} else {
goto condexpr_false_22;
}
condexpr_true_22:;
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_dict_arg_value_35 = tmp_class_creation_12__class_decl_dict;
tmp_key_value_35 = mod_consts[167];
tmp_metaclass_value_12 = DICT_GET_ITEM0(tmp_dict_arg_value_35, tmp_key_value_35);
if (tmp_metaclass_value_12 == NULL) {
tmp_metaclass_value_12 = Py_None;
}
assert(!(tmp_metaclass_value_12 == NULL));
Py_INCREF(tmp_metaclass_value_12);
goto condexpr_end_22;
condexpr_false_22:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_truth_name_11 = CHECK_IF_TRUE(tmp_class_creation_12__bases);
if (tmp_truth_name_11 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_condition_result_66 = tmp_truth_name_11 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_66 == NUITKA_BOOL_TRUE) {
goto condexpr_true_23;
} else {
goto condexpr_false_23;
}
condexpr_true_23:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_expression_value_83 = tmp_class_creation_12__bases;
tmp_subscript_value_39 = mod_consts[79];
tmp_type_arg_22 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_83, tmp_subscript_value_39, 0);
if (tmp_type_arg_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_metaclass_value_12 = BUILTIN_TYPE1(tmp_type_arg_22);
Py_DECREF(tmp_type_arg_22);
if (tmp_metaclass_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
goto condexpr_end_23;
condexpr_false_23:;
tmp_metaclass_value_12 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_12);
condexpr_end_23:;
condexpr_end_22:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_bases_value_12 = tmp_class_creation_12__bases;
tmp_assign_source_116 = SELECT_METACLASS(tmp_metaclass_value_12, tmp_bases_value_12);
Py_DECREF(tmp_metaclass_value_12);
if (tmp_assign_source_116 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
assert(tmp_class_creation_12__metaclass == NULL);
tmp_class_creation_12__metaclass = tmp_assign_source_116;
}
{
bool tmp_condition_result_67;
PyObject *tmp_key_value_36;
PyObject *tmp_dict_arg_value_36;
tmp_key_value_36 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_dict_arg_value_36 = tmp_class_creation_12__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_36, tmp_key_value_36);
assert(!(tmp_res == -1));
tmp_condition_result_67 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_67 != false) {
goto branch_yes_44;
} else {
goto branch_no_44;
}
}
branch_yes_44:;
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_12__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 594;
goto try_except_handler_36;
}
branch_no_44:;
{
nuitka_bool tmp_condition_result_68;
PyObject *tmp_expression_value_84;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_expression_value_84 = tmp_class_creation_12__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_84, mod_consts[168]);
tmp_condition_result_68 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_68 == NUITKA_BOOL_TRUE) {
goto branch_yes_45;
} else {
goto branch_no_45;
}
}
branch_yes_45:;
{
PyObject *tmp_assign_source_117;
PyObject *tmp_called_value_24;
PyObject *tmp_expression_value_85;
PyObject *tmp_args_value_23;
PyObject *tmp_tuple_element_51;
PyObject *tmp_kwargs_value_23;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_expression_value_85 = tmp_class_creation_12__metaclass;
tmp_called_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_85, mod_consts[168]);
if (tmp_called_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_tuple_element_51 = mod_consts[266];
tmp_args_value_23 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_23, 0, tmp_tuple_element_51);
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_tuple_element_51 = tmp_class_creation_12__bases;
PyTuple_SET_ITEM0(tmp_args_value_23, 1, tmp_tuple_element_51);
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_kwargs_value_23 = tmp_class_creation_12__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 594;
tmp_assign_source_117 = CALL_FUNCTION(tmp_called_value_24, tmp_args_value_23, tmp_kwargs_value_23);
Py_DECREF(tmp_called_value_24);
Py_DECREF(tmp_args_value_23);
if (tmp_assign_source_117 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
assert(tmp_class_creation_12__prepared == NULL);
tmp_class_creation_12__prepared = tmp_assign_source_117;
}
{
bool tmp_condition_result_69;
PyObject *tmp_operand_value_12;
PyObject *tmp_expression_value_86;
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_expression_value_86 = tmp_class_creation_12__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_86, mod_consts[170]);
tmp_operand_value_12 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_12);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_condition_result_69 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_69 != false) {
goto branch_yes_46;
} else {
goto branch_no_46;
}
}
branch_yes_46:;
{
PyObject *tmp_raise_type_12;
PyObject *tmp_raise_value_12;
PyObject *tmp_mod_expr_left_12;
PyObject *tmp_mod_expr_right_12;
PyObject *tmp_tuple_element_52;
PyObject *tmp_getattr_target_12;
PyObject *tmp_getattr_attr_12;
PyObject *tmp_getattr_default_12;
tmp_raise_type_12 = PyExc_TypeError;
tmp_mod_expr_left_12 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_getattr_target_12 = tmp_class_creation_12__metaclass;
tmp_getattr_attr_12 = mod_consts[56];
tmp_getattr_default_12 = mod_consts[172];
tmp_tuple_element_52 = BUILTIN_GETATTR(tmp_getattr_target_12, tmp_getattr_attr_12, tmp_getattr_default_12);
if (tmp_tuple_element_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
tmp_mod_expr_right_12 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_87;
PyObject *tmp_type_arg_23;
PyTuple_SET_ITEM(tmp_mod_expr_right_12, 0, tmp_tuple_element_52);
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_type_arg_23 = tmp_class_creation_12__prepared;
tmp_expression_value_87 = BUILTIN_TYPE1(tmp_type_arg_23);
assert(!(tmp_expression_value_87 == NULL));
tmp_tuple_element_52 = LOOKUP_ATTRIBUTE(tmp_expression_value_87, mod_consts[56]);
Py_DECREF(tmp_expression_value_87);
if (tmp_tuple_element_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto tuple_build_exception_17;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_12, 1, tmp_tuple_element_52);
}
goto tuple_build_noexception_17;
// Exception handling pass through code for tuple_build:
tuple_build_exception_17:;
Py_DECREF(tmp_mod_expr_right_12);
goto try_except_handler_36;
// Finished with no exception for tuple_build:
tuple_build_noexception_17:;
tmp_raise_value_12 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_12, tmp_mod_expr_right_12);
Py_DECREF(tmp_mod_expr_right_12);
if (tmp_raise_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_36;
}
exception_type = tmp_raise_type_12;
Py_INCREF(tmp_raise_type_12);
exception_value = tmp_raise_value_12;
exception_lineno = 594;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_36;
}
branch_no_46:;
goto branch_end_45;
branch_no_45:;
{
PyObject *tmp_assign_source_118;
tmp_assign_source_118 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_12__prepared == NULL);
tmp_class_creation_12__prepared = tmp_assign_source_118;
}
branch_end_45:;
{
PyObject *tmp_assign_source_119;
{
PyObject *tmp_set_locals_12;
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_set_locals_12 = tmp_class_creation_12__prepared;
locals_tornado$template$$$class__12__ApplyBlock_594 = tmp_set_locals_12;
Py_INCREF(tmp_set_locals_12);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_38;
}
tmp_dictset_value = mod_consts[266];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_38;
}
if (isFrameUnusable(cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12)) {
Py_XDECREF(cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
#if _DEBUG_REFCOUNTS
if (cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 = MAKE_CLASS_FRAME(codeobj_c6c5eb7f186b0e9f7f29fcb6b1b342d7, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12->m_type_description == NULL);
frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 = cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12;
// Push the new frame as the currently active one.
pushFrameStack(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_34;
PyObject *tmp_dict_key_27;
PyObject *tmp_dict_value_27;
tmp_dict_key_27 = mod_consts[137];
tmp_dict_value_27 = PyObject_GetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[300]);
if (tmp_dict_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_27 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_27);
} else {
goto frame_exception_exit_12;
}
}
tmp_annotations_34 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_34, tmp_dict_key_27, tmp_dict_value_27);
Py_DECREF(tmp_dict_value_27);
assert(!(tmp_res != 0));
tmp_dict_key_27 = mod_consts[126];
tmp_dict_value_27 = PyObject_GetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[340]);
if (tmp_dict_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_27 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_27);
} else {
goto dict_build_exception_17;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_34, tmp_dict_key_27, tmp_dict_value_27);
Py_DECREF(tmp_dict_value_27);
assert(!(tmp_res != 0));
tmp_dict_key_27 = mod_consts[84];
tmp_dict_value_27 = PyObject_GetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[135]);
if (tmp_dict_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_27 == NULL)) {
tmp_dict_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 595;
type_description_2 = "o";
goto dict_build_exception_17;
}
Py_INCREF(tmp_dict_value_27);
} else {
goto dict_build_exception_17;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_34, tmp_dict_key_27, tmp_dict_value_27);
Py_DECREF(tmp_dict_value_27);
assert(!(tmp_res != 0));
tmp_dict_key_27 = mod_consts[181];
tmp_dict_value_27 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_34, tmp_dict_key_27, tmp_dict_value_27);
assert(!(tmp_res != 0));
goto dict_build_noexception_17;
// Exception handling pass through code for dict_build:
dict_build_exception_17:;
Py_DECREF(tmp_annotations_34);
goto frame_exception_exit_12;
// Finished with no exception for dict_build:
dict_build_noexception_17:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__34___init__(tmp_annotations_34);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[107], 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 = 595;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
{
PyObject *tmp_annotations_35;
PyObject *tmp_dict_key_28;
PyObject *tmp_dict_value_28;
PyObject *tmp_expression_value_88;
PyObject *tmp_subscript_value_40;
tmp_dict_key_28 = mod_consts[181];
tmp_expression_value_88 = PyObject_GetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[291]);
if (tmp_expression_value_88 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_88 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_88 == NULL)) {
tmp_expression_value_88 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_88 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 600;
type_description_2 = "o";
goto frame_exception_exit_12;
}
Py_INCREF(tmp_expression_value_88);
} else {
goto frame_exception_exit_12;
}
}
tmp_subscript_value_40 = mod_consts[135];
tmp_dict_value_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_88, tmp_subscript_value_40);
Py_DECREF(tmp_expression_value_88);
if (tmp_dict_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 600;
type_description_2 = "o";
goto frame_exception_exit_12;
}
tmp_annotations_35 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_35, tmp_dict_key_28, tmp_dict_value_28);
Py_DECREF(tmp_dict_value_28);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__35_each_child(tmp_annotations_35);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[125], 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 = 600;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
{
PyObject *tmp_annotations_36;
tmp_annotations_36 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__36_generate(tmp_annotations_36);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 603;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_11;
frame_exception_exit_12:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12,
type_description_2,
outline_11_var___class__
);
// Release cached frame if used for exception.
if (frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 == cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
cache_frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12 = NULL;
}
assertFrameObject(frame_c6c5eb7f186b0e9f7f29fcb6b1b342d7_12);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_11;
frame_no_exception_11:;
goto skip_nested_handling_11;
nested_frame_exit_11:;
goto try_except_handler_38;
skip_nested_handling_11:;
{
nuitka_bool tmp_condition_result_70;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_cmp_expr_left_11 = tmp_class_creation_12__bases;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_cmp_expr_right_11 = tmp_class_creation_12__bases_orig;
tmp_condition_result_70 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
if (tmp_condition_result_70 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_38;
}
if (tmp_condition_result_70 == NUITKA_BOOL_TRUE) {
goto branch_yes_47;
} else {
goto branch_no_47;
}
}
branch_yes_47:;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_dictset_value = tmp_class_creation_12__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__12__ApplyBlock_594, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_38;
}
branch_no_47:;
{
PyObject *tmp_assign_source_120;
PyObject *tmp_called_value_25;
PyObject *tmp_args_value_24;
PyObject *tmp_tuple_element_53;
PyObject *tmp_kwargs_value_24;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_called_value_25 = tmp_class_creation_12__metaclass;
tmp_tuple_element_53 = mod_consts[266];
tmp_args_value_24 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_24, 0, tmp_tuple_element_53);
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_tuple_element_53 = tmp_class_creation_12__bases;
PyTuple_SET_ITEM0(tmp_args_value_24, 1, tmp_tuple_element_53);
tmp_tuple_element_53 = locals_tornado$template$$$class__12__ApplyBlock_594;
PyTuple_SET_ITEM0(tmp_args_value_24, 2, tmp_tuple_element_53);
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_kwargs_value_24 = tmp_class_creation_12__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 594;
tmp_assign_source_120 = CALL_FUNCTION(tmp_called_value_25, tmp_args_value_24, tmp_kwargs_value_24);
Py_DECREF(tmp_args_value_24);
if (tmp_assign_source_120 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
goto try_except_handler_38;
}
assert(outline_11_var___class__ == NULL);
outline_11_var___class__ = tmp_assign_source_120;
}
CHECK_OBJECT(outline_11_var___class__);
tmp_assign_source_119 = outline_11_var___class__;
Py_INCREF(tmp_assign_source_119);
goto try_return_handler_38;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_38:;
Py_DECREF(locals_tornado$template$$$class__12__ApplyBlock_594);
locals_tornado$template$$$class__12__ApplyBlock_594 = NULL;
goto try_return_handler_37;
// Exception handler code:
try_except_handler_38:;
exception_keeper_type_36 = exception_type;
exception_keeper_value_36 = exception_value;
exception_keeper_tb_36 = exception_tb;
exception_keeper_lineno_36 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__12__ApplyBlock_594);
locals_tornado$template$$$class__12__ApplyBlock_594 = NULL;
// Re-raise.
exception_type = exception_keeper_type_36;
exception_value = exception_keeper_value_36;
exception_tb = exception_keeper_tb_36;
exception_lineno = exception_keeper_lineno_36;
goto try_except_handler_37;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_37:;
CHECK_OBJECT(outline_11_var___class__);
Py_DECREF(outline_11_var___class__);
outline_11_var___class__ = NULL;
goto outline_result_12;
// Exception handler code:
try_except_handler_37:;
exception_keeper_type_37 = exception_type;
exception_keeper_value_37 = exception_value;
exception_keeper_tb_37 = exception_tb;
exception_keeper_lineno_37 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_37;
exception_value = exception_keeper_value_37;
exception_tb = exception_keeper_tb_37;
exception_lineno = exception_keeper_lineno_37;
goto outline_exception_12;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_12:;
exception_lineno = 594;
goto try_except_handler_36;
outline_result_12:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[266], tmp_assign_source_119);
}
goto try_end_14;
// Exception handler code:
try_except_handler_36:;
exception_keeper_type_38 = exception_type;
exception_keeper_value_38 = exception_value;
exception_keeper_tb_38 = exception_tb;
exception_keeper_lineno_38 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_12__bases_orig);
tmp_class_creation_12__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_12__bases);
tmp_class_creation_12__bases = NULL;
Py_XDECREF(tmp_class_creation_12__class_decl_dict);
tmp_class_creation_12__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_12__metaclass);
tmp_class_creation_12__metaclass = NULL;
Py_XDECREF(tmp_class_creation_12__prepared);
tmp_class_creation_12__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_38;
exception_value = exception_keeper_value_38;
exception_tb = exception_keeper_tb_38;
exception_lineno = exception_keeper_lineno_38;
goto frame_exception_exit_1;
// End of try:
try_end_14:;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
Py_DECREF(tmp_class_creation_12__bases_orig);
tmp_class_creation_12__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_12__bases);
Py_DECREF(tmp_class_creation_12__bases);
tmp_class_creation_12__bases = NULL;
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
Py_DECREF(tmp_class_creation_12__class_decl_dict);
tmp_class_creation_12__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
Py_DECREF(tmp_class_creation_12__metaclass);
tmp_class_creation_12__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_12__prepared);
Py_DECREF(tmp_class_creation_12__prepared);
tmp_class_creation_12__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_121;
PyObject *tmp_tuple_element_54;
tmp_tuple_element_54 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_54 == NULL)) {
tmp_tuple_element_54 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_assign_source_121 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_121, 0, tmp_tuple_element_54);
assert(tmp_class_creation_13__bases_orig == NULL);
tmp_class_creation_13__bases_orig = tmp_assign_source_121;
}
{
PyObject *tmp_assign_source_122;
PyObject *tmp_dircall_arg1_12;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_dircall_arg1_12 = tmp_class_creation_13__bases_orig;
Py_INCREF(tmp_dircall_arg1_12);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_12};
tmp_assign_source_122 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_122 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
assert(tmp_class_creation_13__bases == NULL);
tmp_class_creation_13__bases = tmp_assign_source_122;
}
{
PyObject *tmp_assign_source_123;
tmp_assign_source_123 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_13__class_decl_dict == NULL);
tmp_class_creation_13__class_decl_dict = tmp_assign_source_123;
}
{
PyObject *tmp_assign_source_124;
PyObject *tmp_metaclass_value_13;
bool tmp_condition_result_71;
PyObject *tmp_key_value_37;
PyObject *tmp_dict_arg_value_37;
PyObject *tmp_dict_arg_value_38;
PyObject *tmp_key_value_38;
nuitka_bool tmp_condition_result_72;
int tmp_truth_name_12;
PyObject *tmp_type_arg_24;
PyObject *tmp_expression_value_89;
PyObject *tmp_subscript_value_41;
PyObject *tmp_bases_value_13;
tmp_key_value_37 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_dict_arg_value_37 = tmp_class_creation_13__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_37, tmp_key_value_37);
assert(!(tmp_res == -1));
tmp_condition_result_71 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_71 != false) {
goto condexpr_true_24;
} else {
goto condexpr_false_24;
}
condexpr_true_24:;
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_dict_arg_value_38 = tmp_class_creation_13__class_decl_dict;
tmp_key_value_38 = mod_consts[167];
tmp_metaclass_value_13 = DICT_GET_ITEM0(tmp_dict_arg_value_38, tmp_key_value_38);
if (tmp_metaclass_value_13 == NULL) {
tmp_metaclass_value_13 = Py_None;
}
assert(!(tmp_metaclass_value_13 == NULL));
Py_INCREF(tmp_metaclass_value_13);
goto condexpr_end_24;
condexpr_false_24:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_truth_name_12 = CHECK_IF_TRUE(tmp_class_creation_13__bases);
if (tmp_truth_name_12 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_condition_result_72 = tmp_truth_name_12 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_72 == NUITKA_BOOL_TRUE) {
goto condexpr_true_25;
} else {
goto condexpr_false_25;
}
condexpr_true_25:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_expression_value_89 = tmp_class_creation_13__bases;
tmp_subscript_value_41 = mod_consts[79];
tmp_type_arg_24 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_89, tmp_subscript_value_41, 0);
if (tmp_type_arg_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_metaclass_value_13 = BUILTIN_TYPE1(tmp_type_arg_24);
Py_DECREF(tmp_type_arg_24);
if (tmp_metaclass_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
goto condexpr_end_25;
condexpr_false_25:;
tmp_metaclass_value_13 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_13);
condexpr_end_25:;
condexpr_end_24:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_bases_value_13 = tmp_class_creation_13__bases;
tmp_assign_source_124 = SELECT_METACLASS(tmp_metaclass_value_13, tmp_bases_value_13);
Py_DECREF(tmp_metaclass_value_13);
if (tmp_assign_source_124 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
assert(tmp_class_creation_13__metaclass == NULL);
tmp_class_creation_13__metaclass = tmp_assign_source_124;
}
{
bool tmp_condition_result_73;
PyObject *tmp_key_value_39;
PyObject *tmp_dict_arg_value_39;
tmp_key_value_39 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_dict_arg_value_39 = tmp_class_creation_13__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_39, tmp_key_value_39);
assert(!(tmp_res == -1));
tmp_condition_result_73 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_73 != false) {
goto branch_yes_48;
} else {
goto branch_no_48;
}
}
branch_yes_48:;
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_13__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 617;
goto try_except_handler_39;
}
branch_no_48:;
{
nuitka_bool tmp_condition_result_74;
PyObject *tmp_expression_value_90;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_expression_value_90 = tmp_class_creation_13__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_90, mod_consts[168]);
tmp_condition_result_74 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_74 == NUITKA_BOOL_TRUE) {
goto branch_yes_49;
} else {
goto branch_no_49;
}
}
branch_yes_49:;
{
PyObject *tmp_assign_source_125;
PyObject *tmp_called_value_26;
PyObject *tmp_expression_value_91;
PyObject *tmp_args_value_25;
PyObject *tmp_tuple_element_55;
PyObject *tmp_kwargs_value_25;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_expression_value_91 = tmp_class_creation_13__metaclass;
tmp_called_value_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_91, mod_consts[168]);
if (tmp_called_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_tuple_element_55 = mod_consts[269];
tmp_args_value_25 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_25, 0, tmp_tuple_element_55);
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_tuple_element_55 = tmp_class_creation_13__bases;
PyTuple_SET_ITEM0(tmp_args_value_25, 1, tmp_tuple_element_55);
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_kwargs_value_25 = tmp_class_creation_13__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 617;
tmp_assign_source_125 = CALL_FUNCTION(tmp_called_value_26, tmp_args_value_25, tmp_kwargs_value_25);
Py_DECREF(tmp_called_value_26);
Py_DECREF(tmp_args_value_25);
if (tmp_assign_source_125 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
assert(tmp_class_creation_13__prepared == NULL);
tmp_class_creation_13__prepared = tmp_assign_source_125;
}
{
bool tmp_condition_result_75;
PyObject *tmp_operand_value_13;
PyObject *tmp_expression_value_92;
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_expression_value_92 = tmp_class_creation_13__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_92, mod_consts[170]);
tmp_operand_value_13 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_13);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_condition_result_75 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_75 != false) {
goto branch_yes_50;
} else {
goto branch_no_50;
}
}
branch_yes_50:;
{
PyObject *tmp_raise_type_13;
PyObject *tmp_raise_value_13;
PyObject *tmp_mod_expr_left_13;
PyObject *tmp_mod_expr_right_13;
PyObject *tmp_tuple_element_56;
PyObject *tmp_getattr_target_13;
PyObject *tmp_getattr_attr_13;
PyObject *tmp_getattr_default_13;
tmp_raise_type_13 = PyExc_TypeError;
tmp_mod_expr_left_13 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_getattr_target_13 = tmp_class_creation_13__metaclass;
tmp_getattr_attr_13 = mod_consts[56];
tmp_getattr_default_13 = mod_consts[172];
tmp_tuple_element_56 = BUILTIN_GETATTR(tmp_getattr_target_13, tmp_getattr_attr_13, tmp_getattr_default_13);
if (tmp_tuple_element_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
tmp_mod_expr_right_13 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_93;
PyObject *tmp_type_arg_25;
PyTuple_SET_ITEM(tmp_mod_expr_right_13, 0, tmp_tuple_element_56);
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_type_arg_25 = tmp_class_creation_13__prepared;
tmp_expression_value_93 = BUILTIN_TYPE1(tmp_type_arg_25);
assert(!(tmp_expression_value_93 == NULL));
tmp_tuple_element_56 = LOOKUP_ATTRIBUTE(tmp_expression_value_93, mod_consts[56]);
Py_DECREF(tmp_expression_value_93);
if (tmp_tuple_element_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto tuple_build_exception_18;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_13, 1, tmp_tuple_element_56);
}
goto tuple_build_noexception_18;
// Exception handling pass through code for tuple_build:
tuple_build_exception_18:;
Py_DECREF(tmp_mod_expr_right_13);
goto try_except_handler_39;
// Finished with no exception for tuple_build:
tuple_build_noexception_18:;
tmp_raise_value_13 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_13, tmp_mod_expr_right_13);
Py_DECREF(tmp_mod_expr_right_13);
if (tmp_raise_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_39;
}
exception_type = tmp_raise_type_13;
Py_INCREF(tmp_raise_type_13);
exception_value = tmp_raise_value_13;
exception_lineno = 617;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_39;
}
branch_no_50:;
goto branch_end_49;
branch_no_49:;
{
PyObject *tmp_assign_source_126;
tmp_assign_source_126 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_13__prepared == NULL);
tmp_class_creation_13__prepared = tmp_assign_source_126;
}
branch_end_49:;
{
PyObject *tmp_assign_source_127;
{
PyObject *tmp_set_locals_13;
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_set_locals_13 = tmp_class_creation_13__prepared;
locals_tornado$template$$$class__13__ControlBlock_617 = tmp_set_locals_13;
Py_INCREF(tmp_set_locals_13);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_41;
}
tmp_dictset_value = mod_consts[269];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_41;
}
if (isFrameUnusable(cache_frame_ce451adc4a692f7f324030cf6b076357_13)) {
Py_XDECREF(cache_frame_ce451adc4a692f7f324030cf6b076357_13);
#if _DEBUG_REFCOUNTS
if (cache_frame_ce451adc4a692f7f324030cf6b076357_13 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ce451adc4a692f7f324030cf6b076357_13 = MAKE_CLASS_FRAME(codeobj_ce451adc4a692f7f324030cf6b076357, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ce451adc4a692f7f324030cf6b076357_13->m_type_description == NULL);
frame_ce451adc4a692f7f324030cf6b076357_13 = cache_frame_ce451adc4a692f7f324030cf6b076357_13;
// Push the new frame as the currently active one.
pushFrameStack(frame_ce451adc4a692f7f324030cf6b076357_13);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ce451adc4a692f7f324030cf6b076357_13) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_37;
PyObject *tmp_dict_key_29;
PyObject *tmp_dict_value_29;
tmp_dict_key_29 = mod_consts[143];
tmp_dict_value_29 = PyObject_GetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[300]);
if (tmp_dict_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_29 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_29);
} else {
goto frame_exception_exit_13;
}
}
tmp_annotations_37 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_29, tmp_dict_value_29);
Py_DECREF(tmp_dict_value_29);
assert(!(tmp_res != 0));
tmp_dict_key_29 = mod_consts[126];
tmp_dict_value_29 = PyObject_GetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[340]);
if (tmp_dict_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_29 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_29);
} else {
goto dict_build_exception_18;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_29, tmp_dict_value_29);
Py_DECREF(tmp_dict_value_29);
assert(!(tmp_res != 0));
tmp_dict_key_29 = mod_consts[84];
tmp_dict_value_29 = PyObject_GetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[135]);
if (tmp_dict_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_dict_value_29 == NULL)) {
tmp_dict_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_dict_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_2 = "o";
goto dict_build_exception_18;
}
Py_INCREF(tmp_dict_value_29);
} else {
goto dict_build_exception_18;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_29, tmp_dict_value_29);
Py_DECREF(tmp_dict_value_29);
assert(!(tmp_res != 0));
tmp_dict_key_29 = mod_consts[181];
tmp_dict_value_29 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_29, tmp_dict_value_29);
assert(!(tmp_res != 0));
goto dict_build_noexception_18;
// Exception handling pass through code for dict_build:
dict_build_exception_18:;
Py_DECREF(tmp_annotations_37);
goto frame_exception_exit_13;
// Finished with no exception for dict_build:
dict_build_noexception_18:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__37___init__(tmp_annotations_37);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[107], 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 = 618;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
{
PyObject *tmp_annotations_38;
PyObject *tmp_dict_key_30;
PyObject *tmp_dict_value_30;
PyObject *tmp_expression_value_94;
PyObject *tmp_subscript_value_42;
tmp_dict_key_30 = mod_consts[181];
tmp_expression_value_94 = PyObject_GetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[291]);
if (tmp_expression_value_94 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_94 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[291]);
if (unlikely(tmp_expression_value_94 == NULL)) {
tmp_expression_value_94 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[291]);
}
if (tmp_expression_value_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_expression_value_94);
} else {
goto frame_exception_exit_13;
}
}
tmp_subscript_value_42 = PyObject_GetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[135]);
if (tmp_subscript_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_subscript_value_42 == NULL)) {
tmp_subscript_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_subscript_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_94);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_subscript_value_42);
} else {
goto frame_exception_exit_13;
}
}
tmp_dict_value_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_94, tmp_subscript_value_42);
Py_DECREF(tmp_expression_value_94);
Py_DECREF(tmp_subscript_value_42);
if (tmp_dict_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_13;
}
tmp_annotations_38 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_38, tmp_dict_key_30, tmp_dict_value_30);
Py_DECREF(tmp_dict_value_30);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__38_each_child(tmp_annotations_38);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[125], 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 = 623;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
{
PyObject *tmp_annotations_39;
tmp_annotations_39 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__39_generate(tmp_annotations_39);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce451adc4a692f7f324030cf6b076357_13);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_12;
frame_exception_exit_13:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce451adc4a692f7f324030cf6b076357_13);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ce451adc4a692f7f324030cf6b076357_13, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ce451adc4a692f7f324030cf6b076357_13->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ce451adc4a692f7f324030cf6b076357_13, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ce451adc4a692f7f324030cf6b076357_13,
type_description_2,
outline_12_var___class__
);
// Release cached frame if used for exception.
if (frame_ce451adc4a692f7f324030cf6b076357_13 == cache_frame_ce451adc4a692f7f324030cf6b076357_13) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ce451adc4a692f7f324030cf6b076357_13);
cache_frame_ce451adc4a692f7f324030cf6b076357_13 = NULL;
}
assertFrameObject(frame_ce451adc4a692f7f324030cf6b076357_13);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_12;
frame_no_exception_12:;
goto skip_nested_handling_12;
nested_frame_exit_12:;
goto try_except_handler_41;
skip_nested_handling_12:;
{
nuitka_bool tmp_condition_result_76;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_cmp_expr_left_12 = tmp_class_creation_13__bases;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_cmp_expr_right_12 = tmp_class_creation_13__bases_orig;
tmp_condition_result_76 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
if (tmp_condition_result_76 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_41;
}
if (tmp_condition_result_76 == NUITKA_BOOL_TRUE) {
goto branch_yes_51;
} else {
goto branch_no_51;
}
}
branch_yes_51:;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_dictset_value = tmp_class_creation_13__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__13__ControlBlock_617, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_41;
}
branch_no_51:;
{
PyObject *tmp_assign_source_128;
PyObject *tmp_called_value_27;
PyObject *tmp_args_value_26;
PyObject *tmp_tuple_element_57;
PyObject *tmp_kwargs_value_26;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_called_value_27 = tmp_class_creation_13__metaclass;
tmp_tuple_element_57 = mod_consts[269];
tmp_args_value_26 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_26, 0, tmp_tuple_element_57);
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_tuple_element_57 = tmp_class_creation_13__bases;
PyTuple_SET_ITEM0(tmp_args_value_26, 1, tmp_tuple_element_57);
tmp_tuple_element_57 = locals_tornado$template$$$class__13__ControlBlock_617;
PyTuple_SET_ITEM0(tmp_args_value_26, 2, tmp_tuple_element_57);
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_kwargs_value_26 = tmp_class_creation_13__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 617;
tmp_assign_source_128 = CALL_FUNCTION(tmp_called_value_27, tmp_args_value_26, tmp_kwargs_value_26);
Py_DECREF(tmp_args_value_26);
if (tmp_assign_source_128 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
goto try_except_handler_41;
}
assert(outline_12_var___class__ == NULL);
outline_12_var___class__ = tmp_assign_source_128;
}
CHECK_OBJECT(outline_12_var___class__);
tmp_assign_source_127 = outline_12_var___class__;
Py_INCREF(tmp_assign_source_127);
goto try_return_handler_41;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_41:;
Py_DECREF(locals_tornado$template$$$class__13__ControlBlock_617);
locals_tornado$template$$$class__13__ControlBlock_617 = NULL;
goto try_return_handler_40;
// Exception handler code:
try_except_handler_41:;
exception_keeper_type_39 = exception_type;
exception_keeper_value_39 = exception_value;
exception_keeper_tb_39 = exception_tb;
exception_keeper_lineno_39 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__13__ControlBlock_617);
locals_tornado$template$$$class__13__ControlBlock_617 = NULL;
// Re-raise.
exception_type = exception_keeper_type_39;
exception_value = exception_keeper_value_39;
exception_tb = exception_keeper_tb_39;
exception_lineno = exception_keeper_lineno_39;
goto try_except_handler_40;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_40:;
CHECK_OBJECT(outline_12_var___class__);
Py_DECREF(outline_12_var___class__);
outline_12_var___class__ = NULL;
goto outline_result_13;
// Exception handler code:
try_except_handler_40:;
exception_keeper_type_40 = exception_type;
exception_keeper_value_40 = exception_value;
exception_keeper_tb_40 = exception_tb;
exception_keeper_lineno_40 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_40;
exception_value = exception_keeper_value_40;
exception_tb = exception_keeper_tb_40;
exception_lineno = exception_keeper_lineno_40;
goto outline_exception_13;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_13:;
exception_lineno = 617;
goto try_except_handler_39;
outline_result_13:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[269], tmp_assign_source_127);
}
goto try_end_15;
// Exception handler code:
try_except_handler_39:;
exception_keeper_type_41 = exception_type;
exception_keeper_value_41 = exception_value;
exception_keeper_tb_41 = exception_tb;
exception_keeper_lineno_41 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_13__bases_orig);
tmp_class_creation_13__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_13__bases);
tmp_class_creation_13__bases = NULL;
Py_XDECREF(tmp_class_creation_13__class_decl_dict);
tmp_class_creation_13__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_13__metaclass);
tmp_class_creation_13__metaclass = NULL;
Py_XDECREF(tmp_class_creation_13__prepared);
tmp_class_creation_13__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_41;
exception_value = exception_keeper_value_41;
exception_tb = exception_keeper_tb_41;
exception_lineno = exception_keeper_lineno_41;
goto frame_exception_exit_1;
// End of try:
try_end_15:;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
Py_DECREF(tmp_class_creation_13__bases_orig);
tmp_class_creation_13__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_13__bases);
Py_DECREF(tmp_class_creation_13__bases);
tmp_class_creation_13__bases = NULL;
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
Py_DECREF(tmp_class_creation_13__class_decl_dict);
tmp_class_creation_13__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
Py_DECREF(tmp_class_creation_13__metaclass);
tmp_class_creation_13__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_13__prepared);
Py_DECREF(tmp_class_creation_13__prepared);
tmp_class_creation_13__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_129;
PyObject *tmp_tuple_element_58;
tmp_tuple_element_58 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_58 == NULL)) {
tmp_tuple_element_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_assign_source_129 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_129, 0, tmp_tuple_element_58);
assert(tmp_class_creation_14__bases_orig == NULL);
tmp_class_creation_14__bases_orig = tmp_assign_source_129;
}
{
PyObject *tmp_assign_source_130;
PyObject *tmp_dircall_arg1_13;
CHECK_OBJECT(tmp_class_creation_14__bases_orig);
tmp_dircall_arg1_13 = tmp_class_creation_14__bases_orig;
Py_INCREF(tmp_dircall_arg1_13);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_13};
tmp_assign_source_130 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_130 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
assert(tmp_class_creation_14__bases == NULL);
tmp_class_creation_14__bases = tmp_assign_source_130;
}
{
PyObject *tmp_assign_source_131;
tmp_assign_source_131 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_14__class_decl_dict == NULL);
tmp_class_creation_14__class_decl_dict = tmp_assign_source_131;
}
{
PyObject *tmp_assign_source_132;
PyObject *tmp_metaclass_value_14;
bool tmp_condition_result_77;
PyObject *tmp_key_value_40;
PyObject *tmp_dict_arg_value_40;
PyObject *tmp_dict_arg_value_41;
PyObject *tmp_key_value_41;
nuitka_bool tmp_condition_result_78;
int tmp_truth_name_13;
PyObject *tmp_type_arg_26;
PyObject *tmp_expression_value_95;
PyObject *tmp_subscript_value_43;
PyObject *tmp_bases_value_14;
tmp_key_value_40 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_dict_arg_value_40 = tmp_class_creation_14__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_40, tmp_key_value_40);
assert(!(tmp_res == -1));
tmp_condition_result_77 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_77 != false) {
goto condexpr_true_26;
} else {
goto condexpr_false_26;
}
condexpr_true_26:;
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_dict_arg_value_41 = tmp_class_creation_14__class_decl_dict;
tmp_key_value_41 = mod_consts[167];
tmp_metaclass_value_14 = DICT_GET_ITEM0(tmp_dict_arg_value_41, tmp_key_value_41);
if (tmp_metaclass_value_14 == NULL) {
tmp_metaclass_value_14 = Py_None;
}
assert(!(tmp_metaclass_value_14 == NULL));
Py_INCREF(tmp_metaclass_value_14);
goto condexpr_end_26;
condexpr_false_26:;
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_truth_name_13 = CHECK_IF_TRUE(tmp_class_creation_14__bases);
if (tmp_truth_name_13 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_condition_result_78 = tmp_truth_name_13 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_78 == NUITKA_BOOL_TRUE) {
goto condexpr_true_27;
} else {
goto condexpr_false_27;
}
condexpr_true_27:;
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_expression_value_95 = tmp_class_creation_14__bases;
tmp_subscript_value_43 = mod_consts[79];
tmp_type_arg_26 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_95, tmp_subscript_value_43, 0);
if (tmp_type_arg_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_metaclass_value_14 = BUILTIN_TYPE1(tmp_type_arg_26);
Py_DECREF(tmp_type_arg_26);
if (tmp_metaclass_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
goto condexpr_end_27;
condexpr_false_27:;
tmp_metaclass_value_14 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_14);
condexpr_end_27:;
condexpr_end_26:;
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_bases_value_14 = tmp_class_creation_14__bases;
tmp_assign_source_132 = SELECT_METACLASS(tmp_metaclass_value_14, tmp_bases_value_14);
Py_DECREF(tmp_metaclass_value_14);
if (tmp_assign_source_132 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
assert(tmp_class_creation_14__metaclass == NULL);
tmp_class_creation_14__metaclass = tmp_assign_source_132;
}
{
bool tmp_condition_result_79;
PyObject *tmp_key_value_42;
PyObject *tmp_dict_arg_value_42;
tmp_key_value_42 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_dict_arg_value_42 = tmp_class_creation_14__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_42, tmp_key_value_42);
assert(!(tmp_res == -1));
tmp_condition_result_79 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_79 != false) {
goto branch_yes_52;
} else {
goto branch_no_52;
}
}
branch_yes_52:;
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_14__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 634;
goto try_except_handler_42;
}
branch_no_52:;
{
nuitka_bool tmp_condition_result_80;
PyObject *tmp_expression_value_96;
CHECK_OBJECT(tmp_class_creation_14__metaclass);
tmp_expression_value_96 = tmp_class_creation_14__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_96, mod_consts[168]);
tmp_condition_result_80 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_80 == NUITKA_BOOL_TRUE) {
goto branch_yes_53;
} else {
goto branch_no_53;
}
}
branch_yes_53:;
{
PyObject *tmp_assign_source_133;
PyObject *tmp_called_value_28;
PyObject *tmp_expression_value_97;
PyObject *tmp_args_value_27;
PyObject *tmp_tuple_element_59;
PyObject *tmp_kwargs_value_27;
CHECK_OBJECT(tmp_class_creation_14__metaclass);
tmp_expression_value_97 = tmp_class_creation_14__metaclass;
tmp_called_value_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_97, mod_consts[168]);
if (tmp_called_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_tuple_element_59 = mod_consts[240];
tmp_args_value_27 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_27, 0, tmp_tuple_element_59);
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_tuple_element_59 = tmp_class_creation_14__bases;
PyTuple_SET_ITEM0(tmp_args_value_27, 1, tmp_tuple_element_59);
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_kwargs_value_27 = tmp_class_creation_14__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 634;
tmp_assign_source_133 = CALL_FUNCTION(tmp_called_value_28, tmp_args_value_27, tmp_kwargs_value_27);
Py_DECREF(tmp_called_value_28);
Py_DECREF(tmp_args_value_27);
if (tmp_assign_source_133 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
assert(tmp_class_creation_14__prepared == NULL);
tmp_class_creation_14__prepared = tmp_assign_source_133;
}
{
bool tmp_condition_result_81;
PyObject *tmp_operand_value_14;
PyObject *tmp_expression_value_98;
CHECK_OBJECT(tmp_class_creation_14__prepared);
tmp_expression_value_98 = tmp_class_creation_14__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_98, mod_consts[170]);
tmp_operand_value_14 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_14);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_condition_result_81 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_81 != false) {
goto branch_yes_54;
} else {
goto branch_no_54;
}
}
branch_yes_54:;
{
PyObject *tmp_raise_type_14;
PyObject *tmp_raise_value_14;
PyObject *tmp_mod_expr_left_14;
PyObject *tmp_mod_expr_right_14;
PyObject *tmp_tuple_element_60;
PyObject *tmp_getattr_target_14;
PyObject *tmp_getattr_attr_14;
PyObject *tmp_getattr_default_14;
tmp_raise_type_14 = PyExc_TypeError;
tmp_mod_expr_left_14 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_14__metaclass);
tmp_getattr_target_14 = tmp_class_creation_14__metaclass;
tmp_getattr_attr_14 = mod_consts[56];
tmp_getattr_default_14 = mod_consts[172];
tmp_tuple_element_60 = BUILTIN_GETATTR(tmp_getattr_target_14, tmp_getattr_attr_14, tmp_getattr_default_14);
if (tmp_tuple_element_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
tmp_mod_expr_right_14 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_99;
PyObject *tmp_type_arg_27;
PyTuple_SET_ITEM(tmp_mod_expr_right_14, 0, tmp_tuple_element_60);
CHECK_OBJECT(tmp_class_creation_14__prepared);
tmp_type_arg_27 = tmp_class_creation_14__prepared;
tmp_expression_value_99 = BUILTIN_TYPE1(tmp_type_arg_27);
assert(!(tmp_expression_value_99 == NULL));
tmp_tuple_element_60 = LOOKUP_ATTRIBUTE(tmp_expression_value_99, mod_consts[56]);
Py_DECREF(tmp_expression_value_99);
if (tmp_tuple_element_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto tuple_build_exception_19;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_14, 1, tmp_tuple_element_60);
}
goto tuple_build_noexception_19;
// Exception handling pass through code for tuple_build:
tuple_build_exception_19:;
Py_DECREF(tmp_mod_expr_right_14);
goto try_except_handler_42;
// Finished with no exception for tuple_build:
tuple_build_noexception_19:;
tmp_raise_value_14 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_14, tmp_mod_expr_right_14);
Py_DECREF(tmp_mod_expr_right_14);
if (tmp_raise_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_42;
}
exception_type = tmp_raise_type_14;
Py_INCREF(tmp_raise_type_14);
exception_value = tmp_raise_value_14;
exception_lineno = 634;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_42;
}
branch_no_54:;
goto branch_end_53;
branch_no_53:;
{
PyObject *tmp_assign_source_134;
tmp_assign_source_134 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_14__prepared == NULL);
tmp_class_creation_14__prepared = tmp_assign_source_134;
}
branch_end_53:;
{
PyObject *tmp_assign_source_135;
{
PyObject *tmp_set_locals_14;
CHECK_OBJECT(tmp_class_creation_14__prepared);
tmp_set_locals_14 = tmp_class_creation_14__prepared;
locals_tornado$template$$$class__14__IntermediateControlBlock_634 = tmp_set_locals_14;
Py_INCREF(tmp_set_locals_14);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_44;
}
tmp_dictset_value = mod_consts[240];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_44;
}
if (isFrameUnusable(cache_frame_8865c043121207ddc1962f38673be9b1_14)) {
Py_XDECREF(cache_frame_8865c043121207ddc1962f38673be9b1_14);
#if _DEBUG_REFCOUNTS
if (cache_frame_8865c043121207ddc1962f38673be9b1_14 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8865c043121207ddc1962f38673be9b1_14 = MAKE_CLASS_FRAME(codeobj_8865c043121207ddc1962f38673be9b1, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8865c043121207ddc1962f38673be9b1_14->m_type_description == NULL);
frame_8865c043121207ddc1962f38673be9b1_14 = cache_frame_8865c043121207ddc1962f38673be9b1_14;
// Push the new frame as the currently active one.
pushFrameStack(frame_8865c043121207ddc1962f38673be9b1_14);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8865c043121207ddc1962f38673be9b1_14) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_40;
PyObject *tmp_dict_key_31;
PyObject *tmp_dict_value_31;
tmp_dict_key_31 = mod_consts[143];
tmp_dict_value_31 = PyObject_GetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[300]);
if (tmp_dict_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_31 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_31);
} else {
goto frame_exception_exit_14;
}
}
tmp_annotations_40 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_40, tmp_dict_key_31, tmp_dict_value_31);
Py_DECREF(tmp_dict_value_31);
assert(!(tmp_res != 0));
tmp_dict_key_31 = mod_consts[126];
tmp_dict_value_31 = PyObject_GetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[340]);
if (tmp_dict_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_31 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_31);
} else {
goto frame_exception_exit_14;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_40, tmp_dict_key_31, tmp_dict_value_31);
Py_DECREF(tmp_dict_value_31);
assert(!(tmp_res != 0));
tmp_dict_key_31 = mod_consts[181];
tmp_dict_value_31 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_40, tmp_dict_key_31, tmp_dict_value_31);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__40___init__(tmp_annotations_40);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[107], 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 = 635;
type_description_2 = "o";
goto frame_exception_exit_14;
}
}
{
PyObject *tmp_annotations_41;
tmp_annotations_41 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__41_generate(tmp_annotations_41);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_2 = "o";
goto frame_exception_exit_14;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8865c043121207ddc1962f38673be9b1_14);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_13;
frame_exception_exit_14:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8865c043121207ddc1962f38673be9b1_14);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8865c043121207ddc1962f38673be9b1_14, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8865c043121207ddc1962f38673be9b1_14->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8865c043121207ddc1962f38673be9b1_14, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8865c043121207ddc1962f38673be9b1_14,
type_description_2,
outline_13_var___class__
);
// Release cached frame if used for exception.
if (frame_8865c043121207ddc1962f38673be9b1_14 == cache_frame_8865c043121207ddc1962f38673be9b1_14) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8865c043121207ddc1962f38673be9b1_14);
cache_frame_8865c043121207ddc1962f38673be9b1_14 = NULL;
}
assertFrameObject(frame_8865c043121207ddc1962f38673be9b1_14);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_13;
frame_no_exception_13:;
goto skip_nested_handling_13;
nested_frame_exit_13:;
goto try_except_handler_44;
skip_nested_handling_13:;
{
nuitka_bool tmp_condition_result_82;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_cmp_expr_left_13 = tmp_class_creation_14__bases;
CHECK_OBJECT(tmp_class_creation_14__bases_orig);
tmp_cmp_expr_right_13 = tmp_class_creation_14__bases_orig;
tmp_condition_result_82 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
if (tmp_condition_result_82 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_44;
}
if (tmp_condition_result_82 == NUITKA_BOOL_TRUE) {
goto branch_yes_55;
} else {
goto branch_no_55;
}
}
branch_yes_55:;
CHECK_OBJECT(tmp_class_creation_14__bases_orig);
tmp_dictset_value = tmp_class_creation_14__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__14__IntermediateControlBlock_634, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_44;
}
branch_no_55:;
{
PyObject *tmp_assign_source_136;
PyObject *tmp_called_value_29;
PyObject *tmp_args_value_28;
PyObject *tmp_tuple_element_61;
PyObject *tmp_kwargs_value_28;
CHECK_OBJECT(tmp_class_creation_14__metaclass);
tmp_called_value_29 = tmp_class_creation_14__metaclass;
tmp_tuple_element_61 = mod_consts[240];
tmp_args_value_28 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_28, 0, tmp_tuple_element_61);
CHECK_OBJECT(tmp_class_creation_14__bases);
tmp_tuple_element_61 = tmp_class_creation_14__bases;
PyTuple_SET_ITEM0(tmp_args_value_28, 1, tmp_tuple_element_61);
tmp_tuple_element_61 = locals_tornado$template$$$class__14__IntermediateControlBlock_634;
PyTuple_SET_ITEM0(tmp_args_value_28, 2, tmp_tuple_element_61);
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
tmp_kwargs_value_28 = tmp_class_creation_14__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 634;
tmp_assign_source_136 = CALL_FUNCTION(tmp_called_value_29, tmp_args_value_28, tmp_kwargs_value_28);
Py_DECREF(tmp_args_value_28);
if (tmp_assign_source_136 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
goto try_except_handler_44;
}
assert(outline_13_var___class__ == NULL);
outline_13_var___class__ = tmp_assign_source_136;
}
CHECK_OBJECT(outline_13_var___class__);
tmp_assign_source_135 = outline_13_var___class__;
Py_INCREF(tmp_assign_source_135);
goto try_return_handler_44;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_44:;
Py_DECREF(locals_tornado$template$$$class__14__IntermediateControlBlock_634);
locals_tornado$template$$$class__14__IntermediateControlBlock_634 = NULL;
goto try_return_handler_43;
// Exception handler code:
try_except_handler_44:;
exception_keeper_type_42 = exception_type;
exception_keeper_value_42 = exception_value;
exception_keeper_tb_42 = exception_tb;
exception_keeper_lineno_42 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__14__IntermediateControlBlock_634);
locals_tornado$template$$$class__14__IntermediateControlBlock_634 = NULL;
// Re-raise.
exception_type = exception_keeper_type_42;
exception_value = exception_keeper_value_42;
exception_tb = exception_keeper_tb_42;
exception_lineno = exception_keeper_lineno_42;
goto try_except_handler_43;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_43:;
CHECK_OBJECT(outline_13_var___class__);
Py_DECREF(outline_13_var___class__);
outline_13_var___class__ = NULL;
goto outline_result_14;
// Exception handler code:
try_except_handler_43:;
exception_keeper_type_43 = exception_type;
exception_keeper_value_43 = exception_value;
exception_keeper_tb_43 = exception_tb;
exception_keeper_lineno_43 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_43;
exception_value = exception_keeper_value_43;
exception_tb = exception_keeper_tb_43;
exception_lineno = exception_keeper_lineno_43;
goto outline_exception_14;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_14:;
exception_lineno = 634;
goto try_except_handler_42;
outline_result_14:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[240], tmp_assign_source_135);
}
goto try_end_16;
// Exception handler code:
try_except_handler_42:;
exception_keeper_type_44 = exception_type;
exception_keeper_value_44 = exception_value;
exception_keeper_tb_44 = exception_tb;
exception_keeper_lineno_44 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_14__bases_orig);
tmp_class_creation_14__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_14__bases);
tmp_class_creation_14__bases = NULL;
Py_XDECREF(tmp_class_creation_14__class_decl_dict);
tmp_class_creation_14__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_14__metaclass);
tmp_class_creation_14__metaclass = NULL;
Py_XDECREF(tmp_class_creation_14__prepared);
tmp_class_creation_14__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_44;
exception_value = exception_keeper_value_44;
exception_tb = exception_keeper_tb_44;
exception_lineno = exception_keeper_lineno_44;
goto frame_exception_exit_1;
// End of try:
try_end_16:;
CHECK_OBJECT(tmp_class_creation_14__bases_orig);
Py_DECREF(tmp_class_creation_14__bases_orig);
tmp_class_creation_14__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_14__bases);
Py_DECREF(tmp_class_creation_14__bases);
tmp_class_creation_14__bases = NULL;
CHECK_OBJECT(tmp_class_creation_14__class_decl_dict);
Py_DECREF(tmp_class_creation_14__class_decl_dict);
tmp_class_creation_14__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_14__metaclass);
Py_DECREF(tmp_class_creation_14__metaclass);
tmp_class_creation_14__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_14__prepared);
Py_DECREF(tmp_class_creation_14__prepared);
tmp_class_creation_14__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_137;
PyObject *tmp_tuple_element_62;
tmp_tuple_element_62 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_62 == NULL)) {
tmp_tuple_element_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_assign_source_137 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_137, 0, tmp_tuple_element_62);
assert(tmp_class_creation_15__bases_orig == NULL);
tmp_class_creation_15__bases_orig = tmp_assign_source_137;
}
{
PyObject *tmp_assign_source_138;
PyObject *tmp_dircall_arg1_14;
CHECK_OBJECT(tmp_class_creation_15__bases_orig);
tmp_dircall_arg1_14 = tmp_class_creation_15__bases_orig;
Py_INCREF(tmp_dircall_arg1_14);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_14};
tmp_assign_source_138 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_138 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
assert(tmp_class_creation_15__bases == NULL);
tmp_class_creation_15__bases = tmp_assign_source_138;
}
{
PyObject *tmp_assign_source_139;
tmp_assign_source_139 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_15__class_decl_dict == NULL);
tmp_class_creation_15__class_decl_dict = tmp_assign_source_139;
}
{
PyObject *tmp_assign_source_140;
PyObject *tmp_metaclass_value_15;
bool tmp_condition_result_83;
PyObject *tmp_key_value_43;
PyObject *tmp_dict_arg_value_43;
PyObject *tmp_dict_arg_value_44;
PyObject *tmp_key_value_44;
nuitka_bool tmp_condition_result_84;
int tmp_truth_name_14;
PyObject *tmp_type_arg_28;
PyObject *tmp_expression_value_100;
PyObject *tmp_subscript_value_44;
PyObject *tmp_bases_value_15;
tmp_key_value_43 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_dict_arg_value_43 = tmp_class_creation_15__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_43, tmp_key_value_43);
assert(!(tmp_res == -1));
tmp_condition_result_83 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_83 != false) {
goto condexpr_true_28;
} else {
goto condexpr_false_28;
}
condexpr_true_28:;
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_dict_arg_value_44 = tmp_class_creation_15__class_decl_dict;
tmp_key_value_44 = mod_consts[167];
tmp_metaclass_value_15 = DICT_GET_ITEM0(tmp_dict_arg_value_44, tmp_key_value_44);
if (tmp_metaclass_value_15 == NULL) {
tmp_metaclass_value_15 = Py_None;
}
assert(!(tmp_metaclass_value_15 == NULL));
Py_INCREF(tmp_metaclass_value_15);
goto condexpr_end_28;
condexpr_false_28:;
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_truth_name_14 = CHECK_IF_TRUE(tmp_class_creation_15__bases);
if (tmp_truth_name_14 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_condition_result_84 = tmp_truth_name_14 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_84 == NUITKA_BOOL_TRUE) {
goto condexpr_true_29;
} else {
goto condexpr_false_29;
}
condexpr_true_29:;
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_expression_value_100 = tmp_class_creation_15__bases;
tmp_subscript_value_44 = mod_consts[79];
tmp_type_arg_28 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_100, tmp_subscript_value_44, 0);
if (tmp_type_arg_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_metaclass_value_15 = BUILTIN_TYPE1(tmp_type_arg_28);
Py_DECREF(tmp_type_arg_28);
if (tmp_metaclass_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
goto condexpr_end_29;
condexpr_false_29:;
tmp_metaclass_value_15 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_15);
condexpr_end_29:;
condexpr_end_28:;
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_bases_value_15 = tmp_class_creation_15__bases;
tmp_assign_source_140 = SELECT_METACLASS(tmp_metaclass_value_15, tmp_bases_value_15);
Py_DECREF(tmp_metaclass_value_15);
if (tmp_assign_source_140 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
assert(tmp_class_creation_15__metaclass == NULL);
tmp_class_creation_15__metaclass = tmp_assign_source_140;
}
{
bool tmp_condition_result_85;
PyObject *tmp_key_value_45;
PyObject *tmp_dict_arg_value_45;
tmp_key_value_45 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_dict_arg_value_45 = tmp_class_creation_15__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_45, tmp_key_value_45);
assert(!(tmp_res == -1));
tmp_condition_result_85 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_85 != false) {
goto branch_yes_56;
} else {
goto branch_no_56;
}
}
branch_yes_56:;
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_15__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 645;
goto try_except_handler_45;
}
branch_no_56:;
{
nuitka_bool tmp_condition_result_86;
PyObject *tmp_expression_value_101;
CHECK_OBJECT(tmp_class_creation_15__metaclass);
tmp_expression_value_101 = tmp_class_creation_15__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_101, mod_consts[168]);
tmp_condition_result_86 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_86 == NUITKA_BOOL_TRUE) {
goto branch_yes_57;
} else {
goto branch_no_57;
}
}
branch_yes_57:;
{
PyObject *tmp_assign_source_141;
PyObject *tmp_called_value_30;
PyObject *tmp_expression_value_102;
PyObject *tmp_args_value_29;
PyObject *tmp_tuple_element_63;
PyObject *tmp_kwargs_value_29;
CHECK_OBJECT(tmp_class_creation_15__metaclass);
tmp_expression_value_102 = tmp_class_creation_15__metaclass;
tmp_called_value_30 = LOOKUP_ATTRIBUTE(tmp_expression_value_102, mod_consts[168]);
if (tmp_called_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_tuple_element_63 = mod_consts[251];
tmp_args_value_29 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_29, 0, tmp_tuple_element_63);
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_tuple_element_63 = tmp_class_creation_15__bases;
PyTuple_SET_ITEM0(tmp_args_value_29, 1, tmp_tuple_element_63);
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_kwargs_value_29 = tmp_class_creation_15__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 645;
tmp_assign_source_141 = CALL_FUNCTION(tmp_called_value_30, tmp_args_value_29, tmp_kwargs_value_29);
Py_DECREF(tmp_called_value_30);
Py_DECREF(tmp_args_value_29);
if (tmp_assign_source_141 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
assert(tmp_class_creation_15__prepared == NULL);
tmp_class_creation_15__prepared = tmp_assign_source_141;
}
{
bool tmp_condition_result_87;
PyObject *tmp_operand_value_15;
PyObject *tmp_expression_value_103;
CHECK_OBJECT(tmp_class_creation_15__prepared);
tmp_expression_value_103 = tmp_class_creation_15__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_103, mod_consts[170]);
tmp_operand_value_15 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_15);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_condition_result_87 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_87 != false) {
goto branch_yes_58;
} else {
goto branch_no_58;
}
}
branch_yes_58:;
{
PyObject *tmp_raise_type_15;
PyObject *tmp_raise_value_15;
PyObject *tmp_mod_expr_left_15;
PyObject *tmp_mod_expr_right_15;
PyObject *tmp_tuple_element_64;
PyObject *tmp_getattr_target_15;
PyObject *tmp_getattr_attr_15;
PyObject *tmp_getattr_default_15;
tmp_raise_type_15 = PyExc_TypeError;
tmp_mod_expr_left_15 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_15__metaclass);
tmp_getattr_target_15 = tmp_class_creation_15__metaclass;
tmp_getattr_attr_15 = mod_consts[56];
tmp_getattr_default_15 = mod_consts[172];
tmp_tuple_element_64 = BUILTIN_GETATTR(tmp_getattr_target_15, tmp_getattr_attr_15, tmp_getattr_default_15);
if (tmp_tuple_element_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
tmp_mod_expr_right_15 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_104;
PyObject *tmp_type_arg_29;
PyTuple_SET_ITEM(tmp_mod_expr_right_15, 0, tmp_tuple_element_64);
CHECK_OBJECT(tmp_class_creation_15__prepared);
tmp_type_arg_29 = tmp_class_creation_15__prepared;
tmp_expression_value_104 = BUILTIN_TYPE1(tmp_type_arg_29);
assert(!(tmp_expression_value_104 == NULL));
tmp_tuple_element_64 = LOOKUP_ATTRIBUTE(tmp_expression_value_104, mod_consts[56]);
Py_DECREF(tmp_expression_value_104);
if (tmp_tuple_element_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto tuple_build_exception_20;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_15, 1, tmp_tuple_element_64);
}
goto tuple_build_noexception_20;
// Exception handling pass through code for tuple_build:
tuple_build_exception_20:;
Py_DECREF(tmp_mod_expr_right_15);
goto try_except_handler_45;
// Finished with no exception for tuple_build:
tuple_build_noexception_20:;
tmp_raise_value_15 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_15, tmp_mod_expr_right_15);
Py_DECREF(tmp_mod_expr_right_15);
if (tmp_raise_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_45;
}
exception_type = tmp_raise_type_15;
Py_INCREF(tmp_raise_type_15);
exception_value = tmp_raise_value_15;
exception_lineno = 645;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_45;
}
branch_no_58:;
goto branch_end_57;
branch_no_57:;
{
PyObject *tmp_assign_source_142;
tmp_assign_source_142 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_15__prepared == NULL);
tmp_class_creation_15__prepared = tmp_assign_source_142;
}
branch_end_57:;
{
PyObject *tmp_assign_source_143;
{
PyObject *tmp_set_locals_15;
CHECK_OBJECT(tmp_class_creation_15__prepared);
tmp_set_locals_15 = tmp_class_creation_15__prepared;
locals_tornado$template$$$class__15__Statement_645 = tmp_set_locals_15;
Py_INCREF(tmp_set_locals_15);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_47;
}
tmp_dictset_value = mod_consts[251];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_47;
}
if (isFrameUnusable(cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15)) {
Py_XDECREF(cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15);
#if _DEBUG_REFCOUNTS
if (cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15 = MAKE_CLASS_FRAME(codeobj_9140d5420aeec96ced7c11f8d8c889e5, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15->m_type_description == NULL);
frame_9140d5420aeec96ced7c11f8d8c889e5_15 = cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15;
// Push the new frame as the currently active one.
pushFrameStack(frame_9140d5420aeec96ced7c11f8d8c889e5_15);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9140d5420aeec96ced7c11f8d8c889e5_15) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_42;
PyObject *tmp_dict_key_32;
PyObject *tmp_dict_value_32;
tmp_dict_key_32 = mod_consts[143];
tmp_dict_value_32 = PyObject_GetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[300]);
if (tmp_dict_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_32 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_32);
} else {
goto frame_exception_exit_15;
}
}
tmp_annotations_42 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_42, tmp_dict_key_32, tmp_dict_value_32);
Py_DECREF(tmp_dict_value_32);
assert(!(tmp_res != 0));
tmp_dict_key_32 = mod_consts[126];
tmp_dict_value_32 = PyObject_GetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[340]);
if (tmp_dict_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_32 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_32);
} else {
goto frame_exception_exit_15;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_42, tmp_dict_key_32, tmp_dict_value_32);
Py_DECREF(tmp_dict_value_32);
assert(!(tmp_res != 0));
tmp_dict_key_32 = mod_consts[181];
tmp_dict_value_32 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_42, tmp_dict_key_32, tmp_dict_value_32);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__42___init__(tmp_annotations_42);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[107], 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 = 646;
type_description_2 = "o";
goto frame_exception_exit_15;
}
}
{
PyObject *tmp_annotations_43;
tmp_annotations_43 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__43_generate(tmp_annotations_43);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
type_description_2 = "o";
goto frame_exception_exit_15;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9140d5420aeec96ced7c11f8d8c889e5_15);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_14;
frame_exception_exit_15:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9140d5420aeec96ced7c11f8d8c889e5_15);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9140d5420aeec96ced7c11f8d8c889e5_15, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9140d5420aeec96ced7c11f8d8c889e5_15->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9140d5420aeec96ced7c11f8d8c889e5_15, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9140d5420aeec96ced7c11f8d8c889e5_15,
type_description_2,
outline_14_var___class__
);
// Release cached frame if used for exception.
if (frame_9140d5420aeec96ced7c11f8d8c889e5_15 == cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15);
cache_frame_9140d5420aeec96ced7c11f8d8c889e5_15 = NULL;
}
assertFrameObject(frame_9140d5420aeec96ced7c11f8d8c889e5_15);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_14;
frame_no_exception_14:;
goto skip_nested_handling_14;
nested_frame_exit_14:;
goto try_except_handler_47;
skip_nested_handling_14:;
{
nuitka_bool tmp_condition_result_88;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_cmp_expr_left_14 = tmp_class_creation_15__bases;
CHECK_OBJECT(tmp_class_creation_15__bases_orig);
tmp_cmp_expr_right_14 = tmp_class_creation_15__bases_orig;
tmp_condition_result_88 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_14, tmp_cmp_expr_right_14);
if (tmp_condition_result_88 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_47;
}
if (tmp_condition_result_88 == NUITKA_BOOL_TRUE) {
goto branch_yes_59;
} else {
goto branch_no_59;
}
}
branch_yes_59:;
CHECK_OBJECT(tmp_class_creation_15__bases_orig);
tmp_dictset_value = tmp_class_creation_15__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__15__Statement_645, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_47;
}
branch_no_59:;
{
PyObject *tmp_assign_source_144;
PyObject *tmp_called_value_31;
PyObject *tmp_args_value_30;
PyObject *tmp_tuple_element_65;
PyObject *tmp_kwargs_value_30;
CHECK_OBJECT(tmp_class_creation_15__metaclass);
tmp_called_value_31 = tmp_class_creation_15__metaclass;
tmp_tuple_element_65 = mod_consts[251];
tmp_args_value_30 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_30, 0, tmp_tuple_element_65);
CHECK_OBJECT(tmp_class_creation_15__bases);
tmp_tuple_element_65 = tmp_class_creation_15__bases;
PyTuple_SET_ITEM0(tmp_args_value_30, 1, tmp_tuple_element_65);
tmp_tuple_element_65 = locals_tornado$template$$$class__15__Statement_645;
PyTuple_SET_ITEM0(tmp_args_value_30, 2, tmp_tuple_element_65);
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
tmp_kwargs_value_30 = tmp_class_creation_15__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 645;
tmp_assign_source_144 = CALL_FUNCTION(tmp_called_value_31, tmp_args_value_30, tmp_kwargs_value_30);
Py_DECREF(tmp_args_value_30);
if (tmp_assign_source_144 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto try_except_handler_47;
}
assert(outline_14_var___class__ == NULL);
outline_14_var___class__ = tmp_assign_source_144;
}
CHECK_OBJECT(outline_14_var___class__);
tmp_assign_source_143 = outline_14_var___class__;
Py_INCREF(tmp_assign_source_143);
goto try_return_handler_47;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_47:;
Py_DECREF(locals_tornado$template$$$class__15__Statement_645);
locals_tornado$template$$$class__15__Statement_645 = NULL;
goto try_return_handler_46;
// Exception handler code:
try_except_handler_47:;
exception_keeper_type_45 = exception_type;
exception_keeper_value_45 = exception_value;
exception_keeper_tb_45 = exception_tb;
exception_keeper_lineno_45 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__15__Statement_645);
locals_tornado$template$$$class__15__Statement_645 = NULL;
// Re-raise.
exception_type = exception_keeper_type_45;
exception_value = exception_keeper_value_45;
exception_tb = exception_keeper_tb_45;
exception_lineno = exception_keeper_lineno_45;
goto try_except_handler_46;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_46:;
CHECK_OBJECT(outline_14_var___class__);
Py_DECREF(outline_14_var___class__);
outline_14_var___class__ = NULL;
goto outline_result_15;
// Exception handler code:
try_except_handler_46:;
exception_keeper_type_46 = exception_type;
exception_keeper_value_46 = exception_value;
exception_keeper_tb_46 = exception_tb;
exception_keeper_lineno_46 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_46;
exception_value = exception_keeper_value_46;
exception_tb = exception_keeper_tb_46;
exception_lineno = exception_keeper_lineno_46;
goto outline_exception_15;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_15:;
exception_lineno = 645;
goto try_except_handler_45;
outline_result_15:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[251], tmp_assign_source_143);
}
goto try_end_17;
// Exception handler code:
try_except_handler_45:;
exception_keeper_type_47 = exception_type;
exception_keeper_value_47 = exception_value;
exception_keeper_tb_47 = exception_tb;
exception_keeper_lineno_47 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_15__bases_orig);
tmp_class_creation_15__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_15__bases);
tmp_class_creation_15__bases = NULL;
Py_XDECREF(tmp_class_creation_15__class_decl_dict);
tmp_class_creation_15__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_15__metaclass);
tmp_class_creation_15__metaclass = NULL;
Py_XDECREF(tmp_class_creation_15__prepared);
tmp_class_creation_15__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_47;
exception_value = exception_keeper_value_47;
exception_tb = exception_keeper_tb_47;
exception_lineno = exception_keeper_lineno_47;
goto frame_exception_exit_1;
// End of try:
try_end_17:;
CHECK_OBJECT(tmp_class_creation_15__bases_orig);
Py_DECREF(tmp_class_creation_15__bases_orig);
tmp_class_creation_15__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_15__bases);
Py_DECREF(tmp_class_creation_15__bases);
tmp_class_creation_15__bases = NULL;
CHECK_OBJECT(tmp_class_creation_15__class_decl_dict);
Py_DECREF(tmp_class_creation_15__class_decl_dict);
tmp_class_creation_15__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_15__metaclass);
Py_DECREF(tmp_class_creation_15__metaclass);
tmp_class_creation_15__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_15__prepared);
Py_DECREF(tmp_class_creation_15__prepared);
tmp_class_creation_15__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_145;
PyObject *tmp_tuple_element_66;
tmp_tuple_element_66 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_66 == NULL)) {
tmp_tuple_element_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_assign_source_145 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_145, 0, tmp_tuple_element_66);
assert(tmp_class_creation_16__bases_orig == NULL);
tmp_class_creation_16__bases_orig = tmp_assign_source_145;
}
{
PyObject *tmp_assign_source_146;
PyObject *tmp_dircall_arg1_15;
CHECK_OBJECT(tmp_class_creation_16__bases_orig);
tmp_dircall_arg1_15 = tmp_class_creation_16__bases_orig;
Py_INCREF(tmp_dircall_arg1_15);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_15};
tmp_assign_source_146 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_146 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
assert(tmp_class_creation_16__bases == NULL);
tmp_class_creation_16__bases = tmp_assign_source_146;
}
{
PyObject *tmp_assign_source_147;
tmp_assign_source_147 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_16__class_decl_dict == NULL);
tmp_class_creation_16__class_decl_dict = tmp_assign_source_147;
}
{
PyObject *tmp_assign_source_148;
PyObject *tmp_metaclass_value_16;
bool tmp_condition_result_89;
PyObject *tmp_key_value_46;
PyObject *tmp_dict_arg_value_46;
PyObject *tmp_dict_arg_value_47;
PyObject *tmp_key_value_47;
nuitka_bool tmp_condition_result_90;
int tmp_truth_name_15;
PyObject *tmp_type_arg_30;
PyObject *tmp_expression_value_105;
PyObject *tmp_subscript_value_45;
PyObject *tmp_bases_value_16;
tmp_key_value_46 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_dict_arg_value_46 = tmp_class_creation_16__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_46, tmp_key_value_46);
assert(!(tmp_res == -1));
tmp_condition_result_89 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_89 != false) {
goto condexpr_true_30;
} else {
goto condexpr_false_30;
}
condexpr_true_30:;
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_dict_arg_value_47 = tmp_class_creation_16__class_decl_dict;
tmp_key_value_47 = mod_consts[167];
tmp_metaclass_value_16 = DICT_GET_ITEM0(tmp_dict_arg_value_47, tmp_key_value_47);
if (tmp_metaclass_value_16 == NULL) {
tmp_metaclass_value_16 = Py_None;
}
assert(!(tmp_metaclass_value_16 == NULL));
Py_INCREF(tmp_metaclass_value_16);
goto condexpr_end_30;
condexpr_false_30:;
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_truth_name_15 = CHECK_IF_TRUE(tmp_class_creation_16__bases);
if (tmp_truth_name_15 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_condition_result_90 = tmp_truth_name_15 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_90 == NUITKA_BOOL_TRUE) {
goto condexpr_true_31;
} else {
goto condexpr_false_31;
}
condexpr_true_31:;
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_expression_value_105 = tmp_class_creation_16__bases;
tmp_subscript_value_45 = mod_consts[79];
tmp_type_arg_30 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_105, tmp_subscript_value_45, 0);
if (tmp_type_arg_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_metaclass_value_16 = BUILTIN_TYPE1(tmp_type_arg_30);
Py_DECREF(tmp_type_arg_30);
if (tmp_metaclass_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
goto condexpr_end_31;
condexpr_false_31:;
tmp_metaclass_value_16 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_16);
condexpr_end_31:;
condexpr_end_30:;
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_bases_value_16 = tmp_class_creation_16__bases;
tmp_assign_source_148 = SELECT_METACLASS(tmp_metaclass_value_16, tmp_bases_value_16);
Py_DECREF(tmp_metaclass_value_16);
if (tmp_assign_source_148 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
assert(tmp_class_creation_16__metaclass == NULL);
tmp_class_creation_16__metaclass = tmp_assign_source_148;
}
{
bool tmp_condition_result_91;
PyObject *tmp_key_value_48;
PyObject *tmp_dict_arg_value_48;
tmp_key_value_48 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_dict_arg_value_48 = tmp_class_creation_16__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_48, tmp_key_value_48);
assert(!(tmp_res == -1));
tmp_condition_result_91 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_91 != false) {
goto branch_yes_60;
} else {
goto branch_no_60;
}
}
branch_yes_60:;
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_16__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 654;
goto try_except_handler_48;
}
branch_no_60:;
{
nuitka_bool tmp_condition_result_92;
PyObject *tmp_expression_value_106;
CHECK_OBJECT(tmp_class_creation_16__metaclass);
tmp_expression_value_106 = tmp_class_creation_16__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_106, mod_consts[168]);
tmp_condition_result_92 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_92 == NUITKA_BOOL_TRUE) {
goto branch_yes_61;
} else {
goto branch_no_61;
}
}
branch_yes_61:;
{
PyObject *tmp_assign_source_149;
PyObject *tmp_called_value_32;
PyObject *tmp_expression_value_107;
PyObject *tmp_args_value_31;
PyObject *tmp_tuple_element_67;
PyObject *tmp_kwargs_value_31;
CHECK_OBJECT(tmp_class_creation_16__metaclass);
tmp_expression_value_107 = tmp_class_creation_16__metaclass;
tmp_called_value_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_107, mod_consts[168]);
if (tmp_called_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_tuple_element_67 = mod_consts[230];
tmp_args_value_31 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_31, 0, tmp_tuple_element_67);
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_tuple_element_67 = tmp_class_creation_16__bases;
PyTuple_SET_ITEM0(tmp_args_value_31, 1, tmp_tuple_element_67);
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_kwargs_value_31 = tmp_class_creation_16__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 654;
tmp_assign_source_149 = CALL_FUNCTION(tmp_called_value_32, tmp_args_value_31, tmp_kwargs_value_31);
Py_DECREF(tmp_called_value_32);
Py_DECREF(tmp_args_value_31);
if (tmp_assign_source_149 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
assert(tmp_class_creation_16__prepared == NULL);
tmp_class_creation_16__prepared = tmp_assign_source_149;
}
{
bool tmp_condition_result_93;
PyObject *tmp_operand_value_16;
PyObject *tmp_expression_value_108;
CHECK_OBJECT(tmp_class_creation_16__prepared);
tmp_expression_value_108 = tmp_class_creation_16__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_108, mod_consts[170]);
tmp_operand_value_16 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_16);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_condition_result_93 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_93 != false) {
goto branch_yes_62;
} else {
goto branch_no_62;
}
}
branch_yes_62:;
{
PyObject *tmp_raise_type_16;
PyObject *tmp_raise_value_16;
PyObject *tmp_mod_expr_left_16;
PyObject *tmp_mod_expr_right_16;
PyObject *tmp_tuple_element_68;
PyObject *tmp_getattr_target_16;
PyObject *tmp_getattr_attr_16;
PyObject *tmp_getattr_default_16;
tmp_raise_type_16 = PyExc_TypeError;
tmp_mod_expr_left_16 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_16__metaclass);
tmp_getattr_target_16 = tmp_class_creation_16__metaclass;
tmp_getattr_attr_16 = mod_consts[56];
tmp_getattr_default_16 = mod_consts[172];
tmp_tuple_element_68 = BUILTIN_GETATTR(tmp_getattr_target_16, tmp_getattr_attr_16, tmp_getattr_default_16);
if (tmp_tuple_element_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
tmp_mod_expr_right_16 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_109;
PyObject *tmp_type_arg_31;
PyTuple_SET_ITEM(tmp_mod_expr_right_16, 0, tmp_tuple_element_68);
CHECK_OBJECT(tmp_class_creation_16__prepared);
tmp_type_arg_31 = tmp_class_creation_16__prepared;
tmp_expression_value_109 = BUILTIN_TYPE1(tmp_type_arg_31);
assert(!(tmp_expression_value_109 == NULL));
tmp_tuple_element_68 = LOOKUP_ATTRIBUTE(tmp_expression_value_109, mod_consts[56]);
Py_DECREF(tmp_expression_value_109);
if (tmp_tuple_element_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto tuple_build_exception_21;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_16, 1, tmp_tuple_element_68);
}
goto tuple_build_noexception_21;
// Exception handling pass through code for tuple_build:
tuple_build_exception_21:;
Py_DECREF(tmp_mod_expr_right_16);
goto try_except_handler_48;
// Finished with no exception for tuple_build:
tuple_build_noexception_21:;
tmp_raise_value_16 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_16, tmp_mod_expr_right_16);
Py_DECREF(tmp_mod_expr_right_16);
if (tmp_raise_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_48;
}
exception_type = tmp_raise_type_16;
Py_INCREF(tmp_raise_type_16);
exception_value = tmp_raise_value_16;
exception_lineno = 654;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_48;
}
branch_no_62:;
goto branch_end_61;
branch_no_61:;
{
PyObject *tmp_assign_source_150;
tmp_assign_source_150 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_16__prepared == NULL);
tmp_class_creation_16__prepared = tmp_assign_source_150;
}
branch_end_61:;
{
PyObject *tmp_assign_source_151;
{
PyObject *tmp_set_locals_16;
CHECK_OBJECT(tmp_class_creation_16__prepared);
tmp_set_locals_16 = tmp_class_creation_16__prepared;
locals_tornado$template$$$class__16__Expression_654 = tmp_set_locals_16;
Py_INCREF(tmp_set_locals_16);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_50;
}
tmp_dictset_value = mod_consts[230];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_50;
}
if (isFrameUnusable(cache_frame_c90379810339cf78a1536bcfe5575960_16)) {
Py_XDECREF(cache_frame_c90379810339cf78a1536bcfe5575960_16);
#if _DEBUG_REFCOUNTS
if (cache_frame_c90379810339cf78a1536bcfe5575960_16 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c90379810339cf78a1536bcfe5575960_16 = MAKE_CLASS_FRAME(codeobj_c90379810339cf78a1536bcfe5575960, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c90379810339cf78a1536bcfe5575960_16->m_type_description == NULL);
frame_c90379810339cf78a1536bcfe5575960_16 = cache_frame_c90379810339cf78a1536bcfe5575960_16;
// Push the new frame as the currently active one.
pushFrameStack(frame_c90379810339cf78a1536bcfe5575960_16);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c90379810339cf78a1536bcfe5575960_16) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_7;
PyObject *tmp_annotations_44;
PyObject *tmp_dict_key_33;
PyObject *tmp_dict_value_33;
tmp_defaults_7 = mod_consts[359];
tmp_dict_key_33 = mod_consts[147];
tmp_dict_value_33 = PyObject_GetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[300]);
if (tmp_dict_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_33 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_33);
} else {
goto frame_exception_exit_16;
}
}
tmp_annotations_44 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_44, tmp_dict_key_33, tmp_dict_value_33);
Py_DECREF(tmp_dict_value_33);
assert(!(tmp_res != 0));
tmp_dict_key_33 = mod_consts[126];
tmp_dict_value_33 = PyObject_GetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[340]);
if (tmp_dict_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_33 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_33);
} else {
goto frame_exception_exit_16;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_44, tmp_dict_key_33, tmp_dict_value_33);
Py_DECREF(tmp_dict_value_33);
assert(!(tmp_res != 0));
tmp_dict_key_33 = mod_consts[148];
tmp_dict_value_33 = PyObject_GetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[304]);
if (tmp_dict_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_33 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_33);
} else {
goto frame_exception_exit_16;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_44, tmp_dict_key_33, tmp_dict_value_33);
Py_DECREF(tmp_dict_value_33);
assert(!(tmp_res != 0));
tmp_dict_key_33 = mod_consts[181];
tmp_dict_value_33 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_44, tmp_dict_key_33, tmp_dict_value_33);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__44___init__(tmp_defaults_7, tmp_annotations_44);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[107], 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 = 655;
type_description_2 = "o";
goto frame_exception_exit_16;
}
}
{
PyObject *tmp_annotations_45;
tmp_annotations_45 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__45_generate(tmp_annotations_45);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 660;
type_description_2 = "o";
goto frame_exception_exit_16;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c90379810339cf78a1536bcfe5575960_16);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_15;
frame_exception_exit_16:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c90379810339cf78a1536bcfe5575960_16);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c90379810339cf78a1536bcfe5575960_16, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c90379810339cf78a1536bcfe5575960_16->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c90379810339cf78a1536bcfe5575960_16, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c90379810339cf78a1536bcfe5575960_16,
type_description_2,
outline_15_var___class__
);
// Release cached frame if used for exception.
if (frame_c90379810339cf78a1536bcfe5575960_16 == cache_frame_c90379810339cf78a1536bcfe5575960_16) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c90379810339cf78a1536bcfe5575960_16);
cache_frame_c90379810339cf78a1536bcfe5575960_16 = NULL;
}
assertFrameObject(frame_c90379810339cf78a1536bcfe5575960_16);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_15;
frame_no_exception_15:;
goto skip_nested_handling_15;
nested_frame_exit_15:;
goto try_except_handler_50;
skip_nested_handling_15:;
{
nuitka_bool tmp_condition_result_94;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_cmp_expr_left_15 = tmp_class_creation_16__bases;
CHECK_OBJECT(tmp_class_creation_16__bases_orig);
tmp_cmp_expr_right_15 = tmp_class_creation_16__bases_orig;
tmp_condition_result_94 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_15, tmp_cmp_expr_right_15);
if (tmp_condition_result_94 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_50;
}
if (tmp_condition_result_94 == NUITKA_BOOL_TRUE) {
goto branch_yes_63;
} else {
goto branch_no_63;
}
}
branch_yes_63:;
CHECK_OBJECT(tmp_class_creation_16__bases_orig);
tmp_dictset_value = tmp_class_creation_16__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__16__Expression_654, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_50;
}
branch_no_63:;
{
PyObject *tmp_assign_source_152;
PyObject *tmp_called_value_33;
PyObject *tmp_args_value_32;
PyObject *tmp_tuple_element_69;
PyObject *tmp_kwargs_value_32;
CHECK_OBJECT(tmp_class_creation_16__metaclass);
tmp_called_value_33 = tmp_class_creation_16__metaclass;
tmp_tuple_element_69 = mod_consts[230];
tmp_args_value_32 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_32, 0, tmp_tuple_element_69);
CHECK_OBJECT(tmp_class_creation_16__bases);
tmp_tuple_element_69 = tmp_class_creation_16__bases;
PyTuple_SET_ITEM0(tmp_args_value_32, 1, tmp_tuple_element_69);
tmp_tuple_element_69 = locals_tornado$template$$$class__16__Expression_654;
PyTuple_SET_ITEM0(tmp_args_value_32, 2, tmp_tuple_element_69);
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
tmp_kwargs_value_32 = tmp_class_creation_16__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 654;
tmp_assign_source_152 = CALL_FUNCTION(tmp_called_value_33, tmp_args_value_32, tmp_kwargs_value_32);
Py_DECREF(tmp_args_value_32);
if (tmp_assign_source_152 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
goto try_except_handler_50;
}
assert(outline_15_var___class__ == NULL);
outline_15_var___class__ = tmp_assign_source_152;
}
CHECK_OBJECT(outline_15_var___class__);
tmp_assign_source_151 = outline_15_var___class__;
Py_INCREF(tmp_assign_source_151);
goto try_return_handler_50;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_50:;
Py_DECREF(locals_tornado$template$$$class__16__Expression_654);
locals_tornado$template$$$class__16__Expression_654 = NULL;
goto try_return_handler_49;
// Exception handler code:
try_except_handler_50:;
exception_keeper_type_48 = exception_type;
exception_keeper_value_48 = exception_value;
exception_keeper_tb_48 = exception_tb;
exception_keeper_lineno_48 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__16__Expression_654);
locals_tornado$template$$$class__16__Expression_654 = NULL;
// Re-raise.
exception_type = exception_keeper_type_48;
exception_value = exception_keeper_value_48;
exception_tb = exception_keeper_tb_48;
exception_lineno = exception_keeper_lineno_48;
goto try_except_handler_49;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_49:;
CHECK_OBJECT(outline_15_var___class__);
Py_DECREF(outline_15_var___class__);
outline_15_var___class__ = NULL;
goto outline_result_16;
// Exception handler code:
try_except_handler_49:;
exception_keeper_type_49 = exception_type;
exception_keeper_value_49 = exception_value;
exception_keeper_tb_49 = exception_tb;
exception_keeper_lineno_49 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_49;
exception_value = exception_keeper_value_49;
exception_tb = exception_keeper_tb_49;
exception_lineno = exception_keeper_lineno_49;
goto outline_exception_16;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_16:;
exception_lineno = 654;
goto try_except_handler_48;
outline_result_16:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[230], tmp_assign_source_151);
}
goto try_end_18;
// Exception handler code:
try_except_handler_48:;
exception_keeper_type_50 = exception_type;
exception_keeper_value_50 = exception_value;
exception_keeper_tb_50 = exception_tb;
exception_keeper_lineno_50 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_16__bases_orig);
tmp_class_creation_16__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_16__bases);
tmp_class_creation_16__bases = NULL;
Py_XDECREF(tmp_class_creation_16__class_decl_dict);
tmp_class_creation_16__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_16__metaclass);
tmp_class_creation_16__metaclass = NULL;
Py_XDECREF(tmp_class_creation_16__prepared);
tmp_class_creation_16__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_50;
exception_value = exception_keeper_value_50;
exception_tb = exception_keeper_tb_50;
exception_lineno = exception_keeper_lineno_50;
goto frame_exception_exit_1;
// End of try:
try_end_18:;
CHECK_OBJECT(tmp_class_creation_16__bases_orig);
Py_DECREF(tmp_class_creation_16__bases_orig);
tmp_class_creation_16__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_16__bases);
Py_DECREF(tmp_class_creation_16__bases);
tmp_class_creation_16__bases = NULL;
CHECK_OBJECT(tmp_class_creation_16__class_decl_dict);
Py_DECREF(tmp_class_creation_16__class_decl_dict);
tmp_class_creation_16__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_16__metaclass);
Py_DECREF(tmp_class_creation_16__metaclass);
tmp_class_creation_16__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_16__prepared);
Py_DECREF(tmp_class_creation_16__prepared);
tmp_class_creation_16__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_153;
PyObject *tmp_tuple_element_70;
tmp_tuple_element_70 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[230]);
if (unlikely(tmp_tuple_element_70 == NULL)) {
tmp_tuple_element_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[230]);
}
if (tmp_tuple_element_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_assign_source_153 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_153, 0, tmp_tuple_element_70);
assert(tmp_class_creation_17__bases_orig == NULL);
tmp_class_creation_17__bases_orig = tmp_assign_source_153;
}
{
PyObject *tmp_assign_source_154;
PyObject *tmp_dircall_arg1_16;
CHECK_OBJECT(tmp_class_creation_17__bases_orig);
tmp_dircall_arg1_16 = tmp_class_creation_17__bases_orig;
Py_INCREF(tmp_dircall_arg1_16);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_16};
tmp_assign_source_154 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_154 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
assert(tmp_class_creation_17__bases == NULL);
tmp_class_creation_17__bases = tmp_assign_source_154;
}
{
PyObject *tmp_assign_source_155;
tmp_assign_source_155 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_17__class_decl_dict == NULL);
tmp_class_creation_17__class_decl_dict = tmp_assign_source_155;
}
{
PyObject *tmp_assign_source_156;
PyObject *tmp_metaclass_value_17;
bool tmp_condition_result_95;
PyObject *tmp_key_value_49;
PyObject *tmp_dict_arg_value_49;
PyObject *tmp_dict_arg_value_50;
PyObject *tmp_key_value_50;
nuitka_bool tmp_condition_result_96;
int tmp_truth_name_16;
PyObject *tmp_type_arg_32;
PyObject *tmp_expression_value_110;
PyObject *tmp_subscript_value_46;
PyObject *tmp_bases_value_17;
tmp_key_value_49 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_dict_arg_value_49 = tmp_class_creation_17__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_49, tmp_key_value_49);
assert(!(tmp_res == -1));
tmp_condition_result_95 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_95 != false) {
goto condexpr_true_32;
} else {
goto condexpr_false_32;
}
condexpr_true_32:;
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_dict_arg_value_50 = tmp_class_creation_17__class_decl_dict;
tmp_key_value_50 = mod_consts[167];
tmp_metaclass_value_17 = DICT_GET_ITEM0(tmp_dict_arg_value_50, tmp_key_value_50);
if (tmp_metaclass_value_17 == NULL) {
tmp_metaclass_value_17 = Py_None;
}
assert(!(tmp_metaclass_value_17 == NULL));
Py_INCREF(tmp_metaclass_value_17);
goto condexpr_end_32;
condexpr_false_32:;
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_truth_name_16 = CHECK_IF_TRUE(tmp_class_creation_17__bases);
if (tmp_truth_name_16 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_condition_result_96 = tmp_truth_name_16 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_96 == NUITKA_BOOL_TRUE) {
goto condexpr_true_33;
} else {
goto condexpr_false_33;
}
condexpr_true_33:;
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_expression_value_110 = tmp_class_creation_17__bases;
tmp_subscript_value_46 = mod_consts[79];
tmp_type_arg_32 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_110, tmp_subscript_value_46, 0);
if (tmp_type_arg_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_metaclass_value_17 = BUILTIN_TYPE1(tmp_type_arg_32);
Py_DECREF(tmp_type_arg_32);
if (tmp_metaclass_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
goto condexpr_end_33;
condexpr_false_33:;
tmp_metaclass_value_17 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_17);
condexpr_end_33:;
condexpr_end_32:;
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_bases_value_17 = tmp_class_creation_17__bases;
tmp_assign_source_156 = SELECT_METACLASS(tmp_metaclass_value_17, tmp_bases_value_17);
Py_DECREF(tmp_metaclass_value_17);
if (tmp_assign_source_156 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
assert(tmp_class_creation_17__metaclass == NULL);
tmp_class_creation_17__metaclass = tmp_assign_source_156;
}
{
bool tmp_condition_result_97;
PyObject *tmp_key_value_51;
PyObject *tmp_dict_arg_value_51;
tmp_key_value_51 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_dict_arg_value_51 = tmp_class_creation_17__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_51, tmp_key_value_51);
assert(!(tmp_res == -1));
tmp_condition_result_97 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_97 != false) {
goto branch_yes_64;
} else {
goto branch_no_64;
}
}
branch_yes_64:;
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_17__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 677;
goto try_except_handler_51;
}
branch_no_64:;
{
nuitka_bool tmp_condition_result_98;
PyObject *tmp_expression_value_111;
CHECK_OBJECT(tmp_class_creation_17__metaclass);
tmp_expression_value_111 = tmp_class_creation_17__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_111, mod_consts[168]);
tmp_condition_result_98 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_98 == NUITKA_BOOL_TRUE) {
goto branch_yes_65;
} else {
goto branch_no_65;
}
}
branch_yes_65:;
{
PyObject *tmp_assign_source_157;
PyObject *tmp_called_value_34;
PyObject *tmp_expression_value_112;
PyObject *tmp_args_value_33;
PyObject *tmp_tuple_element_71;
PyObject *tmp_kwargs_value_33;
CHECK_OBJECT(tmp_class_creation_17__metaclass);
tmp_expression_value_112 = tmp_class_creation_17__metaclass;
tmp_called_value_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_112, mod_consts[168]);
if (tmp_called_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_tuple_element_71 = mod_consts[258];
tmp_args_value_33 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_33, 0, tmp_tuple_element_71);
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_tuple_element_71 = tmp_class_creation_17__bases;
PyTuple_SET_ITEM0(tmp_args_value_33, 1, tmp_tuple_element_71);
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_kwargs_value_33 = tmp_class_creation_17__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 677;
tmp_assign_source_157 = CALL_FUNCTION(tmp_called_value_34, tmp_args_value_33, tmp_kwargs_value_33);
Py_DECREF(tmp_called_value_34);
Py_DECREF(tmp_args_value_33);
if (tmp_assign_source_157 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
assert(tmp_class_creation_17__prepared == NULL);
tmp_class_creation_17__prepared = tmp_assign_source_157;
}
{
bool tmp_condition_result_99;
PyObject *tmp_operand_value_17;
PyObject *tmp_expression_value_113;
CHECK_OBJECT(tmp_class_creation_17__prepared);
tmp_expression_value_113 = tmp_class_creation_17__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_113, mod_consts[170]);
tmp_operand_value_17 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_17);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_condition_result_99 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_99 != false) {
goto branch_yes_66;
} else {
goto branch_no_66;
}
}
branch_yes_66:;
{
PyObject *tmp_raise_type_17;
PyObject *tmp_raise_value_17;
PyObject *tmp_mod_expr_left_17;
PyObject *tmp_mod_expr_right_17;
PyObject *tmp_tuple_element_72;
PyObject *tmp_getattr_target_17;
PyObject *tmp_getattr_attr_17;
PyObject *tmp_getattr_default_17;
tmp_raise_type_17 = PyExc_TypeError;
tmp_mod_expr_left_17 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_17__metaclass);
tmp_getattr_target_17 = tmp_class_creation_17__metaclass;
tmp_getattr_attr_17 = mod_consts[56];
tmp_getattr_default_17 = mod_consts[172];
tmp_tuple_element_72 = BUILTIN_GETATTR(tmp_getattr_target_17, tmp_getattr_attr_17, tmp_getattr_default_17);
if (tmp_tuple_element_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
tmp_mod_expr_right_17 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_114;
PyObject *tmp_type_arg_33;
PyTuple_SET_ITEM(tmp_mod_expr_right_17, 0, tmp_tuple_element_72);
CHECK_OBJECT(tmp_class_creation_17__prepared);
tmp_type_arg_33 = tmp_class_creation_17__prepared;
tmp_expression_value_114 = BUILTIN_TYPE1(tmp_type_arg_33);
assert(!(tmp_expression_value_114 == NULL));
tmp_tuple_element_72 = LOOKUP_ATTRIBUTE(tmp_expression_value_114, mod_consts[56]);
Py_DECREF(tmp_expression_value_114);
if (tmp_tuple_element_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto tuple_build_exception_22;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_17, 1, tmp_tuple_element_72);
}
goto tuple_build_noexception_22;
// Exception handling pass through code for tuple_build:
tuple_build_exception_22:;
Py_DECREF(tmp_mod_expr_right_17);
goto try_except_handler_51;
// Finished with no exception for tuple_build:
tuple_build_noexception_22:;
tmp_raise_value_17 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_17, tmp_mod_expr_right_17);
Py_DECREF(tmp_mod_expr_right_17);
if (tmp_raise_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_51;
}
exception_type = tmp_raise_type_17;
Py_INCREF(tmp_raise_type_17);
exception_value = tmp_raise_value_17;
exception_lineno = 677;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_51;
}
branch_no_66:;
goto branch_end_65;
branch_no_65:;
{
PyObject *tmp_assign_source_158;
tmp_assign_source_158 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_17__prepared == NULL);
tmp_class_creation_17__prepared = tmp_assign_source_158;
}
branch_end_65:;
{
PyObject *tmp_assign_source_159;
{
PyObject *tmp_set_locals_17;
CHECK_OBJECT(tmp_class_creation_17__prepared);
tmp_set_locals_17 = tmp_class_creation_17__prepared;
locals_tornado$template$$$class__17__Module_677 = tmp_set_locals_17;
Py_INCREF(tmp_set_locals_17);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_53;
}
tmp_dictset_value = mod_consts[258];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_53;
}
if (isFrameUnusable(cache_frame_e01651c2d0866817cc819fc0ce5759f6_17)) {
Py_XDECREF(cache_frame_e01651c2d0866817cc819fc0ce5759f6_17);
#if _DEBUG_REFCOUNTS
if (cache_frame_e01651c2d0866817cc819fc0ce5759f6_17 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e01651c2d0866817cc819fc0ce5759f6_17 = MAKE_CLASS_FRAME(codeobj_e01651c2d0866817cc819fc0ce5759f6, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e01651c2d0866817cc819fc0ce5759f6_17->m_type_description == NULL);
frame_e01651c2d0866817cc819fc0ce5759f6_17 = cache_frame_e01651c2d0866817cc819fc0ce5759f6_17;
// Push the new frame as the currently active one.
pushFrameStack(frame_e01651c2d0866817cc819fc0ce5759f6_17);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e01651c2d0866817cc819fc0ce5759f6_17) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_46;
PyObject *tmp_dict_key_34;
PyObject *tmp_dict_value_34;
struct Nuitka_CellObject *tmp_closure_3[1];
tmp_dict_key_34 = mod_consts[147];
tmp_dict_value_34 = PyObject_GetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[300]);
if (tmp_dict_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_34 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_34);
} else {
goto frame_exception_exit_17;
}
}
tmp_annotations_46 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_46, tmp_dict_key_34, tmp_dict_value_34);
Py_DECREF(tmp_dict_value_34);
assert(!(tmp_res != 0));
tmp_dict_key_34 = mod_consts[126];
tmp_dict_value_34 = PyObject_GetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[340]);
if (tmp_dict_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_34 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_34);
} else {
goto frame_exception_exit_17;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_46, tmp_dict_key_34, tmp_dict_value_34);
Py_DECREF(tmp_dict_value_34);
assert(!(tmp_res != 0));
tmp_dict_key_34 = mod_consts[181];
tmp_dict_value_34 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_46, tmp_dict_key_34, tmp_dict_value_34);
assert(!(tmp_res != 0));
tmp_closure_3[0] = outline_16_var___class__;
Py_INCREF(tmp_closure_3[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__46___init__(tmp_annotations_46, tmp_closure_3);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[107], 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 = 678;
type_description_2 = "c";
goto frame_exception_exit_17;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e01651c2d0866817cc819fc0ce5759f6_17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_16;
frame_exception_exit_17:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e01651c2d0866817cc819fc0ce5759f6_17);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e01651c2d0866817cc819fc0ce5759f6_17, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e01651c2d0866817cc819fc0ce5759f6_17->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e01651c2d0866817cc819fc0ce5759f6_17, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e01651c2d0866817cc819fc0ce5759f6_17,
type_description_2,
outline_16_var___class__
);
// Release cached frame if used for exception.
if (frame_e01651c2d0866817cc819fc0ce5759f6_17 == cache_frame_e01651c2d0866817cc819fc0ce5759f6_17) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e01651c2d0866817cc819fc0ce5759f6_17);
cache_frame_e01651c2d0866817cc819fc0ce5759f6_17 = NULL;
}
assertFrameObject(frame_e01651c2d0866817cc819fc0ce5759f6_17);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_16;
frame_no_exception_16:;
goto skip_nested_handling_16;
nested_frame_exit_16:;
goto try_except_handler_53;
skip_nested_handling_16:;
{
nuitka_bool tmp_condition_result_100;
PyObject *tmp_cmp_expr_left_16;
PyObject *tmp_cmp_expr_right_16;
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_cmp_expr_left_16 = tmp_class_creation_17__bases;
CHECK_OBJECT(tmp_class_creation_17__bases_orig);
tmp_cmp_expr_right_16 = tmp_class_creation_17__bases_orig;
tmp_condition_result_100 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_16, tmp_cmp_expr_right_16);
if (tmp_condition_result_100 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_53;
}
if (tmp_condition_result_100 == NUITKA_BOOL_TRUE) {
goto branch_yes_67;
} else {
goto branch_no_67;
}
}
branch_yes_67:;
CHECK_OBJECT(tmp_class_creation_17__bases_orig);
tmp_dictset_value = tmp_class_creation_17__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__17__Module_677, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_53;
}
branch_no_67:;
{
PyObject *tmp_assign_source_160;
PyObject *tmp_called_value_35;
PyObject *tmp_args_value_34;
PyObject *tmp_tuple_element_73;
PyObject *tmp_kwargs_value_34;
CHECK_OBJECT(tmp_class_creation_17__metaclass);
tmp_called_value_35 = tmp_class_creation_17__metaclass;
tmp_tuple_element_73 = mod_consts[258];
tmp_args_value_34 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_34, 0, tmp_tuple_element_73);
CHECK_OBJECT(tmp_class_creation_17__bases);
tmp_tuple_element_73 = tmp_class_creation_17__bases;
PyTuple_SET_ITEM0(tmp_args_value_34, 1, tmp_tuple_element_73);
tmp_tuple_element_73 = locals_tornado$template$$$class__17__Module_677;
PyTuple_SET_ITEM0(tmp_args_value_34, 2, tmp_tuple_element_73);
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
tmp_kwargs_value_34 = tmp_class_creation_17__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 677;
tmp_assign_source_160 = CALL_FUNCTION(tmp_called_value_35, tmp_args_value_34, tmp_kwargs_value_34);
Py_DECREF(tmp_args_value_34);
if (tmp_assign_source_160 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
goto try_except_handler_53;
}
assert(Nuitka_Cell_GET(outline_16_var___class__) == NULL);
PyCell_SET(outline_16_var___class__, tmp_assign_source_160);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_16_var___class__));
tmp_assign_source_159 = Nuitka_Cell_GET(outline_16_var___class__);
Py_INCREF(tmp_assign_source_159);
goto try_return_handler_53;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_53:;
Py_DECREF(locals_tornado$template$$$class__17__Module_677);
locals_tornado$template$$$class__17__Module_677 = NULL;
goto try_return_handler_52;
// Exception handler code:
try_except_handler_53:;
exception_keeper_type_51 = exception_type;
exception_keeper_value_51 = exception_value;
exception_keeper_tb_51 = exception_tb;
exception_keeper_lineno_51 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__17__Module_677);
locals_tornado$template$$$class__17__Module_677 = NULL;
// Re-raise.
exception_type = exception_keeper_type_51;
exception_value = exception_keeper_value_51;
exception_tb = exception_keeper_tb_51;
exception_lineno = exception_keeper_lineno_51;
goto try_except_handler_52;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_52:;
CHECK_OBJECT(outline_16_var___class__);
Py_DECREF(outline_16_var___class__);
outline_16_var___class__ = NULL;
goto outline_result_17;
// Exception handler code:
try_except_handler_52:;
exception_keeper_type_52 = exception_type;
exception_keeper_value_52 = exception_value;
exception_keeper_tb_52 = exception_tb;
exception_keeper_lineno_52 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_52;
exception_value = exception_keeper_value_52;
exception_tb = exception_keeper_tb_52;
exception_lineno = exception_keeper_lineno_52;
goto outline_exception_17;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_17:;
exception_lineno = 677;
goto try_except_handler_51;
outline_result_17:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[258], tmp_assign_source_159);
}
goto try_end_19;
// Exception handler code:
try_except_handler_51:;
exception_keeper_type_53 = exception_type;
exception_keeper_value_53 = exception_value;
exception_keeper_tb_53 = exception_tb;
exception_keeper_lineno_53 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_17__bases_orig);
tmp_class_creation_17__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_17__bases);
tmp_class_creation_17__bases = NULL;
Py_XDECREF(tmp_class_creation_17__class_decl_dict);
tmp_class_creation_17__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_17__metaclass);
tmp_class_creation_17__metaclass = NULL;
Py_XDECREF(tmp_class_creation_17__prepared);
tmp_class_creation_17__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_53;
exception_value = exception_keeper_value_53;
exception_tb = exception_keeper_tb_53;
exception_lineno = exception_keeper_lineno_53;
goto frame_exception_exit_1;
// End of try:
try_end_19:;
CHECK_OBJECT(tmp_class_creation_17__bases_orig);
Py_DECREF(tmp_class_creation_17__bases_orig);
tmp_class_creation_17__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_17__bases);
Py_DECREF(tmp_class_creation_17__bases);
tmp_class_creation_17__bases = NULL;
CHECK_OBJECT(tmp_class_creation_17__class_decl_dict);
Py_DECREF(tmp_class_creation_17__class_decl_dict);
tmp_class_creation_17__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_17__metaclass);
Py_DECREF(tmp_class_creation_17__metaclass);
tmp_class_creation_17__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_17__prepared);
Py_DECREF(tmp_class_creation_17__prepared);
tmp_class_creation_17__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_161;
PyObject *tmp_tuple_element_74;
tmp_tuple_element_74 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_tuple_element_74 == NULL)) {
tmp_tuple_element_74 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_tuple_element_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_assign_source_161 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_161, 0, tmp_tuple_element_74);
assert(tmp_class_creation_18__bases_orig == NULL);
tmp_class_creation_18__bases_orig = tmp_assign_source_161;
}
{
PyObject *tmp_assign_source_162;
PyObject *tmp_dircall_arg1_17;
CHECK_OBJECT(tmp_class_creation_18__bases_orig);
tmp_dircall_arg1_17 = tmp_class_creation_18__bases_orig;
Py_INCREF(tmp_dircall_arg1_17);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_17};
tmp_assign_source_162 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_162 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
assert(tmp_class_creation_18__bases == NULL);
tmp_class_creation_18__bases = tmp_assign_source_162;
}
{
PyObject *tmp_assign_source_163;
tmp_assign_source_163 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_18__class_decl_dict == NULL);
tmp_class_creation_18__class_decl_dict = tmp_assign_source_163;
}
{
PyObject *tmp_assign_source_164;
PyObject *tmp_metaclass_value_18;
bool tmp_condition_result_101;
PyObject *tmp_key_value_52;
PyObject *tmp_dict_arg_value_52;
PyObject *tmp_dict_arg_value_53;
PyObject *tmp_key_value_53;
nuitka_bool tmp_condition_result_102;
int tmp_truth_name_17;
PyObject *tmp_type_arg_34;
PyObject *tmp_expression_value_115;
PyObject *tmp_subscript_value_47;
PyObject *tmp_bases_value_18;
tmp_key_value_52 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_dict_arg_value_52 = tmp_class_creation_18__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_52, tmp_key_value_52);
assert(!(tmp_res == -1));
tmp_condition_result_101 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_101 != false) {
goto condexpr_true_34;
} else {
goto condexpr_false_34;
}
condexpr_true_34:;
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_dict_arg_value_53 = tmp_class_creation_18__class_decl_dict;
tmp_key_value_53 = mod_consts[167];
tmp_metaclass_value_18 = DICT_GET_ITEM0(tmp_dict_arg_value_53, tmp_key_value_53);
if (tmp_metaclass_value_18 == NULL) {
tmp_metaclass_value_18 = Py_None;
}
assert(!(tmp_metaclass_value_18 == NULL));
Py_INCREF(tmp_metaclass_value_18);
goto condexpr_end_34;
condexpr_false_34:;
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_truth_name_17 = CHECK_IF_TRUE(tmp_class_creation_18__bases);
if (tmp_truth_name_17 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_condition_result_102 = tmp_truth_name_17 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_102 == NUITKA_BOOL_TRUE) {
goto condexpr_true_35;
} else {
goto condexpr_false_35;
}
condexpr_true_35:;
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_expression_value_115 = tmp_class_creation_18__bases;
tmp_subscript_value_47 = mod_consts[79];
tmp_type_arg_34 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_115, tmp_subscript_value_47, 0);
if (tmp_type_arg_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_metaclass_value_18 = BUILTIN_TYPE1(tmp_type_arg_34);
Py_DECREF(tmp_type_arg_34);
if (tmp_metaclass_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
goto condexpr_end_35;
condexpr_false_35:;
tmp_metaclass_value_18 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_18);
condexpr_end_35:;
condexpr_end_34:;
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_bases_value_18 = tmp_class_creation_18__bases;
tmp_assign_source_164 = SELECT_METACLASS(tmp_metaclass_value_18, tmp_bases_value_18);
Py_DECREF(tmp_metaclass_value_18);
if (tmp_assign_source_164 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
assert(tmp_class_creation_18__metaclass == NULL);
tmp_class_creation_18__metaclass = tmp_assign_source_164;
}
{
bool tmp_condition_result_103;
PyObject *tmp_key_value_54;
PyObject *tmp_dict_arg_value_54;
tmp_key_value_54 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_dict_arg_value_54 = tmp_class_creation_18__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_54, tmp_key_value_54);
assert(!(tmp_res == -1));
tmp_condition_result_103 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_103 != false) {
goto branch_yes_68;
} else {
goto branch_no_68;
}
}
branch_yes_68:;
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_18__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 682;
goto try_except_handler_54;
}
branch_no_68:;
{
nuitka_bool tmp_condition_result_104;
PyObject *tmp_expression_value_116;
CHECK_OBJECT(tmp_class_creation_18__metaclass);
tmp_expression_value_116 = tmp_class_creation_18__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_116, mod_consts[168]);
tmp_condition_result_104 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_104 == NUITKA_BOOL_TRUE) {
goto branch_yes_69;
} else {
goto branch_no_69;
}
}
branch_yes_69:;
{
PyObject *tmp_assign_source_165;
PyObject *tmp_called_value_36;
PyObject *tmp_expression_value_117;
PyObject *tmp_args_value_35;
PyObject *tmp_tuple_element_75;
PyObject *tmp_kwargs_value_35;
CHECK_OBJECT(tmp_class_creation_18__metaclass);
tmp_expression_value_117 = tmp_class_creation_18__metaclass;
tmp_called_value_36 = LOOKUP_ATTRIBUTE(tmp_expression_value_117, mod_consts[168]);
if (tmp_called_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_tuple_element_75 = mod_consts[215];
tmp_args_value_35 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_35, 0, tmp_tuple_element_75);
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_tuple_element_75 = tmp_class_creation_18__bases;
PyTuple_SET_ITEM0(tmp_args_value_35, 1, tmp_tuple_element_75);
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_kwargs_value_35 = tmp_class_creation_18__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 682;
tmp_assign_source_165 = CALL_FUNCTION(tmp_called_value_36, tmp_args_value_35, tmp_kwargs_value_35);
Py_DECREF(tmp_called_value_36);
Py_DECREF(tmp_args_value_35);
if (tmp_assign_source_165 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
assert(tmp_class_creation_18__prepared == NULL);
tmp_class_creation_18__prepared = tmp_assign_source_165;
}
{
bool tmp_condition_result_105;
PyObject *tmp_operand_value_18;
PyObject *tmp_expression_value_118;
CHECK_OBJECT(tmp_class_creation_18__prepared);
tmp_expression_value_118 = tmp_class_creation_18__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_118, mod_consts[170]);
tmp_operand_value_18 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_18);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_condition_result_105 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_105 != false) {
goto branch_yes_70;
} else {
goto branch_no_70;
}
}
branch_yes_70:;
{
PyObject *tmp_raise_type_18;
PyObject *tmp_raise_value_18;
PyObject *tmp_mod_expr_left_18;
PyObject *tmp_mod_expr_right_18;
PyObject *tmp_tuple_element_76;
PyObject *tmp_getattr_target_18;
PyObject *tmp_getattr_attr_18;
PyObject *tmp_getattr_default_18;
tmp_raise_type_18 = PyExc_TypeError;
tmp_mod_expr_left_18 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_18__metaclass);
tmp_getattr_target_18 = tmp_class_creation_18__metaclass;
tmp_getattr_attr_18 = mod_consts[56];
tmp_getattr_default_18 = mod_consts[172];
tmp_tuple_element_76 = BUILTIN_GETATTR(tmp_getattr_target_18, tmp_getattr_attr_18, tmp_getattr_default_18);
if (tmp_tuple_element_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
tmp_mod_expr_right_18 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_119;
PyObject *tmp_type_arg_35;
PyTuple_SET_ITEM(tmp_mod_expr_right_18, 0, tmp_tuple_element_76);
CHECK_OBJECT(tmp_class_creation_18__prepared);
tmp_type_arg_35 = tmp_class_creation_18__prepared;
tmp_expression_value_119 = BUILTIN_TYPE1(tmp_type_arg_35);
assert(!(tmp_expression_value_119 == NULL));
tmp_tuple_element_76 = LOOKUP_ATTRIBUTE(tmp_expression_value_119, mod_consts[56]);
Py_DECREF(tmp_expression_value_119);
if (tmp_tuple_element_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto tuple_build_exception_23;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_18, 1, tmp_tuple_element_76);
}
goto tuple_build_noexception_23;
// Exception handling pass through code for tuple_build:
tuple_build_exception_23:;
Py_DECREF(tmp_mod_expr_right_18);
goto try_except_handler_54;
// Finished with no exception for tuple_build:
tuple_build_noexception_23:;
tmp_raise_value_18 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_18, tmp_mod_expr_right_18);
Py_DECREF(tmp_mod_expr_right_18);
if (tmp_raise_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_54;
}
exception_type = tmp_raise_type_18;
Py_INCREF(tmp_raise_type_18);
exception_value = tmp_raise_value_18;
exception_lineno = 682;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_54;
}
branch_no_70:;
goto branch_end_69;
branch_no_69:;
{
PyObject *tmp_assign_source_166;
tmp_assign_source_166 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_18__prepared == NULL);
tmp_class_creation_18__prepared = tmp_assign_source_166;
}
branch_end_69:;
{
PyObject *tmp_assign_source_167;
{
PyObject *tmp_set_locals_18;
CHECK_OBJECT(tmp_class_creation_18__prepared);
tmp_set_locals_18 = tmp_class_creation_18__prepared;
locals_tornado$template$$$class__18__Text_682 = tmp_set_locals_18;
Py_INCREF(tmp_set_locals_18);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_56;
}
tmp_dictset_value = mod_consts[215];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_56;
}
if (isFrameUnusable(cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18)) {
Py_XDECREF(cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
#if _DEBUG_REFCOUNTS
if (cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 = MAKE_CLASS_FRAME(codeobj_8514cff5dcb7e04874d8678cf4a5d4b9, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18->m_type_description == NULL);
frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 = cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18;
// Push the new frame as the currently active one.
pushFrameStack(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_47;
PyObject *tmp_dict_key_35;
PyObject *tmp_dict_value_35;
tmp_dict_key_35 = mod_consts[157];
tmp_dict_value_35 = PyObject_GetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[300]);
if (tmp_dict_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_35 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_35);
} else {
goto frame_exception_exit_18;
}
}
tmp_annotations_47 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_47, tmp_dict_key_35, tmp_dict_value_35);
Py_DECREF(tmp_dict_value_35);
assert(!(tmp_res != 0));
tmp_dict_key_35 = mod_consts[126];
tmp_dict_value_35 = PyObject_GetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[340]);
if (tmp_dict_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_35 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_35);
} else {
goto frame_exception_exit_18;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_47, tmp_dict_key_35, tmp_dict_value_35);
Py_DECREF(tmp_dict_value_35);
assert(!(tmp_res != 0));
tmp_dict_key_35 = mod_consts[17];
tmp_dict_value_35 = PyObject_GetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[300]);
if (tmp_dict_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_35 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_35);
} else {
goto frame_exception_exit_18;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_47, tmp_dict_key_35, tmp_dict_value_35);
Py_DECREF(tmp_dict_value_35);
assert(!(tmp_res != 0));
tmp_dict_key_35 = mod_consts[181];
tmp_dict_value_35 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_47, tmp_dict_key_35, tmp_dict_value_35);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__47___init__(tmp_annotations_47);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[107], 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 = 683;
type_description_2 = "o";
goto frame_exception_exit_18;
}
}
{
PyObject *tmp_annotations_48;
tmp_annotations_48 = DICT_COPY(mod_consts[331]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__48_generate(tmp_annotations_48);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 688;
type_description_2 = "o";
goto frame_exception_exit_18;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_17;
frame_exception_exit_18:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8514cff5dcb7e04874d8678cf4a5d4b9_18->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8514cff5dcb7e04874d8678cf4a5d4b9_18, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8514cff5dcb7e04874d8678cf4a5d4b9_18,
type_description_2,
outline_17_var___class__
);
// Release cached frame if used for exception.
if (frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 == cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
cache_frame_8514cff5dcb7e04874d8678cf4a5d4b9_18 = NULL;
}
assertFrameObject(frame_8514cff5dcb7e04874d8678cf4a5d4b9_18);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_17;
frame_no_exception_17:;
goto skip_nested_handling_17;
nested_frame_exit_17:;
goto try_except_handler_56;
skip_nested_handling_17:;
{
nuitka_bool tmp_condition_result_106;
PyObject *tmp_cmp_expr_left_17;
PyObject *tmp_cmp_expr_right_17;
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_cmp_expr_left_17 = tmp_class_creation_18__bases;
CHECK_OBJECT(tmp_class_creation_18__bases_orig);
tmp_cmp_expr_right_17 = tmp_class_creation_18__bases_orig;
tmp_condition_result_106 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_17, tmp_cmp_expr_right_17);
if (tmp_condition_result_106 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_56;
}
if (tmp_condition_result_106 == NUITKA_BOOL_TRUE) {
goto branch_yes_71;
} else {
goto branch_no_71;
}
}
branch_yes_71:;
CHECK_OBJECT(tmp_class_creation_18__bases_orig);
tmp_dictset_value = tmp_class_creation_18__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__18__Text_682, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_56;
}
branch_no_71:;
{
PyObject *tmp_assign_source_168;
PyObject *tmp_called_value_37;
PyObject *tmp_args_value_36;
PyObject *tmp_tuple_element_77;
PyObject *tmp_kwargs_value_36;
CHECK_OBJECT(tmp_class_creation_18__metaclass);
tmp_called_value_37 = tmp_class_creation_18__metaclass;
tmp_tuple_element_77 = mod_consts[215];
tmp_args_value_36 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_36, 0, tmp_tuple_element_77);
CHECK_OBJECT(tmp_class_creation_18__bases);
tmp_tuple_element_77 = tmp_class_creation_18__bases;
PyTuple_SET_ITEM0(tmp_args_value_36, 1, tmp_tuple_element_77);
tmp_tuple_element_77 = locals_tornado$template$$$class__18__Text_682;
PyTuple_SET_ITEM0(tmp_args_value_36, 2, tmp_tuple_element_77);
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
tmp_kwargs_value_36 = tmp_class_creation_18__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 682;
tmp_assign_source_168 = CALL_FUNCTION(tmp_called_value_37, tmp_args_value_36, tmp_kwargs_value_36);
Py_DECREF(tmp_args_value_36);
if (tmp_assign_source_168 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
goto try_except_handler_56;
}
assert(outline_17_var___class__ == NULL);
outline_17_var___class__ = tmp_assign_source_168;
}
CHECK_OBJECT(outline_17_var___class__);
tmp_assign_source_167 = outline_17_var___class__;
Py_INCREF(tmp_assign_source_167);
goto try_return_handler_56;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_56:;
Py_DECREF(locals_tornado$template$$$class__18__Text_682);
locals_tornado$template$$$class__18__Text_682 = NULL;
goto try_return_handler_55;
// Exception handler code:
try_except_handler_56:;
exception_keeper_type_54 = exception_type;
exception_keeper_value_54 = exception_value;
exception_keeper_tb_54 = exception_tb;
exception_keeper_lineno_54 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__18__Text_682);
locals_tornado$template$$$class__18__Text_682 = NULL;
// Re-raise.
exception_type = exception_keeper_type_54;
exception_value = exception_keeper_value_54;
exception_tb = exception_keeper_tb_54;
exception_lineno = exception_keeper_lineno_54;
goto try_except_handler_55;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_55:;
CHECK_OBJECT(outline_17_var___class__);
Py_DECREF(outline_17_var___class__);
outline_17_var___class__ = NULL;
goto outline_result_18;
// Exception handler code:
try_except_handler_55:;
exception_keeper_type_55 = exception_type;
exception_keeper_value_55 = exception_value;
exception_keeper_tb_55 = exception_tb;
exception_keeper_lineno_55 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_55;
exception_value = exception_keeper_value_55;
exception_tb = exception_keeper_tb_55;
exception_lineno = exception_keeper_lineno_55;
goto outline_exception_18;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_18:;
exception_lineno = 682;
goto try_except_handler_54;
outline_result_18:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[215], tmp_assign_source_167);
}
goto try_end_20;
// Exception handler code:
try_except_handler_54:;
exception_keeper_type_56 = exception_type;
exception_keeper_value_56 = exception_value;
exception_keeper_tb_56 = exception_tb;
exception_keeper_lineno_56 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_18__bases_orig);
tmp_class_creation_18__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_18__bases);
tmp_class_creation_18__bases = NULL;
Py_XDECREF(tmp_class_creation_18__class_decl_dict);
tmp_class_creation_18__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_18__metaclass);
tmp_class_creation_18__metaclass = NULL;
Py_XDECREF(tmp_class_creation_18__prepared);
tmp_class_creation_18__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_56;
exception_value = exception_keeper_value_56;
exception_tb = exception_keeper_tb_56;
exception_lineno = exception_keeper_lineno_56;
goto frame_exception_exit_1;
// End of try:
try_end_20:;
CHECK_OBJECT(tmp_class_creation_18__bases_orig);
Py_DECREF(tmp_class_creation_18__bases_orig);
tmp_class_creation_18__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_18__bases);
Py_DECREF(tmp_class_creation_18__bases);
tmp_class_creation_18__bases = NULL;
CHECK_OBJECT(tmp_class_creation_18__class_decl_dict);
Py_DECREF(tmp_class_creation_18__class_decl_dict);
tmp_class_creation_18__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_18__metaclass);
Py_DECREF(tmp_class_creation_18__metaclass);
tmp_class_creation_18__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_18__prepared);
Py_DECREF(tmp_class_creation_18__prepared);
tmp_class_creation_18__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_169;
PyObject *tmp_dircall_arg1_18;
tmp_dircall_arg1_18 = mod_consts[365];
Py_INCREF(tmp_dircall_arg1_18);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_18};
tmp_assign_source_169 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_169 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
assert(tmp_class_creation_19__bases == NULL);
tmp_class_creation_19__bases = tmp_assign_source_169;
}
{
PyObject *tmp_assign_source_170;
tmp_assign_source_170 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_19__class_decl_dict == NULL);
tmp_class_creation_19__class_decl_dict = tmp_assign_source_170;
}
{
PyObject *tmp_assign_source_171;
PyObject *tmp_metaclass_value_19;
bool tmp_condition_result_107;
PyObject *tmp_key_value_55;
PyObject *tmp_dict_arg_value_55;
PyObject *tmp_dict_arg_value_56;
PyObject *tmp_key_value_56;
nuitka_bool tmp_condition_result_108;
int tmp_truth_name_18;
PyObject *tmp_type_arg_36;
PyObject *tmp_expression_value_120;
PyObject *tmp_subscript_value_48;
PyObject *tmp_bases_value_19;
tmp_key_value_55 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_dict_arg_value_55 = tmp_class_creation_19__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_55, tmp_key_value_55);
assert(!(tmp_res == -1));
tmp_condition_result_107 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_107 != false) {
goto condexpr_true_36;
} else {
goto condexpr_false_36;
}
condexpr_true_36:;
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_dict_arg_value_56 = tmp_class_creation_19__class_decl_dict;
tmp_key_value_56 = mod_consts[167];
tmp_metaclass_value_19 = DICT_GET_ITEM0(tmp_dict_arg_value_56, tmp_key_value_56);
if (tmp_metaclass_value_19 == NULL) {
tmp_metaclass_value_19 = Py_None;
}
assert(!(tmp_metaclass_value_19 == NULL));
Py_INCREF(tmp_metaclass_value_19);
goto condexpr_end_36;
condexpr_false_36:;
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_truth_name_18 = CHECK_IF_TRUE(tmp_class_creation_19__bases);
if (tmp_truth_name_18 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
tmp_condition_result_108 = tmp_truth_name_18 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_108 == NUITKA_BOOL_TRUE) {
goto condexpr_true_37;
} else {
goto condexpr_false_37;
}
condexpr_true_37:;
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_expression_value_120 = tmp_class_creation_19__bases;
tmp_subscript_value_48 = mod_consts[79];
tmp_type_arg_36 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_120, tmp_subscript_value_48, 0);
if (tmp_type_arg_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
tmp_metaclass_value_19 = BUILTIN_TYPE1(tmp_type_arg_36);
Py_DECREF(tmp_type_arg_36);
if (tmp_metaclass_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
goto condexpr_end_37;
condexpr_false_37:;
tmp_metaclass_value_19 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_19);
condexpr_end_37:;
condexpr_end_36:;
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_bases_value_19 = tmp_class_creation_19__bases;
tmp_assign_source_171 = SELECT_METACLASS(tmp_metaclass_value_19, tmp_bases_value_19);
Py_DECREF(tmp_metaclass_value_19);
if (tmp_assign_source_171 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
assert(tmp_class_creation_19__metaclass == NULL);
tmp_class_creation_19__metaclass = tmp_assign_source_171;
}
{
bool tmp_condition_result_109;
PyObject *tmp_key_value_57;
PyObject *tmp_dict_arg_value_57;
tmp_key_value_57 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_dict_arg_value_57 = tmp_class_creation_19__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_57, tmp_key_value_57);
assert(!(tmp_res == -1));
tmp_condition_result_109 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_109 != false) {
goto branch_yes_72;
} else {
goto branch_no_72;
}
}
branch_yes_72:;
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_19__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 700;
goto try_except_handler_57;
}
branch_no_72:;
{
nuitka_bool tmp_condition_result_110;
PyObject *tmp_expression_value_121;
CHECK_OBJECT(tmp_class_creation_19__metaclass);
tmp_expression_value_121 = tmp_class_creation_19__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_121, mod_consts[168]);
tmp_condition_result_110 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_110 == NUITKA_BOOL_TRUE) {
goto branch_yes_73;
} else {
goto branch_no_73;
}
}
branch_yes_73:;
{
PyObject *tmp_assign_source_172;
PyObject *tmp_called_value_38;
PyObject *tmp_expression_value_122;
PyObject *tmp_args_value_37;
PyObject *tmp_tuple_element_78;
PyObject *tmp_kwargs_value_37;
CHECK_OBJECT(tmp_class_creation_19__metaclass);
tmp_expression_value_122 = tmp_class_creation_19__metaclass;
tmp_called_value_38 = LOOKUP_ATTRIBUTE(tmp_expression_value_122, mod_consts[168]);
if (tmp_called_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
tmp_tuple_element_78 = mod_consts[87];
tmp_args_value_37 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_37, 0, tmp_tuple_element_78);
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_tuple_element_78 = tmp_class_creation_19__bases;
PyTuple_SET_ITEM0(tmp_args_value_37, 1, tmp_tuple_element_78);
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_kwargs_value_37 = tmp_class_creation_19__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 700;
tmp_assign_source_172 = CALL_FUNCTION(tmp_called_value_38, tmp_args_value_37, tmp_kwargs_value_37);
Py_DECREF(tmp_called_value_38);
Py_DECREF(tmp_args_value_37);
if (tmp_assign_source_172 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
assert(tmp_class_creation_19__prepared == NULL);
tmp_class_creation_19__prepared = tmp_assign_source_172;
}
{
bool tmp_condition_result_111;
PyObject *tmp_operand_value_19;
PyObject *tmp_expression_value_123;
CHECK_OBJECT(tmp_class_creation_19__prepared);
tmp_expression_value_123 = tmp_class_creation_19__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_123, mod_consts[170]);
tmp_operand_value_19 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_19);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
tmp_condition_result_111 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_111 != false) {
goto branch_yes_74;
} else {
goto branch_no_74;
}
}
branch_yes_74:;
{
PyObject *tmp_raise_type_19;
PyObject *tmp_raise_value_19;
PyObject *tmp_mod_expr_left_19;
PyObject *tmp_mod_expr_right_19;
PyObject *tmp_tuple_element_79;
PyObject *tmp_getattr_target_19;
PyObject *tmp_getattr_attr_19;
PyObject *tmp_getattr_default_19;
tmp_raise_type_19 = PyExc_TypeError;
tmp_mod_expr_left_19 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_19__metaclass);
tmp_getattr_target_19 = tmp_class_creation_19__metaclass;
tmp_getattr_attr_19 = mod_consts[56];
tmp_getattr_default_19 = mod_consts[172];
tmp_tuple_element_79 = BUILTIN_GETATTR(tmp_getattr_target_19, tmp_getattr_attr_19, tmp_getattr_default_19);
if (tmp_tuple_element_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
tmp_mod_expr_right_19 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_124;
PyObject *tmp_type_arg_37;
PyTuple_SET_ITEM(tmp_mod_expr_right_19, 0, tmp_tuple_element_79);
CHECK_OBJECT(tmp_class_creation_19__prepared);
tmp_type_arg_37 = tmp_class_creation_19__prepared;
tmp_expression_value_124 = BUILTIN_TYPE1(tmp_type_arg_37);
assert(!(tmp_expression_value_124 == NULL));
tmp_tuple_element_79 = LOOKUP_ATTRIBUTE(tmp_expression_value_124, mod_consts[56]);
Py_DECREF(tmp_expression_value_124);
if (tmp_tuple_element_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto tuple_build_exception_24;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_19, 1, tmp_tuple_element_79);
}
goto tuple_build_noexception_24;
// Exception handling pass through code for tuple_build:
tuple_build_exception_24:;
Py_DECREF(tmp_mod_expr_right_19);
goto try_except_handler_57;
// Finished with no exception for tuple_build:
tuple_build_noexception_24:;
tmp_raise_value_19 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_19, tmp_mod_expr_right_19);
Py_DECREF(tmp_mod_expr_right_19);
if (tmp_raise_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_57;
}
exception_type = tmp_raise_type_19;
Py_INCREF(tmp_raise_type_19);
exception_value = tmp_raise_value_19;
exception_lineno = 700;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_57;
}
branch_no_74:;
goto branch_end_73;
branch_no_73:;
{
PyObject *tmp_assign_source_173;
tmp_assign_source_173 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_19__prepared == NULL);
tmp_class_creation_19__prepared = tmp_assign_source_173;
}
branch_end_73:;
{
PyObject *tmp_assign_source_174;
{
PyObject *tmp_set_locals_19;
CHECK_OBJECT(tmp_class_creation_19__prepared);
tmp_set_locals_19 = tmp_class_creation_19__prepared;
locals_tornado$template$$$class__19_ParseError_700 = tmp_set_locals_19;
Py_INCREF(tmp_set_locals_19);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
tmp_dictset_value = mod_consts[366];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[274], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
tmp_dictset_value = mod_consts[87];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
if (isFrameUnusable(cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19)) {
Py_XDECREF(cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19);
#if _DEBUG_REFCOUNTS
if (cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19 = MAKE_CLASS_FRAME(codeobj_c0cc7a93df4c4a7486595c764edab8fb, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19->m_type_description == NULL);
frame_c0cc7a93df4c4a7486595c764edab8fb_19 = cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19;
// Push the new frame as the currently active one.
pushFrameStack(frame_c0cc7a93df4c4a7486595c764edab8fb_19);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c0cc7a93df4c4a7486595c764edab8fb_19) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_8;
PyObject *tmp_annotations_49;
PyObject *tmp_dict_key_36;
PyObject *tmp_dict_value_36;
tmp_defaults_8 = mod_consts[367];
tmp_dict_key_36 = mod_consts[160];
tmp_dict_value_36 = PyObject_GetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[300]);
if (tmp_dict_value_36 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_36 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_36);
} else {
goto frame_exception_exit_19;
}
}
tmp_annotations_49 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_125;
PyObject *tmp_subscript_value_49;
tmp_res = PyDict_SetItem(tmp_annotations_49, tmp_dict_key_36, tmp_dict_value_36);
Py_DECREF(tmp_dict_value_36);
assert(!(tmp_res != 0));
tmp_dict_key_36 = mod_consts[161];
tmp_expression_value_125 = PyObject_GetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[292]);
if (tmp_expression_value_125 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_125 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_125 == NULL)) {
tmp_expression_value_125 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_125 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 711;
type_description_2 = "o";
goto dict_build_exception_19;
}
Py_INCREF(tmp_expression_value_125);
} else {
goto dict_build_exception_19;
}
}
tmp_subscript_value_49 = PyObject_GetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[300]);
if (tmp_subscript_value_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_49 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_49);
} else {
goto dict_build_exception_19;
}
}
tmp_dict_value_36 = LOOKUP_SUBSCRIPT(tmp_expression_value_125, tmp_subscript_value_49);
Py_DECREF(tmp_expression_value_125);
Py_DECREF(tmp_subscript_value_49);
if (tmp_dict_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 711;
type_description_2 = "o";
goto dict_build_exception_19;
}
tmp_res = PyDict_SetItem(tmp_annotations_49, tmp_dict_key_36, tmp_dict_value_36);
Py_DECREF(tmp_dict_value_36);
assert(!(tmp_res != 0));
tmp_dict_key_36 = mod_consts[162];
tmp_dict_value_36 = PyObject_GetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[340]);
if (tmp_dict_value_36 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_36 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_36);
} else {
goto dict_build_exception_19;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_49, tmp_dict_key_36, tmp_dict_value_36);
Py_DECREF(tmp_dict_value_36);
assert(!(tmp_res != 0));
tmp_dict_key_36 = mod_consts[181];
tmp_dict_value_36 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_49, tmp_dict_key_36, tmp_dict_value_36);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_19;
// Exception handling pass through code for dict_build:
dict_build_exception_19:;
Py_DECREF(tmp_annotations_49);
goto frame_exception_exit_19;
// Finished with no exception for dict_build:
dict_build_noexception_19:;
Py_INCREF(tmp_defaults_8);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__49___init__(tmp_defaults_8, tmp_annotations_49);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[107], 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 = 710;
type_description_2 = "o";
goto frame_exception_exit_19;
}
}
{
PyObject *tmp_annotations_50;
PyObject *tmp_dict_key_37;
PyObject *tmp_dict_value_37;
tmp_dict_key_37 = mod_consts[181];
tmp_dict_value_37 = PyObject_GetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[300]);
if (tmp_dict_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_37 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_37);
} else {
goto frame_exception_exit_19;
}
}
tmp_annotations_50 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_50, tmp_dict_key_37, tmp_dict_value_37);
Py_DECREF(tmp_dict_value_37);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__50___str__(tmp_annotations_50);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[369], 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 = 719;
type_description_2 = "o";
goto frame_exception_exit_19;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c0cc7a93df4c4a7486595c764edab8fb_19);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_18;
frame_exception_exit_19:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c0cc7a93df4c4a7486595c764edab8fb_19);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c0cc7a93df4c4a7486595c764edab8fb_19, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c0cc7a93df4c4a7486595c764edab8fb_19->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c0cc7a93df4c4a7486595c764edab8fb_19, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c0cc7a93df4c4a7486595c764edab8fb_19,
type_description_2,
outline_18_var___class__
);
// Release cached frame if used for exception.
if (frame_c0cc7a93df4c4a7486595c764edab8fb_19 == cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19);
cache_frame_c0cc7a93df4c4a7486595c764edab8fb_19 = NULL;
}
assertFrameObject(frame_c0cc7a93df4c4a7486595c764edab8fb_19);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_18;
frame_no_exception_18:;
goto skip_nested_handling_18;
nested_frame_exit_18:;
goto try_except_handler_59;
skip_nested_handling_18:;
{
nuitka_bool tmp_condition_result_112;
PyObject *tmp_cmp_expr_left_18;
PyObject *tmp_cmp_expr_right_18;
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_cmp_expr_left_18 = tmp_class_creation_19__bases;
tmp_cmp_expr_right_18 = mod_consts[365];
tmp_condition_result_112 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_18, tmp_cmp_expr_right_18);
if (tmp_condition_result_112 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
if (tmp_condition_result_112 == NUITKA_BOOL_TRUE) {
goto branch_yes_75;
} else {
goto branch_no_75;
}
}
branch_yes_75:;
tmp_dictset_value = mod_consts[365];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__19_ParseError_700, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
branch_no_75:;
{
PyObject *tmp_assign_source_175;
PyObject *tmp_called_value_39;
PyObject *tmp_args_value_38;
PyObject *tmp_tuple_element_80;
PyObject *tmp_kwargs_value_38;
CHECK_OBJECT(tmp_class_creation_19__metaclass);
tmp_called_value_39 = tmp_class_creation_19__metaclass;
tmp_tuple_element_80 = mod_consts[87];
tmp_args_value_38 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_38, 0, tmp_tuple_element_80);
CHECK_OBJECT(tmp_class_creation_19__bases);
tmp_tuple_element_80 = tmp_class_creation_19__bases;
PyTuple_SET_ITEM0(tmp_args_value_38, 1, tmp_tuple_element_80);
tmp_tuple_element_80 = locals_tornado$template$$$class__19_ParseError_700;
PyTuple_SET_ITEM0(tmp_args_value_38, 2, tmp_tuple_element_80);
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
tmp_kwargs_value_38 = tmp_class_creation_19__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 700;
tmp_assign_source_175 = CALL_FUNCTION(tmp_called_value_39, tmp_args_value_38, tmp_kwargs_value_38);
Py_DECREF(tmp_args_value_38);
if (tmp_assign_source_175 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
goto try_except_handler_59;
}
assert(outline_18_var___class__ == NULL);
outline_18_var___class__ = tmp_assign_source_175;
}
CHECK_OBJECT(outline_18_var___class__);
tmp_assign_source_174 = outline_18_var___class__;
Py_INCREF(tmp_assign_source_174);
goto try_return_handler_59;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_59:;
Py_DECREF(locals_tornado$template$$$class__19_ParseError_700);
locals_tornado$template$$$class__19_ParseError_700 = NULL;
goto try_return_handler_58;
// Exception handler code:
try_except_handler_59:;
exception_keeper_type_57 = exception_type;
exception_keeper_value_57 = exception_value;
exception_keeper_tb_57 = exception_tb;
exception_keeper_lineno_57 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__19_ParseError_700);
locals_tornado$template$$$class__19_ParseError_700 = NULL;
// Re-raise.
exception_type = exception_keeper_type_57;
exception_value = exception_keeper_value_57;
exception_tb = exception_keeper_tb_57;
exception_lineno = exception_keeper_lineno_57;
goto try_except_handler_58;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_58:;
CHECK_OBJECT(outline_18_var___class__);
Py_DECREF(outline_18_var___class__);
outline_18_var___class__ = NULL;
goto outline_result_19;
// Exception handler code:
try_except_handler_58:;
exception_keeper_type_58 = exception_type;
exception_keeper_value_58 = exception_value;
exception_keeper_tb_58 = exception_tb;
exception_keeper_lineno_58 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_58;
exception_value = exception_keeper_value_58;
exception_tb = exception_keeper_tb_58;
exception_lineno = exception_keeper_lineno_58;
goto outline_exception_19;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_19:;
exception_lineno = 700;
goto try_except_handler_57;
outline_result_19:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[87], tmp_assign_source_174);
}
goto try_end_21;
// Exception handler code:
try_except_handler_57:;
exception_keeper_type_59 = exception_type;
exception_keeper_value_59 = exception_value;
exception_keeper_tb_59 = exception_tb;
exception_keeper_lineno_59 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_19__bases);
tmp_class_creation_19__bases = NULL;
Py_XDECREF(tmp_class_creation_19__class_decl_dict);
tmp_class_creation_19__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_19__metaclass);
tmp_class_creation_19__metaclass = NULL;
Py_XDECREF(tmp_class_creation_19__prepared);
tmp_class_creation_19__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_59;
exception_value = exception_keeper_value_59;
exception_tb = exception_keeper_tb_59;
exception_lineno = exception_keeper_lineno_59;
goto frame_exception_exit_1;
// End of try:
try_end_21:;
CHECK_OBJECT(tmp_class_creation_19__bases);
Py_DECREF(tmp_class_creation_19__bases);
tmp_class_creation_19__bases = NULL;
CHECK_OBJECT(tmp_class_creation_19__class_decl_dict);
Py_DECREF(tmp_class_creation_19__class_decl_dict);
tmp_class_creation_19__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_19__metaclass);
Py_DECREF(tmp_class_creation_19__metaclass);
tmp_class_creation_19__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_19__prepared);
Py_DECREF(tmp_class_creation_19__prepared);
tmp_class_creation_19__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_176;
PyObject *tmp_dircall_arg1_19;
tmp_dircall_arg1_19 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_19);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_19};
tmp_assign_source_176 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_176 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
assert(tmp_class_creation_20__bases == NULL);
tmp_class_creation_20__bases = tmp_assign_source_176;
}
{
PyObject *tmp_assign_source_177;
tmp_assign_source_177 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_20__class_decl_dict == NULL);
tmp_class_creation_20__class_decl_dict = tmp_assign_source_177;
}
{
PyObject *tmp_assign_source_178;
PyObject *tmp_metaclass_value_20;
bool tmp_condition_result_113;
PyObject *tmp_key_value_58;
PyObject *tmp_dict_arg_value_58;
PyObject *tmp_dict_arg_value_59;
PyObject *tmp_key_value_59;
nuitka_bool tmp_condition_result_114;
int tmp_truth_name_19;
PyObject *tmp_type_arg_38;
PyObject *tmp_expression_value_126;
PyObject *tmp_subscript_value_50;
PyObject *tmp_bases_value_20;
tmp_key_value_58 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_dict_arg_value_58 = tmp_class_creation_20__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_58, tmp_key_value_58);
assert(!(tmp_res == -1));
tmp_condition_result_113 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_113 != false) {
goto condexpr_true_38;
} else {
goto condexpr_false_38;
}
condexpr_true_38:;
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_dict_arg_value_59 = tmp_class_creation_20__class_decl_dict;
tmp_key_value_59 = mod_consts[167];
tmp_metaclass_value_20 = DICT_GET_ITEM0(tmp_dict_arg_value_59, tmp_key_value_59);
if (tmp_metaclass_value_20 == NULL) {
tmp_metaclass_value_20 = Py_None;
}
assert(!(tmp_metaclass_value_20 == NULL));
Py_INCREF(tmp_metaclass_value_20);
goto condexpr_end_38;
condexpr_false_38:;
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_truth_name_19 = CHECK_IF_TRUE(tmp_class_creation_20__bases);
if (tmp_truth_name_19 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
tmp_condition_result_114 = tmp_truth_name_19 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_114 == NUITKA_BOOL_TRUE) {
goto condexpr_true_39;
} else {
goto condexpr_false_39;
}
condexpr_true_39:;
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_expression_value_126 = tmp_class_creation_20__bases;
tmp_subscript_value_50 = mod_consts[79];
tmp_type_arg_38 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_126, tmp_subscript_value_50, 0);
if (tmp_type_arg_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
tmp_metaclass_value_20 = BUILTIN_TYPE1(tmp_type_arg_38);
Py_DECREF(tmp_type_arg_38);
if (tmp_metaclass_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
goto condexpr_end_39;
condexpr_false_39:;
tmp_metaclass_value_20 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_20);
condexpr_end_39:;
condexpr_end_38:;
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_bases_value_20 = tmp_class_creation_20__bases;
tmp_assign_source_178 = SELECT_METACLASS(tmp_metaclass_value_20, tmp_bases_value_20);
Py_DECREF(tmp_metaclass_value_20);
if (tmp_assign_source_178 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
assert(tmp_class_creation_20__metaclass == NULL);
tmp_class_creation_20__metaclass = tmp_assign_source_178;
}
{
bool tmp_condition_result_115;
PyObject *tmp_key_value_60;
PyObject *tmp_dict_arg_value_60;
tmp_key_value_60 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_dict_arg_value_60 = tmp_class_creation_20__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_60, tmp_key_value_60);
assert(!(tmp_res == -1));
tmp_condition_result_115 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_115 != false) {
goto branch_yes_76;
} else {
goto branch_no_76;
}
}
branch_yes_76:;
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_20__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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_60;
}
branch_no_76:;
{
nuitka_bool tmp_condition_result_116;
PyObject *tmp_expression_value_127;
CHECK_OBJECT(tmp_class_creation_20__metaclass);
tmp_expression_value_127 = tmp_class_creation_20__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_127, mod_consts[168]);
tmp_condition_result_116 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_116 == NUITKA_BOOL_TRUE) {
goto branch_yes_77;
} else {
goto branch_no_77;
}
}
branch_yes_77:;
{
PyObject *tmp_assign_source_179;
PyObject *tmp_called_value_40;
PyObject *tmp_expression_value_128;
PyObject *tmp_args_value_39;
PyObject *tmp_tuple_element_81;
PyObject *tmp_kwargs_value_39;
CHECK_OBJECT(tmp_class_creation_20__metaclass);
tmp_expression_value_128 = tmp_class_creation_20__metaclass;
tmp_called_value_40 = LOOKUP_ATTRIBUTE(tmp_expression_value_128, mod_consts[168]);
if (tmp_called_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
tmp_tuple_element_81 = mod_consts[78];
tmp_args_value_39 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_39, 0, tmp_tuple_element_81);
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_tuple_element_81 = tmp_class_creation_20__bases;
PyTuple_SET_ITEM0(tmp_args_value_39, 1, tmp_tuple_element_81);
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_kwargs_value_39 = tmp_class_creation_20__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 723;
tmp_assign_source_179 = CALL_FUNCTION(tmp_called_value_40, tmp_args_value_39, tmp_kwargs_value_39);
Py_DECREF(tmp_called_value_40);
Py_DECREF(tmp_args_value_39);
if (tmp_assign_source_179 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
assert(tmp_class_creation_20__prepared == NULL);
tmp_class_creation_20__prepared = tmp_assign_source_179;
}
{
bool tmp_condition_result_117;
PyObject *tmp_operand_value_20;
PyObject *tmp_expression_value_129;
CHECK_OBJECT(tmp_class_creation_20__prepared);
tmp_expression_value_129 = tmp_class_creation_20__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_129, mod_consts[170]);
tmp_operand_value_20 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_20);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
tmp_condition_result_117 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_117 != false) {
goto branch_yes_78;
} else {
goto branch_no_78;
}
}
branch_yes_78:;
{
PyObject *tmp_raise_type_20;
PyObject *tmp_raise_value_20;
PyObject *tmp_mod_expr_left_20;
PyObject *tmp_mod_expr_right_20;
PyObject *tmp_tuple_element_82;
PyObject *tmp_getattr_target_20;
PyObject *tmp_getattr_attr_20;
PyObject *tmp_getattr_default_20;
tmp_raise_type_20 = PyExc_TypeError;
tmp_mod_expr_left_20 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_20__metaclass);
tmp_getattr_target_20 = tmp_class_creation_20__metaclass;
tmp_getattr_attr_20 = mod_consts[56];
tmp_getattr_default_20 = mod_consts[172];
tmp_tuple_element_82 = BUILTIN_GETATTR(tmp_getattr_target_20, tmp_getattr_attr_20, tmp_getattr_default_20);
if (tmp_tuple_element_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
tmp_mod_expr_right_20 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_130;
PyObject *tmp_type_arg_39;
PyTuple_SET_ITEM(tmp_mod_expr_right_20, 0, tmp_tuple_element_82);
CHECK_OBJECT(tmp_class_creation_20__prepared);
tmp_type_arg_39 = tmp_class_creation_20__prepared;
tmp_expression_value_130 = BUILTIN_TYPE1(tmp_type_arg_39);
assert(!(tmp_expression_value_130 == NULL));
tmp_tuple_element_82 = LOOKUP_ATTRIBUTE(tmp_expression_value_130, mod_consts[56]);
Py_DECREF(tmp_expression_value_130);
if (tmp_tuple_element_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto tuple_build_exception_25;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_20, 1, tmp_tuple_element_82);
}
goto tuple_build_noexception_25;
// Exception handling pass through code for tuple_build:
tuple_build_exception_25:;
Py_DECREF(tmp_mod_expr_right_20);
goto try_except_handler_60;
// Finished with no exception for tuple_build:
tuple_build_noexception_25:;
tmp_raise_value_20 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_20, tmp_mod_expr_right_20);
Py_DECREF(tmp_mod_expr_right_20);
if (tmp_raise_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_60;
}
exception_type = tmp_raise_type_20;
Py_INCREF(tmp_raise_type_20);
exception_value = tmp_raise_value_20;
exception_lineno = 723;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_60;
}
branch_no_78:;
goto branch_end_77;
branch_no_77:;
{
PyObject *tmp_assign_source_180;
tmp_assign_source_180 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_20__prepared == NULL);
tmp_class_creation_20__prepared = tmp_assign_source_180;
}
branch_end_77:;
{
PyObject *tmp_assign_source_181;
{
PyObject *tmp_set_locals_20;
CHECK_OBJECT(tmp_class_creation_20__prepared);
tmp_set_locals_20 = tmp_class_creation_20__prepared;
locals_tornado$template$$$class__20__CodeWriter_723 = tmp_set_locals_20;
Py_INCREF(tmp_set_locals_20);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[174], 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_62;
}
tmp_dictset_value = mod_consts[78];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[176], 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_62;
}
if (isFrameUnusable(cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20)) {
Py_XDECREF(cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
#if _DEBUG_REFCOUNTS
if (cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 = MAKE_CLASS_FRAME(codeobj_6ac5fb72e49a3c5774dd8c32f8f1454a, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20->m_type_description == NULL);
frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 = cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20;
// Push the new frame as the currently active one.
pushFrameStack(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_51;
PyObject *tmp_dict_key_38;
PyObject *tmp_dict_value_38;
tmp_dict_key_38 = mod_consts[31];
tmp_dict_value_38 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[293]);
if (tmp_dict_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[293]);
if (unlikely(tmp_dict_value_38 == NULL)) {
tmp_dict_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[293]);
}
if (tmp_dict_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 726;
type_description_2 = "o";
goto frame_exception_exit_20;
}
Py_INCREF(tmp_dict_value_38);
} else {
goto frame_exception_exit_20;
}
}
tmp_annotations_51 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_131;
PyObject *tmp_subscript_value_51;
PyObject *tmp_tuple_element_83;
PyObject *tmp_expression_value_132;
PyObject *tmp_subscript_value_52;
tmp_res = PyDict_SetItem(tmp_annotations_51, tmp_dict_key_38, tmp_dict_value_38);
Py_DECREF(tmp_dict_value_38);
assert(!(tmp_res != 0));
tmp_dict_key_38 = mod_consts[77];
tmp_expression_value_131 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[290]);
if (tmp_expression_value_131 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_131 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_expression_value_131 == NULL)) {
tmp_expression_value_131 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_expression_value_131 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_2 = "o";
goto dict_build_exception_20;
}
Py_INCREF(tmp_expression_value_131);
} else {
goto dict_build_exception_20;
}
}
tmp_tuple_element_83 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[300]);
if (tmp_tuple_element_83 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_83 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_83);
} else {
goto dict_build_exception_20;
}
}
tmp_subscript_value_51 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_51, 0, tmp_tuple_element_83);
tmp_tuple_element_83 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[268]);
if (tmp_tuple_element_83 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_83 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_tuple_element_83 == NULL)) {
tmp_tuple_element_83 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_tuple_element_83 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_2 = "o";
goto tuple_build_exception_26;
}
Py_INCREF(tmp_tuple_element_83);
} else {
goto tuple_build_exception_26;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_51, 1, tmp_tuple_element_83);
goto tuple_build_noexception_26;
// Exception handling pass through code for tuple_build:
tuple_build_exception_26:;
Py_DECREF(tmp_expression_value_131);
Py_DECREF(tmp_subscript_value_51);
goto dict_build_exception_20;
// Finished with no exception for tuple_build:
tuple_build_noexception_26:;
tmp_dict_value_38 = LOOKUP_SUBSCRIPT(tmp_expression_value_131, tmp_subscript_value_51);
Py_DECREF(tmp_expression_value_131);
Py_DECREF(tmp_subscript_value_51);
if (tmp_dict_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_2 = "o";
goto dict_build_exception_20;
}
tmp_res = PyDict_SetItem(tmp_annotations_51, tmp_dict_key_38, tmp_dict_value_38);
Py_DECREF(tmp_dict_value_38);
assert(!(tmp_res != 0));
tmp_dict_key_38 = mod_consts[18];
tmp_expression_value_132 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[292]);
if (tmp_expression_value_132 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_132 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_132 == NULL)) {
tmp_expression_value_132 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_132 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 728;
type_description_2 = "o";
goto dict_build_exception_20;
}
Py_INCREF(tmp_expression_value_132);
} else {
goto dict_build_exception_20;
}
}
tmp_subscript_value_52 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[302]);
if (tmp_subscript_value_52 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_52 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[302]);
if (unlikely(tmp_subscript_value_52 == NULL)) {
tmp_subscript_value_52 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[302]);
}
if (tmp_subscript_value_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_132);
exception_lineno = 728;
type_description_2 = "o";
goto dict_build_exception_20;
}
Py_INCREF(tmp_subscript_value_52);
} else {
goto dict_build_exception_20;
}
}
tmp_dict_value_38 = LOOKUP_SUBSCRIPT(tmp_expression_value_132, tmp_subscript_value_52);
Py_DECREF(tmp_expression_value_132);
Py_DECREF(tmp_subscript_value_52);
if (tmp_dict_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 728;
type_description_2 = "o";
goto dict_build_exception_20;
}
tmp_res = PyDict_SetItem(tmp_annotations_51, tmp_dict_key_38, tmp_dict_value_38);
Py_DECREF(tmp_dict_value_38);
assert(!(tmp_res != 0));
tmp_dict_key_38 = mod_consts[152];
tmp_dict_value_38 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[119]);
if (tmp_dict_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_38 == NULL)) {
tmp_dict_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 729;
type_description_2 = "o";
goto dict_build_exception_20;
}
Py_INCREF(tmp_dict_value_38);
} else {
goto dict_build_exception_20;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_51, tmp_dict_key_38, tmp_dict_value_38);
Py_DECREF(tmp_dict_value_38);
assert(!(tmp_res != 0));
tmp_dict_key_38 = mod_consts[181];
tmp_dict_value_38 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_51, tmp_dict_key_38, tmp_dict_value_38);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_20;
// Exception handling pass through code for dict_build:
dict_build_exception_20:;
Py_DECREF(tmp_annotations_51);
goto frame_exception_exit_20;
// Finished with no exception for dict_build:
dict_build_noexception_20:;
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__51___init__(tmp_annotations_51);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[107], 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 = 724;
type_description_2 = "o";
goto frame_exception_exit_20;
}
}
{
PyObject *tmp_annotations_52;
PyObject *tmp_dict_key_39;
PyObject *tmp_dict_value_39;
tmp_dict_key_39 = mod_consts[181];
tmp_dict_value_39 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[340]);
if (tmp_dict_value_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_39 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_39);
} else {
goto frame_exception_exit_20;
}
}
tmp_annotations_52 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_52, tmp_dict_key_39, tmp_dict_value_39);
Py_DECREF(tmp_dict_value_39);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__52_indent_size(tmp_annotations_52);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[146], 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 = 739;
type_description_2 = "o";
goto frame_exception_exit_20;
}
}
{
PyObject *tmp_annotations_53;
tmp_annotations_53 = DICT_COPY(mod_consts[373]);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__53_indent(tmp_annotations_53);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[129], 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 = 742;
type_description_2 = "o";
goto frame_exception_exit_20;
}
}
{
PyObject *tmp_annotations_54;
PyObject *tmp_dict_key_40;
PyObject *tmp_dict_value_40;
tmp_dict_key_40 = mod_consts[80];
tmp_dict_value_40 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[119]);
if (tmp_dict_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_40 == NULL)) {
tmp_dict_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
type_description_2 = "o";
goto frame_exception_exit_20;
}
Py_INCREF(tmp_dict_value_40);
} else {
goto frame_exception_exit_20;
}
}
tmp_annotations_54 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_54, tmp_dict_key_40, tmp_dict_value_40);
Py_DECREF(tmp_dict_value_40);
assert(!(tmp_res != 0));
tmp_dict_key_40 = mod_consts[126];
tmp_dict_value_40 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[340]);
if (tmp_dict_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_40 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_40);
} else {
goto frame_exception_exit_20;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_54, tmp_dict_key_40, tmp_dict_value_40);
Py_DECREF(tmp_dict_value_40);
assert(!(tmp_res != 0));
tmp_dict_key_40 = mod_consts[181];
tmp_dict_value_40 = mod_consts[375];
tmp_res = PyDict_SetItem(tmp_annotations_54, tmp_dict_key_40, tmp_dict_value_40);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__54_include(tmp_annotations_54);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[134], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
type_description_2 = "o";
goto frame_exception_exit_20;
}
}
{
PyObject *tmp_defaults_9;
PyObject *tmp_annotations_55;
PyObject *tmp_dict_key_41;
PyObject *tmp_dict_value_41;
tmp_defaults_9 = mod_consts[315];
tmp_dict_key_41 = mod_consts[126];
tmp_dict_value_41 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[300]);
if (tmp_dict_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_41 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_41);
} else {
goto frame_exception_exit_20;
}
}
tmp_annotations_55 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_133;
PyObject *tmp_subscript_value_53;
tmp_res = PyDict_SetItem(tmp_annotations_55, tmp_dict_key_41, tmp_dict_value_41);
Py_DECREF(tmp_dict_value_41);
assert(!(tmp_res != 0));
tmp_dict_key_41 = mod_consts[377];
tmp_dict_value_41 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[340]);
if (tmp_dict_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_41 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_41);
} else {
goto dict_build_exception_21;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_55, tmp_dict_key_41, tmp_dict_value_41);
Py_DECREF(tmp_dict_value_41);
assert(!(tmp_res != 0));
tmp_dict_key_41 = mod_consts[129];
tmp_expression_value_133 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[292]);
if (tmp_expression_value_133 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_133 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_133 == NULL)) {
tmp_expression_value_133 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_133 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_2 = "o";
goto dict_build_exception_21;
}
Py_INCREF(tmp_expression_value_133);
} else {
goto dict_build_exception_21;
}
}
tmp_subscript_value_53 = PyObject_GetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[340]);
if (tmp_subscript_value_53 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_53 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_53);
} else {
goto dict_build_exception_21;
}
}
tmp_dict_value_41 = LOOKUP_SUBSCRIPT(tmp_expression_value_133, tmp_subscript_value_53);
Py_DECREF(tmp_expression_value_133);
Py_DECREF(tmp_subscript_value_53);
if (tmp_dict_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_2 = "o";
goto dict_build_exception_21;
}
tmp_res = PyDict_SetItem(tmp_annotations_55, tmp_dict_key_41, tmp_dict_value_41);
Py_DECREF(tmp_dict_value_41);
assert(!(tmp_res != 0));
tmp_dict_key_41 = mod_consts[181];
tmp_dict_value_41 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_55, tmp_dict_key_41, tmp_dict_value_41);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_21;
// Exception handling pass through code for dict_build:
dict_build_exception_21:;
Py_DECREF(tmp_annotations_55);
goto frame_exception_exit_20;
// Finished with no exception for dict_build:
dict_build_noexception_21:;
Py_INCREF(tmp_defaults_9);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__55_write_line(tmp_defaults_9, tmp_annotations_55);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[127], 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 = 767;
type_description_2 = "o";
goto frame_exception_exit_20;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_19;
frame_exception_exit_20:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20,
type_description_2,
outline_19_var___class__
);
// Release cached frame if used for exception.
if (frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 == cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
cache_frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20 = NULL;
}
assertFrameObject(frame_6ac5fb72e49a3c5774dd8c32f8f1454a_20);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_19;
frame_no_exception_19:;
goto skip_nested_handling_19;
nested_frame_exit_19:;
goto try_except_handler_62;
skip_nested_handling_19:;
{
nuitka_bool tmp_condition_result_118;
PyObject *tmp_cmp_expr_left_19;
PyObject *tmp_cmp_expr_right_19;
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_cmp_expr_left_19 = tmp_class_creation_20__bases;
tmp_cmp_expr_right_19 = mod_consts[166];
tmp_condition_result_118 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_19, tmp_cmp_expr_right_19);
if (tmp_condition_result_118 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_62;
}
if (tmp_condition_result_118 == NUITKA_BOOL_TRUE) {
goto branch_yes_79;
} else {
goto branch_no_79;
}
}
branch_yes_79:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__20__CodeWriter_723, mod_consts[183], 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_62;
}
branch_no_79:;
{
PyObject *tmp_assign_source_182;
PyObject *tmp_called_value_41;
PyObject *tmp_args_value_40;
PyObject *tmp_tuple_element_84;
PyObject *tmp_kwargs_value_40;
CHECK_OBJECT(tmp_class_creation_20__metaclass);
tmp_called_value_41 = tmp_class_creation_20__metaclass;
tmp_tuple_element_84 = mod_consts[78];
tmp_args_value_40 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_40, 0, tmp_tuple_element_84);
CHECK_OBJECT(tmp_class_creation_20__bases);
tmp_tuple_element_84 = tmp_class_creation_20__bases;
PyTuple_SET_ITEM0(tmp_args_value_40, 1, tmp_tuple_element_84);
tmp_tuple_element_84 = locals_tornado$template$$$class__20__CodeWriter_723;
PyTuple_SET_ITEM0(tmp_args_value_40, 2, tmp_tuple_element_84);
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
tmp_kwargs_value_40 = tmp_class_creation_20__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 723;
tmp_assign_source_182 = CALL_FUNCTION(tmp_called_value_41, tmp_args_value_40, tmp_kwargs_value_40);
Py_DECREF(tmp_args_value_40);
if (tmp_assign_source_182 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
goto try_except_handler_62;
}
assert(outline_19_var___class__ == NULL);
outline_19_var___class__ = tmp_assign_source_182;
}
CHECK_OBJECT(outline_19_var___class__);
tmp_assign_source_181 = outline_19_var___class__;
Py_INCREF(tmp_assign_source_181);
goto try_return_handler_62;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_62:;
Py_DECREF(locals_tornado$template$$$class__20__CodeWriter_723);
locals_tornado$template$$$class__20__CodeWriter_723 = NULL;
goto try_return_handler_61;
// Exception handler code:
try_except_handler_62:;
exception_keeper_type_60 = exception_type;
exception_keeper_value_60 = exception_value;
exception_keeper_tb_60 = exception_tb;
exception_keeper_lineno_60 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__20__CodeWriter_723);
locals_tornado$template$$$class__20__CodeWriter_723 = NULL;
// Re-raise.
exception_type = exception_keeper_type_60;
exception_value = exception_keeper_value_60;
exception_tb = exception_keeper_tb_60;
exception_lineno = exception_keeper_lineno_60;
goto try_except_handler_61;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_61:;
CHECK_OBJECT(outline_19_var___class__);
Py_DECREF(outline_19_var___class__);
outline_19_var___class__ = NULL;
goto outline_result_20;
// Exception handler code:
try_except_handler_61:;
exception_keeper_type_61 = exception_type;
exception_keeper_value_61 = exception_value;
exception_keeper_tb_61 = exception_tb;
exception_keeper_lineno_61 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_61;
exception_value = exception_keeper_value_61;
exception_tb = exception_keeper_tb_61;
exception_lineno = exception_keeper_lineno_61;
goto outline_exception_20;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_20:;
exception_lineno = 723;
goto try_except_handler_60;
outline_result_20:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[78], tmp_assign_source_181);
}
goto try_end_22;
// Exception handler code:
try_except_handler_60:;
exception_keeper_type_62 = exception_type;
exception_keeper_value_62 = exception_value;
exception_keeper_tb_62 = exception_tb;
exception_keeper_lineno_62 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_20__bases);
tmp_class_creation_20__bases = NULL;
Py_XDECREF(tmp_class_creation_20__class_decl_dict);
tmp_class_creation_20__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_20__metaclass);
tmp_class_creation_20__metaclass = NULL;
Py_XDECREF(tmp_class_creation_20__prepared);
tmp_class_creation_20__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_62;
exception_value = exception_keeper_value_62;
exception_tb = exception_keeper_tb_62;
exception_lineno = exception_keeper_lineno_62;
goto frame_exception_exit_1;
// End of try:
try_end_22:;
CHECK_OBJECT(tmp_class_creation_20__bases);
Py_DECREF(tmp_class_creation_20__bases);
tmp_class_creation_20__bases = NULL;
CHECK_OBJECT(tmp_class_creation_20__class_decl_dict);
Py_DECREF(tmp_class_creation_20__class_decl_dict);
tmp_class_creation_20__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_20__metaclass);
Py_DECREF(tmp_class_creation_20__metaclass);
tmp_class_creation_20__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_20__prepared);
Py_DECREF(tmp_class_creation_20__prepared);
tmp_class_creation_20__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_183;
PyObject *tmp_dircall_arg1_20;
tmp_dircall_arg1_20 = mod_consts[166];
Py_INCREF(tmp_dircall_arg1_20);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_20};
tmp_assign_source_183 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_183 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
assert(tmp_class_creation_21__bases == NULL);
tmp_class_creation_21__bases = tmp_assign_source_183;
}
{
PyObject *tmp_assign_source_184;
tmp_assign_source_184 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_21__class_decl_dict == NULL);
tmp_class_creation_21__class_decl_dict = tmp_assign_source_184;
}
{
PyObject *tmp_assign_source_185;
PyObject *tmp_metaclass_value_21;
bool tmp_condition_result_119;
PyObject *tmp_key_value_61;
PyObject *tmp_dict_arg_value_61;
PyObject *tmp_dict_arg_value_62;
PyObject *tmp_key_value_62;
nuitka_bool tmp_condition_result_120;
int tmp_truth_name_20;
PyObject *tmp_type_arg_40;
PyObject *tmp_expression_value_134;
PyObject *tmp_subscript_value_54;
PyObject *tmp_bases_value_21;
tmp_key_value_61 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_dict_arg_value_61 = tmp_class_creation_21__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_61, tmp_key_value_61);
assert(!(tmp_res == -1));
tmp_condition_result_119 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_119 != false) {
goto condexpr_true_40;
} else {
goto condexpr_false_40;
}
condexpr_true_40:;
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_dict_arg_value_62 = tmp_class_creation_21__class_decl_dict;
tmp_key_value_62 = mod_consts[167];
tmp_metaclass_value_21 = DICT_GET_ITEM0(tmp_dict_arg_value_62, tmp_key_value_62);
if (tmp_metaclass_value_21 == NULL) {
tmp_metaclass_value_21 = Py_None;
}
assert(!(tmp_metaclass_value_21 == NULL));
Py_INCREF(tmp_metaclass_value_21);
goto condexpr_end_40;
condexpr_false_40:;
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_truth_name_20 = CHECK_IF_TRUE(tmp_class_creation_21__bases);
if (tmp_truth_name_20 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
tmp_condition_result_120 = tmp_truth_name_20 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_120 == NUITKA_BOOL_TRUE) {
goto condexpr_true_41;
} else {
goto condexpr_false_41;
}
condexpr_true_41:;
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_expression_value_134 = tmp_class_creation_21__bases;
tmp_subscript_value_54 = mod_consts[79];
tmp_type_arg_40 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_134, tmp_subscript_value_54, 0);
if (tmp_type_arg_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
tmp_metaclass_value_21 = BUILTIN_TYPE1(tmp_type_arg_40);
Py_DECREF(tmp_type_arg_40);
if (tmp_metaclass_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
goto condexpr_end_41;
condexpr_false_41:;
tmp_metaclass_value_21 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_21);
condexpr_end_41:;
condexpr_end_40:;
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_bases_value_21 = tmp_class_creation_21__bases;
tmp_assign_source_185 = SELECT_METACLASS(tmp_metaclass_value_21, tmp_bases_value_21);
Py_DECREF(tmp_metaclass_value_21);
if (tmp_assign_source_185 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
assert(tmp_class_creation_21__metaclass == NULL);
tmp_class_creation_21__metaclass = tmp_assign_source_185;
}
{
bool tmp_condition_result_121;
PyObject *tmp_key_value_63;
PyObject *tmp_dict_arg_value_63;
tmp_key_value_63 = mod_consts[167];
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_dict_arg_value_63 = tmp_class_creation_21__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_63, tmp_key_value_63);
assert(!(tmp_res == -1));
tmp_condition_result_121 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_121 != false) {
goto branch_yes_80;
} else {
goto branch_no_80;
}
}
branch_yes_80:;
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_21__class_decl_dict;
tmp_dictdel_key = mod_consts[167];
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 = 781;
goto try_except_handler_63;
}
branch_no_80:;
{
nuitka_bool tmp_condition_result_122;
PyObject *tmp_expression_value_135;
CHECK_OBJECT(tmp_class_creation_21__metaclass);
tmp_expression_value_135 = tmp_class_creation_21__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_135, mod_consts[168]);
tmp_condition_result_122 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_122 == NUITKA_BOOL_TRUE) {
goto branch_yes_81;
} else {
goto branch_no_81;
}
}
branch_yes_81:;
{
PyObject *tmp_assign_source_186;
PyObject *tmp_called_value_42;
PyObject *tmp_expression_value_136;
PyObject *tmp_args_value_41;
PyObject *tmp_tuple_element_85;
PyObject *tmp_kwargs_value_41;
CHECK_OBJECT(tmp_class_creation_21__metaclass);
tmp_expression_value_136 = tmp_class_creation_21__metaclass;
tmp_called_value_42 = LOOKUP_ATTRIBUTE(tmp_expression_value_136, mod_consts[168]);
if (tmp_called_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
tmp_tuple_element_85 = mod_consts[28];
tmp_args_value_41 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_41, 0, tmp_tuple_element_85);
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_tuple_element_85 = tmp_class_creation_21__bases;
PyTuple_SET_ITEM0(tmp_args_value_41, 1, tmp_tuple_element_85);
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_kwargs_value_41 = tmp_class_creation_21__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 781;
tmp_assign_source_186 = CALL_FUNCTION(tmp_called_value_42, tmp_args_value_41, tmp_kwargs_value_41);
Py_DECREF(tmp_called_value_42);
Py_DECREF(tmp_args_value_41);
if (tmp_assign_source_186 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
assert(tmp_class_creation_21__prepared == NULL);
tmp_class_creation_21__prepared = tmp_assign_source_186;
}
{
bool tmp_condition_result_123;
PyObject *tmp_operand_value_21;
PyObject *tmp_expression_value_137;
CHECK_OBJECT(tmp_class_creation_21__prepared);
tmp_expression_value_137 = tmp_class_creation_21__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_137, mod_consts[170]);
tmp_operand_value_21 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_21);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
tmp_condition_result_123 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_123 != false) {
goto branch_yes_82;
} else {
goto branch_no_82;
}
}
branch_yes_82:;
{
PyObject *tmp_raise_type_21;
PyObject *tmp_raise_value_21;
PyObject *tmp_mod_expr_left_21;
PyObject *tmp_mod_expr_right_21;
PyObject *tmp_tuple_element_86;
PyObject *tmp_getattr_target_21;
PyObject *tmp_getattr_attr_21;
PyObject *tmp_getattr_default_21;
tmp_raise_type_21 = PyExc_TypeError;
tmp_mod_expr_left_21 = mod_consts[171];
CHECK_OBJECT(tmp_class_creation_21__metaclass);
tmp_getattr_target_21 = tmp_class_creation_21__metaclass;
tmp_getattr_attr_21 = mod_consts[56];
tmp_getattr_default_21 = mod_consts[172];
tmp_tuple_element_86 = BUILTIN_GETATTR(tmp_getattr_target_21, tmp_getattr_attr_21, tmp_getattr_default_21);
if (tmp_tuple_element_86 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
tmp_mod_expr_right_21 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_138;
PyObject *tmp_type_arg_41;
PyTuple_SET_ITEM(tmp_mod_expr_right_21, 0, tmp_tuple_element_86);
CHECK_OBJECT(tmp_class_creation_21__prepared);
tmp_type_arg_41 = tmp_class_creation_21__prepared;
tmp_expression_value_138 = BUILTIN_TYPE1(tmp_type_arg_41);
assert(!(tmp_expression_value_138 == NULL));
tmp_tuple_element_86 = LOOKUP_ATTRIBUTE(tmp_expression_value_138, mod_consts[56]);
Py_DECREF(tmp_expression_value_138);
if (tmp_tuple_element_86 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto tuple_build_exception_27;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_21, 1, tmp_tuple_element_86);
}
goto tuple_build_noexception_27;
// Exception handling pass through code for tuple_build:
tuple_build_exception_27:;
Py_DECREF(tmp_mod_expr_right_21);
goto try_except_handler_63;
// Finished with no exception for tuple_build:
tuple_build_noexception_27:;
tmp_raise_value_21 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_21, tmp_mod_expr_right_21);
Py_DECREF(tmp_mod_expr_right_21);
if (tmp_raise_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_63;
}
exception_type = tmp_raise_type_21;
Py_INCREF(tmp_raise_type_21);
exception_value = tmp_raise_value_21;
exception_lineno = 781;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_63;
}
branch_no_82:;
goto branch_end_81;
branch_no_81:;
{
PyObject *tmp_assign_source_187;
tmp_assign_source_187 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_21__prepared == NULL);
tmp_class_creation_21__prepared = tmp_assign_source_187;
}
branch_end_81:;
{
PyObject *tmp_assign_source_188;
{
PyObject *tmp_set_locals_21;
CHECK_OBJECT(tmp_class_creation_21__prepared);
tmp_set_locals_21 = tmp_class_creation_21__prepared;
locals_tornado$template$$$class__21__TemplateReader_781 = tmp_set_locals_21;
Py_INCREF(tmp_set_locals_21);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_65;
}
tmp_dictset_value = mod_consts[28];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[176], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_65;
}
if (isFrameUnusable(cache_frame_2d50f5b447980a86c66802ab05a34e81_21)) {
Py_XDECREF(cache_frame_2d50f5b447980a86c66802ab05a34e81_21);
#if _DEBUG_REFCOUNTS
if (cache_frame_2d50f5b447980a86c66802ab05a34e81_21 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2d50f5b447980a86c66802ab05a34e81_21 = MAKE_CLASS_FRAME(codeobj_2d50f5b447980a86c66802ab05a34e81, module_tornado$template, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2d50f5b447980a86c66802ab05a34e81_21->m_type_description == NULL);
frame_2d50f5b447980a86c66802ab05a34e81_21 = cache_frame_2d50f5b447980a86c66802ab05a34e81_21;
// Push the new frame as the currently active one.
pushFrameStack(frame_2d50f5b447980a86c66802ab05a34e81_21);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2d50f5b447980a86c66802ab05a34e81_21) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_56;
PyObject *tmp_dict_key_42;
PyObject *tmp_dict_value_42;
tmp_dict_key_42 = mod_consts[14];
tmp_dict_value_42 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_42 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_42);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_56 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_56, tmp_dict_key_42, tmp_dict_value_42);
Py_DECREF(tmp_dict_value_42);
assert(!(tmp_res != 0));
tmp_dict_key_42 = mod_consts[198];
tmp_dict_value_42 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_42 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_42);
} else {
goto frame_exception_exit_21;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_56, tmp_dict_key_42, tmp_dict_value_42);
Py_DECREF(tmp_dict_value_42);
assert(!(tmp_res != 0));
tmp_dict_key_42 = mod_consts[17];
tmp_dict_value_42 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_42 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_42);
} else {
goto frame_exception_exit_21;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_56, tmp_dict_key_42, tmp_dict_value_42);
Py_DECREF(tmp_dict_value_42);
assert(!(tmp_res != 0));
tmp_dict_key_42 = mod_consts[181];
tmp_dict_value_42 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_56, tmp_dict_key_42, tmp_dict_value_42);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__56___init__(tmp_annotations_56);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[107], 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 = 782;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_defaults_10;
PyObject *tmp_annotations_57;
PyObject *tmp_dict_key_43;
PyObject *tmp_dict_value_43;
tmp_defaults_10 = mod_consts[380];
tmp_dict_key_43 = mod_consts[381];
tmp_dict_value_43 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_43 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_43);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_57 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_139;
PyObject *tmp_subscript_value_55;
tmp_res = PyDict_SetItem(tmp_annotations_57, tmp_dict_key_43, tmp_dict_value_43);
Py_DECREF(tmp_dict_value_43);
assert(!(tmp_res != 0));
tmp_dict_key_43 = mod_consts[382];
tmp_dict_value_43 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_dict_value_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_43 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_43);
} else {
goto dict_build_exception_22;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_57, tmp_dict_key_43, tmp_dict_value_43);
Py_DECREF(tmp_dict_value_43);
assert(!(tmp_res != 0));
tmp_dict_key_43 = mod_consts[241];
tmp_expression_value_139 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[292]);
if (tmp_expression_value_139 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_139 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_139 == NULL)) {
tmp_expression_value_139 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_139 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_2 = "o";
goto dict_build_exception_22;
}
Py_INCREF(tmp_expression_value_139);
} else {
goto dict_build_exception_22;
}
}
tmp_subscript_value_55 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_subscript_value_55 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_55 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_55);
} else {
goto dict_build_exception_22;
}
}
tmp_dict_value_43 = LOOKUP_SUBSCRIPT(tmp_expression_value_139, tmp_subscript_value_55);
Py_DECREF(tmp_expression_value_139);
Py_DECREF(tmp_subscript_value_55);
if (tmp_dict_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_2 = "o";
goto dict_build_exception_22;
}
tmp_res = PyDict_SetItem(tmp_annotations_57, tmp_dict_key_43, tmp_dict_value_43);
Py_DECREF(tmp_dict_value_43);
assert(!(tmp_res != 0));
tmp_dict_key_43 = mod_consts[181];
tmp_dict_value_43 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_dict_value_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_43 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_43);
} else {
goto dict_build_exception_22;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_57, tmp_dict_key_43, tmp_dict_value_43);
Py_DECREF(tmp_dict_value_43);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_22;
// Exception handling pass through code for dict_build:
dict_build_exception_22:;
Py_DECREF(tmp_annotations_57);
goto frame_exception_exit_21;
// Finished with no exception for dict_build:
dict_build_noexception_22:;
Py_INCREF(tmp_defaults_10);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__57_find(tmp_defaults_10, tmp_annotations_57);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[200], 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 = 789;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_defaults_11;
PyObject *tmp_annotations_58;
PyObject *tmp_dict_key_44;
PyObject *tmp_dict_value_44;
PyObject *tmp_expression_value_140;
PyObject *tmp_subscript_value_56;
tmp_defaults_11 = mod_consts[315];
tmp_dict_key_44 = mod_consts[202];
tmp_expression_value_140 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[292]);
if (tmp_expression_value_140 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_140 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_140 == NULL)) {
tmp_expression_value_140 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_140 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 803;
type_description_2 = "o";
goto frame_exception_exit_21;
}
Py_INCREF(tmp_expression_value_140);
} else {
goto frame_exception_exit_21;
}
}
tmp_subscript_value_56 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_subscript_value_56 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_56 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_56);
} else {
goto frame_exception_exit_21;
}
}
tmp_dict_value_44 = LOOKUP_SUBSCRIPT(tmp_expression_value_140, tmp_subscript_value_56);
Py_DECREF(tmp_expression_value_140);
Py_DECREF(tmp_subscript_value_56);
if (tmp_dict_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 803;
type_description_2 = "o";
goto frame_exception_exit_21;
}
tmp_annotations_58 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_58, tmp_dict_key_44, tmp_dict_value_44);
Py_DECREF(tmp_dict_value_44);
assert(!(tmp_res != 0));
tmp_dict_key_44 = mod_consts[181];
tmp_dict_value_44 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_44 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_44 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_44);
} else {
goto frame_exception_exit_21;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_58, tmp_dict_key_44, tmp_dict_value_44);
Py_DECREF(tmp_dict_value_44);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_11);
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__58_consume(tmp_defaults_11, tmp_annotations_58);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[216], 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 = 803;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_annotations_59;
PyObject *tmp_dict_key_45;
PyObject *tmp_dict_value_45;
tmp_dict_key_45 = mod_consts[181];
tmp_dict_value_45 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_dict_value_45 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_45 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_45);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_59 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_59, tmp_dict_key_45, tmp_dict_value_45);
Py_DECREF(tmp_dict_value_45);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__59_remaining(tmp_annotations_59);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[203], 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 = 812;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_annotations_60;
PyObject *tmp_dict_key_46;
PyObject *tmp_dict_value_46;
tmp_dict_key_46 = mod_consts[181];
tmp_dict_value_46 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_dict_value_46 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_46 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_46);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_60 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_60, tmp_dict_key_46, tmp_dict_value_46);
Py_DECREF(tmp_dict_value_46);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__60___len__(tmp_annotations_60);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[386], 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 = 815;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_annotations_61;
PyObject *tmp_dict_key_47;
PyObject *tmp_dict_value_47;
PyObject *tmp_expression_value_141;
PyObject *tmp_subscript_value_57;
PyObject *tmp_tuple_element_87;
tmp_dict_key_47 = mod_consts[388];
tmp_expression_value_141 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[288]);
if (tmp_expression_value_141 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_141 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[288]);
if (unlikely(tmp_expression_value_141 == NULL)) {
tmp_expression_value_141 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[288]);
}
if (tmp_expression_value_141 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_2 = "o";
goto frame_exception_exit_21;
}
Py_INCREF(tmp_expression_value_141);
} else {
goto frame_exception_exit_21;
}
}
tmp_tuple_element_87 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[340]);
if (tmp_tuple_element_87 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_87 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_87);
} else {
goto frame_exception_exit_21;
}
}
tmp_subscript_value_57 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_57, 0, tmp_tuple_element_87);
tmp_tuple_element_87 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[389]);
if (tmp_tuple_element_87 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_87 = (PyObject *)&PySlice_Type;
Py_INCREF(tmp_tuple_element_87);
} else {
goto frame_exception_exit_21;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_57, 1, tmp_tuple_element_87);
tmp_dict_value_47 = LOOKUP_SUBSCRIPT(tmp_expression_value_141, tmp_subscript_value_57);
Py_DECREF(tmp_expression_value_141);
Py_DECREF(tmp_subscript_value_57);
if (tmp_dict_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_2 = "o";
goto frame_exception_exit_21;
}
tmp_annotations_61 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_61, tmp_dict_key_47, tmp_dict_value_47);
Py_DECREF(tmp_dict_value_47);
assert(!(tmp_res != 0));
tmp_dict_key_47 = mod_consts[181];
tmp_dict_value_47 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_47 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_47 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_47);
} else {
goto frame_exception_exit_21;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_61, tmp_dict_key_47, tmp_dict_value_47);
Py_DECREF(tmp_dict_value_47);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__61___getitem__(tmp_annotations_61);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[170], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_annotations_62;
PyObject *tmp_dict_key_48;
PyObject *tmp_dict_value_48;
tmp_dict_key_48 = mod_consts[181];
tmp_dict_value_48 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_48 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_48);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_62 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_62, tmp_dict_key_48, tmp_dict_value_48);
Py_DECREF(tmp_dict_value_48);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__62___str__(tmp_annotations_62);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[369], 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 = 834;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
{
PyObject *tmp_annotations_63;
PyObject *tmp_dict_key_49;
PyObject *tmp_dict_value_49;
tmp_dict_key_49 = mod_consts[392];
tmp_dict_value_49 = PyObject_GetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[300]);
if (tmp_dict_value_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_49 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_49);
} else {
goto frame_exception_exit_21;
}
}
tmp_annotations_63 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_63, tmp_dict_key_49, tmp_dict_value_49);
Py_DECREF(tmp_dict_value_49);
assert(!(tmp_res != 0));
tmp_dict_key_49 = mod_consts[181];
tmp_dict_value_49 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_63, tmp_dict_key_49, tmp_dict_value_49);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$template$$$function__63_raise_parse_error(tmp_annotations_63);
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[213], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 837;
type_description_2 = "o";
goto frame_exception_exit_21;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d50f5b447980a86c66802ab05a34e81_21);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_20;
frame_exception_exit_21:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d50f5b447980a86c66802ab05a34e81_21);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2d50f5b447980a86c66802ab05a34e81_21, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2d50f5b447980a86c66802ab05a34e81_21->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2d50f5b447980a86c66802ab05a34e81_21, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2d50f5b447980a86c66802ab05a34e81_21,
type_description_2,
outline_20_var___class__
);
// Release cached frame if used for exception.
if (frame_2d50f5b447980a86c66802ab05a34e81_21 == cache_frame_2d50f5b447980a86c66802ab05a34e81_21) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2d50f5b447980a86c66802ab05a34e81_21);
cache_frame_2d50f5b447980a86c66802ab05a34e81_21 = NULL;
}
assertFrameObject(frame_2d50f5b447980a86c66802ab05a34e81_21);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_20;
frame_no_exception_20:;
goto skip_nested_handling_20;
nested_frame_exit_20:;
goto try_except_handler_65;
skip_nested_handling_20:;
{
nuitka_bool tmp_condition_result_124;
PyObject *tmp_cmp_expr_left_20;
PyObject *tmp_cmp_expr_right_20;
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_cmp_expr_left_20 = tmp_class_creation_21__bases;
tmp_cmp_expr_right_20 = mod_consts[166];
tmp_condition_result_124 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_20, tmp_cmp_expr_right_20);
if (tmp_condition_result_124 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_65;
}
if (tmp_condition_result_124 == NUITKA_BOOL_TRUE) {
goto branch_yes_83;
} else {
goto branch_no_83;
}
}
branch_yes_83:;
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$template$$$class__21__TemplateReader_781, mod_consts[183], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_65;
}
branch_no_83:;
{
PyObject *tmp_assign_source_189;
PyObject *tmp_called_value_43;
PyObject *tmp_args_value_42;
PyObject *tmp_tuple_element_88;
PyObject *tmp_kwargs_value_42;
CHECK_OBJECT(tmp_class_creation_21__metaclass);
tmp_called_value_43 = tmp_class_creation_21__metaclass;
tmp_tuple_element_88 = mod_consts[28];
tmp_args_value_42 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_42, 0, tmp_tuple_element_88);
CHECK_OBJECT(tmp_class_creation_21__bases);
tmp_tuple_element_88 = tmp_class_creation_21__bases;
PyTuple_SET_ITEM0(tmp_args_value_42, 1, tmp_tuple_element_88);
tmp_tuple_element_88 = locals_tornado$template$$$class__21__TemplateReader_781;
PyTuple_SET_ITEM0(tmp_args_value_42, 2, tmp_tuple_element_88);
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
tmp_kwargs_value_42 = tmp_class_creation_21__class_decl_dict;
frame_334dd95518f3a15a7553ddb5c7596b04->m_frame.f_lineno = 781;
tmp_assign_source_189 = CALL_FUNCTION(tmp_called_value_43, tmp_args_value_42, tmp_kwargs_value_42);
Py_DECREF(tmp_args_value_42);
if (tmp_assign_source_189 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
goto try_except_handler_65;
}
assert(outline_20_var___class__ == NULL);
outline_20_var___class__ = tmp_assign_source_189;
}
CHECK_OBJECT(outline_20_var___class__);
tmp_assign_source_188 = outline_20_var___class__;
Py_INCREF(tmp_assign_source_188);
goto try_return_handler_65;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_65:;
Py_DECREF(locals_tornado$template$$$class__21__TemplateReader_781);
locals_tornado$template$$$class__21__TemplateReader_781 = NULL;
goto try_return_handler_64;
// Exception handler code:
try_except_handler_65:;
exception_keeper_type_63 = exception_type;
exception_keeper_value_63 = exception_value;
exception_keeper_tb_63 = exception_tb;
exception_keeper_lineno_63 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$template$$$class__21__TemplateReader_781);
locals_tornado$template$$$class__21__TemplateReader_781 = NULL;
// Re-raise.
exception_type = exception_keeper_type_63;
exception_value = exception_keeper_value_63;
exception_tb = exception_keeper_tb_63;
exception_lineno = exception_keeper_lineno_63;
goto try_except_handler_64;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_64:;
CHECK_OBJECT(outline_20_var___class__);
Py_DECREF(outline_20_var___class__);
outline_20_var___class__ = NULL;
goto outline_result_21;
// Exception handler code:
try_except_handler_64:;
exception_keeper_type_64 = exception_type;
exception_keeper_value_64 = exception_value;
exception_keeper_tb_64 = exception_tb;
exception_keeper_lineno_64 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_64;
exception_value = exception_keeper_value_64;
exception_tb = exception_keeper_tb_64;
exception_lineno = exception_keeper_lineno_64;
goto outline_exception_21;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_21:;
exception_lineno = 781;
goto try_except_handler_63;
outline_result_21:;
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_188);
}
goto try_end_23;
// Exception handler code:
try_except_handler_63:;
exception_keeper_type_65 = exception_type;
exception_keeper_value_65 = exception_value;
exception_keeper_tb_65 = exception_tb;
exception_keeper_lineno_65 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_21__bases);
tmp_class_creation_21__bases = NULL;
Py_XDECREF(tmp_class_creation_21__class_decl_dict);
tmp_class_creation_21__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_21__metaclass);
tmp_class_creation_21__metaclass = NULL;
Py_XDECREF(tmp_class_creation_21__prepared);
tmp_class_creation_21__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_65;
exception_value = exception_keeper_value_65;
exception_tb = exception_keeper_tb_65;
exception_lineno = exception_keeper_lineno_65;
goto frame_exception_exit_1;
// End of try:
try_end_23:;
CHECK_OBJECT(tmp_class_creation_21__bases);
Py_DECREF(tmp_class_creation_21__bases);
tmp_class_creation_21__bases = NULL;
CHECK_OBJECT(tmp_class_creation_21__class_decl_dict);
Py_DECREF(tmp_class_creation_21__class_decl_dict);
tmp_class_creation_21__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_21__metaclass);
Py_DECREF(tmp_class_creation_21__metaclass);
tmp_class_creation_21__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_21__prepared);
Py_DECREF(tmp_class_creation_21__prepared);
tmp_class_creation_21__prepared = NULL;
{
PyObject *tmp_assign_source_190;
PyObject *tmp_annotations_64;
tmp_annotations_64 = DICT_COPY(mod_consts[394]);
tmp_assign_source_190 = MAKE_FUNCTION_tornado$template$$$function__64__format_code(tmp_annotations_64);
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[40], tmp_assign_source_190);
}
{
PyObject *tmp_assign_source_191;
PyObject *tmp_defaults_12;
PyObject *tmp_annotations_65;
PyObject *tmp_dict_key_50;
PyObject *tmp_dict_value_50;
tmp_defaults_12 = mod_consts[395];
tmp_dict_key_50 = mod_consts[210];
tmp_dict_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_dict_value_50 == NULL)) {
tmp_dict_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_dict_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 848;
goto frame_exception_exit_1;
}
tmp_annotations_65 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_142;
PyObject *tmp_subscript_value_58;
PyObject *tmp_expression_value_143;
PyObject *tmp_subscript_value_59;
tmp_res = PyDict_SetItem(tmp_annotations_65, tmp_dict_key_50, tmp_dict_value_50);
assert(!(tmp_res != 0));
tmp_dict_key_50 = mod_consts[80];
tmp_dict_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_dict_value_50 == NULL)) {
tmp_dict_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_dict_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 849;
goto dict_build_exception_23;
}
tmp_res = PyDict_SetItem(tmp_annotations_65, tmp_dict_key_50, tmp_dict_value_50);
assert(!(tmp_res != 0));
tmp_dict_key_50 = mod_consts[396];
tmp_expression_value_142 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_142 == NULL)) {
tmp_expression_value_142 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_142 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 850;
goto dict_build_exception_23;
}
tmp_subscript_value_58 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_50 = LOOKUP_SUBSCRIPT(tmp_expression_value_142, tmp_subscript_value_58);
if (tmp_dict_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 850;
goto dict_build_exception_23;
}
tmp_res = PyDict_SetItem(tmp_annotations_65, tmp_dict_key_50, tmp_dict_value_50);
Py_DECREF(tmp_dict_value_50);
assert(!(tmp_res != 0));
tmp_dict_key_50 = mod_consts[263];
tmp_expression_value_143 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_expression_value_143 == NULL)) {
tmp_expression_value_143 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
if (tmp_expression_value_143 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 851;
goto dict_build_exception_23;
}
tmp_subscript_value_59 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_50 = LOOKUP_SUBSCRIPT(tmp_expression_value_143, tmp_subscript_value_59);
if (tmp_dict_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 851;
goto dict_build_exception_23;
}
tmp_res = PyDict_SetItem(tmp_annotations_65, tmp_dict_key_50, tmp_dict_value_50);
Py_DECREF(tmp_dict_value_50);
assert(!(tmp_res != 0));
tmp_dict_key_50 = mod_consts[181];
tmp_dict_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[209]);
if (unlikely(tmp_dict_value_50 == NULL)) {
tmp_dict_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[209]);
}
if (tmp_dict_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto dict_build_exception_23;
}
tmp_res = PyDict_SetItem(tmp_annotations_65, tmp_dict_key_50, tmp_dict_value_50);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_23;
// Exception handling pass through code for dict_build:
dict_build_exception_23:;
Py_DECREF(tmp_annotations_65);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_23:;
Py_INCREF(tmp_defaults_12);
tmp_assign_source_191 = MAKE_FUNCTION_tornado$template$$$function__65__parse(tmp_defaults_12, tmp_annotations_65);
UPDATE_STRING_DICT1(moduledict_tornado$template, (Nuitka_StringObject *)mod_consts[30], tmp_assign_source_191);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_334dd95518f3a15a7553ddb5c7596b04);
#endif
popFrameStack();
goto frame_no_exception_21;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_334dd95518f3a15a7553ddb5c7596b04);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_334dd95518f3a15a7553ddb5c7596b04, exception_lineno);
} else if (exception_tb->tb_frame != &frame_334dd95518f3a15a7553ddb5c7596b04->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_334dd95518f3a15a7553ddb5c7596b04, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_21:;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.template", false);
Py_INCREF(module_tornado$template);
return module_tornado$template;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$template, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$template", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}