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.routing'
* 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$routing" 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$routing;
PyDictObject *moduledict_tornado$routing;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[269];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[269];
#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.routing"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 269; 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$routing(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 269; 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_cc7e1ac620cdb47b8fc3560085d6761d;
static PyCodeObject *codeobj_8a77f759cb61b9f95ed16549411ea6c3;
static PyCodeObject *codeobj_2e3c3f1caf71bfeac4672a5c071dd4ba;
static PyCodeObject *codeobj_ab5c96126297a8fb55fc84df5a73ae6d;
static PyCodeObject *codeobj_b54f1a29824940ea54ecc45d12dbc062;
static PyCodeObject *codeobj_7199a4300f211079f9e391f895aa9da5;
static PyCodeObject *codeobj_011ce0bec0a95f004881f84b3021ef9f;
static PyCodeObject *codeobj_9dc0ceb62370e72afe09f600fad9e9af;
static PyCodeObject *codeobj_0d309d7c80648f4408a27c99425b7950;
static PyCodeObject *codeobj_d56c7e856a7b9e9fd6575edf551fe294;
static PyCodeObject *codeobj_c8d8570e5563fc5c5c0d021909005aaf;
static PyCodeObject *codeobj_ea2241075aa7dd0eb3cd761c1e84400c;
static PyCodeObject *codeobj_91ad08cce0cf86308603ca55ca4099f0;
static PyCodeObject *codeobj_4e441ebb16ad3b88eaddadfc3eaeb0c4;
static PyCodeObject *codeobj_41f828e0f427076c897363ac26848c2d;
static PyCodeObject *codeobj_34efca7e5e1acf3bdab87e1d6e440af5;
static PyCodeObject *codeobj_2b92e4a90cd85415f2d9b65b2c249732;
static PyCodeObject *codeobj_8a074e3ac99be3bba5ef013855d16541;
static PyCodeObject *codeobj_1990dcbce6078ff28496a710cbe8b322;
static PyCodeObject *codeobj_986a138e2fb0ffea7c8b96b27ac24f56;
static PyCodeObject *codeobj_80f3e542ba9aacfc60256667333ff1b8;
static PyCodeObject *codeobj_9c41a6b365c249cf56aff118532e157e;
static PyCodeObject *codeobj_13463f336a152276781d551cb9729515;
static PyCodeObject *codeobj_cd6c61ebb2eee0dfeefa3c2cc823769a;
static PyCodeObject *codeobj_9249f9bf78a70ccb8db09b8319797ea7;
static PyCodeObject *codeobj_54b541b1717b0cda18b46b90aa957190;
static PyCodeObject *codeobj_16672d27dc03a5e484b1915e867bc21c;
static PyCodeObject *codeobj_7deb6c573e052a684388880bf6691779;
static PyCodeObject *codeobj_b09e83b306b23ae53641acb5ae8158cf;
static PyCodeObject *codeobj_4dbe15cb60522b0557cb20639df28a74;
static PyCodeObject *codeobj_2d57140a83e294eae07ead9d473e1819;
static PyCodeObject *codeobj_0a5dd36b7026d51024a01f39c435f1c1;
static PyCodeObject *codeobj_7246bf26977cf471bfdd24742fb20580;
static PyCodeObject *codeobj_33031d27abbfeeb93f2e2ca4ff5c2c85;
static PyCodeObject *codeobj_5ccd4970bd887cec7a3927cfdf1946c9;
static PyCodeObject *codeobj_cddc9a4409a229aca768d6f6933e73e1;
static PyCodeObject *codeobj_1c1a781c02fa7abb611c3c143f3a9767;
static PyCodeObject *codeobj_dcc509491c453da1adce4e4b1e5e69e3;
static PyCodeObject *codeobj_4221ad20103f27d1db7b58bbea07046f;
static PyCodeObject *codeobj_97a6b59ba9b23cfaeeace586d37135ac;
static PyCodeObject *codeobj_07c99970729115936f30b3b0e2185fbc;
static PyCodeObject *codeobj_b6da99e32de71ff15b066cc206f4441a;
static PyCodeObject *codeobj_6b2194a25e6d614979c9cfb4b67eca6c;
static PyCodeObject *codeobj_6d62fd7f9cd20d6735a1975152c10f16;
static PyCodeObject *codeobj_ba9f3733649c2744004798f1353bea51;
static PyCodeObject *codeobj_9b8f4da206c9b81778b9f2419f0fc128;
static PyCodeObject *codeobj_2fbce4aaae4c9440ab7644db8c1532ed;
static PyCodeObject *codeobj_a65f42602303f120475810b61a4f01b2;
static PyCodeObject *codeobj_25604133780e6db33ba5f48e507868ea;
static PyCodeObject *codeobj_7a9d1ed04347ae94bf0df246d3aeeef6;
static PyCodeObject *codeobj_82a53ec843060ed9834a291a3ca1cbe7;
static PyCodeObject *codeobj_f2b0fb3282b641934ccc0924987b6e08;
static PyCodeObject *codeobj_26c680f4510abe4954cf83365461cec5;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[130]; CHECK_OBJECT(module_filename_obj);
codeobj_cc7e1ac620cdb47b8fc3560085d6761d = MAKE_CODE_OBJECT(module_filename_obj, 585, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[97], mod_consts[97], mod_consts[238], NULL, 1, 0, 0);
codeobj_8a77f759cb61b9f95ed16549411ea6c3 = MAKE_CODE_OBJECT(module_filename_obj, 589, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[239], mod_consts[239], mod_consts[240], NULL, 1, 0, 0);
codeobj_2e3c3f1caf71bfeac4672a5c071dd4ba = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[241], mod_consts[241], NULL, NULL, 0, 0, 0);
codeobj_ab5c96126297a8fb55fc84df5a73ae6d = MAKE_CODE_OBJECT(module_filename_obj, 510, CO_NOFREE, mod_consts[213], mod_consts[213], mod_consts[242], NULL, 0, 0, 0);
codeobj_b54f1a29824940ea54ecc45d12dbc062 = MAKE_CODE_OBJECT(module_filename_obj, 535, CO_NOFREE, mod_consts[220], mod_consts[220], mod_consts[242], NULL, 0, 0, 0);
codeobj_7199a4300f211079f9e391f895aa9da5 = MAKE_CODE_OBJECT(module_filename_obj, 517, CO_NOFREE, mod_consts[216], mod_consts[216], mod_consts[242], NULL, 0, 0, 0);
codeobj_011ce0bec0a95f004881f84b3021ef9f = MAKE_CODE_OBJECT(module_filename_obj, 490, CO_NOFREE, mod_consts[204], mod_consts[204], mod_consts[242], NULL, 0, 0, 0);
codeobj_9dc0ceb62370e72afe09f600fad9e9af = MAKE_CODE_OBJECT(module_filename_obj, 552, CO_NOFREE, mod_consts[35], mod_consts[35], mod_consts[242], NULL, 0, 0, 0);
codeobj_0d309d7c80648f4408a27c99425b7950 = MAKE_CODE_OBJECT(module_filename_obj, 213, CO_NOFREE, mod_consts[64], mod_consts[64], mod_consts[242], NULL, 0, 0, 0);
codeobj_d56c7e856a7b9e9fd6575edf551fe294 = MAKE_CODE_OBJECT(module_filename_obj, 404, CO_NOFREE, mod_consts[197], mod_consts[197], mod_consts[242], NULL, 0, 0, 0);
codeobj_c8d8570e5563fc5c5c0d021909005aaf = MAKE_CODE_OBJECT(module_filename_obj, 190, CO_NOFREE, mod_consts[49], mod_consts[49], mod_consts[242], NULL, 0, 0, 0);
codeobj_ea2241075aa7dd0eb3cd761c1e84400c = MAKE_CODE_OBJECT(module_filename_obj, 441, CO_NOFREE, mod_consts[34], mod_consts[34], mod_consts[242], NULL, 0, 0, 0);
codeobj_91ad08cce0cf86308603ca55ca4099f0 = MAKE_CODE_OBJECT(module_filename_obj, 300, CO_NOFREE, mod_consts[188], mod_consts[188], mod_consts[242], NULL, 0, 0, 0);
codeobj_4e441ebb16ad3b88eaddadfc3eaeb0c4 = MAKE_CODE_OBJECT(module_filename_obj, 649, CO_NOFREE, mod_consts[230], mod_consts[230], mod_consts[242], NULL, 0, 0, 0);
codeobj_41f828e0f427076c897363ac26848c2d = MAKE_CODE_OBJECT(module_filename_obj, 275, CO_NOFREE, mod_consts[17], mod_consts[17], mod_consts[242], NULL, 0, 0, 0);
codeobj_34efca7e5e1acf3bdab87e1d6e440af5 = MAKE_CODE_OBJECT(module_filename_obj, 229, CO_NOFREE, mod_consts[1], mod_consts[1], mod_consts[242], NULL, 0, 0, 0);
codeobj_2b92e4a90cd85415f2d9b65b2c249732 = MAKE_CODE_OBJECT(module_filename_obj, 540, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[243], NULL, 3, 0, 0);
codeobj_8a074e3ac99be3bba5ef013855d16541 = MAKE_CODE_OBJECT(module_filename_obj, 276, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[244], NULL, 2, 0, 0);
codeobj_1990dcbce6078ff28496a710cbe8b322 = MAKE_CODE_OBJECT(module_filename_obj, 520, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[245], NULL, 2, 0, 0);
codeobj_986a138e2fb0ffea7c8b96b27ac24f56 = MAKE_CODE_OBJECT(module_filename_obj, 444, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[246], NULL, 5, 0, 0);
codeobj_80f3e542ba9aacfc60256667333ff1b8 = MAKE_CODE_OBJECT(module_filename_obj, 555, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[247], NULL, 2, 0, 0);
codeobj_9c41a6b365c249cf56aff118532e157e = MAKE_CODE_OBJECT(module_filename_obj, 657, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[59], mod_consts[59], mod_consts[248], mod_consts[242], 5, 0, 0);
codeobj_13463f336a152276781d551cb9729515 = MAKE_CODE_OBJECT(module_filename_obj, 230, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[249], NULL, 4, 0, 0);
codeobj_cd6c61ebb2eee0dfeefa3c2cc823769a = MAKE_CODE_OBJECT(module_filename_obj, 303, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[250], NULL, 2, 0, 0);
codeobj_9249f9bf78a70ccb8db09b8319797ea7 = MAKE_CODE_OBJECT(module_filename_obj, 412, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[59], mod_consts[59], mod_consts[251], mod_consts[242], 2, 0, 0);
codeobj_54b541b1717b0cda18b46b90aa957190 = MAKE_CODE_OBJECT(module_filename_obj, 480, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[207], mod_consts[207], mod_consts[252], NULL, 1, 0, 0);
codeobj_16672d27dc03a5e484b1915e867bc21c = MAKE_CODE_OBJECT(module_filename_obj, 688, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[207], mod_consts[207], mod_consts[252], NULL, 1, 0, 0);
codeobj_7deb6c573e052a684388880bf6691779 = MAKE_CODE_OBJECT(module_filename_obj, 608, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[88], mod_consts[88], mod_consts[253], NULL, 1, 0, 0);
codeobj_b09e83b306b23ae53641acb5ae8158cf = MAKE_CODE_OBJECT(module_filename_obj, 699, CO_NOFREE, mod_consts[94], mod_consts[94], mod_consts[240], NULL, 1, 0, 0);
codeobj_4dbe15cb60522b0557cb20639df28a74 = MAKE_CODE_OBJECT(module_filename_obj, 704, CO_NOFREE, mod_consts[94], mod_consts[94], mod_consts[240], NULL, 1, 0, 0);
codeobj_2d57140a83e294eae07ead9d473e1819 = MAKE_CODE_OBJECT(module_filename_obj, 708, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[94], mod_consts[94], mod_consts[240], NULL, 1, 0, 0);
codeobj_0a5dd36b7026d51024a01f39c435f1c1 = MAKE_CODE_OBJECT(module_filename_obj, 334, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[28], mod_consts[28], mod_consts[254], NULL, 2, 0, 0);
codeobj_7246bf26977cf471bfdd24742fb20580 = MAKE_CODE_OBJECT(module_filename_obj, 262, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[19], mod_consts[19], mod_consts[255], NULL, 2, 0, 0);
codeobj_33031d27abbfeeb93f2e2ca4ff5c2c85 = MAKE_CODE_OBJECT(module_filename_obj, 193, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[256], NULL, 2, 0, 0);
codeobj_5ccd4970bd887cec7a3927cfdf1946c9 = MAKE_CODE_OBJECT(module_filename_obj, 358, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[257], NULL, 2, 0, 0);
codeobj_cddc9a4409a229aca768d6f6933e73e1 = MAKE_CODE_OBJECT(module_filename_obj, 266, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[20], mod_consts[20], mod_consts[252], NULL, 1, 0, 0);
codeobj_1c1a781c02fa7abb611c3c143f3a9767 = MAKE_CODE_OBJECT(module_filename_obj, 279, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[20], mod_consts[20], mod_consts[252], NULL, 1, 0, 0);
codeobj_dcc509491c453da1adce4e4b1e5e69e3 = MAKE_CODE_OBJECT(module_filename_obj, 376, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[46], mod_consts[46], mod_consts[258], NULL, 3, 0, 0);
codeobj_4221ad20103f27d1db7b58bbea07046f = MAKE_CODE_OBJECT(module_filename_obj, 238, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[18], mod_consts[18], mod_consts[259], NULL, 3, 0, 0);
codeobj_97a6b59ba9b23cfaeeace586d37135ac = MAKE_CODE_OBJECT(module_filename_obj, 493, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[260], NULL, 2, 0, 0);
codeobj_07c99970729115936f30b3b0e2185fbc = MAKE_CODE_OBJECT(module_filename_obj, 513, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[260], NULL, 2, 0, 0);
codeobj_b6da99e32de71ff15b066cc206f4441a = MAKE_CODE_OBJECT(module_filename_obj, 528, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[260], NULL, 2, 0, 0);
codeobj_6b2194a25e6d614979c9cfb4b67eca6c = MAKE_CODE_OBJECT(module_filename_obj, 544, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[260], NULL, 2, 0, 0);
codeobj_6d62fd7f9cd20d6735a1975152c10f16 = MAKE_CODE_OBJECT(module_filename_obj, 570, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[261], NULL, 2, 0, 0);
codeobj_ba9f3733649c2744004798f1353bea51 = MAKE_CODE_OBJECT(module_filename_obj, 270, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[21], mod_consts[21], mod_consts[252], NULL, 1, 0, 0);
codeobj_9b8f4da206c9b81778b9f2419f0fc128 = MAKE_CODE_OBJECT(module_filename_obj, 350, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[39], mod_consts[39], mod_consts[262], NULL, 2, 0, 0);
codeobj_2fbce4aaae4c9440ab7644db8c1532ed = MAKE_CODE_OBJECT(module_filename_obj, 416, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[39], mod_consts[39], mod_consts[263], mod_consts[242], 2, 0, 0);
codeobj_a65f42602303f120475810b61a4f01b2 = MAKE_CODE_OBJECT(module_filename_obj, 477, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[264], NULL, 1, 0, 0);
codeobj_25604133780e6db33ba5f48e507868ea = MAKE_CODE_OBJECT(module_filename_obj, 505, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[264], NULL, 1, 0, 0);
codeobj_7a9d1ed04347ae94bf0df246d3aeeef6 = MAKE_CODE_OBJECT(module_filename_obj, 593, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[265], NULL, 1, 0, 0);
codeobj_82a53ec843060ed9834a291a3ca1cbe7 = MAKE_CODE_OBJECT(module_filename_obj, 218, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[65], mod_consts[65], mod_consts[266], NULL, 2, 0, 0);
codeobj_f2b0fb3282b641934ccc0924987b6e08 = MAKE_CODE_OBJECT(module_filename_obj, 428, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[65], mod_consts[65], mod_consts[267], NULL, 2, 0, 0);
codeobj_26c680f4510abe4954cf83365461cec5 = MAKE_CODE_OBJECT(module_filename_obj, 207, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[51], mod_consts[51], mod_consts[268], NULL, 3, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_tornado$routing$$$function__30_match$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__7_complex_call_helper_pos_star_list(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__2_complex_call_helper_star_list(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__6_complex_call_helper_pos_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__10_finish(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__11___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__12_add_rules(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__13_process_rule(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__14_find_handler(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__15_get_target_delegate(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__16___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__17_process_rule(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__18_reverse_url(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__19___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__1_find_handler(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__20_reverse(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__21___repr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__22_match(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__23_reverse(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__24_match(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__25___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__26_match(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__27___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__28_match(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__29___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__2_start_request(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__30_match(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__31_reverse(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__32__find_groups(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__33___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__34___repr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__35__unquote_or_none(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__36__unquote_or_none(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__37__unquote_or_none(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__3_reverse_url(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__4___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__5_headers_received(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__6_data_received(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__7_finish(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__8_on_connection_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__9___init__(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$routing$$$function__1_find_handler(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_request = python_pars[1];
PyObject *par_kwargs = python_pars[2];
struct Nuitka_FrameObject *frame_33031d27abbfeeb93f2e2ca4ff5c2c85;
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_33031d27abbfeeb93f2e2ca4ff5c2c85 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85)) {
Py_XDECREF(cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85);
#if _DEBUG_REFCOUNTS
if (cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85 = MAKE_FUNCTION_FRAME(codeobj_33031d27abbfeeb93f2e2ca4ff5c2c85, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85->m_type_description == NULL);
frame_33031d27abbfeeb93f2e2ca4ff5c2c85 = cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85;
// Push the new frame as the currently active one.
pushFrameStack(frame_33031d27abbfeeb93f2e2ca4ff5c2c85);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_33031d27abbfeeb93f2e2ca4ff5c2c85) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_33031d27abbfeeb93f2e2ca4ff5c2c85->m_frame.f_lineno = 205;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 205;
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_33031d27abbfeeb93f2e2ca4ff5c2c85);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33031d27abbfeeb93f2e2ca4ff5c2c85);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_33031d27abbfeeb93f2e2ca4ff5c2c85, exception_lineno);
} else if (exception_tb->tb_frame != &frame_33031d27abbfeeb93f2e2ca4ff5c2c85->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_33031d27abbfeeb93f2e2ca4ff5c2c85, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_33031d27abbfeeb93f2e2ca4ff5c2c85,
type_description_1,
par_self,
par_request,
par_kwargs
);
// Release cached frame if used for exception.
if (frame_33031d27abbfeeb93f2e2ca4ff5c2c85 == cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85);
cache_frame_33031d27abbfeeb93f2e2ca4ff5c2c85 = NULL;
}
assertFrameObject(frame_33031d27abbfeeb93f2e2ca4ff5c2c85);
// 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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$routing$$$function__2_start_request(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_server_conn = python_pars[1];
PyObject *par_request_conn = python_pars[2];
struct Nuitka_FrameObject *frame_26c680f4510abe4954cf83365461cec5;
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_26c680f4510abe4954cf83365461cec5 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_26c680f4510abe4954cf83365461cec5)) {
Py_XDECREF(cache_frame_26c680f4510abe4954cf83365461cec5);
#if _DEBUG_REFCOUNTS
if (cache_frame_26c680f4510abe4954cf83365461cec5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_26c680f4510abe4954cf83365461cec5 = MAKE_FUNCTION_FRAME(codeobj_26c680f4510abe4954cf83365461cec5, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_26c680f4510abe4954cf83365461cec5->m_type_description == NULL);
frame_26c680f4510abe4954cf83365461cec5 = cache_frame_26c680f4510abe4954cf83365461cec5;
// Push the new frame as the currently active one.
pushFrameStack(frame_26c680f4510abe4954cf83365461cec5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_26c680f4510abe4954cf83365461cec5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[1]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[1]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_server_conn);
tmp_args_element_value_2 = par_server_conn;
CHECK_OBJECT(par_request_conn);
tmp_args_element_value_3 = par_request_conn;
frame_26c680f4510abe4954cf83365461cec5->m_frame.f_lineno = 210;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_26c680f4510abe4954cf83365461cec5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_26c680f4510abe4954cf83365461cec5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_26c680f4510abe4954cf83365461cec5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_26c680f4510abe4954cf83365461cec5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_26c680f4510abe4954cf83365461cec5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_26c680f4510abe4954cf83365461cec5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_26c680f4510abe4954cf83365461cec5,
type_description_1,
par_self,
par_server_conn,
par_request_conn
);
// Release cached frame if used for exception.
if (frame_26c680f4510abe4954cf83365461cec5 == cache_frame_26c680f4510abe4954cf83365461cec5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_26c680f4510abe4954cf83365461cec5);
cache_frame_26c680f4510abe4954cf83365461cec5 = NULL;
}
assertFrameObject(frame_26c680f4510abe4954cf83365461cec5);
// 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_server_conn);
Py_DECREF(par_server_conn);
CHECK_OBJECT(par_request_conn);
Py_DECREF(par_request_conn);
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_server_conn);
Py_DECREF(par_server_conn);
CHECK_OBJECT(par_request_conn);
Py_DECREF(par_request_conn);
// 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$routing$$$function__3_reverse_url(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_args = python_pars[2];
struct Nuitka_FrameObject *frame_82a53ec843060ed9834a291a3ca1cbe7;
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_82a53ec843060ed9834a291a3ca1cbe7 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_82a53ec843060ed9834a291a3ca1cbe7)) {
Py_XDECREF(cache_frame_82a53ec843060ed9834a291a3ca1cbe7);
#if _DEBUG_REFCOUNTS
if (cache_frame_82a53ec843060ed9834a291a3ca1cbe7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_82a53ec843060ed9834a291a3ca1cbe7 = MAKE_FUNCTION_FRAME(codeobj_82a53ec843060ed9834a291a3ca1cbe7, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_82a53ec843060ed9834a291a3ca1cbe7->m_type_description == NULL);
frame_82a53ec843060ed9834a291a3ca1cbe7 = cache_frame_82a53ec843060ed9834a291a3ca1cbe7;
// Push the new frame as the currently active one.
pushFrameStack(frame_82a53ec843060ed9834a291a3ca1cbe7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_82a53ec843060ed9834a291a3ca1cbe7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_82a53ec843060ed9834a291a3ca1cbe7->m_frame.f_lineno = 226;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 226;
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_82a53ec843060ed9834a291a3ca1cbe7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_82a53ec843060ed9834a291a3ca1cbe7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_82a53ec843060ed9834a291a3ca1cbe7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_82a53ec843060ed9834a291a3ca1cbe7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_82a53ec843060ed9834a291a3ca1cbe7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_82a53ec843060ed9834a291a3ca1cbe7,
type_description_1,
par_self,
par_name,
par_args
);
// Release cached frame if used for exception.
if (frame_82a53ec843060ed9834a291a3ca1cbe7 == cache_frame_82a53ec843060ed9834a291a3ca1cbe7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_82a53ec843060ed9834a291a3ca1cbe7);
cache_frame_82a53ec843060ed9834a291a3ca1cbe7 = NULL;
}
assertFrameObject(frame_82a53ec843060ed9834a291a3ca1cbe7);
// 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_args);
Py_DECREF(par_args);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$routing$$$function__4___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_router = python_pars[1];
PyObject *par_server_conn = python_pars[2];
PyObject *par_request_conn = python_pars[3];
struct Nuitka_FrameObject *frame_13463f336a152276781d551cb9729515;
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_13463f336a152276781d551cb9729515 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_13463f336a152276781d551cb9729515)) {
Py_XDECREF(cache_frame_13463f336a152276781d551cb9729515);
#if _DEBUG_REFCOUNTS
if (cache_frame_13463f336a152276781d551cb9729515 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_13463f336a152276781d551cb9729515 = MAKE_FUNCTION_FRAME(codeobj_13463f336a152276781d551cb9729515, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_13463f336a152276781d551cb9729515->m_type_description == NULL);
frame_13463f336a152276781d551cb9729515 = cache_frame_13463f336a152276781d551cb9729515;
// Push the new frame as the currently active one.
pushFrameStack(frame_13463f336a152276781d551cb9729515);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_13463f336a152276781d551cb9729515) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_server_conn);
tmp_assattr_value_1 = par_server_conn;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[3], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_request_conn);
tmp_assattr_value_2 = par_request_conn;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[4], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 234;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[5], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_router);
tmp_assattr_value_4 = par_router;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[6], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_13463f336a152276781d551cb9729515);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_13463f336a152276781d551cb9729515);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_13463f336a152276781d551cb9729515, exception_lineno);
} else if (exception_tb->tb_frame != &frame_13463f336a152276781d551cb9729515->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_13463f336a152276781d551cb9729515, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_13463f336a152276781d551cb9729515,
type_description_1,
par_self,
par_router,
par_server_conn,
par_request_conn
);
// Release cached frame if used for exception.
if (frame_13463f336a152276781d551cb9729515 == cache_frame_13463f336a152276781d551cb9729515) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_13463f336a152276781d551cb9729515);
cache_frame_13463f336a152276781d551cb9729515 = NULL;
}
assertFrameObject(frame_13463f336a152276781d551cb9729515);
// 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_router);
Py_DECREF(par_router);
CHECK_OBJECT(par_server_conn);
Py_DECREF(par_server_conn);
CHECK_OBJECT(par_request_conn);
Py_DECREF(par_request_conn);
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_router);
Py_DECREF(par_router);
CHECK_OBJECT(par_server_conn);
Py_DECREF(par_server_conn);
CHECK_OBJECT(par_request_conn);
Py_DECREF(par_request_conn);
// 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$routing$$$function__5_headers_received(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_start_line = python_pars[1];
PyObject *par_headers = python_pars[2];
PyObject *var_request = NULL;
struct Nuitka_FrameObject *frame_4221ad20103f27d1db7b58bbea07046f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_4221ad20103f27d1db7b58bbea07046f = 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_4221ad20103f27d1db7b58bbea07046f)) {
Py_XDECREF(cache_frame_4221ad20103f27d1db7b58bbea07046f);
#if _DEBUG_REFCOUNTS
if (cache_frame_4221ad20103f27d1db7b58bbea07046f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4221ad20103f27d1db7b58bbea07046f = MAKE_FUNCTION_FRAME(codeobj_4221ad20103f27d1db7b58bbea07046f, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4221ad20103f27d1db7b58bbea07046f->m_type_description == NULL);
frame_4221ad20103f27d1db7b58bbea07046f = cache_frame_4221ad20103f27d1db7b58bbea07046f;
// Push the new frame as the currently active one.
pushFrameStack(frame_4221ad20103f27d1db7b58bbea07046f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4221ad20103f27d1db7b58bbea07046f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_start_line);
tmp_isinstance_inst_1 = par_start_line;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[8]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooo";
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 = 243;
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_2;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_kw_call_value_3_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[9]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[4]);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 245;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_kw_call_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[3]);
if (tmp_kw_call_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
exception_lineno = 246;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_start_line);
tmp_kw_call_value_2_1 = par_start_line;
CHECK_OBJECT(par_headers);
tmp_kw_call_value_3_1 = par_headers;
frame_4221ad20103f27d1db7b58bbea07046f->m_frame.f_lineno = 244;
{
PyObject *kw_values[4] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1, tmp_kw_call_value_3_1};
tmp_assign_source_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[10]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_request == NULL);
var_request = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[6]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_request);
tmp_args_element_value_1 = var_request;
frame_4221ad20103f27d1db7b58bbea07046f->m_frame.f_lineno = 251;
tmp_assattr_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[11], 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 = 251;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[5], 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 = 251;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[5]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_9;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (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 = 253;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[13]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[14];
CHECK_OBJECT(par_start_line);
tmp_expression_value_8 = par_start_line;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[15]);
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 = 255;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_start_line);
tmp_expression_value_9 = par_start_line;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[16]);
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 = 256;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_4221ad20103f27d1db7b58bbea07046f->m_frame.f_lineno = 253;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_assattr_target_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[4]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_4221ad20103f27d1db7b58bbea07046f->m_frame.f_lineno = 258;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
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[5], 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 = 258;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_6;
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[5]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_start_line);
tmp_args_element_value_6 = par_start_line;
CHECK_OBJECT(par_headers);
tmp_args_element_value_7 = par_headers;
frame_4221ad20103f27d1db7b58bbea07046f->m_frame.f_lineno = 260;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[18],
call_args
);
}
Py_DECREF(tmp_called_instance_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4221ad20103f27d1db7b58bbea07046f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4221ad20103f27d1db7b58bbea07046f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4221ad20103f27d1db7b58bbea07046f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4221ad20103f27d1db7b58bbea07046f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4221ad20103f27d1db7b58bbea07046f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4221ad20103f27d1db7b58bbea07046f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4221ad20103f27d1db7b58bbea07046f,
type_description_1,
par_self,
par_start_line,
par_headers,
var_request
);
// Release cached frame if used for exception.
if (frame_4221ad20103f27d1db7b58bbea07046f == cache_frame_4221ad20103f27d1db7b58bbea07046f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4221ad20103f27d1db7b58bbea07046f);
cache_frame_4221ad20103f27d1db7b58bbea07046f = NULL;
}
assertFrameObject(frame_4221ad20103f27d1db7b58bbea07046f);
// 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_request);
Py_DECREF(var_request);
var_request = 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_request);
var_request = 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_start_line);
Py_DECREF(par_start_line);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
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_start_line);
Py_DECREF(par_start_line);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
// 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$routing$$$function__6_data_received(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_chunk = python_pars[1];
struct Nuitka_FrameObject *frame_7246bf26977cf471bfdd24742fb20580;
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_7246bf26977cf471bfdd24742fb20580 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7246bf26977cf471bfdd24742fb20580)) {
Py_XDECREF(cache_frame_7246bf26977cf471bfdd24742fb20580);
#if _DEBUG_REFCOUNTS
if (cache_frame_7246bf26977cf471bfdd24742fb20580 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7246bf26977cf471bfdd24742fb20580 = MAKE_FUNCTION_FRAME(codeobj_7246bf26977cf471bfdd24742fb20580, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7246bf26977cf471bfdd24742fb20580->m_type_description == NULL);
frame_7246bf26977cf471bfdd24742fb20580 = cache_frame_7246bf26977cf471bfdd24742fb20580;
// Push the new frame as the currently active one.
pushFrameStack(frame_7246bf26977cf471bfdd24742fb20580);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7246bf26977cf471bfdd24742fb20580) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 263;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 264;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_chunk);
tmp_args_element_value_1 = par_chunk;
frame_7246bf26977cf471bfdd24742fb20580->m_frame.f_lineno = 264;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[19], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 264;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7246bf26977cf471bfdd24742fb20580);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7246bf26977cf471bfdd24742fb20580);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7246bf26977cf471bfdd24742fb20580);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7246bf26977cf471bfdd24742fb20580, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7246bf26977cf471bfdd24742fb20580->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7246bf26977cf471bfdd24742fb20580, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7246bf26977cf471bfdd24742fb20580,
type_description_1,
par_self,
par_chunk
);
// Release cached frame if used for exception.
if (frame_7246bf26977cf471bfdd24742fb20580 == cache_frame_7246bf26977cf471bfdd24742fb20580) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7246bf26977cf471bfdd24742fb20580);
cache_frame_7246bf26977cf471bfdd24742fb20580 = NULL;
}
assertFrameObject(frame_7246bf26977cf471bfdd24742fb20580);
// 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_chunk);
Py_DECREF(par_chunk);
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_chunk);
Py_DECREF(par_chunk);
// 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$routing$$$function__7_finish(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_cddc9a4409a229aca768d6f6933e73e1;
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_cddc9a4409a229aca768d6f6933e73e1 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cddc9a4409a229aca768d6f6933e73e1)) {
Py_XDECREF(cache_frame_cddc9a4409a229aca768d6f6933e73e1);
#if _DEBUG_REFCOUNTS
if (cache_frame_cddc9a4409a229aca768d6f6933e73e1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cddc9a4409a229aca768d6f6933e73e1 = MAKE_FUNCTION_FRAME(codeobj_cddc9a4409a229aca768d6f6933e73e1, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cddc9a4409a229aca768d6f6933e73e1->m_type_description == NULL);
frame_cddc9a4409a229aca768d6f6933e73e1 = cache_frame_cddc9a4409a229aca768d6f6933e73e1;
// Push the new frame as the currently active one.
pushFrameStack(frame_cddc9a4409a229aca768d6f6933e73e1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cddc9a4409a229aca768d6f6933e73e1) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "o";
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 = 267;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_cddc9a4409a229aca768d6f6933e73e1->m_frame.f_lineno = 268;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[20]);
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 = 268;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cddc9a4409a229aca768d6f6933e73e1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cddc9a4409a229aca768d6f6933e73e1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cddc9a4409a229aca768d6f6933e73e1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cddc9a4409a229aca768d6f6933e73e1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cddc9a4409a229aca768d6f6933e73e1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cddc9a4409a229aca768d6f6933e73e1,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_cddc9a4409a229aca768d6f6933e73e1 == cache_frame_cddc9a4409a229aca768d6f6933e73e1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cddc9a4409a229aca768d6f6933e73e1);
cache_frame_cddc9a4409a229aca768d6f6933e73e1 = NULL;
}
assertFrameObject(frame_cddc9a4409a229aca768d6f6933e73e1);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$routing$$$function__8_on_connection_close(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_ba9f3733649c2744004798f1353bea51;
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_ba9f3733649c2744004798f1353bea51 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ba9f3733649c2744004798f1353bea51)) {
Py_XDECREF(cache_frame_ba9f3733649c2744004798f1353bea51);
#if _DEBUG_REFCOUNTS
if (cache_frame_ba9f3733649c2744004798f1353bea51 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ba9f3733649c2744004798f1353bea51 = MAKE_FUNCTION_FRAME(codeobj_ba9f3733649c2744004798f1353bea51, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ba9f3733649c2744004798f1353bea51->m_type_description == NULL);
frame_ba9f3733649c2744004798f1353bea51 = cache_frame_ba9f3733649c2744004798f1353bea51;
// Push the new frame as the currently active one.
pushFrameStack(frame_ba9f3733649c2744004798f1353bea51);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ba9f3733649c2744004798f1353bea51) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "o";
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 = 271;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_ba9f3733649c2744004798f1353bea51->m_frame.f_lineno = 272;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[21]);
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 = 272;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ba9f3733649c2744004798f1353bea51);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ba9f3733649c2744004798f1353bea51);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ba9f3733649c2744004798f1353bea51, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ba9f3733649c2744004798f1353bea51->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ba9f3733649c2744004798f1353bea51, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ba9f3733649c2744004798f1353bea51,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_ba9f3733649c2744004798f1353bea51 == cache_frame_ba9f3733649c2744004798f1353bea51) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ba9f3733649c2744004798f1353bea51);
cache_frame_ba9f3733649c2744004798f1353bea51 = NULL;
}
assertFrameObject(frame_ba9f3733649c2744004798f1353bea51);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$routing$$$function__9___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_connection = python_pars[1];
struct Nuitka_FrameObject *frame_8a074e3ac99be3bba5ef013855d16541;
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_8a074e3ac99be3bba5ef013855d16541 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8a074e3ac99be3bba5ef013855d16541)) {
Py_XDECREF(cache_frame_8a074e3ac99be3bba5ef013855d16541);
#if _DEBUG_REFCOUNTS
if (cache_frame_8a074e3ac99be3bba5ef013855d16541 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8a074e3ac99be3bba5ef013855d16541 = MAKE_FUNCTION_FRAME(codeobj_8a074e3ac99be3bba5ef013855d16541, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8a074e3ac99be3bba5ef013855d16541->m_type_description == NULL);
frame_8a074e3ac99be3bba5ef013855d16541 = cache_frame_8a074e3ac99be3bba5ef013855d16541;
// Push the new frame as the currently active one.
pushFrameStack(frame_8a074e3ac99be3bba5ef013855d16541);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8a074e3ac99be3bba5ef013855d16541) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_connection);
tmp_assattr_value_1 = par_connection;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[22], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a074e3ac99be3bba5ef013855d16541);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a074e3ac99be3bba5ef013855d16541);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8a074e3ac99be3bba5ef013855d16541, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8a074e3ac99be3bba5ef013855d16541->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8a074e3ac99be3bba5ef013855d16541, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8a074e3ac99be3bba5ef013855d16541,
type_description_1,
par_self,
par_connection
);
// Release cached frame if used for exception.
if (frame_8a074e3ac99be3bba5ef013855d16541 == cache_frame_8a074e3ac99be3bba5ef013855d16541) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8a074e3ac99be3bba5ef013855d16541);
cache_frame_8a074e3ac99be3bba5ef013855d16541 = NULL;
}
assertFrameObject(frame_8a074e3ac99be3bba5ef013855d16541);
// 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_connection);
Py_DECREF(par_connection);
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_connection);
Py_DECREF(par_connection);
// 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$routing$$$function__10_finish(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_1c1a781c02fa7abb611c3c143f3a9767;
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_1c1a781c02fa7abb611c3c143f3a9767 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1c1a781c02fa7abb611c3c143f3a9767)) {
Py_XDECREF(cache_frame_1c1a781c02fa7abb611c3c143f3a9767);
#if _DEBUG_REFCOUNTS
if (cache_frame_1c1a781c02fa7abb611c3c143f3a9767 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1c1a781c02fa7abb611c3c143f3a9767 = MAKE_FUNCTION_FRAME(codeobj_1c1a781c02fa7abb611c3c143f3a9767, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1c1a781c02fa7abb611c3c143f3a9767->m_type_description == NULL);
frame_1c1a781c02fa7abb611c3c143f3a9767 = cache_frame_1c1a781c02fa7abb611c3c143f3a9767;
// Push the new frame as the currently active one.
pushFrameStack(frame_1c1a781c02fa7abb611c3c143f3a9767);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1c1a781c02fa7abb611c3c143f3a9767) == 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_called_instance_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[22]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[23]);
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 = 280;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 281;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1c1a781c02fa7abb611c3c143f3a9767->m_frame.f_lineno = 281;
tmp_args_element_value_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[24],
&PyTuple_GET_ITEM(mod_consts[25], 0)
);
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 = 281;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_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 = 282;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1c1a781c02fa7abb611c3c143f3a9767->m_frame.f_lineno = 282;
tmp_args_element_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[26]);
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 = 282;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1c1a781c02fa7abb611c3c143f3a9767->m_frame.f_lineno = 280;
{
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 = 280;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[22]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1c1a781c02fa7abb611c3c143f3a9767->m_frame.f_lineno = 284;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[20]);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1c1a781c02fa7abb611c3c143f3a9767);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1c1a781c02fa7abb611c3c143f3a9767);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1c1a781c02fa7abb611c3c143f3a9767, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1c1a781c02fa7abb611c3c143f3a9767->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1c1a781c02fa7abb611c3c143f3a9767, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1c1a781c02fa7abb611c3c143f3a9767,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_1c1a781c02fa7abb611c3c143f3a9767 == cache_frame_1c1a781c02fa7abb611c3c143f3a9767) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1c1a781c02fa7abb611c3c143f3a9767);
cache_frame_1c1a781c02fa7abb611c3c143f3a9767 = NULL;
}
assertFrameObject(frame_1c1a781c02fa7abb611c3c143f3a9767);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$routing$$$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_rules = python_pars[1];
struct Nuitka_FrameObject *frame_cd6c61ebb2eee0dfeefa3c2cc823769a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a)) {
Py_XDECREF(cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
#if _DEBUG_REFCOUNTS
if (cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a = MAKE_FUNCTION_FRAME(codeobj_cd6c61ebb2eee0dfeefa3c2cc823769a, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a->m_type_description == NULL);
frame_cd6c61ebb2eee0dfeefa3c2cc823769a = cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a;
// Push the new frame as the currently active one.
pushFrameStack(frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cd6c61ebb2eee0dfeefa3c2cc823769a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = MAKE_LIST_EMPTY(0);
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[27], 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 = 330;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_rules);
tmp_truth_name_1 = CHECK_IF_TRUE(par_rules);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_rules);
tmp_args_element_value_1 = par_rules;
frame_cd6c61ebb2eee0dfeefa3c2cc823769a->m_frame.f_lineno = 332;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[28], 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 = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cd6c61ebb2eee0dfeefa3c2cc823769a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cd6c61ebb2eee0dfeefa3c2cc823769a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cd6c61ebb2eee0dfeefa3c2cc823769a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cd6c61ebb2eee0dfeefa3c2cc823769a,
type_description_1,
par_self,
par_rules
);
// Release cached frame if used for exception.
if (frame_cd6c61ebb2eee0dfeefa3c2cc823769a == cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
cache_frame_cd6c61ebb2eee0dfeefa3c2cc823769a = NULL;
}
assertFrameObject(frame_cd6c61ebb2eee0dfeefa3c2cc823769a);
// 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_rules);
Py_DECREF(par_rules);
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_rules);
Py_DECREF(par_rules);
// 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$routing$$$function__12_add_rules(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_rules = python_pars[1];
PyObject *var_rule = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_0a5dd36b7026d51024a01f39c435f1c1;
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;
static struct Nuitka_FrameObject *cache_frame_0a5dd36b7026d51024a01f39c435f1c1 = 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_0a5dd36b7026d51024a01f39c435f1c1)) {
Py_XDECREF(cache_frame_0a5dd36b7026d51024a01f39c435f1c1);
#if _DEBUG_REFCOUNTS
if (cache_frame_0a5dd36b7026d51024a01f39c435f1c1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0a5dd36b7026d51024a01f39c435f1c1 = MAKE_FUNCTION_FRAME(codeobj_0a5dd36b7026d51024a01f39c435f1c1, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0a5dd36b7026d51024a01f39c435f1c1->m_type_description == NULL);
frame_0a5dd36b7026d51024a01f39c435f1c1 = cache_frame_0a5dd36b7026d51024a01f39c435f1c1;
// Push the new frame as the currently active one.
pushFrameStack(frame_0a5dd36b7026d51024a01f39c435f1c1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0a5dd36b7026d51024a01f39c435f1c1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_rules);
tmp_iter_arg_1 = par_rules;
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
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 = 340;
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_rule;
var_rule = tmp_assign_source_3;
Py_INCREF(var_rule);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_rule);
tmp_isinstance_inst_1 = var_rule;
tmp_isinstance_cls_1 = mod_consts[30];
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 = 341;
type_description_1 = "ooo";
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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_rule);
tmp_len_arg_1 = var_rule;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = mod_consts[31];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "ooo";
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;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 342;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto try_except_handler_2;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_rule);
tmp_expression_value_1 = var_rule;
tmp_subscript_value_1 = mod_consts[32];
tmp_isinstance_inst_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_isinstance_inst_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_isinstance_inst_2);
exception_lineno = 343;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
Py_DECREF(tmp_isinstance_inst_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_3;
tmp_dircall_arg1_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[34]);
if (unlikely(tmp_dircall_arg1_1 == NULL)) {
tmp_dircall_arg1_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]);
}
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_rule);
tmp_expression_value_2 = var_rule;
tmp_subscript_value_2 = mod_consts[32];
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_2, 0);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_0a5dd36b7026d51024a01f39c435f1c1->m_frame.f_lineno = 344;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_rule);
tmp_expression_value_3 = var_rule;
tmp_subscript_value_3 = mod_consts[36];
tmp_dircall_arg3_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_3);
if (tmp_dircall_arg3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg2_1);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assign_source_4 = impl___main__$$$function__7_complex_call_helper_pos_star_list(dir_call_args);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = var_rule;
assert(old != NULL);
var_rule = tmp_assign_source_4;
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_dircall_arg2_2;
tmp_dircall_arg1_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[34]);
if (unlikely(tmp_dircall_arg1_2 == NULL)) {
tmp_dircall_arg1_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]);
}
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_rule);
tmp_dircall_arg2_2 = var_rule;
Py_INCREF(tmp_dircall_arg1_2);
Py_INCREF(tmp_dircall_arg2_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2};
tmp_assign_source_5 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = var_rule;
assert(old != NULL);
var_rule = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_end_3:;
branch_no_1:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 348;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[27]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[38]);
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 = 348;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 348;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_rule);
tmp_args_element_value_3 = var_rule;
frame_0a5dd36b7026d51024a01f39c435f1c1->m_frame.f_lineno = 348;
tmp_args_element_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[39], tmp_args_element_value_3);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 348;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_0a5dd36b7026d51024a01f39c435f1c1->m_frame.f_lineno = 348;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
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 = 340;
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_0a5dd36b7026d51024a01f39c435f1c1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0a5dd36b7026d51024a01f39c435f1c1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0a5dd36b7026d51024a01f39c435f1c1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0a5dd36b7026d51024a01f39c435f1c1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0a5dd36b7026d51024a01f39c435f1c1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0a5dd36b7026d51024a01f39c435f1c1,
type_description_1,
par_self,
par_rules,
var_rule
);
// Release cached frame if used for exception.
if (frame_0a5dd36b7026d51024a01f39c435f1c1 == cache_frame_0a5dd36b7026d51024a01f39c435f1c1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0a5dd36b7026d51024a01f39c435f1c1);
cache_frame_0a5dd36b7026d51024a01f39c435f1c1 = NULL;
}
assertFrameObject(frame_0a5dd36b7026d51024a01f39c435f1c1);
// 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_rule);
var_rule = 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_rule);
var_rule = 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_rules);
Py_DECREF(par_rules);
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_rules);
Py_DECREF(par_rules);
// 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$routing$$$function__13_process_rule(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_rule = python_pars[1];
PyObject *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_rule);
tmp_return_value = par_rule;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_rule);
Py_DECREF(par_rule);
// 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$routing$$$function__14_find_handler(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_request = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_rule = NULL;
PyObject *var_target_params = NULL;
PyObject *var_delegate = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_5ccd4970bd887cec7a3927cfdf1946c9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *tmp_return_value = NULL;
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_5ccd4970bd887cec7a3927cfdf1946c9 = 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_5ccd4970bd887cec7a3927cfdf1946c9)) {
Py_XDECREF(cache_frame_5ccd4970bd887cec7a3927cfdf1946c9);
#if _DEBUG_REFCOUNTS
if (cache_frame_5ccd4970bd887cec7a3927cfdf1946c9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5ccd4970bd887cec7a3927cfdf1946c9 = MAKE_FUNCTION_FRAME(codeobj_5ccd4970bd887cec7a3927cfdf1946c9, module_tornado$routing, 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_5ccd4970bd887cec7a3927cfdf1946c9->m_type_description == NULL);
frame_5ccd4970bd887cec7a3927cfdf1946c9 = cache_frame_5ccd4970bd887cec7a3927cfdf1946c9;
// Push the new frame as the currently active one.
pushFrameStack(frame_5ccd4970bd887cec7a3927cfdf1946c9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5ccd4970bd887cec7a3927cfdf1946c9) == 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[27]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "oooooo";
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 = 361;
type_description_1 = "oooooo";
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 = "oooooo";
exception_lineno = 361;
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_rule;
var_rule = tmp_assign_source_3;
Py_INCREF(var_rule);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_rule);
tmp_expression_value_3 = var_rule;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[42]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[43]);
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 = 362;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (par_request == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 362;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = par_request;
frame_5ccd4970bd887cec7a3927cfdf1946c9->m_frame.f_lineno = 362;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_target_params;
var_target_params = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_target_params);
tmp_cmp_expr_left_1 = var_target_params;
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:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_rule);
tmp_expression_value_4 = var_rule;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[45]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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 = 364;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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_ass_subvalue_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_rule);
tmp_expression_value_5 = var_rule;
tmp_ass_subvalue_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[45]);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_target_params);
tmp_ass_subscribed_1 = var_target_params;
tmp_ass_subscript_1 = mod_consts[45];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_dircall_arg3_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[37]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 367;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = par_self;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[46]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_rule);
tmp_expression_value_7 = var_rule;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[47]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
exception_lineno = 368;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
if (par_request == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[44]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 368;
type_description_1 = "oooooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = par_request;
PyTuple_SET_ITEM0(tmp_dircall_arg2_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_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
if (var_target_params == NULL) {
Py_DECREF(tmp_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[48]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 368;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_dircall_arg3_1 = var_target_params;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assign_source_5 = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_delegate;
var_delegate = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_delegate);
tmp_cmp_expr_left_2 = var_delegate;
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:;
CHECK_OBJECT(var_delegate);
tmp_return_value = var_delegate;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_3:;
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5ccd4970bd887cec7a3927cfdf1946c9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5ccd4970bd887cec7a3927cfdf1946c9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5ccd4970bd887cec7a3927cfdf1946c9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5ccd4970bd887cec7a3927cfdf1946c9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5ccd4970bd887cec7a3927cfdf1946c9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5ccd4970bd887cec7a3927cfdf1946c9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5ccd4970bd887cec7a3927cfdf1946c9,
type_description_1,
par_self,
par_request,
par_kwargs,
var_rule,
var_target_params,
var_delegate
);
// Release cached frame if used for exception.
if (frame_5ccd4970bd887cec7a3927cfdf1946c9 == cache_frame_5ccd4970bd887cec7a3927cfdf1946c9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5ccd4970bd887cec7a3927cfdf1946c9);
cache_frame_5ccd4970bd887cec7a3927cfdf1946c9 = NULL;
}
assertFrameObject(frame_5ccd4970bd887cec7a3927cfdf1946c9);
// 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_rule);
var_rule = NULL;
Py_XDECREF(var_target_params);
var_target_params = NULL;
Py_XDECREF(var_delegate);
var_delegate = 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_rule);
var_rule = NULL;
Py_XDECREF(var_target_params);
var_target_params = NULL;
Py_XDECREF(var_delegate);
var_delegate = 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_request);
Py_DECREF(par_request);
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_request);
Py_DECREF(par_request);
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$routing$$$function__15_get_target_delegate(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_target = python_pars[1];
PyObject *par_request = python_pars[2];
PyObject *par_target_params = python_pars[3];
struct Nuitka_FrameObject *frame_dcc509491c453da1adce4e4b1e5e69e3;
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_dcc509491c453da1adce4e4b1e5e69e3 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_dcc509491c453da1adce4e4b1e5e69e3)) {
Py_XDECREF(cache_frame_dcc509491c453da1adce4e4b1e5e69e3);
#if _DEBUG_REFCOUNTS
if (cache_frame_dcc509491c453da1adce4e4b1e5e69e3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dcc509491c453da1adce4e4b1e5e69e3 = MAKE_FUNCTION_FRAME(codeobj_dcc509491c453da1adce4e4b1e5e69e3, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dcc509491c453da1adce4e4b1e5e69e3->m_type_description == NULL);
frame_dcc509491c453da1adce4e4b1e5e69e3 = cache_frame_dcc509491c453da1adce4e4b1e5e69e3;
// Push the new frame as the currently active one.
pushFrameStack(frame_dcc509491c453da1adce4e4b1e5e69e3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dcc509491c453da1adce4e4b1e5e69e3) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_target);
tmp_isinstance_inst_1 = par_target;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "oooo";
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 = 388;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(par_target);
tmp_expression_value_1 = par_target;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_tuple_element_1 = par_request;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_target_params);
tmp_dircall_arg3_1 = par_target_params;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_target);
tmp_isinstance_inst_2 = par_target;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[50]);
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
Py_DECREF(tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_request);
tmp_expression_value_3 = par_request;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[22]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 392;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
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_target);
tmp_expression_value_4 = par_target;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[51]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_5 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[52]);
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 = 393;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_6 = par_request;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[22]);
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 = 393;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dcc509491c453da1adce4e4b1e5e69e3->m_frame.f_lineno = 393;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
int tmp_truth_name_1;
tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[53]);
assert(tmp_called_value_2 != NULL);
CHECK_OBJECT(par_target);
tmp_args_element_value_3 = par_target;
frame_dcc509491c453da1adce4e4b1e5e69e3->m_frame.f_lineno = 395;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, 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 = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_request);
tmp_expression_value_7 = par_request;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[22]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
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 = 396;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_5:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_8;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_dircall_arg1_2 == NULL)) {
tmp_dircall_arg1_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
assert(!(tmp_dircall_arg1_2 == NULL));
CHECK_OBJECT(par_target);
tmp_tuple_element_2 = par_target;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_target_params);
tmp_dircall_arg3_2 = par_target_params;
Py_INCREF(tmp_dircall_arg1_2);
Py_INCREF(tmp_dircall_arg3_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2};
tmp_args_element_value_4 = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_8 = par_request;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[22]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 398;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dcc509491c453da1adce4e4b1e5e69e3->m_frame.f_lineno = 397;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_4:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dcc509491c453da1adce4e4b1e5e69e3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dcc509491c453da1adce4e4b1e5e69e3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dcc509491c453da1adce4e4b1e5e69e3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dcc509491c453da1adce4e4b1e5e69e3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dcc509491c453da1adce4e4b1e5e69e3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dcc509491c453da1adce4e4b1e5e69e3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dcc509491c453da1adce4e4b1e5e69e3,
type_description_1,
par_self,
par_target,
par_request,
par_target_params
);
// Release cached frame if used for exception.
if (frame_dcc509491c453da1adce4e4b1e5e69e3 == cache_frame_dcc509491c453da1adce4e4b1e5e69e3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dcc509491c453da1adce4e4b1e5e69e3);
cache_frame_dcc509491c453da1adce4e4b1e5e69e3 = NULL;
}
assertFrameObject(frame_dcc509491c453da1adce4e4b1e5e69e3);
// 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_target);
Py_DECREF(par_target);
CHECK_OBJECT(par_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_target_params);
Py_DECREF(par_target_params);
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_target);
Py_DECREF(par_target);
CHECK_OBJECT(par_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_target_params);
Py_DECREF(par_target_params);
// 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$routing$$$function__16___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_rules = python_pars[1];
struct Nuitka_FrameObject *frame_9249f9bf78a70ccb8db09b8319797ea7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_9249f9bf78a70ccb8db09b8319797ea7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9249f9bf78a70ccb8db09b8319797ea7)) {
Py_XDECREF(cache_frame_9249f9bf78a70ccb8db09b8319797ea7);
#if _DEBUG_REFCOUNTS
if (cache_frame_9249f9bf78a70ccb8db09b8319797ea7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9249f9bf78a70ccb8db09b8319797ea7 = MAKE_FUNCTION_FRAME(codeobj_9249f9bf78a70ccb8db09b8319797ea7, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9249f9bf78a70ccb8db09b8319797ea7->m_type_description == NULL);
frame_9249f9bf78a70ccb8db09b8319797ea7 = cache_frame_9249f9bf78a70ccb8db09b8319797ea7;
// Push the new frame as the currently active one.
pushFrameStack(frame_9249f9bf78a70ccb8db09b8319797ea7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9249f9bf78a70ccb8db09b8319797ea7) == 2); // Frame stack
// Framed 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[57], 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 = 413;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 414;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$routing, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_rules);
tmp_args_element_value_1 = par_rules;
frame_9249f9bf78a70ccb8db09b8319797ea7->m_frame.f_lineno = 414;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[59], tmp_args_element_value_1);
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 = 414;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9249f9bf78a70ccb8db09b8319797ea7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9249f9bf78a70ccb8db09b8319797ea7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9249f9bf78a70ccb8db09b8319797ea7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9249f9bf78a70ccb8db09b8319797ea7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9249f9bf78a70ccb8db09b8319797ea7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9249f9bf78a70ccb8db09b8319797ea7,
type_description_1,
par_self,
par_rules,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_9249f9bf78a70ccb8db09b8319797ea7 == cache_frame_9249f9bf78a70ccb8db09b8319797ea7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9249f9bf78a70ccb8db09b8319797ea7);
cache_frame_9249f9bf78a70ccb8db09b8319797ea7 = NULL;
}
assertFrameObject(frame_9249f9bf78a70ccb8db09b8319797ea7);
// 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_rules);
Py_DECREF(par_rules);
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_rules);
Py_DECREF(par_rules);
// 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$routing$$$function__17_process_rule(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_rule = python_pars[1];
struct Nuitka_FrameObject *frame_2fbce4aaae4c9440ab7644db8c1532ed;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_2fbce4aaae4c9440ab7644db8c1532ed = 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_2fbce4aaae4c9440ab7644db8c1532ed)) {
Py_XDECREF(cache_frame_2fbce4aaae4c9440ab7644db8c1532ed);
#if _DEBUG_REFCOUNTS
if (cache_frame_2fbce4aaae4c9440ab7644db8c1532ed == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2fbce4aaae4c9440ab7644db8c1532ed = MAKE_FUNCTION_FRAME(codeobj_2fbce4aaae4c9440ab7644db8c1532ed, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2fbce4aaae4c9440ab7644db8c1532ed->m_type_description == NULL);
frame_2fbce4aaae4c9440ab7644db8c1532ed = cache_frame_2fbce4aaae4c9440ab7644db8c1532ed;
// Push the new frame as the currently active one.
pushFrameStack(frame_2fbce4aaae4c9440ab7644db8c1532ed);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2fbce4aaae4c9440ab7644db8c1532ed) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 417;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$routing, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_rule);
tmp_args_element_value_1 = par_rule;
frame_2fbce4aaae4c9440ab7644db8c1532ed->m_frame.f_lineno = 417;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[39], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_rule;
assert(old != NULL);
par_rule = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_rule);
tmp_expression_value_1 = par_rule;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooc";
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 = 419;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_rule);
tmp_expression_value_2 = par_rule;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[60]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[57]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 420;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_5;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (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 = 421;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[61]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[62];
CHECK_OBJECT(par_rule);
tmp_expression_value_5 = par_rule;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[60]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 422;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_2fbce4aaae4c9440ab7644db8c1532ed->m_frame.f_lineno = 421;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
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_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_rule);
tmp_ass_subvalue_1 = par_rule;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[57]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_rule);
tmp_expression_value_7 = par_rule;
tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[60]);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 424;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
Py_DECREF(tmp_ass_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2fbce4aaae4c9440ab7644db8c1532ed);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2fbce4aaae4c9440ab7644db8c1532ed);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2fbce4aaae4c9440ab7644db8c1532ed, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2fbce4aaae4c9440ab7644db8c1532ed->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2fbce4aaae4c9440ab7644db8c1532ed, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2fbce4aaae4c9440ab7644db8c1532ed,
type_description_1,
par_self,
par_rule,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_2fbce4aaae4c9440ab7644db8c1532ed == cache_frame_2fbce4aaae4c9440ab7644db8c1532ed) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2fbce4aaae4c9440ab7644db8c1532ed);
cache_frame_2fbce4aaae4c9440ab7644db8c1532ed = NULL;
}
assertFrameObject(frame_2fbce4aaae4c9440ab7644db8c1532ed);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_rule);
tmp_return_value = par_rule;
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_rule);
Py_DECREF(par_rule);
par_rule = 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_rule);
par_rule = 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);
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$routing$$$function__18_reverse_url(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_args = python_pars[2];
PyObject *var_rule = NULL;
PyObject *var_reversed_url = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_f2b0fb3282b641934ccc0924987b6e08;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_f2b0fb3282b641934ccc0924987b6e08 = 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_f2b0fb3282b641934ccc0924987b6e08)) {
Py_XDECREF(cache_frame_f2b0fb3282b641934ccc0924987b6e08);
#if _DEBUG_REFCOUNTS
if (cache_frame_f2b0fb3282b641934ccc0924987b6e08 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f2b0fb3282b641934ccc0924987b6e08 = MAKE_FUNCTION_FRAME(codeobj_f2b0fb3282b641934ccc0924987b6e08, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f2b0fb3282b641934ccc0924987b6e08->m_type_description == NULL);
frame_f2b0fb3282b641934ccc0924987b6e08 = cache_frame_f2b0fb3282b641934ccc0924987b6e08;
// Push the new frame as the currently active one.
pushFrameStack(frame_f2b0fb3282b641934ccc0924987b6e08);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f2b0fb3282b641934ccc0924987b6e08) == 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_name);
tmp_cmp_expr_left_1 = par_name;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[57]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_dircall_arg2_1;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[57]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_subscript_value_1 = par_name;
tmp_expression_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[42]);
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 = 430;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[63]);
Py_DECREF(tmp_expression_value_2);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_return_value = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[27]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 432;
type_description_1 = "ooooo";
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 = 432;
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_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 = "ooooo";
exception_lineno = 432;
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_rule;
var_rule = tmp_assign_source_3;
Py_INCREF(var_rule);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_rule);
tmp_expression_value_7 = var_rule;
tmp_isinstance_inst_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[47]);
if (tmp_isinstance_inst_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_isinstance_inst_1);
exception_lineno = 433;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_inst_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(var_rule);
tmp_expression_value_9 = var_rule;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[47]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[65]);
Py_DECREF(tmp_expression_value_8);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_name);
tmp_tuple_element_1 = par_name;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_args);
tmp_dircall_arg3_1 = par_args;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_1};
tmp_assign_source_4 = impl___main__$$$function__7_complex_call_helper_pos_star_list(dir_call_args);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_reversed_url;
var_reversed_url = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_reversed_url);
tmp_cmp_expr_left_2 = var_reversed_url;
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:;
CHECK_OBJECT(var_reversed_url);
tmp_return_value = var_reversed_url;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_3:;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 432;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f2b0fb3282b641934ccc0924987b6e08);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f2b0fb3282b641934ccc0924987b6e08);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f2b0fb3282b641934ccc0924987b6e08);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f2b0fb3282b641934ccc0924987b6e08, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f2b0fb3282b641934ccc0924987b6e08->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f2b0fb3282b641934ccc0924987b6e08, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f2b0fb3282b641934ccc0924987b6e08,
type_description_1,
par_self,
par_name,
par_args,
var_rule,
var_reversed_url
);
// Release cached frame if used for exception.
if (frame_f2b0fb3282b641934ccc0924987b6e08 == cache_frame_f2b0fb3282b641934ccc0924987b6e08) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f2b0fb3282b641934ccc0924987b6e08);
cache_frame_f2b0fb3282b641934ccc0924987b6e08 = NULL;
}
assertFrameObject(frame_f2b0fb3282b641934ccc0924987b6e08);
// 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_rule);
var_rule = NULL;
Py_XDECREF(var_reversed_url);
var_reversed_url = 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_rule);
var_rule = NULL;
Py_XDECREF(var_reversed_url);
var_reversed_url = 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_name);
Py_DECREF(par_name);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
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$routing$$$function__19___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_matcher = python_pars[1];
PyObject *par_target = python_pars[2];
PyObject *par_target_kwargs = python_pars[3];
PyObject *par_name = python_pars[4];
struct Nuitka_FrameObject *frame_986a138e2fb0ffea7c8b96b27ac24f56;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_986a138e2fb0ffea7c8b96b27ac24f56 = 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_986a138e2fb0ffea7c8b96b27ac24f56)) {
Py_XDECREF(cache_frame_986a138e2fb0ffea7c8b96b27ac24f56);
#if _DEBUG_REFCOUNTS
if (cache_frame_986a138e2fb0ffea7c8b96b27ac24f56 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_986a138e2fb0ffea7c8b96b27ac24f56 = MAKE_FUNCTION_FRAME(codeobj_986a138e2fb0ffea7c8b96b27ac24f56, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_986a138e2fb0ffea7c8b96b27ac24f56->m_type_description == NULL);
frame_986a138e2fb0ffea7c8b96b27ac24f56 = cache_frame_986a138e2fb0ffea7c8b96b27ac24f56;
// Push the new frame as the currently active one.
pushFrameStack(frame_986a138e2fb0ffea7c8b96b27ac24f56);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_986a138e2fb0ffea7c8b96b27ac24f56) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_target);
tmp_isinstance_inst_1 = par_target;
tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "ooooo";
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_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[66]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[66]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_target);
tmp_args_element_value_1 = par_target;
frame_986a138e2fb0ffea7c8b96b27ac24f56->m_frame.f_lineno = 470;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_target;
assert(old != NULL);
par_target = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_matcher);
tmp_assattr_value_1 = par_matcher;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[42], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_target);
tmp_assattr_value_2 = par_target;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[47], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 473;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_target_kwargs);
tmp_truth_name_1 = CHECK_IF_TRUE(par_target_kwargs);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "ooooo";
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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_target_kwargs);
tmp_assattr_value_3 = par_target_kwargs;
Py_INCREF(tmp_assattr_value_3);
goto condexpr_end_1;
condexpr_false_1:;
tmp_assattr_value_3 = MAKE_DICT_EMPTY();
condexpr_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[45], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_name);
tmp_assattr_value_4 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[60], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_986a138e2fb0ffea7c8b96b27ac24f56);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_986a138e2fb0ffea7c8b96b27ac24f56);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_986a138e2fb0ffea7c8b96b27ac24f56, exception_lineno);
} else if (exception_tb->tb_frame != &frame_986a138e2fb0ffea7c8b96b27ac24f56->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_986a138e2fb0ffea7c8b96b27ac24f56, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_986a138e2fb0ffea7c8b96b27ac24f56,
type_description_1,
par_self,
par_matcher,
par_target,
par_target_kwargs,
par_name
);
// Release cached frame if used for exception.
if (frame_986a138e2fb0ffea7c8b96b27ac24f56 == cache_frame_986a138e2fb0ffea7c8b96b27ac24f56) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_986a138e2fb0ffea7c8b96b27ac24f56);
cache_frame_986a138e2fb0ffea7c8b96b27ac24f56 = NULL;
}
assertFrameObject(frame_986a138e2fb0ffea7c8b96b27ac24f56);
// 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_target);
Py_DECREF(par_target);
par_target = 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_target);
par_target = 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_matcher);
Py_DECREF(par_matcher);
CHECK_OBJECT(par_target_kwargs);
Py_DECREF(par_target_kwargs);
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_matcher);
Py_DECREF(par_matcher);
CHECK_OBJECT(par_target_kwargs);
Py_DECREF(par_target_kwargs);
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$routing$$$function__20_reverse(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
struct Nuitka_FrameObject *frame_a65f42602303f120475810b61a4f01b2;
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_a65f42602303f120475810b61a4f01b2 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a65f42602303f120475810b61a4f01b2)) {
Py_XDECREF(cache_frame_a65f42602303f120475810b61a4f01b2);
#if _DEBUG_REFCOUNTS
if (cache_frame_a65f42602303f120475810b61a4f01b2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a65f42602303f120475810b61a4f01b2 = MAKE_FUNCTION_FRAME(codeobj_a65f42602303f120475810b61a4f01b2, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a65f42602303f120475810b61a4f01b2->m_type_description == NULL);
frame_a65f42602303f120475810b61a4f01b2 = cache_frame_a65f42602303f120475810b61a4f01b2;
// Push the new frame as the currently active one.
pushFrameStack(frame_a65f42602303f120475810b61a4f01b2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a65f42602303f120475810b61a4f01b2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg2_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[42]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[63]);
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 = 478;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_return_value = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a65f42602303f120475810b61a4f01b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a65f42602303f120475810b61a4f01b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a65f42602303f120475810b61a4f01b2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a65f42602303f120475810b61a4f01b2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a65f42602303f120475810b61a4f01b2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a65f42602303f120475810b61a4f01b2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a65f42602303f120475810b61a4f01b2,
type_description_1,
par_self,
par_args
);
// Release cached frame if used for exception.
if (frame_a65f42602303f120475810b61a4f01b2 == cache_frame_a65f42602303f120475810b61a4f01b2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a65f42602303f120475810b61a4f01b2);
cache_frame_a65f42602303f120475810b61a4f01b2 = NULL;
}
assertFrameObject(frame_a65f42602303f120475810b61a4f01b2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
// 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$routing$$$function__21___repr__(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_54b541b1717b0cda18b46b90aa957190;
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_54b541b1717b0cda18b46b90aa957190 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_54b541b1717b0cda18b46b90aa957190)) {
Py_XDECREF(cache_frame_54b541b1717b0cda18b46b90aa957190);
#if _DEBUG_REFCOUNTS
if (cache_frame_54b541b1717b0cda18b46b90aa957190 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_54b541b1717b0cda18b46b90aa957190 = MAKE_FUNCTION_FRAME(codeobj_54b541b1717b0cda18b46b90aa957190, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_54b541b1717b0cda18b46b90aa957190->m_type_description == NULL);
frame_54b541b1717b0cda18b46b90aa957190 = cache_frame_54b541b1717b0cda18b46b90aa957190;
// Push the new frame as the currently active one.
pushFrameStack(frame_54b541b1717b0cda18b46b90aa957190);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_54b541b1717b0cda18b46b90aa957190) == 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;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[68];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[69]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, 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[42]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
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_4 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[47]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[45]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 3, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[60]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_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 = 481;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_54b541b1717b0cda18b46b90aa957190);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_54b541b1717b0cda18b46b90aa957190);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_54b541b1717b0cda18b46b90aa957190);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_54b541b1717b0cda18b46b90aa957190, exception_lineno);
} else if (exception_tb->tb_frame != &frame_54b541b1717b0cda18b46b90aa957190->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_54b541b1717b0cda18b46b90aa957190, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_54b541b1717b0cda18b46b90aa957190,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_54b541b1717b0cda18b46b90aa957190 == cache_frame_54b541b1717b0cda18b46b90aa957190) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_54b541b1717b0cda18b46b90aa957190);
cache_frame_54b541b1717b0cda18b46b90aa957190 = NULL;
}
assertFrameObject(frame_54b541b1717b0cda18b46b90aa957190);
// 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$routing$$$function__22_match(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_request = python_pars[1];
struct Nuitka_FrameObject *frame_97a6b59ba9b23cfaeeace586d37135ac;
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_97a6b59ba9b23cfaeeace586d37135ac = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_97a6b59ba9b23cfaeeace586d37135ac)) {
Py_XDECREF(cache_frame_97a6b59ba9b23cfaeeace586d37135ac);
#if _DEBUG_REFCOUNTS
if (cache_frame_97a6b59ba9b23cfaeeace586d37135ac == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_97a6b59ba9b23cfaeeace586d37135ac = MAKE_FUNCTION_FRAME(codeobj_97a6b59ba9b23cfaeeace586d37135ac, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_97a6b59ba9b23cfaeeace586d37135ac->m_type_description == NULL);
frame_97a6b59ba9b23cfaeeace586d37135ac = cache_frame_97a6b59ba9b23cfaeeace586d37135ac;
// Push the new frame as the currently active one.
pushFrameStack(frame_97a6b59ba9b23cfaeeace586d37135ac);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_97a6b59ba9b23cfaeeace586d37135ac) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_97a6b59ba9b23cfaeeace586d37135ac->m_frame.f_lineno = 503;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 503;
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_97a6b59ba9b23cfaeeace586d37135ac);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_97a6b59ba9b23cfaeeace586d37135ac);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_97a6b59ba9b23cfaeeace586d37135ac, exception_lineno);
} else if (exception_tb->tb_frame != &frame_97a6b59ba9b23cfaeeace586d37135ac->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_97a6b59ba9b23cfaeeace586d37135ac, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_97a6b59ba9b23cfaeeace586d37135ac,
type_description_1,
par_self,
par_request
);
// Release cached frame if used for exception.
if (frame_97a6b59ba9b23cfaeeace586d37135ac == cache_frame_97a6b59ba9b23cfaeeace586d37135ac) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_97a6b59ba9b23cfaeeace586d37135ac);
cache_frame_97a6b59ba9b23cfaeeace586d37135ac = NULL;
}
assertFrameObject(frame_97a6b59ba9b23cfaeeace586d37135ac);
// 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_request);
Py_DECREF(par_request);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$routing$$$function__24_match(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_request = python_pars[1];
PyObject *tmp_return_value = NULL;
// Actual function body.
tmp_return_value = MAKE_DICT_EMPTY();
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_request);
Py_DECREF(par_request);
// 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$routing$$$function__25___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_host_pattern = python_pars[1];
struct Nuitka_FrameObject *frame_1990dcbce6078ff28496a710cbe8b322;
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_1990dcbce6078ff28496a710cbe8b322 = 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_1990dcbce6078ff28496a710cbe8b322)) {
Py_XDECREF(cache_frame_1990dcbce6078ff28496a710cbe8b322);
#if _DEBUG_REFCOUNTS
if (cache_frame_1990dcbce6078ff28496a710cbe8b322 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1990dcbce6078ff28496a710cbe8b322 = MAKE_FUNCTION_FRAME(codeobj_1990dcbce6078ff28496a710cbe8b322, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1990dcbce6078ff28496a710cbe8b322->m_type_description == NULL);
frame_1990dcbce6078ff28496a710cbe8b322 = cache_frame_1990dcbce6078ff28496a710cbe8b322;
// Push the new frame as the currently active one.
pushFrameStack(frame_1990dcbce6078ff28496a710cbe8b322);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1990dcbce6078ff28496a710cbe8b322) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_host_pattern);
tmp_isinstance_inst_1 = par_host_pattern;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "oo";
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 = 521;
type_description_1 = "oo";
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_host_pattern);
tmp_expression_value_1 = par_host_pattern;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[71]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 522;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_1990dcbce6078ff28496a710cbe8b322->m_frame.f_lineno = 522;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[72]);
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 = 522;
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 = 522;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(par_host_pattern);
tmp_iadd_expr_left_1 = par_host_pattern;
tmp_iadd_expr_right_1 = mod_consts[73];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&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 = 523;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = tmp_iadd_expr_left_1;
par_host_pattern = tmp_assign_source_1;
}
branch_no_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_2;
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$routing, (Nuitka_StringObject *)mod_consts[74]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[74]);
}
if (tmp_expression_value_2 == 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_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[75]);
if (tmp_called_value_2 == 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;
}
if (par_host_pattern == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 524;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = par_host_pattern;
frame_1990dcbce6078ff28496a710cbe8b322->m_frame.f_lineno = 524;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
if (tmp_assattr_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;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[76], 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 = 524;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_host_pattern);
tmp_assattr_value_2 = par_host_pattern;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[76], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 526;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1990dcbce6078ff28496a710cbe8b322);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1990dcbce6078ff28496a710cbe8b322);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1990dcbce6078ff28496a710cbe8b322, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1990dcbce6078ff28496a710cbe8b322->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1990dcbce6078ff28496a710cbe8b322, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1990dcbce6078ff28496a710cbe8b322,
type_description_1,
par_self,
par_host_pattern
);
// Release cached frame if used for exception.
if (frame_1990dcbce6078ff28496a710cbe8b322 == cache_frame_1990dcbce6078ff28496a710cbe8b322) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1990dcbce6078ff28496a710cbe8b322);
cache_frame_1990dcbce6078ff28496a710cbe8b322 = NULL;
}
assertFrameObject(frame_1990dcbce6078ff28496a710cbe8b322);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_host_pattern);
par_host_pattern = 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_host_pattern);
par_host_pattern = 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);
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$routing$$$function__26_match(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_request = python_pars[1];
struct Nuitka_FrameObject *frame_b6da99e32de71ff15b066cc206f4441a;
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_b6da99e32de71ff15b066cc206f4441a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b6da99e32de71ff15b066cc206f4441a)) {
Py_XDECREF(cache_frame_b6da99e32de71ff15b066cc206f4441a);
#if _DEBUG_REFCOUNTS
if (cache_frame_b6da99e32de71ff15b066cc206f4441a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b6da99e32de71ff15b066cc206f4441a = MAKE_FUNCTION_FRAME(codeobj_b6da99e32de71ff15b066cc206f4441a, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b6da99e32de71ff15b066cc206f4441a->m_type_description == NULL);
frame_b6da99e32de71ff15b066cc206f4441a = cache_frame_b6da99e32de71ff15b066cc206f4441a;
// Push the new frame as the currently active one.
pushFrameStack(frame_b6da99e32de71ff15b066cc206f4441a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b6da99e32de71ff15b066cc206f4441a) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
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_expression_value_3;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[76]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[43]);
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 = 529;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_3 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[77]);
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 = 529;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b6da99e32de71ff15b066cc206f4441a->m_frame.f_lineno = 529;
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 = 529;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 529;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = MAKE_DICT_EMPTY();
goto frame_return_exit_1;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6da99e32de71ff15b066cc206f4441a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6da99e32de71ff15b066cc206f4441a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6da99e32de71ff15b066cc206f4441a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b6da99e32de71ff15b066cc206f4441a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b6da99e32de71ff15b066cc206f4441a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b6da99e32de71ff15b066cc206f4441a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b6da99e32de71ff15b066cc206f4441a,
type_description_1,
par_self,
par_request
);
// Release cached frame if used for exception.
if (frame_b6da99e32de71ff15b066cc206f4441a == cache_frame_b6da99e32de71ff15b066cc206f4441a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b6da99e32de71ff15b066cc206f4441a);
cache_frame_b6da99e32de71ff15b066cc206f4441a = NULL;
}
assertFrameObject(frame_b6da99e32de71ff15b066cc206f4441a);
// 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_request);
Py_DECREF(par_request);
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_request);
Py_DECREF(par_request);
// 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$routing$$$function__27___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_application = python_pars[1];
PyObject *par_host_pattern = python_pars[2];
struct Nuitka_FrameObject *frame_2b92e4a90cd85415f2d9b65b2c249732;
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_2b92e4a90cd85415f2d9b65b2c249732 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2b92e4a90cd85415f2d9b65b2c249732)) {
Py_XDECREF(cache_frame_2b92e4a90cd85415f2d9b65b2c249732);
#if _DEBUG_REFCOUNTS
if (cache_frame_2b92e4a90cd85415f2d9b65b2c249732 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2b92e4a90cd85415f2d9b65b2c249732 = MAKE_FUNCTION_FRAME(codeobj_2b92e4a90cd85415f2d9b65b2c249732, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2b92e4a90cd85415f2d9b65b2c249732->m_type_description == NULL);
frame_2b92e4a90cd85415f2d9b65b2c249732 = cache_frame_2b92e4a90cd85415f2d9b65b2c249732;
// Push the new frame as the currently active one.
pushFrameStack(frame_2b92e4a90cd85415f2d9b65b2c249732);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2b92e4a90cd85415f2d9b65b2c249732) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_application);
tmp_assattr_value_1 = par_application;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[78], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_host_pattern);
tmp_assattr_value_2 = par_host_pattern;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[76], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2b92e4a90cd85415f2d9b65b2c249732);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2b92e4a90cd85415f2d9b65b2c249732);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2b92e4a90cd85415f2d9b65b2c249732, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2b92e4a90cd85415f2d9b65b2c249732->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2b92e4a90cd85415f2d9b65b2c249732, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2b92e4a90cd85415f2d9b65b2c249732,
type_description_1,
par_self,
par_application,
par_host_pattern
);
// Release cached frame if used for exception.
if (frame_2b92e4a90cd85415f2d9b65b2c249732 == cache_frame_2b92e4a90cd85415f2d9b65b2c249732) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2b92e4a90cd85415f2d9b65b2c249732);
cache_frame_2b92e4a90cd85415f2d9b65b2c249732 = NULL;
}
assertFrameObject(frame_2b92e4a90cd85415f2d9b65b2c249732);
// 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_application);
Py_DECREF(par_application);
CHECK_OBJECT(par_host_pattern);
Py_DECREF(par_host_pattern);
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_application);
Py_DECREF(par_application);
CHECK_OBJECT(par_host_pattern);
Py_DECREF(par_host_pattern);
// 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$routing$$$function__28_match(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_request = python_pars[1];
struct Nuitka_FrameObject *frame_6b2194a25e6d614979c9cfb4b67eca6c;
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_6b2194a25e6d614979c9cfb4b67eca6c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6b2194a25e6d614979c9cfb4b67eca6c)) {
Py_XDECREF(cache_frame_6b2194a25e6d614979c9cfb4b67eca6c);
#if _DEBUG_REFCOUNTS
if (cache_frame_6b2194a25e6d614979c9cfb4b67eca6c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6b2194a25e6d614979c9cfb4b67eca6c = MAKE_FUNCTION_FRAME(codeobj_6b2194a25e6d614979c9cfb4b67eca6c, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6b2194a25e6d614979c9cfb4b67eca6c->m_type_description == NULL);
frame_6b2194a25e6d614979c9cfb4b67eca6c = cache_frame_6b2194a25e6d614979c9cfb4b67eca6c;
// Push the new frame as the currently active one.
pushFrameStack(frame_6b2194a25e6d614979c9cfb4b67eca6c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6b2194a25e6d614979c9cfb4b67eca6c) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_cmp_expr_left_1 = mod_consts[79];
CHECK_OBJECT(par_request);
tmp_expression_value_1 = par_request;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[80]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[43]);
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 = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[78]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
Py_DECREF(tmp_expression_value_4);
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 = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_6b2194a25e6d614979c9cfb4b67eca6c->m_frame.f_lineno = 547;
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 = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 547;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 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:;
tmp_return_value = MAKE_DICT_EMPTY();
goto frame_return_exit_1;
branch_no_2:;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6b2194a25e6d614979c9cfb4b67eca6c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6b2194a25e6d614979c9cfb4b67eca6c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6b2194a25e6d614979c9cfb4b67eca6c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6b2194a25e6d614979c9cfb4b67eca6c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6b2194a25e6d614979c9cfb4b67eca6c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6b2194a25e6d614979c9cfb4b67eca6c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6b2194a25e6d614979c9cfb4b67eca6c,
type_description_1,
par_self,
par_request
);
// Release cached frame if used for exception.
if (frame_6b2194a25e6d614979c9cfb4b67eca6c == cache_frame_6b2194a25e6d614979c9cfb4b67eca6c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6b2194a25e6d614979c9cfb4b67eca6c);
cache_frame_6b2194a25e6d614979c9cfb4b67eca6c = NULL;
}
assertFrameObject(frame_6b2194a25e6d614979c9cfb4b67eca6c);
// 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_request);
Py_DECREF(par_request);
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_request);
Py_DECREF(par_request);
// 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$routing$$$function__29___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_path_pattern = python_pars[1];
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_80f3e542ba9aacfc60256667333ff1b8;
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_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_80f3e542ba9aacfc60256667333ff1b8 = 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_80f3e542ba9aacfc60256667333ff1b8)) {
Py_XDECREF(cache_frame_80f3e542ba9aacfc60256667333ff1b8);
#if _DEBUG_REFCOUNTS
if (cache_frame_80f3e542ba9aacfc60256667333ff1b8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_80f3e542ba9aacfc60256667333ff1b8 = MAKE_FUNCTION_FRAME(codeobj_80f3e542ba9aacfc60256667333ff1b8, module_tornado$routing, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_80f3e542ba9aacfc60256667333ff1b8->m_type_description == NULL);
frame_80f3e542ba9aacfc60256667333ff1b8 = cache_frame_80f3e542ba9aacfc60256667333ff1b8;
// Push the new frame as the currently active one.
pushFrameStack(frame_80f3e542ba9aacfc60256667333ff1b8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_80f3e542ba9aacfc60256667333ff1b8) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_path_pattern);
tmp_isinstance_inst_1 = par_path_pattern;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 556;
type_description_1 = "oo";
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 = 556;
type_description_1 = "oo";
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_path_pattern);
tmp_expression_value_1 = par_path_pattern;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[71]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 557;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_80f3e542ba9aacfc60256667333ff1b8->m_frame.f_lineno = 557;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[72]);
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 = 557;
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 = 557;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(par_path_pattern);
tmp_iadd_expr_left_1 = par_path_pattern;
tmp_iadd_expr_right_1 = mod_consts[73];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&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 = 558;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = tmp_iadd_expr_left_1;
par_path_pattern = tmp_assign_source_1;
}
branch_no_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_2;
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$routing, (Nuitka_StringObject *)mod_consts[74]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[74]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[75]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (par_path_pattern == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[82]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 559;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = par_path_pattern;
frame_80f3e542ba9aacfc60256667333ff1b8->m_frame.f_lineno = 559;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oo";
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[83], 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 = 559;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_path_pattern);
tmp_assattr_value_2 = par_path_pattern;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[83], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[83]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[84]);
Py_DECREF(tmp_expression_value_3);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = mod_consts[32];
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[83]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[85]);
Py_DECREF(tmp_expression_value_5);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_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_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
tmp_raise_type_1 = PyExc_AssertionError;
tmp_mod_expr_left_1 = mod_consts[86];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[83]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[87]);
Py_DECREF(tmp_expression_value_7);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_tuple_element_2 = 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_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_raise_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_raise_value_1, 0, tmp_tuple_element_2);
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 563;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_80f3e542ba9aacfc60256667333ff1b8->m_frame.f_lineno = 568;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[88]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oo";
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 = 568;
type_description_1 = "oo";
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, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oo";
exception_lineno = 568;
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, 2);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oo";
exception_lineno = 568;
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_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 = "oo";
exception_lineno = 568;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[89];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oo";
exception_lineno = 568;
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:;
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_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assattr_value_3 = tmp_tuple_unpack_1__element_1;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[90], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oo";
goto try_except_handler_2;
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assattr_value_4 = tmp_tuple_unpack_1__element_2;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[91], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oo";
goto try_except_handler_2;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80f3e542ba9aacfc60256667333ff1b8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80f3e542ba9aacfc60256667333ff1b8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_80f3e542ba9aacfc60256667333ff1b8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_80f3e542ba9aacfc60256667333ff1b8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_80f3e542ba9aacfc60256667333ff1b8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_80f3e542ba9aacfc60256667333ff1b8,
type_description_1,
par_self,
par_path_pattern
);
// Release cached frame if used for exception.
if (frame_80f3e542ba9aacfc60256667333ff1b8 == cache_frame_80f3e542ba9aacfc60256667333ff1b8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_80f3e542ba9aacfc60256667333ff1b8);
cache_frame_80f3e542ba9aacfc60256667333ff1b8 = NULL;
}
assertFrameObject(frame_80f3e542ba9aacfc60256667333ff1b8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = 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_path_pattern);
par_path_pattern = 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_path_pattern);
par_path_pattern = 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);
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$routing$$$function__30_match(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_request = python_pars[1];
PyObject *var_match = NULL;
PyObject *var_path_args = NULL;
PyObject *var_path_kwargs = NULL;
PyObject *outline_0_var_s = NULL;
PyObject *tmp_genexpr_1__$0 = 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_6d62fd7f9cd20d6735a1975152c10f16;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
struct Nuitka_FrameObject *frame_8a77f759cb61b9f95ed16549411ea6c3_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
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_8a77f759cb61b9f95ed16549411ea6c3_2 = 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;
static struct Nuitka_FrameObject *cache_frame_6d62fd7f9cd20d6735a1975152c10f16 = 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_6d62fd7f9cd20d6735a1975152c10f16)) {
Py_XDECREF(cache_frame_6d62fd7f9cd20d6735a1975152c10f16);
#if _DEBUG_REFCOUNTS
if (cache_frame_6d62fd7f9cd20d6735a1975152c10f16 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6d62fd7f9cd20d6735a1975152c10f16 = MAKE_FUNCTION_FRAME(codeobj_6d62fd7f9cd20d6735a1975152c10f16, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6d62fd7f9cd20d6735a1975152c10f16->m_type_description == NULL);
frame_6d62fd7f9cd20d6735a1975152c10f16 = cache_frame_6d62fd7f9cd20d6735a1975152c10f16;
// Push the new frame as the currently active one.
pushFrameStack(frame_6d62fd7f9cd20d6735a1975152c10f16);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6d62fd7f9cd20d6735a1975152c10f16) == 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;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[83]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[43]);
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 = 571;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_3 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[16]);
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 = 571;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_6d62fd7f9cd20d6735a1975152c10f16->m_frame.f_lineno = 571;
tmp_assign_source_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_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_match == NULL);
var_match = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_match);
tmp_cmp_expr_left_1 = var_match;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[83]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[85]);
Py_DECREF(tmp_expression_value_4);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = MAKE_DICT_EMPTY();
goto frame_return_exit_1;
branch_no_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_path_args == NULL);
var_path_args = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = MAKE_DICT_EMPTY();
assert(var_path_kwargs == NULL);
var_path_kwargs = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[83]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[84]);
Py_DECREF(tmp_expression_value_6);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "ooooo";
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 = 584;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_dict_seq_1;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_match);
tmp_called_instance_1 = var_match;
frame_6d62fd7f9cd20d6735a1975152c10f16->m_frame.f_lineno = 586;
tmp_expression_value_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[92]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[93]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_6d62fd7f9cd20d6735a1975152c10f16->m_frame.f_lineno = 586;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 585;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_5;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_dict_seq_1 = MAKE_GENERATOR_tornado$routing$$$function__30_match$$$genexpr__1_genexpr(tmp_closure_1);
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_genexpr_1__$0);
Py_DECREF(tmp_genexpr_1__$0);
tmp_genexpr_1__$0 = NULL;
goto outline_result_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_assign_source_4 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 585;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_path_kwargs;
assert(old != NULL);
var_path_kwargs = tmp_assign_source_4;
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_6;
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_match);
tmp_called_instance_2 = var_match;
frame_6d62fd7f9cd20d6735a1975152c10f16->m_frame.f_lineno = 589;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[85]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_8;
}
if (isFrameUnusable(cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2)) {
Py_XDECREF(cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2 = MAKE_FUNCTION_FRAME(codeobj_8a77f759cb61b9f95ed16549411ea6c3, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2->m_type_description == NULL);
frame_8a77f759cb61b9f95ed16549411ea6c3_2 = cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_8a77f759cb61b9f95ed16549411ea6c3_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8a77f759cb61b9f95ed16549411ea6c3_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_9 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_9 == 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 = "o";
exception_lineno = 589;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_10 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_s;
outline_0_var_s = tmp_assign_source_10;
Py_INCREF(outline_0_var_s);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_2 = "o";
goto try_except_handler_4;
}
CHECK_OBJECT(outline_0_var_s);
tmp_args_element_value_2 = outline_0_var_s;
frame_8a77f759cb61b9f95ed16549411ea6c3_2->m_frame.f_lineno = 589;
tmp_append_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_2 = "o";
goto try_except_handler_4;
}
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 = 589;
type_description_2 = "o";
goto try_except_handler_4;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_2 = "o";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assign_source_6 = tmp_listcomp_1__contraction;
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:;
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_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_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_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a77f759cb61b9f95ed16549411ea6c3_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_8a77f759cb61b9f95ed16549411ea6c3_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_3;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a77f759cb61b9f95ed16549411ea6c3_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8a77f759cb61b9f95ed16549411ea6c3_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8a77f759cb61b9f95ed16549411ea6c3_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8a77f759cb61b9f95ed16549411ea6c3_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8a77f759cb61b9f95ed16549411ea6c3_2,
type_description_2,
outline_0_var_s
);
// Release cached frame if used for exception.
if (frame_8a77f759cb61b9f95ed16549411ea6c3_2 == cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2);
cache_frame_8a77f759cb61b9f95ed16549411ea6c3_2 = NULL;
}
assertFrameObject(frame_8a77f759cb61b9f95ed16549411ea6c3_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 = "ooooo";
goto try_except_handler_3;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
Py_XDECREF(outline_0_var_s);
outline_0_var_s = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(outline_0_var_s);
outline_0_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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 589;
goto frame_exception_exit_1;
outline_result_2:;
{
PyObject *old = var_path_args;
assert(old != NULL);
var_path_args = tmp_assign_source_6;
Py_DECREF(old);
}
}
branch_end_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d62fd7f9cd20d6735a1975152c10f16);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d62fd7f9cd20d6735a1975152c10f16);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d62fd7f9cd20d6735a1975152c10f16);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6d62fd7f9cd20d6735a1975152c10f16, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6d62fd7f9cd20d6735a1975152c10f16->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6d62fd7f9cd20d6735a1975152c10f16, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6d62fd7f9cd20d6735a1975152c10f16,
type_description_1,
par_self,
par_request,
var_match,
var_path_args,
var_path_kwargs
);
// Release cached frame if used for exception.
if (frame_6d62fd7f9cd20d6735a1975152c10f16 == cache_frame_6d62fd7f9cd20d6735a1975152c10f16) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6d62fd7f9cd20d6735a1975152c10f16);
cache_frame_6d62fd7f9cd20d6735a1975152c10f16 = NULL;
}
assertFrameObject(frame_6d62fd7f9cd20d6735a1975152c10f16);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
{
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_dict_key_1 = mod_consts[95];
CHECK_OBJECT(var_path_args);
tmp_dict_value_1 = var_path_args;
tmp_return_value = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[96];
CHECK_OBJECT(var_path_kwargs);
tmp_dict_value_1 = var_path_kwargs;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
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_match);
var_match = NULL;
Py_XDECREF(var_path_args);
var_path_args = NULL;
Py_XDECREF(var_path_kwargs);
var_path_kwargs = 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_match);
var_match = NULL;
Py_XDECREF(var_path_args);
var_path_args = NULL;
Py_XDECREF(var_path_kwargs);
var_path_kwargs = 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_request);
Py_DECREF(par_request);
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_request);
Py_DECREF(par_request);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct tornado$routing$$$function__30_match$$$genexpr__1_genexpr_locals {
PyObject *var_k;
PyObject *var_v;
PyObject *tmp_iter_value_0;
PyObject *tmp_tuple_unpack_1__element_1;
PyObject *tmp_tuple_unpack_1__element_2;
PyObject *tmp_tuple_unpack_1__source_iter;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
char yield_tmps[1024];
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
int exception_keeper_lineno_4;
};
static PyObject *tornado$routing$$$function__30_match$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct tornado$routing$$$function__30_match$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$routing$$$function__30_match$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_k = NULL;
generator_heap->var_v = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_cc7e1ac620cdb47b8fc3560085d6761d, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 585;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_iter_arg_1 = generator_heap->tmp_iter_value_0;
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 585;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_3;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter;
generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 585;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1;
generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 585;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2;
generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
generator_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(generator_heap->tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 585;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(generator_heap->tmp_iterator_attempt);
generator_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
generator_heap->exception_value = mod_consts[89];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 585;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1;
{
PyObject *old = generator_heap->var_k;
generator_heap->var_k = tmp_assign_source_5;
Py_INCREF(generator_heap->var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2;
{
PyObject *old = generator_heap->var_v;
generator_heap->var_v = tmp_assign_source_6;
Py_INCREF(generator_heap->var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_expression_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_unicode_arg_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_k);
tmp_unicode_arg_1 = generator_heap->var_k;
tmp_tuple_element_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 586;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_expression_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyTuple_SET_ITEM(tmp_expression_value_1, 0, tmp_tuple_element_1);
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 586;
generator_heap->type_description_1 = "Noo";
goto tuple_build_exception_1;
}
CHECK_OBJECT(generator_heap->var_v);
tmp_args_element_value_1 = generator_heap->var_v;
generator->m_frame->m_frame.f_lineno = 586;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 586;
generator_heap->type_description_1 = "Noo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_expression_value_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_expression_value_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_unicode_arg_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_unicode_arg_1, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 586;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 585;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_3 = generator_heap->exception_type;
generator_heap->exception_keeper_value_3 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_3;
generator_heap->exception_value = generator_heap->exception_keeper_value_3;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_3;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_k,
generator_heap->var_v
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_4 = generator_heap->exception_type;
generator_heap->exception_keeper_value_4 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
Py_XDECREF(generator_heap->var_v);
generator_heap->var_v = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_4;
generator_heap->exception_value = generator_heap->exception_keeper_value_4;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_4;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
try_end_4:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
Py_XDECREF(generator_heap->var_v);
generator_heap->var_v = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_tornado$routing$$$function__30_match$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$routing$$$function__30_match$$$genexpr__1_genexpr_context,
module_tornado$routing,
mod_consts[97],
#if PYTHON_VERSION >= 0x350
mod_consts[98],
#endif
codeobj_cc7e1ac620cdb47b8fc3560085d6761d,
closure,
1,
sizeof(struct tornado$routing$$$function__30_match$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_tornado$routing$$$function__31_reverse(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *var_converted_args = NULL;
PyObject *var_a = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_7a9d1ed04347ae94bf0df246d3aeeef6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_7a9d1ed04347ae94bf0df246d3aeeef6 = 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_7a9d1ed04347ae94bf0df246d3aeeef6)) {
Py_XDECREF(cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6 = MAKE_FUNCTION_FRAME(codeobj_7a9d1ed04347ae94bf0df246d3aeeef6, module_tornado$routing, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_type_description == NULL);
frame_7a9d1ed04347ae94bf0df246d3aeeef6 = cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a9d1ed04347ae94bf0df246d3aeeef6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a9d1ed04347ae94bf0df246d3aeeef6) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[90]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
tmp_add_expr_left_1 = mod_consts[99];
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[83]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 595;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[87]);
Py_DECREF(tmp_expression_value_2);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 595;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_make_exception_arg_1 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 595;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_frame.f_lineno = 595;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 595;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_args);
tmp_len_arg_1 = par_args;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
assert(!(tmp_cmp_expr_left_2 == NULL));
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[91]);
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 = 596;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = RICH_COMPARE_EQ_OBJECT_LONG_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
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 = 596;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_1;
tmp_raise_type_2 = PyExc_AssertionError;
tmp_raise_value_1 = mod_consts[100];
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_1;
Py_INCREF(tmp_raise_value_1);
exception_lineno = 596;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(par_args);
tmp_len_arg_2 = par_args;
tmp_operand_value_2 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 599;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[90]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 600;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_converted_args == NULL);
var_converted_args = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_args);
tmp_iter_arg_1 = par_args;
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 602;
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_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 = "oooo";
exception_lineno = 602;
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_a;
var_a = tmp_assign_source_4;
Py_INCREF(var_a);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_3;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(var_a);
tmp_isinstance_inst_1 = var_a;
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 603;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_isinstance_cls_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = (PyObject *)&PyBytes_Type;
PyTuple_SET_ITEM0(tmp_isinstance_cls_1, 1, tmp_tuple_element_1);
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 603;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_operand_value_3 = (tmp_res != 0) ? 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 = 603;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unicode_arg_1;
CHECK_OBJECT(var_a);
tmp_unicode_arg_1 = var_a;
tmp_assign_source_5 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_a;
assert(old != NULL);
var_a = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_kwargs_value_1;
if (var_converted_args == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[102]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = var_converted_args;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[38]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_a);
tmp_args_element_value_2 = var_a;
frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_frame.f_lineno = 605;
tmp_tuple_element_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_2);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[105]);
frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_frame.f_lineno = 605;
tmp_args_element_value_1 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 605;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_frame.f_lineno = 605;
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 = 605;
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 = 602;
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:;
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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_tuple_arg_1;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_mod_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[90]);
if (tmp_mod_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 606;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (var_converted_args == NULL) {
Py_DECREF(tmp_mod_expr_left_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[102]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 606;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_tuple_arg_1 = var_converted_args;
tmp_mod_expr_right_1 = PySequence_Tuple(tmp_tuple_arg_1);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
exception_lineno = 606;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_left_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 = 606;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a9d1ed04347ae94bf0df246d3aeeef6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a9d1ed04347ae94bf0df246d3aeeef6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a9d1ed04347ae94bf0df246d3aeeef6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a9d1ed04347ae94bf0df246d3aeeef6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a9d1ed04347ae94bf0df246d3aeeef6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a9d1ed04347ae94bf0df246d3aeeef6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a9d1ed04347ae94bf0df246d3aeeef6,
type_description_1,
par_self,
par_args,
var_converted_args,
var_a
);
// Release cached frame if used for exception.
if (frame_7a9d1ed04347ae94bf0df246d3aeeef6 == cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6);
cache_frame_7a9d1ed04347ae94bf0df246d3aeeef6 = NULL;
}
assertFrameObject(frame_7a9d1ed04347ae94bf0df246d3aeeef6);
// 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_converted_args);
var_converted_args = NULL;
Py_XDECREF(var_a);
var_a = 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_converted_args);
var_converted_args = NULL;
Py_XDECREF(var_a);
var_a = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
// 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$routing$$$function__32__find_groups(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_pattern = NULL;
PyObject *var_pieces = NULL;
PyObject *var_fragment = NULL;
PyObject *var_paren_loc = NULL;
PyObject *var_unescaped_fragment = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_7deb6c573e052a684388880bf6691779;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_7deb6c573e052a684388880bf6691779 = 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_7deb6c573e052a684388880bf6691779)) {
Py_XDECREF(cache_frame_7deb6c573e052a684388880bf6691779);
#if _DEBUG_REFCOUNTS
if (cache_frame_7deb6c573e052a684388880bf6691779 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7deb6c573e052a684388880bf6691779 = MAKE_FUNCTION_FRAME(codeobj_7deb6c573e052a684388880bf6691779, module_tornado$routing, 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_7deb6c573e052a684388880bf6691779->m_type_description == NULL);
frame_7deb6c573e052a684388880bf6691779 = cache_frame_7deb6c573e052a684388880bf6691779;
// Push the new frame as the currently active one.
pushFrameStack(frame_7deb6c573e052a684388880bf6691779);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7deb6c573e052a684388880bf6691779) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[83]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[87]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_pattern == NULL);
var_pattern = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_pattern);
tmp_expression_value_3 = var_pattern;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[106]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 615;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[107]);
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 = 615;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 615;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_pattern);
tmp_expression_value_4 = var_pattern;
tmp_subscript_value_1 = mod_consts[36];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_pattern;
assert(old != NULL);
var_pattern = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_2;
int tmp_truth_name_2;
if (var_pattern == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 617;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = var_pattern;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[71]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 617;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[72]);
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 = 617;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 617;
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_2);
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;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
if (var_pattern == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 618;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = var_pattern;
tmp_subscript_value_2 = mod_consts[108];
tmp_assign_source_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_pattern;
var_pattern = tmp_assign_source_3;
Py_XDECREF(old);
}
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[83]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[85]);
Py_DECREF(tmp_expression_value_7);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (var_pattern == NULL) {
Py_DECREF(tmp_cmp_expr_left_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 620;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = var_pattern;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[109]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 620;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 620;
tmp_cmp_expr_right_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[110]);
Py_DECREF(tmp_called_value_3);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 620;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooooo";
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:;
tmp_return_value = mod_consts[111];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_3:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = MAKE_LIST_EMPTY(0);
assert(var_pieces == NULL);
var_pieces = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_10;
if (var_pattern == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 626;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = var_pattern;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[112]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 626;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[110]);
Py_DECREF(tmp_called_value_4);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 626;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_fragment;
var_fragment = tmp_assign_source_7;
Py_INCREF(var_fragment);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[113];
CHECK_OBJECT(var_fragment);
tmp_cmp_expr_right_2 = var_fragment;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 627;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var_fragment);
tmp_expression_value_11 = var_fragment;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[114]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 628;
tmp_assign_source_8 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[115]);
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_paren_loc;
var_paren_loc = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_paren_loc);
tmp_cmp_expr_left_3 = var_paren_loc;
tmp_cmp_expr_right_3 = mod_consts[32];
tmp_condition_result_5 = RICH_COMPARE_GE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_3;
PyObject *tmp_start_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_stop_value_1;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[116]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_fragment);
tmp_expression_value_12 = var_fragment;
CHECK_OBJECT(var_paren_loc);
tmp_add_expr_left_1 = var_paren_loc;
tmp_add_expr_right_1 = mod_consts[117];
tmp_start_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_start_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_stop_value_1 = Py_None;
tmp_subscript_value_3 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_start_value_1);
assert(!(tmp_subscript_value_3 == NULL));
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 631;
tmp_assign_source_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_unescaped_fragment;
var_unescaped_fragment = tmp_assign_source_9;
Py_XDECREF(old);
}
}
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_7deb6c573e052a684388880bf6691779, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7deb6c573e052a684388880bf6691779, 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_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
tmp_return_value = mod_consts[111];
Py_INCREF(tmp_return_value);
goto try_return_handler_4;
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 630;
}
if (exception_tb && exception_tb->tb_frame == &frame_7deb6c573e052a684388880bf6691779->m_frame) frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_4;
branch_end_6:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_return_handler_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:
// End of try:
try_end_1:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
if (var_pieces == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 636;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_13 = var_pieces;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[38]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_add_expr_left_2 = mod_consts[119];
CHECK_OBJECT(var_unescaped_fragment);
tmp_add_expr_right_2 = var_unescaped_fragment;
tmp_args_element_value_2 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 636;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 636;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_5:;
goto branch_end_4;
branch_no_4:;
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_3;
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[116]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "oooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_fragment);
tmp_args_element_value_3 = var_fragment;
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 639;
tmp_assign_source_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_3);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "oooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_unescaped_fragment;
var_unescaped_fragment = tmp_assign_source_10;
Py_XDECREF(old);
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_7deb6c573e052a684388880bf6691779, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_7deb6c573e052a684388880bf6691779, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_5 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
assert(!(tmp_res == -1));
tmp_condition_result_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
tmp_return_value = mod_consts[111];
Py_INCREF(tmp_return_value);
goto try_return_handler_6;
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 638;
}
if (exception_tb && exception_tb->tb_frame == &frame_7deb6c573e052a684388880bf6691779->m_frame) frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_6;
branch_end_7:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// End of try:
// End of try:
try_end_2:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_4;
if (var_pieces == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 644;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = var_pieces;
CHECK_OBJECT(var_unescaped_fragment);
tmp_args_element_value_4 = var_unescaped_fragment;
frame_7deb6c573e052a684388880bf6691779->m_frame.f_lineno = 644;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[38], tmp_args_element_value_4);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 644;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_4);
}
branch_end_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
tmp_str_arg_value_1 = mod_consts[120];
if (var_pieces == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 646;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_iterable_value_1 = var_pieces;
tmp_tuple_element_1 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[83]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "oooooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[85]);
Py_DECREF(tmp_expression_value_14);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "oooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_return_value, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_return_value);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7deb6c573e052a684388880bf6691779);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7deb6c573e052a684388880bf6691779);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7deb6c573e052a684388880bf6691779);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7deb6c573e052a684388880bf6691779, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7deb6c573e052a684388880bf6691779->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7deb6c573e052a684388880bf6691779, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7deb6c573e052a684388880bf6691779,
type_description_1,
par_self,
var_pattern,
var_pieces,
var_fragment,
var_paren_loc,
var_unescaped_fragment
);
// Release cached frame if used for exception.
if (frame_7deb6c573e052a684388880bf6691779 == cache_frame_7deb6c573e052a684388880bf6691779) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7deb6c573e052a684388880bf6691779);
cache_frame_7deb6c573e052a684388880bf6691779 = NULL;
}
assertFrameObject(frame_7deb6c573e052a684388880bf6691779);
// 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_pattern);
var_pattern = NULL;
Py_XDECREF(var_pieces);
var_pieces = NULL;
Py_XDECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_paren_loc);
var_paren_loc = NULL;
Py_XDECREF(var_unescaped_fragment);
var_unescaped_fragment = 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_pattern);
var_pattern = NULL;
Py_XDECREF(var_pieces);
var_pieces = NULL;
Py_XDECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_paren_loc);
var_paren_loc = NULL;
Py_XDECREF(var_unescaped_fragment);
var_unescaped_fragment = 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);
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$routing$$$function__33___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_pattern = python_pars[1];
PyObject *par_handler = python_pars[2];
PyObject *par_kwargs = python_pars[3];
PyObject *par_name = python_pars[4];
PyObject *var_matcher = NULL;
struct Nuitka_FrameObject *frame_9c41a6b365c249cf56aff118532e157e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_9c41a6b365c249cf56aff118532e157e = 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_9c41a6b365c249cf56aff118532e157e)) {
Py_XDECREF(cache_frame_9c41a6b365c249cf56aff118532e157e);
#if _DEBUG_REFCOUNTS
if (cache_frame_9c41a6b365c249cf56aff118532e157e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9c41a6b365c249cf56aff118532e157e = MAKE_FUNCTION_FRAME(codeobj_9c41a6b365c249cf56aff118532e157e, module_tornado$routing, 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_9c41a6b365c249cf56aff118532e157e->m_type_description == NULL);
frame_9c41a6b365c249cf56aff118532e157e = cache_frame_9c41a6b365c249cf56aff118532e157e;
// Push the new frame as the currently active one.
pushFrameStack(frame_9c41a6b365c249cf56aff118532e157e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9c41a6b365c249cf56aff118532e157e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 681;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_pattern);
tmp_args_element_value_1 = par_pattern;
frame_9c41a6b365c249cf56aff118532e157e->m_frame.f_lineno = 681;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 681;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
assert(var_matcher == NULL);
var_matcher = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 682;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$routing, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_matcher);
tmp_args_element_value_2 = var_matcher;
CHECK_OBJECT(par_handler);
tmp_args_element_value_3 = par_handler;
CHECK_OBJECT(par_kwargs);
tmp_args_element_value_4 = par_kwargs;
CHECK_OBJECT(par_name);
tmp_args_element_value_5 = par_name;
frame_9c41a6b365c249cf56aff118532e157e->m_frame.f_lineno = 682;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS4(
tmp_called_instance_1,
mod_consts[59],
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 = 682;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_matcher);
tmp_expression_value_1 = var_matcher;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[83]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 684;
type_description_1 = "ooooooc";
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[83], 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 = 684;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "ooooooc";
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[122], 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 = 685;
type_description_1 = "ooooooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_kwargs);
tmp_assattr_value_3 = par_kwargs;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[123], 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 = "ooooooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c41a6b365c249cf56aff118532e157e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c41a6b365c249cf56aff118532e157e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9c41a6b365c249cf56aff118532e157e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9c41a6b365c249cf56aff118532e157e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9c41a6b365c249cf56aff118532e157e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9c41a6b365c249cf56aff118532e157e,
type_description_1,
par_self,
par_pattern,
par_handler,
par_kwargs,
par_name,
var_matcher,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_9c41a6b365c249cf56aff118532e157e == cache_frame_9c41a6b365c249cf56aff118532e157e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9c41a6b365c249cf56aff118532e157e);
cache_frame_9c41a6b365c249cf56aff118532e157e = NULL;
}
assertFrameObject(frame_9c41a6b365c249cf56aff118532e157e);
// 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_matcher);
Py_DECREF(var_matcher);
var_matcher = 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_matcher);
var_matcher = 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_pattern);
Py_DECREF(par_pattern);
CHECK_OBJECT(par_handler);
Py_DECREF(par_handler);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
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_pattern);
Py_DECREF(par_pattern);
CHECK_OBJECT(par_handler);
Py_DECREF(par_handler);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
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$routing$$$function__34___repr__(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_16672d27dc03a5e484b1915e867bc21c;
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_16672d27dc03a5e484b1915e867bc21c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_16672d27dc03a5e484b1915e867bc21c)) {
Py_XDECREF(cache_frame_16672d27dc03a5e484b1915e867bc21c);
#if _DEBUG_REFCOUNTS
if (cache_frame_16672d27dc03a5e484b1915e867bc21c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_16672d27dc03a5e484b1915e867bc21c = MAKE_FUNCTION_FRAME(codeobj_16672d27dc03a5e484b1915e867bc21c, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_16672d27dc03a5e484b1915e867bc21c->m_type_description == NULL);
frame_16672d27dc03a5e484b1915e867bc21c = cache_frame_16672d27dc03a5e484b1915e867bc21c;
// Push the new frame as the currently active one.
pushFrameStack(frame_16672d27dc03a5e484b1915e867bc21c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_16672d27dc03a5e484b1915e867bc21c) == 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;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[68];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 690;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[69]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 690;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(5);
{
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;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[83]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 691;
type_description_1 = "o";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[87]);
Py_DECREF(tmp_expression_value_3);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 691;
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_5 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[122]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 692;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[123]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 693;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 3, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[60]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_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 = 689;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_16672d27dc03a5e484b1915e867bc21c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_16672d27dc03a5e484b1915e867bc21c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_16672d27dc03a5e484b1915e867bc21c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_16672d27dc03a5e484b1915e867bc21c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_16672d27dc03a5e484b1915e867bc21c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_16672d27dc03a5e484b1915e867bc21c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_16672d27dc03a5e484b1915e867bc21c,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_16672d27dc03a5e484b1915e867bc21c == cache_frame_16672d27dc03a5e484b1915e867bc21c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_16672d27dc03a5e484b1915e867bc21c);
cache_frame_16672d27dc03a5e484b1915e867bc21c = NULL;
}
assertFrameObject(frame_16672d27dc03a5e484b1915e867bc21c);
// 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$routing$$$function__37__unquote_or_none(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_s = python_pars[0];
PyObject *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_2d57140a83e294eae07ead9d473e1819;
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_2d57140a83e294eae07ead9d473e1819 = NULL;
// Actual function body.
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_s);
tmp_cmp_expr_left_1 = par_s;
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:;
CHECK_OBJECT(par_s);
tmp_return_value = par_s;
Py_INCREF(tmp_return_value);
goto function_return_exit;
branch_no_1:;
if (isFrameUnusable(cache_frame_2d57140a83e294eae07ead9d473e1819)) {
Py_XDECREF(cache_frame_2d57140a83e294eae07ead9d473e1819);
#if _DEBUG_REFCOUNTS
if (cache_frame_2d57140a83e294eae07ead9d473e1819 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2d57140a83e294eae07ead9d473e1819 = MAKE_FUNCTION_FRAME(codeobj_2d57140a83e294eae07ead9d473e1819, module_tornado$routing, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2d57140a83e294eae07ead9d473e1819->m_type_description == NULL);
frame_2d57140a83e294eae07ead9d473e1819 = cache_frame_2d57140a83e294eae07ead9d473e1819;
// Push the new frame as the currently active one.
pushFrameStack(frame_2d57140a83e294eae07ead9d473e1819);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2d57140a83e294eae07ead9d473e1819) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[125]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[125]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_tuple_element_1 = par_s;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[126]);
frame_2d57140a83e294eae07ead9d473e1819->m_frame.f_lineno = 717;
tmp_return_value = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d57140a83e294eae07ead9d473e1819);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d57140a83e294eae07ead9d473e1819);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d57140a83e294eae07ead9d473e1819);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2d57140a83e294eae07ead9d473e1819, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2d57140a83e294eae07ead9d473e1819->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2d57140a83e294eae07ead9d473e1819, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2d57140a83e294eae07ead9d473e1819,
type_description_1,
par_s
);
// Release cached frame if used for exception.
if (frame_2d57140a83e294eae07ead9d473e1819 == cache_frame_2d57140a83e294eae07ead9d473e1819) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2d57140a83e294eae07ead9d473e1819);
cache_frame_2d57140a83e294eae07ead9d473e1819 = NULL;
}
assertFrameObject(frame_2d57140a83e294eae07ead9d473e1819);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__10_finish(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__10_finish,
mod_consts[20],
#if PYTHON_VERSION >= 0x300
mod_consts[185],
#endif
codeobj_1c1a781c02fa7abb611c3c143f3a9767,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__11___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__11___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[191],
#endif
codeobj_cd6c61ebb2eee0dfeefa3c2cc823769a,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[29],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__12_add_rules(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__12_add_rules,
mod_consts[28],
#if PYTHON_VERSION >= 0x300
mod_consts[192],
#endif
codeobj_0a5dd36b7026d51024a01f39c435f1c1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[40],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__13_process_rule(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__13_process_rule,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[194],
#endif
codeobj_9b8f4da206c9b81778b9f2419f0fc128,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[41],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__14_find_handler(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__14_find_handler,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[195],
#endif
codeobj_5ccd4970bd887cec7a3927cfdf1946c9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__15_get_target_delegate(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__15_get_target_delegate,
mod_consts[46],
#if PYTHON_VERSION >= 0x300
mod_consts[196],
#endif
codeobj_dcc509491c453da1adce4e4b1e5e69e3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[56],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__16___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__16___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[199],
#endif
codeobj_9249f9bf78a70ccb8db09b8319797ea7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__17_process_rule(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__17_process_rule,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[200],
#endif
codeobj_2fbce4aaae4c9440ab7644db8c1532ed,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__18_reverse_url(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__18_reverse_url,
mod_consts[65],
#if PYTHON_VERSION >= 0x300
mod_consts[201],
#endif
codeobj_f2b0fb3282b641934ccc0924987b6e08,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__19___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__19___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[205],
#endif
codeobj_986a138e2fb0ffea7c8b96b27ac24f56,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[67],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__1_find_handler(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__1_find_handler,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[166],
#endif
codeobj_33031d27abbfeeb93f2e2ca4ff5c2c85,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[0],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__20_reverse(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__20_reverse,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[206],
#endif
codeobj_a65f42602303f120475810b61a4f01b2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__21___repr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__21___repr__,
mod_consts[207],
#if PYTHON_VERSION >= 0x300
mod_consts[208],
#endif
codeobj_54b541b1717b0cda18b46b90aa957190,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__22_match(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__22_match,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[210],
#endif
codeobj_97a6b59ba9b23cfaeeace586d37135ac,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[70],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__23_reverse(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[212],
#endif
codeobj_25604133780e6db33ba5f48e507868ea,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[211],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__24_match(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__24_match,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[215],
#endif
codeobj_07c99970729115936f30b3b0e2185fbc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__25___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__25___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[218],
#endif
codeobj_1990dcbce6078ff28496a710cbe8b322,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__26_match(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__26_match,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[219],
#endif
codeobj_b6da99e32de71ff15b066cc206f4441a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__27___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__27___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[222],
#endif
codeobj_2b92e4a90cd85415f2d9b65b2c249732,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__28_match(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__28_match,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[223],
#endif
codeobj_6b2194a25e6d614979c9cfb4b67eca6c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__29___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__29___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[225],
#endif
codeobj_80f3e542ba9aacfc60256667333ff1b8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__2_start_request(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__2_start_request,
mod_consts[51],
#if PYTHON_VERSION >= 0x300
mod_consts[169],
#endif
codeobj_26c680f4510abe4954cf83365461cec5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__30_match(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__30_match,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[226],
#endif
codeobj_6d62fd7f9cd20d6735a1975152c10f16,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__31_reverse(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__31_reverse,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[227],
#endif
codeobj_7a9d1ed04347ae94bf0df246d3aeeef6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__32__find_groups(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__32__find_groups,
mod_consts[88],
#if PYTHON_VERSION >= 0x300
mod_consts[229],
#endif
codeobj_7deb6c573e052a684388880bf6691779,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[121],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__33___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__33___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[233],
#endif
codeobj_9c41a6b365c249cf56aff118532e157e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[124],
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__34___repr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__34___repr__,
mod_consts[207],
#if PYTHON_VERSION >= 0x300
mod_consts[234],
#endif
codeobj_16672d27dc03a5e484b1915e867bc21c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__35__unquote_or_none(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[94],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b09e83b306b23ae53641acb5ae8158cf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__36__unquote_or_none(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[94],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_4dbe15cb60522b0557cb20639df28a74,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__37__unquote_or_none(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__37__unquote_or_none,
mod_consts[94],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_2d57140a83e294eae07ead9d473e1819,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[127],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__3_reverse_url(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__3_reverse_url,
mod_consts[65],
#if PYTHON_VERSION >= 0x300
mod_consts[174],
#endif
codeobj_82a53ec843060ed9834a291a3ca1cbe7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
mod_consts[2],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__4___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__4___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[175],
#endif
codeobj_13463f336a152276781d551cb9729515,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__5_headers_received(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__5_headers_received,
mod_consts[18],
#if PYTHON_VERSION >= 0x300
mod_consts[177],
#endif
codeobj_4221ad20103f27d1db7b58bbea07046f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__6_data_received(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__6_data_received,
mod_consts[19],
#if PYTHON_VERSION >= 0x300
mod_consts[180],
#endif
codeobj_7246bf26977cf471bfdd24742fb20580,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__7_finish(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__7_finish,
mod_consts[20],
#if PYTHON_VERSION >= 0x300
mod_consts[182],
#endif
codeobj_cddc9a4409a229aca768d6f6933e73e1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__8_on_connection_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__8_on_connection_close,
mod_consts[21],
#if PYTHON_VERSION >= 0x300
mod_consts[183],
#endif
codeobj_ba9f3733649c2744004798f1353bea51,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$routing$$$function__9___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$routing$$$function__9___init__,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[184],
#endif
codeobj_8a074e3ac99be3bba5ef013855d16541,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$routing,
NULL,
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_tornado$routing[] = {
impl_tornado$routing$$$function__1_find_handler,
impl_tornado$routing$$$function__2_start_request,
impl_tornado$routing$$$function__3_reverse_url,
impl_tornado$routing$$$function__4___init__,
impl_tornado$routing$$$function__5_headers_received,
impl_tornado$routing$$$function__6_data_received,
impl_tornado$routing$$$function__7_finish,
impl_tornado$routing$$$function__8_on_connection_close,
impl_tornado$routing$$$function__9___init__,
impl_tornado$routing$$$function__10_finish,
impl_tornado$routing$$$function__11___init__,
impl_tornado$routing$$$function__12_add_rules,
impl_tornado$routing$$$function__13_process_rule,
impl_tornado$routing$$$function__14_find_handler,
impl_tornado$routing$$$function__15_get_target_delegate,
impl_tornado$routing$$$function__16___init__,
impl_tornado$routing$$$function__17_process_rule,
impl_tornado$routing$$$function__18_reverse_url,
impl_tornado$routing$$$function__19___init__,
impl_tornado$routing$$$function__20_reverse,
impl_tornado$routing$$$function__21___repr__,
impl_tornado$routing$$$function__22_match,
NULL,
impl_tornado$routing$$$function__24_match,
impl_tornado$routing$$$function__25___init__,
impl_tornado$routing$$$function__26_match,
impl_tornado$routing$$$function__27___init__,
impl_tornado$routing$$$function__28_match,
impl_tornado$routing$$$function__29___init__,
impl_tornado$routing$$$function__30_match,
impl_tornado$routing$$$function__31_reverse,
impl_tornado$routing$$$function__32__find_groups,
impl_tornado$routing$$$function__33___init__,
impl_tornado$routing$$$function__34___repr__,
NULL,
NULL,
impl_tornado$routing$$$function__37__unquote_or_none,
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$routing;
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$routing) || 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$routing[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$routing,
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$routing(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.routing");
// Store the module for future use.
module_tornado$routing = 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.routing: 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.routing: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.routing: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$routing\n");
moduledict_tornado$routing = MODULE_DICT(module_tornado$routing);
#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$routing,
(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$routing,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[120]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$routing,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (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$routing,
(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$routing, (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$routing,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$routing);
// 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$routing, (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$routing, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$routing, (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$routing, (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$routing);
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$routing, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *outline_4_var___class__ = NULL;
struct Nuitka_CellObject *outline_5_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_6_var___class__ = NULL;
PyObject *outline_7_var___class__ = NULL;
PyObject *outline_8_var___class__ = NULL;
PyObject *outline_9_var___class__ = NULL;
PyObject *outline_10_var___class__ = NULL;
PyObject *outline_11_var___class__ = NULL;
struct Nuitka_CellObject *outline_12_var___class__ = Nuitka_Cell_Empty();
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_1__bases = NULL;
PyObject *tmp_class_creation_1__bases_orig = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__bases_orig = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__bases_orig = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_class_creation_7__bases = NULL;
PyObject *tmp_class_creation_7__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_class_creation_8__bases = NULL;
PyObject *tmp_class_creation_8__class_decl_dict = NULL;
PyObject *tmp_class_creation_8__metaclass = NULL;
PyObject *tmp_class_creation_8__prepared = NULL;
PyObject *tmp_class_creation_9__bases = NULL;
PyObject *tmp_class_creation_9__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;
PyObject *tmp_import_from_3__module = NULL;
struct Nuitka_FrameObject *frame_2e3c3f1caf71bfeac4672a5c071dd4ba;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$routing$$$class__1_Router_190 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_c8d8570e5563fc5c5c0d021909005aaf_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *locals_tornado$routing$$$class__2_ReversibleRouter_213 = NULL;
struct Nuitka_FrameObject *frame_0d309d7c80648f4408a27c99425b7950_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_0d309d7c80648f4408a27c99425b7950_3 = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *locals_tornado$routing$$$class__3__RoutingDelegate_229 = NULL;
struct Nuitka_FrameObject *frame_34efca7e5e1acf3bdab87e1d6e440af5_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4 = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *locals_tornado$routing$$$class__4__DefaultMessageDelegate_275 = NULL;
struct Nuitka_FrameObject *frame_41f828e0f427076c897363ac26848c2d_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_41f828e0f427076c897363ac26848c2d_5 = NULL;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *locals_tornado$routing$$$class__5_RuleRouter_300 = NULL;
struct Nuitka_FrameObject *frame_91ad08cce0cf86308603ca55ca4099f0_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_91ad08cce0cf86308603ca55ca4099f0_6 = NULL;
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 *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *locals_tornado$routing$$$class__6_ReversibleRuleRouter_404 = NULL;
struct Nuitka_FrameObject *frame_d56c7e856a7b9e9fd6575edf551fe294_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7 = NULL;
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 *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *locals_tornado$routing$$$class__7_Rule_441 = NULL;
struct Nuitka_FrameObject *frame_ea2241075aa7dd0eb3cd761c1e84400c_8;
NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL;
static struct Nuitka_FrameObject *cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8 = NULL;
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 *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
PyObject *locals_tornado$routing$$$class__8_Matcher_490 = NULL;
struct Nuitka_FrameObject *frame_011ce0bec0a95f004881f84b3021ef9f_9;
NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL;
static struct Nuitka_FrameObject *cache_frame_011ce0bec0a95f004881f84b3021ef9f_9 = NULL;
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 *exception_keeper_type_27;
PyObject *exception_keeper_value_27;
PyTracebackObject *exception_keeper_tb_27;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27;
PyObject *locals_tornado$routing$$$class__9_AnyMatches_510 = NULL;
struct Nuitka_FrameObject *frame_ab5c96126297a8fb55fc84df5a73ae6d_10;
NUITKA_MAY_BE_UNUSED char const *type_description_10 = NULL;
static struct Nuitka_FrameObject *cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10 = NULL;
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 *exception_keeper_type_30;
PyObject *exception_keeper_value_30;
PyTracebackObject *exception_keeper_tb_30;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_30;
PyObject *locals_tornado$routing$$$class__10_HostMatches_517 = NULL;
struct Nuitka_FrameObject *frame_7199a4300f211079f9e391f895aa9da5_11;
NUITKA_MAY_BE_UNUSED char const *type_description_11 = NULL;
static struct Nuitka_FrameObject *cache_frame_7199a4300f211079f9e391f895aa9da5_11 = NULL;
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 *exception_keeper_type_33;
PyObject *exception_keeper_value_33;
PyTracebackObject *exception_keeper_tb_33;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33;
PyObject *locals_tornado$routing$$$class__11_DefaultHostMatches_535 = NULL;
struct Nuitka_FrameObject *frame_b54f1a29824940ea54ecc45d12dbc062_12;
NUITKA_MAY_BE_UNUSED char const *type_description_12 = NULL;
static struct Nuitka_FrameObject *cache_frame_b54f1a29824940ea54ecc45d12dbc062_12 = NULL;
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 *exception_keeper_type_36;
PyObject *exception_keeper_value_36;
PyTracebackObject *exception_keeper_tb_36;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_36;
PyObject *locals_tornado$routing$$$class__12_PathMatches_552 = NULL;
struct Nuitka_FrameObject *frame_9dc0ceb62370e72afe09f600fad9e9af_13;
NUITKA_MAY_BE_UNUSED char const *type_description_13 = NULL;
static struct Nuitka_FrameObject *cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13 = NULL;
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 *exception_keeper_type_39;
PyObject *exception_keeper_value_39;
PyTracebackObject *exception_keeper_tb_39;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_39;
PyObject *locals_tornado$routing$$$class__13_URLSpec_649 = NULL;
struct Nuitka_FrameObject *frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14;
NUITKA_MAY_BE_UNUSED char const *type_description_14 = NULL;
static struct Nuitka_FrameObject *cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 = NULL;
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 *exception_keeper_type_42;
PyObject *exception_keeper_value_42;
PyTracebackObject *exception_keeper_tb_42;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_42;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[128];
UPDATE_STRING_DICT0(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[129], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[130];
UPDATE_STRING_DICT0(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_2);
}
// Frame without reuse.
frame_2e3c3f1caf71bfeac4672a5c071dd4ba = MAKE_MODULE_FRAME(codeobj_2e3c3f1caf71bfeac4672a5c071dd4ba, module_tornado$routing);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_2e3c3f1caf71bfeac4672a5c071dd4ba);
assert(Py_REFCNT(frame_2e3c3f1caf71bfeac4672a5c071dd4ba) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[130];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[133], 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$routing, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[134], 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$routing, (Nuitka_StringObject *)mod_consts[135], 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[74];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 178;
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 = 178;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[74], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
{
PyObject *hard_module = IMPORT_HARD_FUNCTOOLS();
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[55]);
}
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[55], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_1;
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[136];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[137];
tmp_level_value_2 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 181;
tmp_import_name_from_1 = 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_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_6 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$routing,
mod_consts[7],
mod_consts[32]
);
} else {
tmp_assign_source_6 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[7]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_2;
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[138];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[139];
tmp_level_value_3 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 182;
tmp_import_name_from_2 = 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_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_7 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$routing,
mod_consts[54],
mod_consts[32]
);
} else {
tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[54]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[54], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
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[140];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[141];
tmp_level_value_4 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 183;
tmp_assign_source_8 = 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_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_8;
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_3 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$routing,
mod_consts[103],
mod_consts[32]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[103]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
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_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$routing,
mod_consts[125],
mod_consts[32]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[125]);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[125], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
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_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$routing,
mod_consts[104],
mod_consts[32]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[104]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_11);
}
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_12;
PyObject *tmp_import_name_from_6;
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[142];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[143];
tmp_level_value_5 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 184;
tmp_import_name_from_6 = 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_import_name_from_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$routing,
mod_consts[12],
mod_consts[32]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[12]);
}
Py_DECREF(tmp_import_name_from_6);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
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[144];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$routing;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[145];
tmp_level_value_6 = mod_consts[32];
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 185;
tmp_assign_source_13 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
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_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$routing,
mod_consts[33],
mod_consts[32]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[33]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[33], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
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_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$routing,
mod_consts[66],
mod_consts[32]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[66]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[66], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
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_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$routing,
mod_consts[116],
mod_consts[32]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[116]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
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_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$routing,
mod_consts[101],
mod_consts[32]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[101]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[101], tmp_assign_source_17);
}
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_18;
tmp_assign_source_18 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_18 == NULL));
assert(tmp_import_from_3__module == NULL);
Py_INCREF(tmp_assign_source_18);
tmp_import_from_3__module = tmp_assign_source_18;
}
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_11 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$routing,
mod_consts[146],
mod_consts[32]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[146]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_12 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$routing,
mod_consts[147],
mod_consts[32]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[147]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_13 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$routing,
mod_consts[148],
mod_consts[32]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[148]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_14 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_tornado$routing,
mod_consts[149],
mod_consts[32]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[149]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[149], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_15 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_tornado$routing,
mod_consts[150],
mod_consts[32]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[150]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[150], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_16;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_16 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_tornado$routing,
mod_consts[151],
mod_consts[32]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[151]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_17;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_17 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_tornado$routing,
mod_consts[152],
mod_consts[32]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[152]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[152], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_18 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_tornado$routing,
mod_consts[153],
mod_consts[32]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[153]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[153], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_19;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_19 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_19)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_19,
(PyObject *)moduledict_tornado$routing,
mod_consts[154],
mod_consts[32]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[154]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[154], tmp_assign_source_27);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Tried code:
{
PyObject *tmp_assign_source_28;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[50]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
tmp_assign_source_28 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_28, 0, tmp_tuple_element_1);
assert(tmp_class_creation_1__bases_orig == NULL);
tmp_class_creation_1__bases_orig = tmp_assign_source_28;
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_29 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[155];
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[155];
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 = 190;
goto try_except_handler_4;
}
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_2 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[32];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, 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 = 190;
goto try_except_handler_4;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_31 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_31;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[155];
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[155];
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 = 190;
goto try_except_handler_4;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_3 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_3, mod_consts[156]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_32;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
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_4 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[156]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
tmp_tuple_element_2 = mod_consts[49];
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_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 190;
tmp_assign_source_32 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_32;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_5 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_5, mod_consts[157]);
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 = 190;
goto try_except_handler_4;
}
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[158];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[69];
tmp_getattr_default_1 = mod_consts[159];
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 = 190;
goto try_except_handler_4;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_6;
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_6 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_6 == NULL));
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[69]);
Py_DECREF(tmp_expression_value_6);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
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_4;
// 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 = 190;
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 190;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_4;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_33;
}
branch_end_2:;
{
PyObject *tmp_assign_source_34;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$routing$$$class__1_Router_190 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[162];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[49];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_6;
}
if (isFrameUnusable(cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2)) {
Py_XDECREF(cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2 = MAKE_CLASS_FRAME(codeobj_c8d8570e5563fc5c5c0d021909005aaf, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2->m_type_description == NULL);
frame_c8d8570e5563fc5c5c0d021909005aaf_2 = cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_c8d8570e5563fc5c5c0d021909005aaf_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c8d8570e5563fc5c5c0d021909005aaf_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_7;
tmp_dict_key_1 = mod_consts[44];
tmp_expression_value_7 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[7]);
if (tmp_expression_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_7);
} else {
goto frame_exception_exit_2;
}
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[9]);
Py_DECREF(tmp_expression_value_7);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_1 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_2;
PyObject *tmp_expression_value_9;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[123];
tmp_dict_value_1 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[146]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_dict_value_1);
} else {
goto dict_build_exception_1;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[164];
tmp_expression_value_8 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[148]);
if (tmp_expression_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_8);
} else {
goto dict_build_exception_1;
}
}
tmp_expression_value_9 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[7]);
if (tmp_expression_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_8);
exception_lineno = 195;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_9);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[165]);
Py_DECREF(tmp_expression_value_9);
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_8);
exception_lineno = 195;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_8);
Py_DECREF(tmp_subscript_value_2);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_annotations_1);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__1_find_handler(tmp_annotations_1);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[11], 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 = 193;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_dict_key_2 = mod_consts[3];
tmp_dict_value_2 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[167]);
if (tmp_dict_value_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_2 = (PyObject *)&PyBaseObject_Type;
Py_INCREF(tmp_dict_value_2);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_2 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[4];
tmp_expression_value_10 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[7]);
if (tmp_expression_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_10);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[168]);
Py_DECREF(tmp_expression_value_10);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[164];
tmp_expression_value_11 = PyObject_GetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[7]);
if (tmp_expression_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_11);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[165]);
Py_DECREF(tmp_expression_value_11);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_2);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__2_start_request(tmp_annotations_2);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[51], 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 = 207;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c8d8570e5563fc5c5c0d021909005aaf_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_c8d8570e5563fc5c5c0d021909005aaf_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c8d8570e5563fc5c5c0d021909005aaf_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c8d8570e5563fc5c5c0d021909005aaf_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c8d8570e5563fc5c5c0d021909005aaf_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c8d8570e5563fc5c5c0d021909005aaf_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_c8d8570e5563fc5c5c0d021909005aaf_2 == cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2);
cache_frame_c8d8570e5563fc5c5c0d021909005aaf_2 = NULL;
}
assertFrameObject(frame_c8d8570e5563fc5c5c0d021909005aaf_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_6;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_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;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_cmp_expr_right_1 = tmp_class_creation_1__bases_orig;
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 = 190;
goto try_except_handler_6;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_dictset_value = tmp_class_creation_1__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__1_Router_190, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_6;
}
branch_no_4:;
{
PyObject *tmp_assign_source_35;
PyObject *tmp_called_value_2;
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_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = mod_consts[49];
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$routing$$$class__1_Router_190;
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_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 190;
tmp_assign_source_35 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto try_except_handler_6;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_35;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_34 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_34);
goto try_return_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
Py_DECREF(locals_tornado$routing$$$class__1_Router_190);
locals_tornado$routing$$$class__1_Router_190 = NULL;
goto try_return_handler_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__1_Router_190);
locals_tornado$routing$$$class__1_Router_190 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 190;
goto try_except_handler_4;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[49], tmp_assign_source_34);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_1__bases_orig);
tmp_class_creation_1__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
Py_DECREF(tmp_class_creation_1__bases_orig);
tmp_class_creation_1__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_tuple_element_5;
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
tmp_assign_source_36 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_36, 0, tmp_tuple_element_5);
assert(tmp_class_creation_2__bases_orig == NULL);
tmp_class_creation_2__bases_orig = tmp_assign_source_36;
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_37 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
tmp_assign_source_38 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_7;
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_8;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[155];
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_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[155];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
Py_INCREF(tmp_metaclass_value_2);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_12 = tmp_class_creation_2__bases;
tmp_subscript_value_3 = mod_consts[32];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_12, tmp_subscript_value_3, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_39 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_39;
}
{
bool tmp_condition_result_9;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[155];
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_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 213;
goto try_except_handler_7;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_13 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_13, mod_consts[156]);
tmp_condition_result_10 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_40;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_14;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_14 = tmp_class_creation_2__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[156]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
tmp_tuple_element_6 = mod_consts[64];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 213;
tmp_assign_source_40 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_40;
}
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_15 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_15, mod_consts[157]);
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 = 213;
goto try_except_handler_7;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[158];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[69];
tmp_getattr_default_2 = mod_consts[159];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_7;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_16;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_16 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_16 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[69]);
Py_DECREF(tmp_expression_value_16);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_7);
}
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_7;
// 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 = 213;
goto try_except_handler_7;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 213;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_41;
}
branch_end_6:;
{
PyObject *tmp_assign_source_42;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$routing$$$class__2_ReversibleRouter_213 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[171];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[64];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_0d309d7c80648f4408a27c99425b7950_3)) {
Py_XDECREF(cache_frame_0d309d7c80648f4408a27c99425b7950_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_0d309d7c80648f4408a27c99425b7950_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0d309d7c80648f4408a27c99425b7950_3 = MAKE_CLASS_FRAME(codeobj_0d309d7c80648f4408a27c99425b7950, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0d309d7c80648f4408a27c99425b7950_3->m_type_description == NULL);
frame_0d309d7c80648f4408a27c99425b7950_3 = cache_frame_0d309d7c80648f4408a27c99425b7950_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_0d309d7c80648f4408a27c99425b7950_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0d309d7c80648f4408a27c99425b7950_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
tmp_dict_key_3 = mod_consts[60];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[172]);
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_3;
}
}
tmp_annotations_3 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_4;
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[173];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[146]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_dict_value_3);
} else {
goto dict_build_exception_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[164];
tmp_expression_value_17 = PyObject_GetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[148]);
if (tmp_expression_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_17);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_4 = PyObject_GetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[172]);
if (tmp_subscript_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_4 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_4);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_17, tmp_subscript_value_4);
Py_DECREF(tmp_expression_value_17);
Py_DECREF(tmp_subscript_value_4);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_annotations_3);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__3_reverse_url(tmp_annotations_3);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[65], 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 = 218;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0d309d7c80648f4408a27c99425b7950_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_0d309d7c80648f4408a27c99425b7950_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0d309d7c80648f4408a27c99425b7950_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0d309d7c80648f4408a27c99425b7950_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0d309d7c80648f4408a27c99425b7950_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0d309d7c80648f4408a27c99425b7950_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_0d309d7c80648f4408a27c99425b7950_3 == cache_frame_0d309d7c80648f4408a27c99425b7950_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0d309d7c80648f4408a27c99425b7950_3);
cache_frame_0d309d7c80648f4408a27c99425b7950_3 = NULL;
}
assertFrameObject(frame_0d309d7c80648f4408a27c99425b7950_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_9;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_2__bases_orig;
tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dictset_value = tmp_class_creation_2__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__2_ReversibleRouter_213, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
branch_no_8:;
{
PyObject *tmp_assign_source_43;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = mod_consts[64];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_8 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_tornado$routing$$$class__2_ReversibleRouter_213;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 213;
tmp_assign_source_43 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
goto try_except_handler_9;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_43;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_42 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_42);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_DECREF(locals_tornado$routing$$$class__2_ReversibleRouter_213);
locals_tornado$routing$$$class__2_ReversibleRouter_213 = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__2_ReversibleRouter_213);
locals_tornado$routing$$$class__2_ReversibleRouter_213 = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto try_except_handler_8;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 213;
goto try_except_handler_7;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_42);
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
Py_DECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_2__bases);
Py_DECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_44;
PyObject *tmp_tuple_element_9;
PyObject *tmp_expression_value_18;
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[165]);
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
tmp_assign_source_44 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_44, 0, tmp_tuple_element_9);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_44;
}
{
PyObject *tmp_assign_source_45;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_45 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_45;
}
{
PyObject *tmp_assign_source_46;
tmp_assign_source_46 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_46;
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_13;
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_14;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_5;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[155];
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_13 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_value_8 = mod_consts[155];
tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8);
if (tmp_metaclass_value_3 == NULL) {
tmp_metaclass_value_3 = Py_None;
}
assert(!(tmp_metaclass_value_3 == NULL));
Py_INCREF(tmp_metaclass_value_3);
goto condexpr_end_5;
condexpr_false_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_19 = tmp_class_creation_3__bases;
tmp_subscript_value_5 = mod_consts[32];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_19, tmp_subscript_value_5, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_47 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_47;
}
{
bool tmp_condition_result_15;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[155];
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_15 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 229;
goto try_except_handler_10;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_16;
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[156]);
tmp_condition_result_16 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_48;
PyObject *tmp_called_value_5;
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_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[156]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
tmp_tuple_element_10 = mod_consts[1];
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_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 229;
tmp_assign_source_48 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_48;
}
{
bool tmp_condition_result_17;
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[157]);
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 = 229;
goto try_except_handler_10;
}
tmp_condition_result_17 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
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[158];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[69];
tmp_getattr_default_3 = mod_consts[159];
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 = 229;
goto try_except_handler_10;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_23;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_23 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_23 == NULL));
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[69]);
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 = 229;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
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 = 229;
goto try_except_handler_10;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 229;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_49;
tmp_assign_source_49 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_49;
}
branch_end_10:;
{
PyObject *tmp_assign_source_50;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$routing$$$class__3__RoutingDelegate_229 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[1];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4)) {
Py_XDECREF(cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4 = MAKE_CLASS_FRAME(codeobj_34efca7e5e1acf3bdab87e1d6e440af5, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4->m_type_description == NULL);
frame_34efca7e5e1acf3bdab87e1d6e440af5_4 = cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_34efca7e5e1acf3bdab87e1d6e440af5_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_34efca7e5e1acf3bdab87e1d6e440af5_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
tmp_dict_key_4 = mod_consts[6];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[49]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_dict_value_4 == NULL)) {
tmp_dict_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_dict_value_4);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_4 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_24;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[3];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[167]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyBaseObject_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto dict_build_exception_4;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[4];
tmp_expression_value_24 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[7]);
if (tmp_expression_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_24);
} else {
goto dict_build_exception_4;
}
}
tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[168]);
Py_DECREF(tmp_expression_value_24);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[164];
tmp_dict_value_4 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_4, tmp_dict_value_4);
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_4);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__4___init__(tmp_annotations_4);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[59], 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 = 230;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_expression_value_25;
PyObject *tmp_subscript_value_6;
PyObject *tmp_tuple_element_12;
PyObject *tmp_expression_value_26;
tmp_dict_key_5 = mod_consts[176];
tmp_expression_value_25 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[147]);
if (tmp_expression_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_expression_value_25);
} else {
goto frame_exception_exit_4;
}
}
tmp_expression_value_26 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[7]);
if (tmp_expression_value_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_25);
exception_lineno = 240;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_expression_value_26);
} else {
goto frame_exception_exit_4;
}
}
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[8]);
Py_DECREF(tmp_expression_value_26);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_25);
exception_lineno = 240;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_subscript_value_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_27;
PyTuple_SET_ITEM(tmp_subscript_value_6, 0, tmp_tuple_element_12);
tmp_expression_value_27 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[7]);
if (tmp_expression_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_27 == NULL)) {
tmp_expression_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_2 = "o";
goto tuple_build_exception_4;
}
Py_INCREF(tmp_expression_value_27);
} else {
goto tuple_build_exception_4;
}
}
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[24]);
Py_DECREF(tmp_expression_value_27);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_2 = "o";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_subscript_value_6, 1, tmp_tuple_element_12);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_expression_value_25);
Py_DECREF(tmp_subscript_value_6);
goto frame_exception_exit_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_25, tmp_subscript_value_6);
Py_DECREF(tmp_expression_value_25);
Py_DECREF(tmp_subscript_value_6);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_annotations_5 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_28;
PyObject *tmp_expression_value_29;
PyObject *tmp_subscript_value_7;
PyObject *tmp_expression_value_30;
PyObject *tmp_subscript_value_8;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[80];
tmp_expression_value_28 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[7]);
if (tmp_expression_value_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_28 == NULL)) {
tmp_expression_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_28);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[26]);
Py_DECREF(tmp_expression_value_28);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[164];
tmp_expression_value_29 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[148]);
if (tmp_expression_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_29);
} else {
goto dict_build_exception_5;
}
}
tmp_expression_value_30 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[149]);
if (tmp_expression_value_30 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_expression_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_29);
exception_lineno = 242;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_30);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_8 = Py_None;
tmp_subscript_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_30, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_30);
if (tmp_subscript_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_29);
exception_lineno = 242;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_29, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_29);
Py_DECREF(tmp_subscript_value_7);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_5;
// Exception handling pass through code for dict_build:
dict_build_exception_5:;
Py_DECREF(tmp_annotations_5);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__5_headers_received(tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[18], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
tmp_dict_key_6 = mod_consts[178];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[179]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_6 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_31;
PyObject *tmp_subscript_value_9;
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_10;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[164];
tmp_expression_value_31 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[148]);
if (tmp_expression_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_31);
} else {
goto dict_build_exception_6;
}
}
tmp_expression_value_32 = PyObject_GetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[149]);
if (tmp_expression_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_31);
exception_lineno = 262;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_32);
} else {
goto dict_build_exception_6;
}
}
tmp_subscript_value_10 = Py_None;
tmp_subscript_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_32, tmp_subscript_value_10);
Py_DECREF(tmp_expression_value_32);
if (tmp_subscript_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_31);
exception_lineno = 262;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_31, tmp_subscript_value_9);
Py_DECREF(tmp_expression_value_31);
Py_DECREF(tmp_subscript_value_9);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_6;
// Exception handling pass through code for dict_build:
dict_build_exception_6:;
Py_DECREF(tmp_annotations_6);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__6_data_received(tmp_annotations_6);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[19], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_7;
tmp_annotations_7 = DICT_COPY(mod_consts[181]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__7_finish(tmp_annotations_7);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[20], 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 = 266;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_8;
tmp_annotations_8 = DICT_COPY(mod_consts[181]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__8_on_connection_close(tmp_annotations_8);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[21], 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 = 270;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_34efca7e5e1acf3bdab87e1d6e440af5_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_34efca7e5e1acf3bdab87e1d6e440af5_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_34efca7e5e1acf3bdab87e1d6e440af5_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_34efca7e5e1acf3bdab87e1d6e440af5_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_34efca7e5e1acf3bdab87e1d6e440af5_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_34efca7e5e1acf3bdab87e1d6e440af5_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_34efca7e5e1acf3bdab87e1d6e440af5_4 == cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4);
cache_frame_34efca7e5e1acf3bdab87e1d6e440af5_4 = NULL;
}
assertFrameObject(frame_34efca7e5e1acf3bdab87e1d6e440af5_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_12;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_3__bases_orig;
tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_12;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__3__RoutingDelegate_229, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_12;
}
branch_no_12:;
{
PyObject *tmp_assign_source_51;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_13;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_13 = mod_consts[1];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_13 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_13);
tmp_tuple_element_13 = locals_tornado$routing$$$class__3__RoutingDelegate_229;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 229;
tmp_assign_source_51 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto try_except_handler_12;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_51;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_50 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_50);
goto try_return_handler_12;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
Py_DECREF(locals_tornado$routing$$$class__3__RoutingDelegate_229);
locals_tornado$routing$$$class__3__RoutingDelegate_229 = NULL;
goto try_return_handler_11;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__3__RoutingDelegate_229);
locals_tornado$routing$$$class__3__RoutingDelegate_229 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_11;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 229;
goto try_except_handler_10;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_50);
}
goto try_end_6;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_52;
PyObject *tmp_tuple_element_14;
PyObject *tmp_expression_value_33;
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[165]);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_assign_source_52 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_52, 0, tmp_tuple_element_14);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_dircall_arg1_4;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_53 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
tmp_assign_source_54 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_54;
}
{
PyObject *tmp_assign_source_55;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_19;
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_20;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_34;
PyObject *tmp_subscript_value_11;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[155];
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_19 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_11 = tmp_class_creation_4__class_decl_dict;
tmp_key_value_11 = mod_consts[155];
tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11);
if (tmp_metaclass_value_4 == NULL) {
tmp_metaclass_value_4 = Py_None;
}
assert(!(tmp_metaclass_value_4 == NULL));
Py_INCREF(tmp_metaclass_value_4);
goto condexpr_end_7;
condexpr_false_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_condition_result_20 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_34 = tmp_class_creation_4__bases;
tmp_subscript_value_11 = mod_consts[32];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_34, tmp_subscript_value_11, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_55 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_55;
}
{
bool tmp_condition_result_21;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[155];
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_21 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_21 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 275;
goto try_except_handler_13;
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_expression_value_35;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_35 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_35, mod_consts[156]);
tmp_condition_result_22 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_assign_source_56;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_36;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_36 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[156]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_tuple_element_15 = mod_consts[17];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_15 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 275;
tmp_assign_source_56 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_56;
}
{
bool tmp_condition_result_23;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_37;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_37 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_37, mod_consts[157]);
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 = 275;
goto try_except_handler_13;
}
tmp_condition_result_23 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_16;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[158];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[69];
tmp_getattr_default_4 = mod_consts[159];
tmp_tuple_element_16 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_13;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_38;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_38 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_38 == NULL));
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[69]);
Py_DECREF(tmp_expression_value_38);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_16);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
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 = 275;
goto try_except_handler_13;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 275;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_15:;
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_57;
tmp_assign_source_57 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_57;
}
branch_end_14:;
{
PyObject *tmp_assign_source_58;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$routing$$$class__4__DefaultMessageDelegate_275 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[17];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_41f828e0f427076c897363ac26848c2d_5)) {
Py_XDECREF(cache_frame_41f828e0f427076c897363ac26848c2d_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_41f828e0f427076c897363ac26848c2d_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_41f828e0f427076c897363ac26848c2d_5 = MAKE_CLASS_FRAME(codeobj_41f828e0f427076c897363ac26848c2d, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_41f828e0f427076c897363ac26848c2d_5->m_type_description == NULL);
frame_41f828e0f427076c897363ac26848c2d_5 = cache_frame_41f828e0f427076c897363ac26848c2d_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_41f828e0f427076c897363ac26848c2d_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_41f828e0f427076c897363ac26848c2d_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
PyObject *tmp_expression_value_39;
tmp_dict_key_7 = mod_consts[22];
tmp_expression_value_39 = PyObject_GetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[7]);
if (tmp_expression_value_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_39);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[168]);
Py_DECREF(tmp_expression_value_39);
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_9 = _PyDict_NewPresized( 2 );
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[164];
tmp_dict_value_7 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__9___init__(tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[59], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_10;
tmp_annotations_10 = DICT_COPY(mod_consts[181]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__10_finish(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[20], 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 = 279;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_41f828e0f427076c897363ac26848c2d_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_41f828e0f427076c897363ac26848c2d_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_41f828e0f427076c897363ac26848c2d_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_41f828e0f427076c897363ac26848c2d_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_41f828e0f427076c897363ac26848c2d_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_41f828e0f427076c897363ac26848c2d_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_41f828e0f427076c897363ac26848c2d_5 == cache_frame_41f828e0f427076c897363ac26848c2d_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_41f828e0f427076c897363ac26848c2d_5);
cache_frame_41f828e0f427076c897363ac26848c2d_5 = NULL;
}
assertFrameObject(frame_41f828e0f427076c897363ac26848c2d_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_15;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_24;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_4__bases_orig;
tmp_condition_result_24 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_24 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_15;
}
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_15;
}
branch_no_16:;
{
PyObject *tmp_assign_source_59;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_17;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_8 = tmp_class_creation_4__metaclass;
tmp_tuple_element_17 = mod_consts[17];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_17 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_17);
tmp_tuple_element_17 = locals_tornado$routing$$$class__4__DefaultMessageDelegate_275;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 275;
tmp_assign_source_59 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
goto try_except_handler_15;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_59;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_58 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_58);
goto try_return_handler_15;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_DECREF(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275);
locals_tornado$routing$$$class__4__DefaultMessageDelegate_275 = NULL;
goto try_return_handler_14;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__4__DefaultMessageDelegate_275);
locals_tornado$routing$$$class__4__DefaultMessageDelegate_275 = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto try_except_handler_14;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 275;
goto try_except_handler_13;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_58);
}
goto try_end_7;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_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_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases_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;
{
PyObject *tmp_assign_source_60;
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_12;
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_13;
PyObject *tmp_tuple_element_18;
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
goto frame_exception_exit_1;
}
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 290;
goto frame_exception_exit_1;
}
tmp_tuple_element_18 = mod_consts[34];
tmp_subscript_value_13 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_expression_value_42;
PyObject *tmp_subscript_value_14;
PyObject *tmp_expression_value_43;
PyObject *tmp_subscript_value_15;
PyObject *tmp_tuple_element_19;
PyObject *tmp_expression_value_44;
PyObject *tmp_subscript_value_16;
PyObject *tmp_expression_value_45;
PyObject *tmp_subscript_value_17;
PyObject *tmp_tuple_element_20;
PyObject *tmp_expression_value_46;
PyObject *tmp_subscript_value_18;
PyObject *tmp_expression_value_48;
PyObject *tmp_subscript_value_20;
PyObject *tmp_tuple_element_22;
PyObject *tmp_expression_value_49;
PyObject *tmp_subscript_value_21;
PyTuple_SET_ITEM0(tmp_subscript_value_13, 0, tmp_tuple_element_18);
tmp_expression_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_expression_value_42 == NULL)) {
tmp_expression_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
goto tuple_build_exception_6;
}
tmp_subscript_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_subscript_value_14 == NULL)) {
tmp_subscript_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_subscript_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
goto tuple_build_exception_6;
}
tmp_tuple_element_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_42, tmp_subscript_value_14);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 1, tmp_tuple_element_18);
tmp_expression_value_43 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[153]);
if (unlikely(tmp_expression_value_43 == NULL)) {
tmp_expression_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]);
}
if (tmp_expression_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
goto tuple_build_exception_6;
}
tmp_expression_value_44 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_44 == NULL)) {
tmp_expression_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
goto tuple_build_exception_6;
}
tmp_subscript_value_16 = mod_consts[186];
tmp_tuple_element_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_44, tmp_subscript_value_16);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
goto tuple_build_exception_6;
}
tmp_subscript_value_15 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_15, 0, tmp_tuple_element_19);
tmp_tuple_element_19 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_19 == NULL)) {
tmp_tuple_element_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM0(tmp_subscript_value_15, 1, tmp_tuple_element_19);
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_subscript_value_15);
goto tuple_build_exception_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_tuple_element_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_43, tmp_subscript_value_15);
Py_DECREF(tmp_subscript_value_15);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 2, tmp_tuple_element_18);
tmp_expression_value_45 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[153]);
if (unlikely(tmp_expression_value_45 == NULL)) {
tmp_expression_value_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]);
}
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_6;
}
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_6;
}
tmp_subscript_value_18 = mod_consts[186];
tmp_tuple_element_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_46, tmp_subscript_value_18);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_6;
}
tmp_subscript_value_17 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_47;
PyObject *tmp_subscript_value_19;
PyObject *tmp_tuple_element_21;
PyTuple_SET_ITEM(tmp_subscript_value_17, 0, tmp_tuple_element_20);
tmp_tuple_element_20 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_20 == NULL)) {
tmp_tuple_element_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM0(tmp_subscript_value_17, 1, tmp_tuple_element_20);
tmp_expression_value_47 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_47 == NULL)) {
tmp_expression_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_8;
}
tmp_tuple_element_21 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_19 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_19, 0, tmp_tuple_element_21);
tmp_tuple_element_21 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_21 == NULL)) {
tmp_tuple_element_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM0(tmp_subscript_value_19, 1, tmp_tuple_element_21);
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_subscript_value_19);
goto tuple_build_exception_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_tuple_element_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_47, tmp_subscript_value_19);
Py_DECREF(tmp_subscript_value_19);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_subscript_value_17, 2, tmp_tuple_element_20);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_subscript_value_17);
goto tuple_build_exception_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_tuple_element_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_45, tmp_subscript_value_17);
Py_DECREF(tmp_subscript_value_17);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 3, tmp_tuple_element_18);
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[153]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]);
}
if (tmp_expression_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_6;
}
tmp_expression_value_49 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_49 == NULL)) {
tmp_expression_value_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_6;
}
tmp_subscript_value_21 = mod_consts[186];
tmp_tuple_element_22 = LOOKUP_SUBSCRIPT(tmp_expression_value_49, tmp_subscript_value_21);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_6;
}
tmp_subscript_value_20 = MAKE_TUPLE_EMPTY(4);
{
PyObject *tmp_expression_value_50;
PyObject *tmp_subscript_value_22;
PyObject *tmp_tuple_element_23;
PyTuple_SET_ITEM(tmp_subscript_value_20, 0, tmp_tuple_element_22);
tmp_tuple_element_22 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_22 == NULL)) {
tmp_tuple_element_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM0(tmp_subscript_value_20, 1, tmp_tuple_element_22);
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_10;
}
tmp_tuple_element_23 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_22 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_22, 0, tmp_tuple_element_23);
tmp_tuple_element_23 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_23 == NULL)) {
tmp_tuple_element_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM0(tmp_subscript_value_22, 1, tmp_tuple_element_23);
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_subscript_value_22);
goto tuple_build_exception_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_tuple_element_22 = LOOKUP_SUBSCRIPT(tmp_expression_value_50, tmp_subscript_value_22);
Py_DECREF(tmp_subscript_value_22);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_subscript_value_20, 2, tmp_tuple_element_22);
tmp_tuple_element_22 = (PyObject *)&PyUnicode_Type;
PyTuple_SET_ITEM0(tmp_subscript_value_20, 3, tmp_tuple_element_22);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_subscript_value_20);
goto tuple_build_exception_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_tuple_element_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_48, tmp_subscript_value_20);
Py_DECREF(tmp_subscript_value_20);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 4, tmp_tuple_element_18);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_subscript_value_13);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_subscript_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_41, tmp_subscript_value_13);
Py_DECREF(tmp_subscript_value_13);
if (tmp_subscript_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
goto frame_exception_exit_1;
}
tmp_assign_source_60 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_12);
Py_DECREF(tmp_subscript_value_12);
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 290;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[187], tmp_assign_source_60);
}
// Tried code:
{
PyObject *tmp_assign_source_61;
PyObject *tmp_tuple_element_24;
tmp_tuple_element_24 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_tuple_element_24 == NULL)) {
tmp_tuple_element_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
tmp_assign_source_61 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_61, 0, tmp_tuple_element_24);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
PyObject *tmp_dircall_arg1_5;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig;
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_62 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_62;
}
{
PyObject *tmp_assign_source_63;
tmp_assign_source_63 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_63;
}
{
PyObject *tmp_assign_source_64;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_25;
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_26;
int tmp_truth_name_5;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_51;
PyObject *tmp_subscript_value_23;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[155];
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_25 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_14 = tmp_class_creation_5__class_decl_dict;
tmp_key_value_14 = mod_consts[155];
tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14);
if (tmp_metaclass_value_5 == NULL) {
tmp_metaclass_value_5 = Py_None;
}
assert(!(tmp_metaclass_value_5 == NULL));
Py_INCREF(tmp_metaclass_value_5);
goto condexpr_end_9;
condexpr_false_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
tmp_condition_result_26 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_51 = tmp_class_creation_5__bases;
tmp_subscript_value_23 = mod_consts[32];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_51, tmp_subscript_value_23, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_64 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_64;
}
{
bool tmp_condition_result_27;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[155];
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_27 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 300;
goto try_except_handler_16;
}
branch_no_17:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_expression_value_52;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_52 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_52, mod_consts[156]);
tmp_condition_result_28 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_assign_source_65;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_53;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_25;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_53 = tmp_class_creation_5__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_53, mod_consts[156]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
tmp_tuple_element_25 = mod_consts[188];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_25 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 300;
tmp_assign_source_65 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_65;
}
{
bool tmp_condition_result_29;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_54;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_54 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_54, mod_consts[157]);
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 = 300;
goto try_except_handler_16;
}
tmp_condition_result_29 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
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_26;
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[158];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[69];
tmp_getattr_default_5 = mod_consts[159];
tmp_tuple_element_26 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_55;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_26);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_55 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_55 == NULL));
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_55, mod_consts[69]);
Py_DECREF(tmp_expression_value_55);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_26);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_16;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 300;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_16;
}
branch_no_19:;
goto branch_end_18;
branch_no_18:;
{
PyObject *tmp_assign_source_66;
tmp_assign_source_66 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_66;
}
branch_end_18:;
{
PyObject *tmp_assign_source_67;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$routing$$$class__5_RuleRouter_300 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[189];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[188];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
if (isFrameUnusable(cache_frame_91ad08cce0cf86308603ca55ca4099f0_6)) {
Py_XDECREF(cache_frame_91ad08cce0cf86308603ca55ca4099f0_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_91ad08cce0cf86308603ca55ca4099f0_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_91ad08cce0cf86308603ca55ca4099f0_6 = MAKE_CLASS_FRAME(codeobj_91ad08cce0cf86308603ca55ca4099f0, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_91ad08cce0cf86308603ca55ca4099f0_6->m_type_description == NULL);
frame_91ad08cce0cf86308603ca55ca4099f0_6 = cache_frame_91ad08cce0cf86308603ca55ca4099f0_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_91ad08cce0cf86308603ca55ca4099f0_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_91ad08cce0cf86308603ca55ca4099f0_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
PyObject *tmp_expression_value_56;
PyObject *tmp_subscript_value_24;
tmp_defaults_1 = mod_consts[190];
tmp_dict_key_8 = mod_consts[27];
tmp_expression_value_56 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[148]);
if (tmp_expression_value_56 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_56 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_56 == NULL)) {
tmp_expression_value_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_56);
} else {
goto frame_exception_exit_6;
}
}
tmp_subscript_value_24 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[187]);
if (tmp_subscript_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[187]);
if (unlikely(tmp_subscript_value_24 == NULL)) {
tmp_subscript_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[187]);
}
if (tmp_subscript_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_56);
exception_lineno = 303;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_subscript_value_24);
} else {
goto frame_exception_exit_6;
}
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_56, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_56);
Py_DECREF(tmp_subscript_value_24);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_11 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[164];
tmp_dict_value_8 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__11___init__(tmp_defaults_1, tmp_annotations_11);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[59], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_dict_key_9 = mod_consts[27];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[187]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[187]);
if (unlikely(tmp_dict_value_9 == NULL)) {
tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[187]);
}
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_6;
}
}
tmp_annotations_12 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[164];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__12_add_rules(tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[28], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_13;
tmp_annotations_13 = DICT_COPY(mod_consts[193]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__13_process_rule(tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[39], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
PyObject *tmp_expression_value_57;
tmp_dict_key_10 = mod_consts[44];
tmp_expression_value_57 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[7]);
if (tmp_expression_value_57 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_57 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_57 == NULL)) {
tmp_expression_value_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_57);
} else {
goto frame_exception_exit_6;
}
}
tmp_dict_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_57, mod_consts[9]);
Py_DECREF(tmp_expression_value_57);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_14 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_58;
PyObject *tmp_subscript_value_25;
PyObject *tmp_expression_value_59;
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[123];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[146]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_10 == NULL)) {
tmp_dict_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_dict_value_10);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[164];
tmp_expression_value_58 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[148]);
if (tmp_expression_value_58 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_58 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_58 == NULL)) {
tmp_expression_value_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_58);
} else {
goto dict_build_exception_7;
}
}
tmp_expression_value_59 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[7]);
if (tmp_expression_value_59 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_59 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_59 == NULL)) {
tmp_expression_value_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_58);
exception_lineno = 360;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_59);
} else {
goto dict_build_exception_7;
}
}
tmp_subscript_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_59, mod_consts[165]);
Py_DECREF(tmp_expression_value_59);
if (tmp_subscript_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_58);
exception_lineno = 360;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_value_58, tmp_subscript_value_25);
Py_DECREF(tmp_expression_value_58);
Py_DECREF(tmp_subscript_value_25);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
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_14);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__14_find_handler(tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[11], 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 = 358;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
tmp_dict_key_11 = mod_consts[47];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[146]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_11 == NULL)) {
tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_6;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_60;
PyObject *tmp_expression_value_61;
PyObject *tmp_subscript_value_26;
PyObject *tmp_expression_value_62;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[44];
tmp_expression_value_60 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[7]);
if (tmp_expression_value_60 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_60 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_60 == NULL)) {
tmp_expression_value_60 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_60);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_60, mod_consts[9]);
Py_DECREF(tmp_expression_value_60);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[48];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[146]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_11 == NULL)) {
tmp_dict_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_dict_value_11);
} else {
goto dict_build_exception_8;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[164];
tmp_expression_value_61 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[148]);
if (tmp_expression_value_61 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_61 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_61 == NULL)) {
tmp_expression_value_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_61);
} else {
goto dict_build_exception_8;
}
}
tmp_expression_value_62 = PyObject_GetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[7]);
if (tmp_expression_value_62 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_62 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_62 == NULL)) {
tmp_expression_value_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_61);
exception_lineno = 378;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_62);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_62, mod_consts[165]);
Py_DECREF(tmp_expression_value_62);
if (tmp_subscript_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_61);
exception_lineno = 378;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_61, tmp_subscript_value_26);
Py_DECREF(tmp_expression_value_61);
Py_DECREF(tmp_subscript_value_26);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
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_15);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__15_get_target_delegate(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[46], 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 = 376;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_91ad08cce0cf86308603ca55ca4099f0_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_91ad08cce0cf86308603ca55ca4099f0_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_91ad08cce0cf86308603ca55ca4099f0_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_91ad08cce0cf86308603ca55ca4099f0_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_91ad08cce0cf86308603ca55ca4099f0_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_91ad08cce0cf86308603ca55ca4099f0_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_91ad08cce0cf86308603ca55ca4099f0_6 == cache_frame_91ad08cce0cf86308603ca55ca4099f0_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_91ad08cce0cf86308603ca55ca4099f0_6);
cache_frame_91ad08cce0cf86308603ca55ca4099f0_6 = NULL;
}
assertFrameObject(frame_91ad08cce0cf86308603ca55ca4099f0_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_18;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_5 = tmp_class_creation_5__bases_orig;
tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__5_RuleRouter_300, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
branch_no_20:;
{
PyObject *tmp_assign_source_68;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_27;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_10 = tmp_class_creation_5__metaclass;
tmp_tuple_element_27 = mod_consts[188];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_27 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_27);
tmp_tuple_element_27 = locals_tornado$routing$$$class__5_RuleRouter_300;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 300;
tmp_assign_source_68 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
goto try_except_handler_18;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_68;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_67 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_67);
goto try_return_handler_18;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
Py_DECREF(locals_tornado$routing$$$class__5_RuleRouter_300);
locals_tornado$routing$$$class__5_RuleRouter_300 = NULL;
goto try_return_handler_17;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__5_RuleRouter_300);
locals_tornado$routing$$$class__5_RuleRouter_300 = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto try_except_handler_17;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
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_17:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 300;
goto try_except_handler_16;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[188], tmp_assign_source_67);
}
goto try_end_8;
// Exception handler code:
try_except_handler_16:;
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_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_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
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_69;
PyObject *tmp_tuple_element_28;
tmp_tuple_element_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_tuple_element_28 == NULL)) {
tmp_tuple_element_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
tmp_assign_source_69 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_assign_source_69, 0, tmp_tuple_element_28);
tmp_tuple_element_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[188]);
if (unlikely(tmp_tuple_element_28 == NULL)) {
tmp_tuple_element_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[188]);
}
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto tuple_build_exception_13;
}
PyTuple_SET_ITEM0(tmp_assign_source_69, 1, tmp_tuple_element_28);
goto tuple_build_noexception_13;
// Exception handling pass through code for tuple_build:
tuple_build_exception_13:;
Py_DECREF(tmp_assign_source_69);
goto try_except_handler_19;
// Finished with no exception for tuple_build:
tuple_build_noexception_13:;
assert(tmp_class_creation_6__bases_orig == NULL);
tmp_class_creation_6__bases_orig = tmp_assign_source_69;
}
{
PyObject *tmp_assign_source_70;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_70 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_70;
}
{
PyObject *tmp_assign_source_71;
tmp_assign_source_71 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_71;
}
{
PyObject *tmp_assign_source_72;
PyObject *tmp_metaclass_value_6;
bool tmp_condition_result_31;
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_32;
int tmp_truth_name_6;
PyObject *tmp_type_arg_11;
PyObject *tmp_expression_value_63;
PyObject *tmp_subscript_value_27;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[155];
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_31 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_17 = tmp_class_creation_6__class_decl_dict;
tmp_key_value_17 = mod_consts[155];
tmp_metaclass_value_6 = DICT_GET_ITEM0(tmp_dict_arg_value_17, tmp_key_value_17);
if (tmp_metaclass_value_6 == NULL) {
tmp_metaclass_value_6 = Py_None;
}
assert(!(tmp_metaclass_value_6 == NULL));
Py_INCREF(tmp_metaclass_value_6);
goto condexpr_end_11;
condexpr_false_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_6__bases);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
tmp_condition_result_32 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_63 = tmp_class_creation_6__bases;
tmp_subscript_value_27 = mod_consts[32];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_63, tmp_subscript_value_27, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_12:;
condexpr_end_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_72 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_72;
}
{
bool tmp_condition_result_33;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[155];
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_33 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_33 != false) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 404;
goto try_except_handler_19;
}
branch_no_21:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_expression_value_64;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_64 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_64, mod_consts[156]);
tmp_condition_result_34 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
{
PyObject *tmp_assign_source_73;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_65;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_29;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_65 = tmp_class_creation_6__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_65, mod_consts[156]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
tmp_tuple_element_29 = mod_consts[197];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_29 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 404;
tmp_assign_source_73 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_value_11);
if (tmp_assign_source_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_73;
}
{
bool tmp_condition_result_35;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_66;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_66 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_66, mod_consts[157]);
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 = 404;
goto try_except_handler_19;
}
tmp_condition_result_35 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
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_30;
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[158];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[69];
tmp_getattr_default_6 = mod_consts[159];
tmp_tuple_element_30 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_19;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_67;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_30);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_67 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_67 == NULL));
tmp_tuple_element_30 = LOOKUP_ATTRIBUTE(tmp_expression_value_67, mod_consts[69]);
Py_DECREF(tmp_expression_value_67);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto tuple_build_exception_14;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_30);
}
goto tuple_build_noexception_14;
// Exception handling pass through code for tuple_build:
tuple_build_exception_14:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_19;
// Finished with no exception for tuple_build:
tuple_build_noexception_14:;
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 = 404;
goto try_except_handler_19;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 404;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_19;
}
branch_no_23:;
goto branch_end_22;
branch_no_22:;
{
PyObject *tmp_assign_source_74;
tmp_assign_source_74 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_74;
}
branch_end_22:;
{
PyObject *tmp_assign_source_75;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_tornado$routing$$$class__6_ReversibleRuleRouter_404 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[198];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[197];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
if (isFrameUnusable(cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7)) {
Py_XDECREF(cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7 = MAKE_CLASS_FRAME(codeobj_d56c7e856a7b9e9fd6575edf551fe294, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7->m_type_description == NULL);
frame_d56c7e856a7b9e9fd6575edf551fe294_7 = cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_d56c7e856a7b9e9fd6575edf551fe294_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d56c7e856a7b9e9fd6575edf551fe294_7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
PyObject *tmp_expression_value_68;
PyObject *tmp_subscript_value_28;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_defaults_2 = mod_consts[190];
tmp_dict_key_12 = mod_consts[27];
tmp_expression_value_68 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[148]);
if (tmp_expression_value_68 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_68 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_68 == NULL)) {
tmp_expression_value_68 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "c";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_expression_value_68);
} else {
goto frame_exception_exit_7;
}
}
tmp_subscript_value_28 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[187]);
if (tmp_subscript_value_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[187]);
if (unlikely(tmp_subscript_value_28 == NULL)) {
tmp_subscript_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[187]);
}
if (tmp_subscript_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_68);
exception_lineno = 412;
type_description_2 = "c";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_subscript_value_28);
} else {
goto frame_exception_exit_7;
}
}
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_68, tmp_subscript_value_28);
Py_DECREF(tmp_expression_value_68);
Py_DECREF(tmp_subscript_value_28);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "c";
goto frame_exception_exit_7;
}
tmp_annotations_16 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[164];
tmp_dict_value_12 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_2);
tmp_closure_1[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__16___init__(tmp_defaults_2, tmp_annotations_16, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[59], 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 = 412;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_17;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_annotations_17 = DICT_COPY(mod_consts[193]);
tmp_closure_2[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__17_process_rule(tmp_annotations_17, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[39], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[60];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[172]);
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_7;
}
}
tmp_annotations_18 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_69;
PyObject *tmp_subscript_value_29;
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[173];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[146]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[164];
tmp_expression_value_69 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[148]);
if (tmp_expression_value_69 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_69 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_69 == NULL)) {
tmp_expression_value_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_69);
} else {
goto dict_build_exception_9;
}
}
tmp_subscript_value_29 = PyObject_GetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[172]);
if (tmp_subscript_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_29 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_29);
} else {
goto dict_build_exception_9;
}
}
tmp_dict_value_13 = LOOKUP_SUBSCRIPT(tmp_expression_value_69, tmp_subscript_value_29);
Py_DECREF(tmp_expression_value_69);
Py_DECREF(tmp_subscript_value_29);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "c";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
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_18);
goto frame_exception_exit_7;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__18_reverse_url(tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[65], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d56c7e856a7b9e9fd6575edf551fe294_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_d56c7e856a7b9e9fd6575edf551fe294_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d56c7e856a7b9e9fd6575edf551fe294_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d56c7e856a7b9e9fd6575edf551fe294_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d56c7e856a7b9e9fd6575edf551fe294_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d56c7e856a7b9e9fd6575edf551fe294_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_d56c7e856a7b9e9fd6575edf551fe294_7 == cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7);
cache_frame_d56c7e856a7b9e9fd6575edf551fe294_7 = NULL;
}
assertFrameObject(frame_d56c7e856a7b9e9fd6575edf551fe294_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_21;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_36;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_6__bases;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_cmp_expr_right_6 = tmp_class_creation_6__bases_orig;
tmp_condition_result_36 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_36 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dictset_value = tmp_class_creation_6__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
branch_no_24:;
{
PyObject *tmp_assign_source_76;
PyObject *tmp_called_value_12;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_31;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_12 = tmp_class_creation_6__metaclass;
tmp_tuple_element_31 = mod_consts[197];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_31 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_31);
tmp_tuple_element_31 = locals_tornado$routing$$$class__6_ReversibleRuleRouter_404;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 404;
tmp_assign_source_76 = CALL_FUNCTION(tmp_called_value_12, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
goto try_except_handler_21;
}
assert(Nuitka_Cell_GET(outline_5_var___class__) == NULL);
PyCell_SET(outline_5_var___class__, tmp_assign_source_76);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_5_var___class__));
tmp_assign_source_75 = Nuitka_Cell_GET(outline_5_var___class__);
Py_INCREF(tmp_assign_source_75);
goto try_return_handler_21;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
Py_DECREF(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404);
locals_tornado$routing$$$class__6_ReversibleRuleRouter_404 = NULL;
goto try_return_handler_20;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__6_ReversibleRuleRouter_404);
locals_tornado$routing$$$class__6_ReversibleRuleRouter_404 = NULL;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto try_except_handler_20;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
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_20:;
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;
// 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 outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 404;
goto try_except_handler_19;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_75);
}
goto try_end_9;
// Exception handler code:
try_except_handler_19:;
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_XDECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
Py_DECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_6__bases);
Py_DECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
Py_DECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
Py_DECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_6__prepared);
Py_DECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_77;
PyObject *tmp_dircall_arg1_7;
tmp_dircall_arg1_7 = mod_consts[202];
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
tmp_assign_source_77 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_77;
}
{
PyObject *tmp_assign_source_78;
tmp_assign_source_78 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_78;
}
{
PyObject *tmp_assign_source_79;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_37;
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_38;
int tmp_truth_name_7;
PyObject *tmp_type_arg_13;
PyObject *tmp_expression_value_70;
PyObject *tmp_subscript_value_30;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[155];
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_37 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_37 != false) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_20 = tmp_class_creation_7__class_decl_dict;
tmp_key_value_20 = mod_consts[155];
tmp_metaclass_value_7 = DICT_GET_ITEM0(tmp_dict_arg_value_20, tmp_key_value_20);
if (tmp_metaclass_value_7 == NULL) {
tmp_metaclass_value_7 = Py_None;
}
assert(!(tmp_metaclass_value_7 == NULL));
Py_INCREF(tmp_metaclass_value_7);
goto condexpr_end_13;
condexpr_false_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_7__bases);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
tmp_condition_result_38 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_70 = tmp_class_creation_7__bases;
tmp_subscript_value_30 = mod_consts[32];
tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_70, tmp_subscript_value_30, 0);
if (tmp_type_arg_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
tmp_metaclass_value_7 = BUILTIN_TYPE1(tmp_type_arg_13);
Py_DECREF(tmp_type_arg_13);
if (tmp_metaclass_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_14:;
condexpr_end_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_79 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_79;
}
{
bool tmp_condition_result_39;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[155];
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_39 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 441;
goto try_except_handler_22;
}
branch_no_25:;
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_expression_value_71;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_71 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_71, mod_consts[156]);
tmp_condition_result_40 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
PyObject *tmp_assign_source_80;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_72;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_32;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_72 = tmp_class_creation_7__metaclass;
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_72, mod_consts[156]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
tmp_tuple_element_32 = mod_consts[34];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_32);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_32 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_32);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 441;
tmp_assign_source_80 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_80;
}
{
bool tmp_condition_result_41;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_73;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_73 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_73, mod_consts[157]);
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 = 441;
goto try_except_handler_22;
}
tmp_condition_result_41 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_41 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
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_33;
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[158];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[69];
tmp_getattr_default_7 = mod_consts[159];
tmp_tuple_element_33 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_22;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_74;
PyObject *tmp_type_arg_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_14 = tmp_class_creation_7__prepared;
tmp_expression_value_74 = BUILTIN_TYPE1(tmp_type_arg_14);
assert(!(tmp_expression_value_74 == NULL));
tmp_tuple_element_33 = LOOKUP_ATTRIBUTE(tmp_expression_value_74, mod_consts[69]);
Py_DECREF(tmp_expression_value_74);
if (tmp_tuple_element_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto tuple_build_exception_15;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_33);
}
goto tuple_build_noexception_15;
// Exception handling pass through code for tuple_build:
tuple_build_exception_15:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_22;
// Finished with no exception for tuple_build:
tuple_build_noexception_15:;
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 = 441;
goto try_except_handler_22;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 441;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_22;
}
branch_no_27:;
goto branch_end_26;
branch_no_26:;
{
PyObject *tmp_assign_source_81;
tmp_assign_source_81 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_81;
}
branch_end_26:;
{
PyObject *tmp_assign_source_82;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_tornado$routing$$$class__7_Rule_441 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[203];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[34];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
if (isFrameUnusable(cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8)) {
Py_XDECREF(cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8);
#if _DEBUG_REFCOUNTS
if (cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8 = MAKE_CLASS_FRAME(codeobj_ea2241075aa7dd0eb3cd761c1e84400c, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8->m_type_description == NULL);
frame_ea2241075aa7dd0eb3cd761c1e84400c_8 = cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8;
// Push the new frame as the currently active one.
pushFrameStack(frame_ea2241075aa7dd0eb3cd761c1e84400c_8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ea2241075aa7dd0eb3cd761c1e84400c_8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
tmp_defaults_3 = mod_consts[111];
tmp_dict_key_14 = mod_consts[42];
tmp_dict_value_14 = mod_consts[204];
tmp_annotations_19 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_75;
PyObject *tmp_subscript_value_31;
PyObject *tmp_expression_value_76;
PyObject *tmp_subscript_value_32;
PyObject *tmp_tuple_element_34;
PyObject *tmp_expression_value_77;
PyObject *tmp_subscript_value_33;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_14, tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[47];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[146]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_14 == NULL)) {
tmp_dict_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_dict_value_14);
} else {
goto dict_build_exception_10;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[45];
tmp_expression_value_75 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[148]);
if (tmp_expression_value_75 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_75 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_75 == NULL)) {
tmp_expression_value_75 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_75);
} else {
goto dict_build_exception_10;
}
}
tmp_expression_value_76 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[151]);
if (tmp_expression_value_76 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_76 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_76 == NULL)) {
tmp_expression_value_76 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_75);
exception_lineno = 448;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_76);
} else {
goto dict_build_exception_10;
}
}
tmp_tuple_element_34 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[172]);
if (tmp_tuple_element_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_34 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_34);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_32 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_32, 0, tmp_tuple_element_34);
tmp_tuple_element_34 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[146]);
if (tmp_tuple_element_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_34 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_34 == NULL)) {
tmp_tuple_element_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_2 = "o";
goto tuple_build_exception_16;
}
Py_INCREF(tmp_tuple_element_34);
} else {
goto tuple_build_exception_16;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_32, 1, tmp_tuple_element_34);
goto tuple_build_noexception_16;
// Exception handling pass through code for tuple_build:
tuple_build_exception_16:;
Py_DECREF(tmp_expression_value_75);
Py_DECREF(tmp_expression_value_76);
Py_DECREF(tmp_subscript_value_32);
goto dict_build_exception_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_16:;
tmp_subscript_value_31 = LOOKUP_SUBSCRIPT(tmp_expression_value_76, tmp_subscript_value_32);
Py_DECREF(tmp_expression_value_76);
Py_DECREF(tmp_subscript_value_32);
if (tmp_subscript_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_75);
exception_lineno = 448;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_dict_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_75, tmp_subscript_value_31);
Py_DECREF(tmp_expression_value_75);
Py_DECREF(tmp_subscript_value_31);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[60];
tmp_expression_value_77 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[148]);
if (tmp_expression_value_77 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_77 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_77 == NULL)) {
tmp_expression_value_77 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_77);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_33 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[172]);
if (tmp_subscript_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_33 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_33);
} else {
goto dict_build_exception_10;
}
}
tmp_dict_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_77, tmp_subscript_value_33);
Py_DECREF(tmp_expression_value_77);
Py_DECREF(tmp_subscript_value_33);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[164];
tmp_dict_value_14 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_14, tmp_dict_value_14);
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_19);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__19___init__(tmp_defaults_3, tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[59], 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 = 444;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_20;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_dict_key_15 = mod_consts[173];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[146]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_15 == NULL)) {
tmp_dict_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_8;
}
}
tmp_annotations_20 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_78;
PyObject *tmp_subscript_value_34;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[164];
tmp_expression_value_78 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[148]);
if (tmp_expression_value_78 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_78 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_78 == NULL)) {
tmp_expression_value_78 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_78 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_78);
} else {
goto dict_build_exception_11;
}
}
tmp_subscript_value_34 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[172]);
if (tmp_subscript_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_34 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_34);
} else {
goto dict_build_exception_11;
}
}
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_78, tmp_subscript_value_34);
Py_DECREF(tmp_expression_value_78);
Py_DECREF(tmp_subscript_value_34);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
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_20);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_11:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__20_reverse(tmp_annotations_20);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[63], 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 = 477;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_21;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
tmp_dict_key_16 = mod_consts[164];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[172]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto frame_exception_exit_8;
}
}
tmp_annotations_21 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__21___repr__(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[207], 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 = 480;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ea2241075aa7dd0eb3cd761c1e84400c_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_ea2241075aa7dd0eb3cd761c1e84400c_8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ea2241075aa7dd0eb3cd761c1e84400c_8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ea2241075aa7dd0eb3cd761c1e84400c_8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ea2241075aa7dd0eb3cd761c1e84400c_8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ea2241075aa7dd0eb3cd761c1e84400c_8,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_ea2241075aa7dd0eb3cd761c1e84400c_8 == cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8);
cache_frame_ea2241075aa7dd0eb3cd761c1e84400c_8 = NULL;
}
assertFrameObject(frame_ea2241075aa7dd0eb3cd761c1e84400c_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_24;
skip_nested_handling_7:;
{
nuitka_bool tmp_condition_result_42;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_7__bases;
tmp_cmp_expr_right_7 = mod_consts[202];
tmp_condition_result_42 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_42 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
tmp_dictset_value = mod_consts[202];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__7_Rule_441, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
branch_no_28:;
{
PyObject *tmp_assign_source_83;
PyObject *tmp_called_value_14;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_35;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_14 = tmp_class_creation_7__metaclass;
tmp_tuple_element_35 = mod_consts[34];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_35 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_35);
tmp_tuple_element_35 = locals_tornado$routing$$$class__7_Rule_441;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 441;
tmp_assign_source_83 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_83 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
goto try_except_handler_24;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_83;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_82 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_82);
goto try_return_handler_24;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_24:;
Py_DECREF(locals_tornado$routing$$$class__7_Rule_441);
locals_tornado$routing$$$class__7_Rule_441 = NULL;
goto try_return_handler_23;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__7_Rule_441);
locals_tornado$routing$$$class__7_Rule_441 = NULL;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto try_except_handler_23;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
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_23:;
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;
// 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 outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 441;
goto try_except_handler_22;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[34], tmp_assign_source_82);
}
goto try_end_10;
// Exception handler code:
try_except_handler_22:;
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_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_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
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_84;
PyObject *tmp_dircall_arg1_8;
tmp_dircall_arg1_8 = mod_consts[202];
Py_INCREF(tmp_dircall_arg1_8);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_8};
tmp_assign_source_84 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
assert(tmp_class_creation_8__bases == NULL);
tmp_class_creation_8__bases = tmp_assign_source_84;
}
{
PyObject *tmp_assign_source_85;
tmp_assign_source_85 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__class_decl_dict == NULL);
tmp_class_creation_8__class_decl_dict = tmp_assign_source_85;
}
{
PyObject *tmp_assign_source_86;
PyObject *tmp_metaclass_value_8;
bool tmp_condition_result_43;
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_44;
int tmp_truth_name_8;
PyObject *tmp_type_arg_15;
PyObject *tmp_expression_value_79;
PyObject *tmp_subscript_value_35;
PyObject *tmp_bases_value_8;
tmp_key_value_22 = mod_consts[155];
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_43 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_43 != false) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_23 = tmp_class_creation_8__class_decl_dict;
tmp_key_value_23 = mod_consts[155];
tmp_metaclass_value_8 = DICT_GET_ITEM0(tmp_dict_arg_value_23, tmp_key_value_23);
if (tmp_metaclass_value_8 == NULL) {
tmp_metaclass_value_8 = Py_None;
}
assert(!(tmp_metaclass_value_8 == NULL));
Py_INCREF(tmp_metaclass_value_8);
goto condexpr_end_15;
condexpr_false_15:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_truth_name_8 = CHECK_IF_TRUE(tmp_class_creation_8__bases);
if (tmp_truth_name_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
tmp_condition_result_44 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_44 == NUITKA_BOOL_TRUE) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_expression_value_79 = tmp_class_creation_8__bases;
tmp_subscript_value_35 = mod_consts[32];
tmp_type_arg_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_79, tmp_subscript_value_35, 0);
if (tmp_type_arg_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
tmp_metaclass_value_8 = BUILTIN_TYPE1(tmp_type_arg_15);
Py_DECREF(tmp_type_arg_15);
if (tmp_metaclass_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
goto condexpr_end_16;
condexpr_false_16:;
tmp_metaclass_value_8 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_8);
condexpr_end_16:;
condexpr_end_15:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_bases_value_8 = tmp_class_creation_8__bases;
tmp_assign_source_86 = SELECT_METACLASS(tmp_metaclass_value_8, tmp_bases_value_8);
Py_DECREF(tmp_metaclass_value_8);
if (tmp_assign_source_86 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
assert(tmp_class_creation_8__metaclass == NULL);
tmp_class_creation_8__metaclass = tmp_assign_source_86;
}
{
bool tmp_condition_result_45;
PyObject *tmp_key_value_24;
PyObject *tmp_dict_arg_value_24;
tmp_key_value_24 = mod_consts[155];
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_45 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_45 != false) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_8__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 490;
goto try_except_handler_25;
}
branch_no_29:;
{
nuitka_bool tmp_condition_result_46;
PyObject *tmp_expression_value_80;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_80 = tmp_class_creation_8__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_80, mod_consts[156]);
tmp_condition_result_46 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_46 == NUITKA_BOOL_TRUE) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
{
PyObject *tmp_assign_source_87;
PyObject *tmp_called_value_15;
PyObject *tmp_expression_value_81;
PyObject *tmp_args_value_15;
PyObject *tmp_tuple_element_36;
PyObject *tmp_kwargs_value_15;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_81 = tmp_class_creation_8__metaclass;
tmp_called_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_81, mod_consts[156]);
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
tmp_tuple_element_36 = mod_consts[204];
tmp_args_value_15 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_15, 0, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_36 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_15, 1, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_15 = tmp_class_creation_8__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 490;
tmp_assign_source_87 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_15, tmp_kwargs_value_15);
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_value_15);
if (tmp_assign_source_87 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_87;
}
{
bool tmp_condition_result_47;
PyObject *tmp_operand_value_8;
PyObject *tmp_expression_value_82;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_expression_value_82 = tmp_class_creation_8__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_82, mod_consts[157]);
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 = 490;
goto try_except_handler_25;
}
tmp_condition_result_47 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_47 != false) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
{
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_37;
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[158];
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_getattr_target_8 = tmp_class_creation_8__metaclass;
tmp_getattr_attr_8 = mod_consts[69];
tmp_getattr_default_8 = mod_consts[159];
tmp_tuple_element_37 = BUILTIN_GETATTR(tmp_getattr_target_8, tmp_getattr_attr_8, tmp_getattr_default_8);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_25;
}
tmp_mod_expr_right_8 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_83;
PyObject *tmp_type_arg_16;
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 0, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_type_arg_16 = tmp_class_creation_8__prepared;
tmp_expression_value_83 = BUILTIN_TYPE1(tmp_type_arg_16);
assert(!(tmp_expression_value_83 == NULL));
tmp_tuple_element_37 = LOOKUP_ATTRIBUTE(tmp_expression_value_83, mod_consts[69]);
Py_DECREF(tmp_expression_value_83);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto tuple_build_exception_17;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 1, tmp_tuple_element_37);
}
goto tuple_build_noexception_17;
// Exception handling pass through code for tuple_build:
tuple_build_exception_17:;
Py_DECREF(tmp_mod_expr_right_8);
goto try_except_handler_25;
// Finished with no exception for tuple_build:
tuple_build_noexception_17:;
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 = 490;
goto try_except_handler_25;
}
exception_type = tmp_raise_type_8;
Py_INCREF(tmp_raise_type_8);
exception_value = tmp_raise_value_8;
exception_lineno = 490;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_25;
}
branch_no_31:;
goto branch_end_30;
branch_no_30:;
{
PyObject *tmp_assign_source_88;
tmp_assign_source_88 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_88;
}
branch_end_30:;
{
PyObject *tmp_assign_source_89;
{
PyObject *tmp_set_locals_8;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_set_locals_8 = tmp_class_creation_8__prepared;
locals_tornado$routing$$$class__8_Matcher_490 = tmp_set_locals_8;
Py_INCREF(tmp_set_locals_8);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
tmp_dictset_value = mod_consts[209];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
if (isFrameUnusable(cache_frame_011ce0bec0a95f004881f84b3021ef9f_9)) {
Py_XDECREF(cache_frame_011ce0bec0a95f004881f84b3021ef9f_9);
#if _DEBUG_REFCOUNTS
if (cache_frame_011ce0bec0a95f004881f84b3021ef9f_9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_011ce0bec0a95f004881f84b3021ef9f_9 = MAKE_CLASS_FRAME(codeobj_011ce0bec0a95f004881f84b3021ef9f, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_011ce0bec0a95f004881f84b3021ef9f_9->m_type_description == NULL);
frame_011ce0bec0a95f004881f84b3021ef9f_9 = cache_frame_011ce0bec0a95f004881f84b3021ef9f_9;
// Push the new frame as the currently active one.
pushFrameStack(frame_011ce0bec0a95f004881f84b3021ef9f_9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_011ce0bec0a95f004881f84b3021ef9f_9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_22;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
PyObject *tmp_expression_value_84;
tmp_dict_key_17 = mod_consts[44];
tmp_expression_value_84 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[7]);
if (tmp_expression_value_84 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_84 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_84 == NULL)) {
tmp_expression_value_84 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_9;
}
Py_INCREF(tmp_expression_value_84);
} else {
goto frame_exception_exit_9;
}
}
tmp_dict_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_84, mod_consts[9]);
Py_DECREF(tmp_expression_value_84);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_annotations_22 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_85;
PyObject *tmp_subscript_value_36;
PyObject *tmp_expression_value_86;
PyObject *tmp_subscript_value_37;
PyObject *tmp_tuple_element_38;
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[164];
tmp_expression_value_85 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[148]);
if (tmp_expression_value_85 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_85 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_85 == NULL)) {
tmp_expression_value_85 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto dict_build_exception_12;
}
Py_INCREF(tmp_expression_value_85);
} else {
goto dict_build_exception_12;
}
}
tmp_expression_value_86 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[151]);
if (tmp_expression_value_86 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_86 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_86 == NULL)) {
tmp_expression_value_86 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_86 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_85);
exception_lineno = 493;
type_description_2 = "o";
goto dict_build_exception_12;
}
Py_INCREF(tmp_expression_value_86);
} else {
goto dict_build_exception_12;
}
}
tmp_tuple_element_38 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[172]);
if (tmp_tuple_element_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_38 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_38);
} else {
goto dict_build_exception_12;
}
}
tmp_subscript_value_37 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_37, 0, tmp_tuple_element_38);
tmp_tuple_element_38 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[146]);
if (tmp_tuple_element_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_38 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_38 == NULL)) {
tmp_tuple_element_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto tuple_build_exception_18;
}
Py_INCREF(tmp_tuple_element_38);
} else {
goto tuple_build_exception_18;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_37, 1, tmp_tuple_element_38);
goto tuple_build_noexception_18;
// Exception handling pass through code for tuple_build:
tuple_build_exception_18:;
Py_DECREF(tmp_expression_value_85);
Py_DECREF(tmp_expression_value_86);
Py_DECREF(tmp_subscript_value_37);
goto dict_build_exception_12;
// Finished with no exception for tuple_build:
tuple_build_noexception_18:;
tmp_subscript_value_36 = LOOKUP_SUBSCRIPT(tmp_expression_value_86, tmp_subscript_value_37);
Py_DECREF(tmp_expression_value_86);
Py_DECREF(tmp_subscript_value_37);
if (tmp_subscript_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_85);
exception_lineno = 493;
type_description_2 = "o";
goto dict_build_exception_12;
}
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_85, tmp_subscript_value_36);
Py_DECREF(tmp_expression_value_85);
Py_DECREF(tmp_subscript_value_36);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto dict_build_exception_12;
}
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
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_22);
goto frame_exception_exit_9;
// Finished with no exception for dict_build:
dict_build_noexception_12:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__22_match(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[43], 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 = 493;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
{
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
tmp_dict_key_18 = mod_consts[173];
tmp_dict_value_18 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[146]);
if (tmp_dict_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_18 == NULL)) {
tmp_dict_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 505;
type_description_2 = "o";
goto frame_exception_exit_9;
}
Py_INCREF(tmp_dict_value_18);
} else {
goto frame_exception_exit_9;
}
}
tmp_annotations_23 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_87;
PyObject *tmp_subscript_value_38;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[164];
tmp_expression_value_87 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[148]);
if (tmp_expression_value_87 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_87 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_87 == NULL)) {
tmp_expression_value_87 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_87 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 505;
type_description_2 = "o";
goto dict_build_exception_13;
}
Py_INCREF(tmp_expression_value_87);
} else {
goto dict_build_exception_13;
}
}
tmp_subscript_value_38 = PyObject_GetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[172]);
if (tmp_subscript_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_38 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_38);
} else {
goto dict_build_exception_13;
}
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_87, tmp_subscript_value_38);
Py_DECREF(tmp_expression_value_87);
Py_DECREF(tmp_subscript_value_38);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 505;
type_description_2 = "o";
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_13;
// Exception handling pass through code for dict_build:
dict_build_exception_13:;
Py_DECREF(tmp_annotations_23);
goto frame_exception_exit_9;
// Finished with no exception for dict_build:
dict_build_noexception_13:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__23_reverse(tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[63], 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 = 505;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_011ce0bec0a95f004881f84b3021ef9f_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_011ce0bec0a95f004881f84b3021ef9f_9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_011ce0bec0a95f004881f84b3021ef9f_9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_011ce0bec0a95f004881f84b3021ef9f_9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_011ce0bec0a95f004881f84b3021ef9f_9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_011ce0bec0a95f004881f84b3021ef9f_9,
type_description_2,
outline_7_var___class__
);
// Release cached frame if used for exception.
if (frame_011ce0bec0a95f004881f84b3021ef9f_9 == cache_frame_011ce0bec0a95f004881f84b3021ef9f_9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_011ce0bec0a95f004881f84b3021ef9f_9);
cache_frame_011ce0bec0a95f004881f84b3021ef9f_9 = NULL;
}
assertFrameObject(frame_011ce0bec0a95f004881f84b3021ef9f_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_27;
skip_nested_handling_8:;
{
nuitka_bool tmp_condition_result_48;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_cmp_expr_left_8 = tmp_class_creation_8__bases;
tmp_cmp_expr_right_8 = mod_consts[202];
tmp_condition_result_48 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_condition_result_48 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
if (tmp_condition_result_48 == NUITKA_BOOL_TRUE) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
tmp_dictset_value = mod_consts[202];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__8_Matcher_490, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
branch_no_32:;
{
PyObject *tmp_assign_source_90;
PyObject *tmp_called_value_16;
PyObject *tmp_args_value_16;
PyObject *tmp_tuple_element_39;
PyObject *tmp_kwargs_value_16;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_called_value_16 = tmp_class_creation_8__metaclass;
tmp_tuple_element_39 = mod_consts[204];
tmp_args_value_16 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_16, 0, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_39 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_16, 1, tmp_tuple_element_39);
tmp_tuple_element_39 = locals_tornado$routing$$$class__8_Matcher_490;
PyTuple_SET_ITEM0(tmp_args_value_16, 2, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_16 = tmp_class_creation_8__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 490;
tmp_assign_source_90 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_16, tmp_kwargs_value_16);
Py_DECREF(tmp_args_value_16);
if (tmp_assign_source_90 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
goto try_except_handler_27;
}
assert(outline_7_var___class__ == NULL);
outline_7_var___class__ = tmp_assign_source_90;
}
CHECK_OBJECT(outline_7_var___class__);
tmp_assign_source_89 = outline_7_var___class__;
Py_INCREF(tmp_assign_source_89);
goto try_return_handler_27;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_27:;
Py_DECREF(locals_tornado$routing$$$class__8_Matcher_490);
locals_tornado$routing$$$class__8_Matcher_490 = NULL;
goto try_return_handler_26;
// Exception handler code:
try_except_handler_27:;
exception_keeper_type_25 = exception_type;
exception_keeper_value_25 = exception_value;
exception_keeper_tb_25 = exception_tb;
exception_keeper_lineno_25 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__8_Matcher_490);
locals_tornado$routing$$$class__8_Matcher_490 = NULL;
// Re-raise.
exception_type = exception_keeper_type_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto try_except_handler_26;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_26:;
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_26:;
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;
// 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 outline_exception_8;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_8:;
exception_lineno = 490;
goto try_except_handler_25;
outline_result_8:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[204], tmp_assign_source_89);
}
goto try_end_11;
// Exception handler code:
try_except_handler_25:;
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_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_27;
exception_value = exception_keeper_value_27;
exception_tb = exception_keeper_tb_27;
exception_lineno = exception_keeper_lineno_27;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
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_91;
PyObject *tmp_tuple_element_40;
tmp_tuple_element_40 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[204]);
if (unlikely(tmp_tuple_element_40 == NULL)) {
tmp_tuple_element_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]);
}
if (tmp_tuple_element_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
tmp_assign_source_91 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_91, 0, tmp_tuple_element_40);
assert(tmp_class_creation_9__bases_orig == NULL);
tmp_class_creation_9__bases_orig = tmp_assign_source_91;
}
{
PyObject *tmp_assign_source_92;
PyObject *tmp_dircall_arg1_9;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dircall_arg1_9 = tmp_class_creation_9__bases_orig;
Py_INCREF(tmp_dircall_arg1_9);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_9};
tmp_assign_source_92 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
assert(tmp_class_creation_9__bases == NULL);
tmp_class_creation_9__bases = tmp_assign_source_92;
}
{
PyObject *tmp_assign_source_93;
tmp_assign_source_93 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__class_decl_dict == NULL);
tmp_class_creation_9__class_decl_dict = tmp_assign_source_93;
}
{
PyObject *tmp_assign_source_94;
PyObject *tmp_metaclass_value_9;
bool tmp_condition_result_49;
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_50;
int tmp_truth_name_9;
PyObject *tmp_type_arg_17;
PyObject *tmp_expression_value_88;
PyObject *tmp_subscript_value_39;
PyObject *tmp_bases_value_9;
tmp_key_value_25 = mod_consts[155];
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_49 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_49 != false) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_26 = tmp_class_creation_9__class_decl_dict;
tmp_key_value_26 = mod_consts[155];
tmp_metaclass_value_9 = DICT_GET_ITEM0(tmp_dict_arg_value_26, tmp_key_value_26);
if (tmp_metaclass_value_9 == NULL) {
tmp_metaclass_value_9 = Py_None;
}
assert(!(tmp_metaclass_value_9 == NULL));
Py_INCREF(tmp_metaclass_value_9);
goto condexpr_end_17;
condexpr_false_17:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_truth_name_9 = CHECK_IF_TRUE(tmp_class_creation_9__bases);
if (tmp_truth_name_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
tmp_condition_result_50 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_50 == NUITKA_BOOL_TRUE) {
goto condexpr_true_18;
} else {
goto condexpr_false_18;
}
condexpr_true_18:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_expression_value_88 = tmp_class_creation_9__bases;
tmp_subscript_value_39 = mod_consts[32];
tmp_type_arg_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_88, tmp_subscript_value_39, 0);
if (tmp_type_arg_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
tmp_metaclass_value_9 = BUILTIN_TYPE1(tmp_type_arg_17);
Py_DECREF(tmp_type_arg_17);
if (tmp_metaclass_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
goto condexpr_end_18;
condexpr_false_18:;
tmp_metaclass_value_9 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_9);
condexpr_end_18:;
condexpr_end_17:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_bases_value_9 = tmp_class_creation_9__bases;
tmp_assign_source_94 = SELECT_METACLASS(tmp_metaclass_value_9, tmp_bases_value_9);
Py_DECREF(tmp_metaclass_value_9);
if (tmp_assign_source_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
assert(tmp_class_creation_9__metaclass == NULL);
tmp_class_creation_9__metaclass = tmp_assign_source_94;
}
{
bool tmp_condition_result_51;
PyObject *tmp_key_value_27;
PyObject *tmp_dict_arg_value_27;
tmp_key_value_27 = mod_consts[155];
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_51 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_51 != false) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_9__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 510;
goto try_except_handler_28;
}
branch_no_33:;
{
nuitka_bool tmp_condition_result_52;
PyObject *tmp_expression_value_89;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_89 = tmp_class_creation_9__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_89, mod_consts[156]);
tmp_condition_result_52 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_52 == NUITKA_BOOL_TRUE) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
{
PyObject *tmp_assign_source_95;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_90;
PyObject *tmp_args_value_17;
PyObject *tmp_tuple_element_41;
PyObject *tmp_kwargs_value_17;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_90 = tmp_class_creation_9__metaclass;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_90, mod_consts[156]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
tmp_tuple_element_41 = mod_consts[213];
tmp_args_value_17 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_17, 0, tmp_tuple_element_41);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_41 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_17, 1, tmp_tuple_element_41);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_17 = tmp_class_creation_9__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 510;
tmp_assign_source_95 = CALL_FUNCTION(tmp_called_value_17, tmp_args_value_17, tmp_kwargs_value_17);
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_args_value_17);
if (tmp_assign_source_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_95;
}
{
bool tmp_condition_result_53;
PyObject *tmp_operand_value_9;
PyObject *tmp_expression_value_91;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_expression_value_91 = tmp_class_creation_9__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_91, mod_consts[157]);
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 = 510;
goto try_except_handler_28;
}
tmp_condition_result_53 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_53 != false) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
{
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_42;
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[158];
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_getattr_target_9 = tmp_class_creation_9__metaclass;
tmp_getattr_attr_9 = mod_consts[69];
tmp_getattr_default_9 = mod_consts[159];
tmp_tuple_element_42 = BUILTIN_GETATTR(tmp_getattr_target_9, tmp_getattr_attr_9, tmp_getattr_default_9);
if (tmp_tuple_element_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_28;
}
tmp_mod_expr_right_9 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_92;
PyObject *tmp_type_arg_18;
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 0, tmp_tuple_element_42);
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_type_arg_18 = tmp_class_creation_9__prepared;
tmp_expression_value_92 = BUILTIN_TYPE1(tmp_type_arg_18);
assert(!(tmp_expression_value_92 == NULL));
tmp_tuple_element_42 = LOOKUP_ATTRIBUTE(tmp_expression_value_92, mod_consts[69]);
Py_DECREF(tmp_expression_value_92);
if (tmp_tuple_element_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto tuple_build_exception_19;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 1, tmp_tuple_element_42);
}
goto tuple_build_noexception_19;
// Exception handling pass through code for tuple_build:
tuple_build_exception_19:;
Py_DECREF(tmp_mod_expr_right_9);
goto try_except_handler_28;
// Finished with no exception for tuple_build:
tuple_build_noexception_19:;
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 = 510;
goto try_except_handler_28;
}
exception_type = tmp_raise_type_9;
Py_INCREF(tmp_raise_type_9);
exception_value = tmp_raise_value_9;
exception_lineno = 510;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_28;
}
branch_no_35:;
goto branch_end_34;
branch_no_34:;
{
PyObject *tmp_assign_source_96;
tmp_assign_source_96 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_96;
}
branch_end_34:;
{
PyObject *tmp_assign_source_97;
{
PyObject *tmp_set_locals_9;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_set_locals_9 = tmp_class_creation_9__prepared;
locals_tornado$routing$$$class__9_AnyMatches_510 = tmp_set_locals_9;
Py_INCREF(tmp_set_locals_9);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
tmp_dictset_value = mod_consts[214];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
tmp_dictset_value = mod_consts[213];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
if (isFrameUnusable(cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10)) {
Py_XDECREF(cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10);
#if _DEBUG_REFCOUNTS
if (cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10 = MAKE_CLASS_FRAME(codeobj_ab5c96126297a8fb55fc84df5a73ae6d, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10->m_type_description == NULL);
frame_ab5c96126297a8fb55fc84df5a73ae6d_10 = cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10;
// Push the new frame as the currently active one.
pushFrameStack(frame_ab5c96126297a8fb55fc84df5a73ae6d_10);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ab5c96126297a8fb55fc84df5a73ae6d_10) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_24;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
PyObject *tmp_expression_value_93;
tmp_dict_key_19 = mod_consts[44];
tmp_expression_value_93 = PyObject_GetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[7]);
if (tmp_expression_value_93 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_93 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_93 == NULL)) {
tmp_expression_value_93 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_2 = "o";
goto frame_exception_exit_10;
}
Py_INCREF(tmp_expression_value_93);
} else {
goto frame_exception_exit_10;
}
}
tmp_dict_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_93, mod_consts[9]);
Py_DECREF(tmp_expression_value_93);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_annotations_24 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_94;
PyObject *tmp_subscript_value_40;
PyObject *tmp_expression_value_95;
PyObject *tmp_subscript_value_41;
PyObject *tmp_tuple_element_43;
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[164];
tmp_expression_value_94 = PyObject_GetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[148]);
if (tmp_expression_value_94 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_94 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_94 == NULL)) {
tmp_expression_value_94 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_2 = "o";
goto dict_build_exception_14;
}
Py_INCREF(tmp_expression_value_94);
} else {
goto dict_build_exception_14;
}
}
tmp_expression_value_95 = PyObject_GetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[151]);
if (tmp_expression_value_95 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_95 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_95 == NULL)) {
tmp_expression_value_95 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_94);
exception_lineno = 513;
type_description_2 = "o";
goto dict_build_exception_14;
}
Py_INCREF(tmp_expression_value_95);
} else {
goto dict_build_exception_14;
}
}
tmp_tuple_element_43 = PyObject_GetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[172]);
if (tmp_tuple_element_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_43 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_43);
} else {
goto dict_build_exception_14;
}
}
tmp_subscript_value_41 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_41, 0, tmp_tuple_element_43);
tmp_tuple_element_43 = PyObject_GetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[146]);
if (tmp_tuple_element_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_43 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_43 == NULL)) {
tmp_tuple_element_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_2 = "o";
goto tuple_build_exception_20;
}
Py_INCREF(tmp_tuple_element_43);
} else {
goto tuple_build_exception_20;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_41, 1, tmp_tuple_element_43);
goto tuple_build_noexception_20;
// Exception handling pass through code for tuple_build:
tuple_build_exception_20:;
Py_DECREF(tmp_expression_value_94);
Py_DECREF(tmp_expression_value_95);
Py_DECREF(tmp_subscript_value_41);
goto dict_build_exception_14;
// Finished with no exception for tuple_build:
tuple_build_noexception_20:;
tmp_subscript_value_40 = LOOKUP_SUBSCRIPT(tmp_expression_value_95, tmp_subscript_value_41);
Py_DECREF(tmp_expression_value_95);
Py_DECREF(tmp_subscript_value_41);
if (tmp_subscript_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_94);
exception_lineno = 513;
type_description_2 = "o";
goto dict_build_exception_14;
}
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_94, tmp_subscript_value_40);
Py_DECREF(tmp_expression_value_94);
Py_DECREF(tmp_subscript_value_40);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_2 = "o";
goto dict_build_exception_14;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_14;
// Exception handling pass through code for dict_build:
dict_build_exception_14:;
Py_DECREF(tmp_annotations_24);
goto frame_exception_exit_10;
// Finished with no exception for dict_build:
dict_build_noexception_14:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__24_match(tmp_annotations_24);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[43], 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 = 513;
type_description_2 = "o";
goto frame_exception_exit_10;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ab5c96126297a8fb55fc84df5a73ae6d_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_ab5c96126297a8fb55fc84df5a73ae6d_10);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ab5c96126297a8fb55fc84df5a73ae6d_10, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ab5c96126297a8fb55fc84df5a73ae6d_10->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ab5c96126297a8fb55fc84df5a73ae6d_10, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ab5c96126297a8fb55fc84df5a73ae6d_10,
type_description_2,
outline_8_var___class__
);
// Release cached frame if used for exception.
if (frame_ab5c96126297a8fb55fc84df5a73ae6d_10 == cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10);
cache_frame_ab5c96126297a8fb55fc84df5a73ae6d_10 = NULL;
}
assertFrameObject(frame_ab5c96126297a8fb55fc84df5a73ae6d_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_30;
skip_nested_handling_9:;
{
nuitka_bool tmp_condition_result_54;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_cmp_expr_left_9 = tmp_class_creation_9__bases;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_cmp_expr_right_9 = tmp_class_creation_9__bases_orig;
tmp_condition_result_54 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_54 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
if (tmp_condition_result_54 == NUITKA_BOOL_TRUE) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dictset_value = tmp_class_creation_9__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__9_AnyMatches_510, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
branch_no_36:;
{
PyObject *tmp_assign_source_98;
PyObject *tmp_called_value_18;
PyObject *tmp_args_value_18;
PyObject *tmp_tuple_element_44;
PyObject *tmp_kwargs_value_18;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_called_value_18 = tmp_class_creation_9__metaclass;
tmp_tuple_element_44 = mod_consts[213];
tmp_args_value_18 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_18, 0, tmp_tuple_element_44);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_44 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_18, 1, tmp_tuple_element_44);
tmp_tuple_element_44 = locals_tornado$routing$$$class__9_AnyMatches_510;
PyTuple_SET_ITEM0(tmp_args_value_18, 2, tmp_tuple_element_44);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_18 = tmp_class_creation_9__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 510;
tmp_assign_source_98 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_18, tmp_kwargs_value_18);
Py_DECREF(tmp_args_value_18);
if (tmp_assign_source_98 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
goto try_except_handler_30;
}
assert(outline_8_var___class__ == NULL);
outline_8_var___class__ = tmp_assign_source_98;
}
CHECK_OBJECT(outline_8_var___class__);
tmp_assign_source_97 = outline_8_var___class__;
Py_INCREF(tmp_assign_source_97);
goto try_return_handler_30;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_30:;
Py_DECREF(locals_tornado$routing$$$class__9_AnyMatches_510);
locals_tornado$routing$$$class__9_AnyMatches_510 = NULL;
goto try_return_handler_29;
// Exception handler code:
try_except_handler_30:;
exception_keeper_type_28 = exception_type;
exception_keeper_value_28 = exception_value;
exception_keeper_tb_28 = exception_tb;
exception_keeper_lineno_28 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__9_AnyMatches_510);
locals_tornado$routing$$$class__9_AnyMatches_510 = NULL;
// Re-raise.
exception_type = exception_keeper_type_28;
exception_value = exception_keeper_value_28;
exception_tb = exception_keeper_tb_28;
exception_lineno = exception_keeper_lineno_28;
goto try_except_handler_29;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_29:;
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_29:;
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;
// 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 outline_exception_9;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_9:;
exception_lineno = 510;
goto try_except_handler_28;
outline_result_9:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[213], tmp_assign_source_97);
}
goto try_end_12;
// Exception handler code:
try_except_handler_28:;
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_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_30;
exception_value = exception_keeper_value_30;
exception_tb = exception_keeper_tb_30;
exception_lineno = exception_keeper_lineno_30;
goto frame_exception_exit_1;
// End of try:
try_end_12:;
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_99;
PyObject *tmp_tuple_element_45;
tmp_tuple_element_45 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[204]);
if (unlikely(tmp_tuple_element_45 == NULL)) {
tmp_tuple_element_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]);
}
if (tmp_tuple_element_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
tmp_assign_source_99 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_99, 0, tmp_tuple_element_45);
assert(tmp_class_creation_10__bases_orig == NULL);
tmp_class_creation_10__bases_orig = tmp_assign_source_99;
}
{
PyObject *tmp_assign_source_100;
PyObject *tmp_dircall_arg1_10;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dircall_arg1_10 = tmp_class_creation_10__bases_orig;
Py_INCREF(tmp_dircall_arg1_10);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_10};
tmp_assign_source_100 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_100 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
assert(tmp_class_creation_10__bases == NULL);
tmp_class_creation_10__bases = tmp_assign_source_100;
}
{
PyObject *tmp_assign_source_101;
tmp_assign_source_101 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__class_decl_dict == NULL);
tmp_class_creation_10__class_decl_dict = tmp_assign_source_101;
}
{
PyObject *tmp_assign_source_102;
PyObject *tmp_metaclass_value_10;
bool tmp_condition_result_55;
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_56;
int tmp_truth_name_10;
PyObject *tmp_type_arg_19;
PyObject *tmp_expression_value_96;
PyObject *tmp_subscript_value_42;
PyObject *tmp_bases_value_10;
tmp_key_value_28 = mod_consts[155];
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_55 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_55 != false) {
goto condexpr_true_19;
} else {
goto condexpr_false_19;
}
condexpr_true_19:;
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[155];
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_19;
condexpr_false_19:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_truth_name_10 = CHECK_IF_TRUE(tmp_class_creation_10__bases);
if (tmp_truth_name_10 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
tmp_condition_result_56 = tmp_truth_name_10 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_56 == NUITKA_BOOL_TRUE) {
goto condexpr_true_20;
} else {
goto condexpr_false_20;
}
condexpr_true_20:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_expression_value_96 = tmp_class_creation_10__bases;
tmp_subscript_value_42 = mod_consts[32];
tmp_type_arg_19 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_96, tmp_subscript_value_42, 0);
if (tmp_type_arg_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
tmp_metaclass_value_10 = BUILTIN_TYPE1(tmp_type_arg_19);
Py_DECREF(tmp_type_arg_19);
if (tmp_metaclass_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
goto condexpr_end_20;
condexpr_false_20:;
tmp_metaclass_value_10 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_10);
condexpr_end_20:;
condexpr_end_19:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_bases_value_10 = tmp_class_creation_10__bases;
tmp_assign_source_102 = SELECT_METACLASS(tmp_metaclass_value_10, tmp_bases_value_10);
Py_DECREF(tmp_metaclass_value_10);
if (tmp_assign_source_102 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
assert(tmp_class_creation_10__metaclass == NULL);
tmp_class_creation_10__metaclass = tmp_assign_source_102;
}
{
bool tmp_condition_result_57;
PyObject *tmp_key_value_30;
PyObject *tmp_dict_arg_value_30;
tmp_key_value_30 = mod_consts[155];
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_57 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_57 != false) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_10__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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_31;
}
branch_no_37:;
{
nuitka_bool tmp_condition_result_58;
PyObject *tmp_expression_value_97;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_97 = tmp_class_creation_10__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_97, mod_consts[156]);
tmp_condition_result_58 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_58 == NUITKA_BOOL_TRUE) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
{
PyObject *tmp_assign_source_103;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_98;
PyObject *tmp_args_value_19;
PyObject *tmp_tuple_element_46;
PyObject *tmp_kwargs_value_19;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_98 = tmp_class_creation_10__metaclass;
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_98, mod_consts[156]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
tmp_tuple_element_46 = mod_consts[216];
tmp_args_value_19 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_19, 0, tmp_tuple_element_46);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_46 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_19, 1, tmp_tuple_element_46);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_19 = tmp_class_creation_10__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 517;
tmp_assign_source_103 = CALL_FUNCTION(tmp_called_value_19, tmp_args_value_19, tmp_kwargs_value_19);
Py_DECREF(tmp_called_value_19);
Py_DECREF(tmp_args_value_19);
if (tmp_assign_source_103 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_103;
}
{
bool tmp_condition_result_59;
PyObject *tmp_operand_value_10;
PyObject *tmp_expression_value_99;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_expression_value_99 = tmp_class_creation_10__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_99, mod_consts[157]);
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 = 517;
goto try_except_handler_31;
}
tmp_condition_result_59 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_59 != false) {
goto branch_yes_39;
} else {
goto branch_no_39;
}
}
branch_yes_39:;
{
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_47;
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[158];
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_getattr_target_10 = tmp_class_creation_10__metaclass;
tmp_getattr_attr_10 = mod_consts[69];
tmp_getattr_default_10 = mod_consts[159];
tmp_tuple_element_47 = BUILTIN_GETATTR(tmp_getattr_target_10, tmp_getattr_attr_10, tmp_getattr_default_10);
if (tmp_tuple_element_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_31;
}
tmp_mod_expr_right_10 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_100;
PyObject *tmp_type_arg_20;
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 0, tmp_tuple_element_47);
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_type_arg_20 = tmp_class_creation_10__prepared;
tmp_expression_value_100 = BUILTIN_TYPE1(tmp_type_arg_20);
assert(!(tmp_expression_value_100 == NULL));
tmp_tuple_element_47 = LOOKUP_ATTRIBUTE(tmp_expression_value_100, mod_consts[69]);
Py_DECREF(tmp_expression_value_100);
if (tmp_tuple_element_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto tuple_build_exception_21;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 1, tmp_tuple_element_47);
}
goto tuple_build_noexception_21;
// Exception handling pass through code for tuple_build:
tuple_build_exception_21:;
Py_DECREF(tmp_mod_expr_right_10);
goto try_except_handler_31;
// Finished with no exception for tuple_build:
tuple_build_noexception_21:;
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 = 517;
goto try_except_handler_31;
}
exception_type = tmp_raise_type_10;
Py_INCREF(tmp_raise_type_10);
exception_value = tmp_raise_value_10;
exception_lineno = 517;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_31;
}
branch_no_39:;
goto branch_end_38;
branch_no_38:;
{
PyObject *tmp_assign_source_104;
tmp_assign_source_104 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_104;
}
branch_end_38:;
{
PyObject *tmp_assign_source_105;
{
PyObject *tmp_set_locals_10;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_set_locals_10 = tmp_class_creation_10__prepared;
locals_tornado$routing$$$class__10_HostMatches_517 = tmp_set_locals_10;
Py_INCREF(tmp_set_locals_10);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[161], 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_33;
}
tmp_dictset_value = mod_consts[217];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[129], 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_33;
}
tmp_dictset_value = mod_consts[216];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[163], 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_33;
}
if (isFrameUnusable(cache_frame_7199a4300f211079f9e391f895aa9da5_11)) {
Py_XDECREF(cache_frame_7199a4300f211079f9e391f895aa9da5_11);
#if _DEBUG_REFCOUNTS
if (cache_frame_7199a4300f211079f9e391f895aa9da5_11 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7199a4300f211079f9e391f895aa9da5_11 = MAKE_CLASS_FRAME(codeobj_7199a4300f211079f9e391f895aa9da5, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7199a4300f211079f9e391f895aa9da5_11->m_type_description == NULL);
frame_7199a4300f211079f9e391f895aa9da5_11 = cache_frame_7199a4300f211079f9e391f895aa9da5_11;
// Push the new frame as the currently active one.
pushFrameStack(frame_7199a4300f211079f9e391f895aa9da5_11);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7199a4300f211079f9e391f895aa9da5_11) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_25;
PyObject *tmp_dict_key_20;
PyObject *tmp_dict_value_20;
PyObject *tmp_expression_value_101;
PyObject *tmp_subscript_value_43;
PyObject *tmp_tuple_element_48;
tmp_dict_key_20 = mod_consts[76];
tmp_expression_value_101 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[147]);
if (tmp_expression_value_101 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_101 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_101 == NULL)) {
tmp_expression_value_101 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_101 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_2 = "o";
goto frame_exception_exit_11;
}
Py_INCREF(tmp_expression_value_101);
} else {
goto frame_exception_exit_11;
}
}
tmp_tuple_element_48 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[172]);
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 frame_exception_exit_11;
}
}
tmp_subscript_value_43 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_43, 0, tmp_tuple_element_48);
tmp_tuple_element_48 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[152]);
if (tmp_tuple_element_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_48 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[152]);
if (unlikely(tmp_tuple_element_48 == NULL)) {
tmp_tuple_element_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[152]);
}
if (tmp_tuple_element_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_2 = "o";
goto tuple_build_exception_22;
}
Py_INCREF(tmp_tuple_element_48);
} else {
goto tuple_build_exception_22;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_43, 1, tmp_tuple_element_48);
goto tuple_build_noexception_22;
// Exception handling pass through code for tuple_build:
tuple_build_exception_22:;
Py_DECREF(tmp_expression_value_101);
Py_DECREF(tmp_subscript_value_43);
goto frame_exception_exit_11;
// Finished with no exception for tuple_build:
tuple_build_noexception_22:;
tmp_dict_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_101, tmp_subscript_value_43);
Py_DECREF(tmp_expression_value_101);
Py_DECREF(tmp_subscript_value_43);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_annotations_25 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[164];
tmp_dict_value_20 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__25___init__(tmp_annotations_25);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[59], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_2 = "o";
goto frame_exception_exit_11;
}
}
{
PyObject *tmp_annotations_26;
PyObject *tmp_dict_key_21;
PyObject *tmp_dict_value_21;
PyObject *tmp_expression_value_102;
tmp_dict_key_21 = mod_consts[44];
tmp_expression_value_102 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[7]);
if (tmp_expression_value_102 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_102 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_102 == NULL)) {
tmp_expression_value_102 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_102 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "o";
goto frame_exception_exit_11;
}
Py_INCREF(tmp_expression_value_102);
} else {
goto frame_exception_exit_11;
}
}
tmp_dict_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_102, mod_consts[9]);
Py_DECREF(tmp_expression_value_102);
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_annotations_26 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_103;
PyObject *tmp_subscript_value_44;
PyObject *tmp_expression_value_104;
PyObject *tmp_subscript_value_45;
PyObject *tmp_tuple_element_49;
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[164];
tmp_expression_value_103 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[148]);
if (tmp_expression_value_103 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_103 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_103 == NULL)) {
tmp_expression_value_103 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_103 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "o";
goto dict_build_exception_15;
}
Py_INCREF(tmp_expression_value_103);
} else {
goto dict_build_exception_15;
}
}
tmp_expression_value_104 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[151]);
if (tmp_expression_value_104 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_104 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_104 == NULL)) {
tmp_expression_value_104 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_103);
exception_lineno = 528;
type_description_2 = "o";
goto dict_build_exception_15;
}
Py_INCREF(tmp_expression_value_104);
} else {
goto dict_build_exception_15;
}
}
tmp_tuple_element_49 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[172]);
if (tmp_tuple_element_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_49 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_49);
} else {
goto dict_build_exception_15;
}
}
tmp_subscript_value_45 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_45, 0, tmp_tuple_element_49);
tmp_tuple_element_49 = PyObject_GetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[146]);
if (tmp_tuple_element_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_49 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_49 == NULL)) {
tmp_tuple_element_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "o";
goto tuple_build_exception_23;
}
Py_INCREF(tmp_tuple_element_49);
} else {
goto tuple_build_exception_23;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_45, 1, tmp_tuple_element_49);
goto tuple_build_noexception_23;
// Exception handling pass through code for tuple_build:
tuple_build_exception_23:;
Py_DECREF(tmp_expression_value_103);
Py_DECREF(tmp_expression_value_104);
Py_DECREF(tmp_subscript_value_45);
goto dict_build_exception_15;
// Finished with no exception for tuple_build:
tuple_build_noexception_23:;
tmp_subscript_value_44 = LOOKUP_SUBSCRIPT(tmp_expression_value_104, tmp_subscript_value_45);
Py_DECREF(tmp_expression_value_104);
Py_DECREF(tmp_subscript_value_45);
if (tmp_subscript_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_103);
exception_lineno = 528;
type_description_2 = "o";
goto dict_build_exception_15;
}
tmp_dict_value_21 = LOOKUP_SUBSCRIPT(tmp_expression_value_103, tmp_subscript_value_44);
Py_DECREF(tmp_expression_value_103);
Py_DECREF(tmp_subscript_value_44);
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "o";
goto dict_build_exception_15;
}
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));
}
goto dict_build_noexception_15;
// Exception handling pass through code for dict_build:
dict_build_exception_15:;
Py_DECREF(tmp_annotations_26);
goto frame_exception_exit_11;
// Finished with no exception for dict_build:
dict_build_noexception_15:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__26_match(tmp_annotations_26);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[43], 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 = 528;
type_description_2 = "o";
goto frame_exception_exit_11;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7199a4300f211079f9e391f895aa9da5_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_7199a4300f211079f9e391f895aa9da5_11);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7199a4300f211079f9e391f895aa9da5_11, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7199a4300f211079f9e391f895aa9da5_11->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7199a4300f211079f9e391f895aa9da5_11, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7199a4300f211079f9e391f895aa9da5_11,
type_description_2,
outline_9_var___class__
);
// Release cached frame if used for exception.
if (frame_7199a4300f211079f9e391f895aa9da5_11 == cache_frame_7199a4300f211079f9e391f895aa9da5_11) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7199a4300f211079f9e391f895aa9da5_11);
cache_frame_7199a4300f211079f9e391f895aa9da5_11 = NULL;
}
assertFrameObject(frame_7199a4300f211079f9e391f895aa9da5_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_33;
skip_nested_handling_10:;
{
nuitka_bool tmp_condition_result_60;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_cmp_expr_left_10 = tmp_class_creation_10__bases;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_cmp_expr_right_10 = tmp_class_creation_10__bases_orig;
tmp_condition_result_60 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_60 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_33;
}
if (tmp_condition_result_60 == NUITKA_BOOL_TRUE) {
goto branch_yes_40;
} else {
goto branch_no_40;
}
}
branch_yes_40:;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dictset_value = tmp_class_creation_10__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__10_HostMatches_517, mod_consts[170], 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_33;
}
branch_no_40:;
{
PyObject *tmp_assign_source_106;
PyObject *tmp_called_value_20;
PyObject *tmp_args_value_20;
PyObject *tmp_tuple_element_50;
PyObject *tmp_kwargs_value_20;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_called_value_20 = tmp_class_creation_10__metaclass;
tmp_tuple_element_50 = mod_consts[216];
tmp_args_value_20 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_20, 0, tmp_tuple_element_50);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_50 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_20, 1, tmp_tuple_element_50);
tmp_tuple_element_50 = locals_tornado$routing$$$class__10_HostMatches_517;
PyTuple_SET_ITEM0(tmp_args_value_20, 2, tmp_tuple_element_50);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_20 = tmp_class_creation_10__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 517;
tmp_assign_source_106 = CALL_FUNCTION(tmp_called_value_20, tmp_args_value_20, tmp_kwargs_value_20);
Py_DECREF(tmp_args_value_20);
if (tmp_assign_source_106 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
goto try_except_handler_33;
}
assert(outline_9_var___class__ == NULL);
outline_9_var___class__ = tmp_assign_source_106;
}
CHECK_OBJECT(outline_9_var___class__);
tmp_assign_source_105 = outline_9_var___class__;
Py_INCREF(tmp_assign_source_105);
goto try_return_handler_33;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_33:;
Py_DECREF(locals_tornado$routing$$$class__10_HostMatches_517);
locals_tornado$routing$$$class__10_HostMatches_517 = NULL;
goto try_return_handler_32;
// Exception handler code:
try_except_handler_33:;
exception_keeper_type_31 = exception_type;
exception_keeper_value_31 = exception_value;
exception_keeper_tb_31 = exception_tb;
exception_keeper_lineno_31 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$routing$$$class__10_HostMatches_517);
locals_tornado$routing$$$class__10_HostMatches_517 = NULL;
// Re-raise.
exception_type = exception_keeper_type_31;
exception_value = exception_keeper_value_31;
exception_tb = exception_keeper_tb_31;
exception_lineno = exception_keeper_lineno_31;
goto try_except_handler_32;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_32:;
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_32:;
exception_keeper_type_32 = exception_type;
exception_keeper_value_32 = exception_value;
exception_keeper_tb_32 = exception_tb;
exception_keeper_lineno_32 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 outline_exception_10;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_10:;
exception_lineno = 517;
goto try_except_handler_31;
outline_result_10:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[216], tmp_assign_source_105);
}
goto try_end_13;
// Exception handler code:
try_except_handler_31:;
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_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_33;
exception_value = exception_keeper_value_33;
exception_tb = exception_keeper_tb_33;
exception_lineno = exception_keeper_lineno_33;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
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_107;
PyObject *tmp_tuple_element_51;
tmp_tuple_element_51 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[204]);
if (unlikely(tmp_tuple_element_51 == NULL)) {
tmp_tuple_element_51 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]);
}
if (tmp_tuple_element_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
tmp_assign_source_107 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_107, 0, tmp_tuple_element_51);
assert(tmp_class_creation_11__bases_orig == NULL);
tmp_class_creation_11__bases_orig = tmp_assign_source_107;
}
{
PyObject *tmp_assign_source_108;
PyObject *tmp_dircall_arg1_11;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dircall_arg1_11 = tmp_class_creation_11__bases_orig;
Py_INCREF(tmp_dircall_arg1_11);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_11};
tmp_assign_source_108 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_108 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
assert(tmp_class_creation_11__bases == NULL);
tmp_class_creation_11__bases = tmp_assign_source_108;
}
{
PyObject *tmp_assign_source_109;
tmp_assign_source_109 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__class_decl_dict == NULL);
tmp_class_creation_11__class_decl_dict = tmp_assign_source_109;
}
{
PyObject *tmp_assign_source_110;
PyObject *tmp_metaclass_value_11;
bool tmp_condition_result_61;
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_62;
int tmp_truth_name_11;
PyObject *tmp_type_arg_21;
PyObject *tmp_expression_value_105;
PyObject *tmp_subscript_value_46;
PyObject *tmp_bases_value_11;
tmp_key_value_31 = mod_consts[155];
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_61 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_61 != false) {
goto condexpr_true_21;
} else {
goto condexpr_false_21;
}
condexpr_true_21:;
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[155];
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_21;
condexpr_false_21:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_truth_name_11 = CHECK_IF_TRUE(tmp_class_creation_11__bases);
if (tmp_truth_name_11 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
tmp_condition_result_62 = tmp_truth_name_11 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_62 == NUITKA_BOOL_TRUE) {
goto condexpr_true_22;
} else {
goto condexpr_false_22;
}
condexpr_true_22:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_expression_value_105 = tmp_class_creation_11__bases;
tmp_subscript_value_46 = mod_consts[32];
tmp_type_arg_21 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_105, tmp_subscript_value_46, 0);
if (tmp_type_arg_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
tmp_metaclass_value_11 = BUILTIN_TYPE1(tmp_type_arg_21);
Py_DECREF(tmp_type_arg_21);
if (tmp_metaclass_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
goto condexpr_end_22;
condexpr_false_22:;
tmp_metaclass_value_11 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_11);
condexpr_end_22:;
condexpr_end_21:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_bases_value_11 = tmp_class_creation_11__bases;
tmp_assign_source_110 = SELECT_METACLASS(tmp_metaclass_value_11, tmp_bases_value_11);
Py_DECREF(tmp_metaclass_value_11);
if (tmp_assign_source_110 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
assert(tmp_class_creation_11__metaclass == NULL);
tmp_class_creation_11__metaclass = tmp_assign_source_110;
}
{
bool tmp_condition_result_63;
PyObject *tmp_key_value_33;
PyObject *tmp_dict_arg_value_33;
tmp_key_value_33 = mod_consts[155];
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_63 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_63 != false) {
goto branch_yes_41;
} else {
goto branch_no_41;
}
}
branch_yes_41:;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_11__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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_34;
}
branch_no_41:;
{
nuitka_bool tmp_condition_result_64;
PyObject *tmp_expression_value_106;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_106 = tmp_class_creation_11__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_106, mod_consts[156]);
tmp_condition_result_64 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_64 == NUITKA_BOOL_TRUE) {
goto branch_yes_42;
} else {
goto branch_no_42;
}
}
branch_yes_42:;
{
PyObject *tmp_assign_source_111;
PyObject *tmp_called_value_21;
PyObject *tmp_expression_value_107;
PyObject *tmp_args_value_21;
PyObject *tmp_tuple_element_52;
PyObject *tmp_kwargs_value_21;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_107 = tmp_class_creation_11__metaclass;
tmp_called_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_107, mod_consts[156]);
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
tmp_tuple_element_52 = mod_consts[220];
tmp_args_value_21 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_21, 0, tmp_tuple_element_52);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_52 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_21, 1, tmp_tuple_element_52);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_21 = tmp_class_creation_11__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 535;
tmp_assign_source_111 = CALL_FUNCTION(tmp_called_value_21, tmp_args_value_21, tmp_kwargs_value_21);
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_value_21);
if (tmp_assign_source_111 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_111;
}
{
bool tmp_condition_result_65;
PyObject *tmp_operand_value_11;
PyObject *tmp_expression_value_108;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_expression_value_108 = tmp_class_creation_11__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_108, mod_consts[157]);
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 = 535;
goto try_except_handler_34;
}
tmp_condition_result_65 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_65 != false) {
goto branch_yes_43;
} else {
goto branch_no_43;
}
}
branch_yes_43:;
{
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_53;
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[158];
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_getattr_target_11 = tmp_class_creation_11__metaclass;
tmp_getattr_attr_11 = mod_consts[69];
tmp_getattr_default_11 = mod_consts[159];
tmp_tuple_element_53 = BUILTIN_GETATTR(tmp_getattr_target_11, tmp_getattr_attr_11, tmp_getattr_default_11);
if (tmp_tuple_element_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_34;
}
tmp_mod_expr_right_11 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_109;
PyObject *tmp_type_arg_22;
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 0, tmp_tuple_element_53);
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_type_arg_22 = tmp_class_creation_11__prepared;
tmp_expression_value_109 = BUILTIN_TYPE1(tmp_type_arg_22);
assert(!(tmp_expression_value_109 == NULL));
tmp_tuple_element_53 = LOOKUP_ATTRIBUTE(tmp_expression_value_109, mod_consts[69]);
Py_DECREF(tmp_expression_value_109);
if (tmp_tuple_element_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto tuple_build_exception_24;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 1, tmp_tuple_element_53);
}
goto tuple_build_noexception_24;
// Exception handling pass through code for tuple_build:
tuple_build_exception_24:;
Py_DECREF(tmp_mod_expr_right_11);
goto try_except_handler_34;
// Finished with no exception for tuple_build:
tuple_build_noexception_24:;
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 = 535;
goto try_except_handler_34;
}
exception_type = tmp_raise_type_11;
Py_INCREF(tmp_raise_type_11);
exception_value = tmp_raise_value_11;
exception_lineno = 535;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_34;
}
branch_no_43:;
goto branch_end_42;
branch_no_42:;
{
PyObject *tmp_assign_source_112;
tmp_assign_source_112 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_112;
}
branch_end_42:;
{
PyObject *tmp_assign_source_113;
{
PyObject *tmp_set_locals_11;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_set_locals_11 = tmp_class_creation_11__prepared;
locals_tornado$routing$$$class__11_DefaultHostMatches_535 = tmp_set_locals_11;
Py_INCREF(tmp_set_locals_11);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[161], 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_36;
}
tmp_dictset_value = mod_consts[221];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[129], 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_36;
}
tmp_dictset_value = mod_consts[220];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[163], 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_36;
}
if (isFrameUnusable(cache_frame_b54f1a29824940ea54ecc45d12dbc062_12)) {
Py_XDECREF(cache_frame_b54f1a29824940ea54ecc45d12dbc062_12);
#if _DEBUG_REFCOUNTS
if (cache_frame_b54f1a29824940ea54ecc45d12dbc062_12 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b54f1a29824940ea54ecc45d12dbc062_12 = MAKE_CLASS_FRAME(codeobj_b54f1a29824940ea54ecc45d12dbc062, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b54f1a29824940ea54ecc45d12dbc062_12->m_type_description == NULL);
frame_b54f1a29824940ea54ecc45d12dbc062_12 = cache_frame_b54f1a29824940ea54ecc45d12dbc062_12;
// Push the new frame as the currently active one.
pushFrameStack(frame_b54f1a29824940ea54ecc45d12dbc062_12);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b54f1a29824940ea54ecc45d12dbc062_12) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_27;
PyObject *tmp_dict_key_22;
PyObject *tmp_dict_value_22;
tmp_dict_key_22 = mod_consts[78];
tmp_dict_value_22 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[146]);
if (tmp_dict_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_22 == NULL)) {
tmp_dict_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_2 = "o";
goto frame_exception_exit_12;
}
Py_INCREF(tmp_dict_value_22);
} else {
goto frame_exception_exit_12;
}
}
tmp_annotations_27 = _PyDict_NewPresized( 3 );
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_dict_key_22 = mod_consts[76];
tmp_dict_value_22 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[152]);
if (tmp_dict_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[152]);
if (unlikely(tmp_dict_value_22 == NULL)) {
tmp_dict_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[152]);
}
if (tmp_dict_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_2 = "o";
goto dict_build_exception_16;
}
Py_INCREF(tmp_dict_value_22);
} else {
goto dict_build_exception_16;
}
}
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_dict_key_22 = mod_consts[164];
tmp_dict_value_22 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_22, tmp_dict_value_22);
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_27);
goto frame_exception_exit_12;
// Finished with no exception for dict_build:
dict_build_noexception_16:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__27___init__(tmp_annotations_27);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[59], 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 = 540;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
{
PyObject *tmp_annotations_28;
PyObject *tmp_dict_key_23;
PyObject *tmp_dict_value_23;
PyObject *tmp_expression_value_110;
tmp_dict_key_23 = mod_consts[44];
tmp_expression_value_110 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[7]);
if (tmp_expression_value_110 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_110 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_110 == NULL)) {
tmp_expression_value_110 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_110 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_2 = "o";
goto frame_exception_exit_12;
}
Py_INCREF(tmp_expression_value_110);
} else {
goto frame_exception_exit_12;
}
}
tmp_dict_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_110, mod_consts[9]);
Py_DECREF(tmp_expression_value_110);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_2 = "o";
goto frame_exception_exit_12;
}
tmp_annotations_28 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_111;
PyObject *tmp_subscript_value_47;
PyObject *tmp_expression_value_112;
PyObject *tmp_subscript_value_48;
PyObject *tmp_tuple_element_54;
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[164];
tmp_expression_value_111 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[148]);
if (tmp_expression_value_111 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_111 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_111 == NULL)) {
tmp_expression_value_111 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_111 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_2 = "o";
goto dict_build_exception_17;
}
Py_INCREF(tmp_expression_value_111);
} else {
goto dict_build_exception_17;
}
}
tmp_expression_value_112 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[151]);
if (tmp_expression_value_112 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_112 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_112 == NULL)) {
tmp_expression_value_112 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_112 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_111);
exception_lineno = 544;
type_description_2 = "o";
goto dict_build_exception_17;
}
Py_INCREF(tmp_expression_value_112);
} else {
goto dict_build_exception_17;
}
}
tmp_tuple_element_54 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[172]);
if (tmp_tuple_element_54 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_54 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_54);
} else {
goto dict_build_exception_17;
}
}
tmp_subscript_value_48 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_48, 0, tmp_tuple_element_54);
tmp_tuple_element_54 = PyObject_GetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[146]);
if (tmp_tuple_element_54 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_54 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_54 == NULL)) {
tmp_tuple_element_54 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_2 = "o";
goto tuple_build_exception_25;
}
Py_INCREF(tmp_tuple_element_54);
} else {
goto tuple_build_exception_25;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_48, 1, tmp_tuple_element_54);
goto tuple_build_noexception_25;
// Exception handling pass through code for tuple_build:
tuple_build_exception_25:;
Py_DECREF(tmp_expression_value_111);
Py_DECREF(tmp_expression_value_112);
Py_DECREF(tmp_subscript_value_48);
goto dict_build_exception_17;
// Finished with no exception for tuple_build:
tuple_build_noexception_25:;
tmp_subscript_value_47 = LOOKUP_SUBSCRIPT(tmp_expression_value_112, tmp_subscript_value_48);
Py_DECREF(tmp_expression_value_112);
Py_DECREF(tmp_subscript_value_48);
if (tmp_subscript_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_111);
exception_lineno = 544;
type_description_2 = "o";
goto dict_build_exception_17;
}
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_111, tmp_subscript_value_47);
Py_DECREF(tmp_expression_value_111);
Py_DECREF(tmp_subscript_value_47);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_2 = "o";
goto dict_build_exception_17;
}
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
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_28);
goto frame_exception_exit_12;
// Finished with no exception for dict_build:
dict_build_noexception_17:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__28_match(tmp_annotations_28);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[43], 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 = 544;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b54f1a29824940ea54ecc45d12dbc062_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_b54f1a29824940ea54ecc45d12dbc062_12);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b54f1a29824940ea54ecc45d12dbc062_12, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b54f1a29824940ea54ecc45d12dbc062_12->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b54f1a29824940ea54ecc45d12dbc062_12, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b54f1a29824940ea54ecc45d12dbc062_12,
type_description_2,
outline_10_var___class__
);
// Release cached frame if used for exception.
if (frame_b54f1a29824940ea54ecc45d12dbc062_12 == cache_frame_b54f1a29824940ea54ecc45d12dbc062_12) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b54f1a29824940ea54ecc45d12dbc062_12);
cache_frame_b54f1a29824940ea54ecc45d12dbc062_12 = NULL;
}
assertFrameObject(frame_b54f1a29824940ea54ecc45d12dbc062_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_36;
skip_nested_handling_11:;
{
nuitka_bool tmp_condition_result_66;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_cmp_expr_left_11 = tmp_class_creation_11__bases;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_cmp_expr_right_11 = tmp_class_creation_11__bases_orig;
tmp_condition_result_66 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
if (tmp_condition_result_66 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_36;
}
if (tmp_condition_result_66 == NUITKA_BOOL_TRUE) {
goto branch_yes_44;
} else {
goto branch_no_44;
}
}
branch_yes_44:;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dictset_value = tmp_class_creation_11__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__11_DefaultHostMatches_535, mod_consts[170], 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_36;
}
branch_no_44:;
{
PyObject *tmp_assign_source_114;
PyObject *tmp_called_value_22;
PyObject *tmp_args_value_22;
PyObject *tmp_tuple_element_55;
PyObject *tmp_kwargs_value_22;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_called_value_22 = tmp_class_creation_11__metaclass;
tmp_tuple_element_55 = mod_consts[220];
tmp_args_value_22 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_22, 0, tmp_tuple_element_55);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_55 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_22, 1, tmp_tuple_element_55);
tmp_tuple_element_55 = locals_tornado$routing$$$class__11_DefaultHostMatches_535;
PyTuple_SET_ITEM0(tmp_args_value_22, 2, tmp_tuple_element_55);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_22 = tmp_class_creation_11__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 535;
tmp_assign_source_114 = CALL_FUNCTION(tmp_called_value_22, tmp_args_value_22, tmp_kwargs_value_22);
Py_DECREF(tmp_args_value_22);
if (tmp_assign_source_114 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
goto try_except_handler_36;
}
assert(outline_10_var___class__ == NULL);
outline_10_var___class__ = tmp_assign_source_114;
}
CHECK_OBJECT(outline_10_var___class__);
tmp_assign_source_113 = outline_10_var___class__;
Py_INCREF(tmp_assign_source_113);
goto try_return_handler_36;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_36:;
Py_DECREF(locals_tornado$routing$$$class__11_DefaultHostMatches_535);
locals_tornado$routing$$$class__11_DefaultHostMatches_535 = NULL;
goto try_return_handler_35;
// Exception handler code:
try_except_handler_36:;
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;
Py_DECREF(locals_tornado$routing$$$class__11_DefaultHostMatches_535);
locals_tornado$routing$$$class__11_DefaultHostMatches_535 = NULL;
// 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 try_except_handler_35;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_35:;
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_35:;
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;
// 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 outline_exception_11;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_11:;
exception_lineno = 535;
goto try_except_handler_34;
outline_result_11:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[220], tmp_assign_source_113);
}
goto try_end_14;
// Exception handler code:
try_except_handler_34:;
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_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_36;
exception_value = exception_keeper_value_36;
exception_tb = exception_keeper_tb_36;
exception_lineno = exception_keeper_lineno_36;
goto frame_exception_exit_1;
// End of try:
try_end_14:;
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_115;
PyObject *tmp_tuple_element_56;
tmp_tuple_element_56 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[204]);
if (unlikely(tmp_tuple_element_56 == NULL)) {
tmp_tuple_element_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]);
}
if (tmp_tuple_element_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
tmp_assign_source_115 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_115, 0, tmp_tuple_element_56);
assert(tmp_class_creation_12__bases_orig == NULL);
tmp_class_creation_12__bases_orig = tmp_assign_source_115;
}
{
PyObject *tmp_assign_source_116;
PyObject *tmp_dircall_arg1_12;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_dircall_arg1_12 = tmp_class_creation_12__bases_orig;
Py_INCREF(tmp_dircall_arg1_12);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_12};
tmp_assign_source_116 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_116 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
assert(tmp_class_creation_12__bases == NULL);
tmp_class_creation_12__bases = tmp_assign_source_116;
}
{
PyObject *tmp_assign_source_117;
tmp_assign_source_117 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_12__class_decl_dict == NULL);
tmp_class_creation_12__class_decl_dict = tmp_assign_source_117;
}
{
PyObject *tmp_assign_source_118;
PyObject *tmp_metaclass_value_12;
bool tmp_condition_result_67;
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_68;
int tmp_truth_name_12;
PyObject *tmp_type_arg_23;
PyObject *tmp_expression_value_113;
PyObject *tmp_subscript_value_49;
PyObject *tmp_bases_value_12;
tmp_key_value_34 = mod_consts[155];
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_67 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_67 != false) {
goto condexpr_true_23;
} else {
goto condexpr_false_23;
}
condexpr_true_23:;
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[155];
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_23;
condexpr_false_23:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_truth_name_12 = CHECK_IF_TRUE(tmp_class_creation_12__bases);
if (tmp_truth_name_12 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
tmp_condition_result_68 = tmp_truth_name_12 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_68 == NUITKA_BOOL_TRUE) {
goto condexpr_true_24;
} else {
goto condexpr_false_24;
}
condexpr_true_24:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_expression_value_113 = tmp_class_creation_12__bases;
tmp_subscript_value_49 = mod_consts[32];
tmp_type_arg_23 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_113, tmp_subscript_value_49, 0);
if (tmp_type_arg_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
tmp_metaclass_value_12 = BUILTIN_TYPE1(tmp_type_arg_23);
Py_DECREF(tmp_type_arg_23);
if (tmp_metaclass_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
goto condexpr_end_24;
condexpr_false_24:;
tmp_metaclass_value_12 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_12);
condexpr_end_24:;
condexpr_end_23:;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_bases_value_12 = tmp_class_creation_12__bases;
tmp_assign_source_118 = SELECT_METACLASS(tmp_metaclass_value_12, tmp_bases_value_12);
Py_DECREF(tmp_metaclass_value_12);
if (tmp_assign_source_118 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
assert(tmp_class_creation_12__metaclass == NULL);
tmp_class_creation_12__metaclass = tmp_assign_source_118;
}
{
bool tmp_condition_result_69;
PyObject *tmp_key_value_36;
PyObject *tmp_dict_arg_value_36;
tmp_key_value_36 = mod_consts[155];
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_69 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_69 != false) {
goto branch_yes_45;
} else {
goto branch_no_45;
}
}
branch_yes_45:;
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_12__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 552;
goto try_except_handler_37;
}
branch_no_45:;
{
nuitka_bool tmp_condition_result_70;
PyObject *tmp_expression_value_114;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_expression_value_114 = tmp_class_creation_12__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_114, mod_consts[156]);
tmp_condition_result_70 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_70 == NUITKA_BOOL_TRUE) {
goto branch_yes_46;
} else {
goto branch_no_46;
}
}
branch_yes_46:;
{
PyObject *tmp_assign_source_119;
PyObject *tmp_called_value_23;
PyObject *tmp_expression_value_115;
PyObject *tmp_args_value_23;
PyObject *tmp_tuple_element_57;
PyObject *tmp_kwargs_value_23;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_expression_value_115 = tmp_class_creation_12__metaclass;
tmp_called_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_115, mod_consts[156]);
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
tmp_tuple_element_57 = mod_consts[35];
tmp_args_value_23 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_23, 0, tmp_tuple_element_57);
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_tuple_element_57 = tmp_class_creation_12__bases;
PyTuple_SET_ITEM0(tmp_args_value_23, 1, tmp_tuple_element_57);
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_kwargs_value_23 = tmp_class_creation_12__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 552;
tmp_assign_source_119 = CALL_FUNCTION(tmp_called_value_23, tmp_args_value_23, tmp_kwargs_value_23);
Py_DECREF(tmp_called_value_23);
Py_DECREF(tmp_args_value_23);
if (tmp_assign_source_119 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
assert(tmp_class_creation_12__prepared == NULL);
tmp_class_creation_12__prepared = tmp_assign_source_119;
}
{
bool tmp_condition_result_71;
PyObject *tmp_operand_value_12;
PyObject *tmp_expression_value_116;
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_expression_value_116 = tmp_class_creation_12__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_116, mod_consts[157]);
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 = 552;
goto try_except_handler_37;
}
tmp_condition_result_71 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_71 != false) {
goto branch_yes_47;
} else {
goto branch_no_47;
}
}
branch_yes_47:;
{
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_58;
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[158];
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_getattr_target_12 = tmp_class_creation_12__metaclass;
tmp_getattr_attr_12 = mod_consts[69];
tmp_getattr_default_12 = mod_consts[159];
tmp_tuple_element_58 = BUILTIN_GETATTR(tmp_getattr_target_12, tmp_getattr_attr_12, tmp_getattr_default_12);
if (tmp_tuple_element_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_37;
}
tmp_mod_expr_right_12 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_117;
PyObject *tmp_type_arg_24;
PyTuple_SET_ITEM(tmp_mod_expr_right_12, 0, tmp_tuple_element_58);
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_type_arg_24 = tmp_class_creation_12__prepared;
tmp_expression_value_117 = BUILTIN_TYPE1(tmp_type_arg_24);
assert(!(tmp_expression_value_117 == NULL));
tmp_tuple_element_58 = LOOKUP_ATTRIBUTE(tmp_expression_value_117, mod_consts[69]);
Py_DECREF(tmp_expression_value_117);
if (tmp_tuple_element_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto tuple_build_exception_26;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_12, 1, tmp_tuple_element_58);
}
goto tuple_build_noexception_26;
// Exception handling pass through code for tuple_build:
tuple_build_exception_26:;
Py_DECREF(tmp_mod_expr_right_12);
goto try_except_handler_37;
// Finished with no exception for tuple_build:
tuple_build_noexception_26:;
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 = 552;
goto try_except_handler_37;
}
exception_type = tmp_raise_type_12;
Py_INCREF(tmp_raise_type_12);
exception_value = tmp_raise_value_12;
exception_lineno = 552;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_37;
}
branch_no_47:;
goto branch_end_46;
branch_no_46:;
{
PyObject *tmp_assign_source_120;
tmp_assign_source_120 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_12__prepared == NULL);
tmp_class_creation_12__prepared = tmp_assign_source_120;
}
branch_end_46:;
{
PyObject *tmp_assign_source_121;
{
PyObject *tmp_set_locals_12;
CHECK_OBJECT(tmp_class_creation_12__prepared);
tmp_set_locals_12 = tmp_class_creation_12__prepared;
locals_tornado$routing$$$class__12_PathMatches_552 = tmp_set_locals_12;
Py_INCREF(tmp_set_locals_12);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
tmp_dictset_value = mod_consts[224];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
tmp_dictset_value = mod_consts[35];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
if (isFrameUnusable(cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13)) {
Py_XDECREF(cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13);
#if _DEBUG_REFCOUNTS
if (cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13 = MAKE_CLASS_FRAME(codeobj_9dc0ceb62370e72afe09f600fad9e9af, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13->m_type_description == NULL);
frame_9dc0ceb62370e72afe09f600fad9e9af_13 = cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13;
// Push the new frame as the currently active one.
pushFrameStack(frame_9dc0ceb62370e72afe09f600fad9e9af_13);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9dc0ceb62370e72afe09f600fad9e9af_13) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_29;
PyObject *tmp_dict_key_24;
PyObject *tmp_dict_value_24;
PyObject *tmp_expression_value_118;
PyObject *tmp_subscript_value_50;
PyObject *tmp_tuple_element_59;
tmp_dict_key_24 = mod_consts[82];
tmp_expression_value_118 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[147]);
if (tmp_expression_value_118 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_118 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_118 == NULL)) {
tmp_expression_value_118 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_118 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_expression_value_118);
} else {
goto frame_exception_exit_13;
}
}
tmp_tuple_element_59 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[172]);
if (tmp_tuple_element_59 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_59 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_59);
} else {
goto frame_exception_exit_13;
}
}
tmp_subscript_value_50 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_50, 0, tmp_tuple_element_59);
tmp_tuple_element_59 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[152]);
if (tmp_tuple_element_59 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_59 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[152]);
if (unlikely(tmp_tuple_element_59 == NULL)) {
tmp_tuple_element_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[152]);
}
if (tmp_tuple_element_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_2 = "o";
goto tuple_build_exception_27;
}
Py_INCREF(tmp_tuple_element_59);
} else {
goto tuple_build_exception_27;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_50, 1, tmp_tuple_element_59);
goto tuple_build_noexception_27;
// Exception handling pass through code for tuple_build:
tuple_build_exception_27:;
Py_DECREF(tmp_expression_value_118);
Py_DECREF(tmp_subscript_value_50);
goto frame_exception_exit_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_27:;
tmp_dict_value_24 = LOOKUP_SUBSCRIPT(tmp_expression_value_118, tmp_subscript_value_50);
Py_DECREF(tmp_expression_value_118);
Py_DECREF(tmp_subscript_value_50);
if (tmp_dict_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_2 = "o";
goto frame_exception_exit_13;
}
tmp_annotations_29 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_24, tmp_dict_value_24);
Py_DECREF(tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dict_key_24 = mod_consts[164];
tmp_dict_value_24 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_24, tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__29___init__(tmp_annotations_29);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[59], 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 = 555;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
{
PyObject *tmp_annotations_30;
PyObject *tmp_dict_key_25;
PyObject *tmp_dict_value_25;
PyObject *tmp_expression_value_119;
tmp_dict_key_25 = mod_consts[44];
tmp_expression_value_119 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[7]);
if (tmp_expression_value_119 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_119 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_119 == NULL)) {
tmp_expression_value_119 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_119 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_expression_value_119);
} else {
goto frame_exception_exit_13;
}
}
tmp_dict_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_119, mod_consts[9]);
Py_DECREF(tmp_expression_value_119);
if (tmp_dict_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto frame_exception_exit_13;
}
tmp_annotations_30 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_120;
PyObject *tmp_subscript_value_51;
PyObject *tmp_expression_value_121;
PyObject *tmp_subscript_value_52;
PyObject *tmp_tuple_element_60;
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_25, tmp_dict_value_25);
Py_DECREF(tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dict_key_25 = mod_consts[164];
tmp_expression_value_120 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[148]);
if (tmp_expression_value_120 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_120 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_120 == NULL)) {
tmp_expression_value_120 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_120 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_18;
}
Py_INCREF(tmp_expression_value_120);
} else {
goto dict_build_exception_18;
}
}
tmp_expression_value_121 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[151]);
if (tmp_expression_value_121 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_121 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_121 == NULL)) {
tmp_expression_value_121 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_121 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_120);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_18;
}
Py_INCREF(tmp_expression_value_121);
} else {
goto dict_build_exception_18;
}
}
tmp_tuple_element_60 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[172]);
if (tmp_tuple_element_60 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_60 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_60);
} else {
goto dict_build_exception_18;
}
}
tmp_subscript_value_52 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_52, 0, tmp_tuple_element_60);
tmp_tuple_element_60 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[146]);
if (tmp_tuple_element_60 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_60 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_60 == NULL)) {
tmp_tuple_element_60 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto tuple_build_exception_28;
}
Py_INCREF(tmp_tuple_element_60);
} else {
goto tuple_build_exception_28;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_52, 1, tmp_tuple_element_60);
goto tuple_build_noexception_28;
// Exception handling pass through code for tuple_build:
tuple_build_exception_28:;
Py_DECREF(tmp_expression_value_120);
Py_DECREF(tmp_expression_value_121);
Py_DECREF(tmp_subscript_value_52);
goto dict_build_exception_18;
// Finished with no exception for tuple_build:
tuple_build_noexception_28:;
tmp_subscript_value_51 = LOOKUP_SUBSCRIPT(tmp_expression_value_121, tmp_subscript_value_52);
Py_DECREF(tmp_expression_value_121);
Py_DECREF(tmp_subscript_value_52);
if (tmp_subscript_value_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_120);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_18;
}
tmp_dict_value_25 = LOOKUP_SUBSCRIPT(tmp_expression_value_120, tmp_subscript_value_51);
Py_DECREF(tmp_expression_value_120);
Py_DECREF(tmp_subscript_value_51);
if (tmp_dict_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_18;
}
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_25, tmp_dict_value_25);
Py_DECREF(tmp_dict_value_25);
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_30);
goto frame_exception_exit_13;
// Finished with no exception for dict_build:
dict_build_noexception_18:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__30_match(tmp_annotations_30);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[43], 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_13;
}
}
{
PyObject *tmp_annotations_31;
PyObject *tmp_dict_key_26;
PyObject *tmp_dict_value_26;
tmp_dict_key_26 = mod_consts[173];
tmp_dict_value_26 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[146]);
if (tmp_dict_value_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_26 == NULL)) {
tmp_dict_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 593;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_dict_value_26);
} else {
goto frame_exception_exit_13;
}
}
tmp_annotations_31 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_122;
PyObject *tmp_subscript_value_53;
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_26, tmp_dict_value_26);
Py_DECREF(tmp_dict_value_26);
assert(!(tmp_res != 0));
tmp_dict_key_26 = mod_consts[164];
tmp_expression_value_122 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[148]);
if (tmp_expression_value_122 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_122 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_122 == NULL)) {
tmp_expression_value_122 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_122 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 593;
type_description_2 = "o";
goto dict_build_exception_19;
}
Py_INCREF(tmp_expression_value_122);
} else {
goto dict_build_exception_19;
}
}
tmp_subscript_value_53 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[172]);
if (tmp_subscript_value_53 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_53 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_53);
} else {
goto dict_build_exception_19;
}
}
tmp_dict_value_26 = LOOKUP_SUBSCRIPT(tmp_expression_value_122, tmp_subscript_value_53);
Py_DECREF(tmp_expression_value_122);
Py_DECREF(tmp_subscript_value_53);
if (tmp_dict_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 593;
type_description_2 = "o";
goto dict_build_exception_19;
}
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_26, tmp_dict_value_26);
Py_DECREF(tmp_dict_value_26);
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_31);
goto frame_exception_exit_13;
// Finished with no exception for dict_build:
dict_build_noexception_19:;
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__31_reverse(tmp_annotations_31);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[63], 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 = 593;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
{
PyObject *tmp_annotations_32;
PyObject *tmp_dict_key_27;
PyObject *tmp_dict_value_27;
PyObject *tmp_expression_value_123;
PyObject *tmp_subscript_value_54;
PyObject *tmp_tuple_element_61;
PyObject *tmp_expression_value_124;
PyObject *tmp_subscript_value_55;
tmp_dict_key_27 = mod_consts[164];
tmp_expression_value_123 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[153]);
if (tmp_expression_value_123 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_123 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[153]);
if (unlikely(tmp_expression_value_123 == NULL)) {
tmp_expression_value_123 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]);
}
if (tmp_expression_value_123 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_expression_value_123);
} else {
goto frame_exception_exit_13;
}
}
tmp_expression_value_124 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[148]);
if (tmp_expression_value_124 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_124 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_124 == NULL)) {
tmp_expression_value_124 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_124 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_123);
exception_lineno = 608;
type_description_2 = "o";
goto frame_exception_exit_13;
}
Py_INCREF(tmp_expression_value_124);
} else {
goto frame_exception_exit_13;
}
}
tmp_subscript_value_55 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[172]);
if (tmp_subscript_value_55 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_55 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_55);
} else {
goto frame_exception_exit_13;
}
}
tmp_tuple_element_61 = LOOKUP_SUBSCRIPT(tmp_expression_value_124, tmp_subscript_value_55);
Py_DECREF(tmp_expression_value_124);
Py_DECREF(tmp_subscript_value_55);
if (tmp_tuple_element_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_123);
exception_lineno = 608;
type_description_2 = "o";
goto frame_exception_exit_13;
}
tmp_subscript_value_54 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_125;
PyObject *tmp_subscript_value_56;
PyTuple_SET_ITEM(tmp_subscript_value_54, 0, tmp_tuple_element_61);
tmp_expression_value_125 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[148]);
if (tmp_expression_value_125 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_125 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_125 == NULL)) {
tmp_expression_value_125 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_125 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_2 = "o";
goto tuple_build_exception_29;
}
Py_INCREF(tmp_expression_value_125);
} else {
goto tuple_build_exception_29;
}
}
tmp_subscript_value_56 = PyObject_GetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[228]);
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 tuple_build_exception_29;
}
}
tmp_tuple_element_61 = LOOKUP_SUBSCRIPT(tmp_expression_value_125, tmp_subscript_value_56);
Py_DECREF(tmp_expression_value_125);
Py_DECREF(tmp_subscript_value_56);
if (tmp_tuple_element_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_2 = "o";
goto tuple_build_exception_29;
}
PyTuple_SET_ITEM(tmp_subscript_value_54, 1, tmp_tuple_element_61);
}
goto tuple_build_noexception_29;
// Exception handling pass through code for tuple_build:
tuple_build_exception_29:;
Py_DECREF(tmp_expression_value_123);
Py_DECREF(tmp_subscript_value_54);
goto frame_exception_exit_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_29:;
tmp_dict_value_27 = LOOKUP_SUBSCRIPT(tmp_expression_value_123, tmp_subscript_value_54);
Py_DECREF(tmp_expression_value_123);
Py_DECREF(tmp_subscript_value_54);
if (tmp_dict_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_2 = "o";
goto frame_exception_exit_13;
}
tmp_annotations_32 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_32, tmp_dict_key_27, tmp_dict_value_27);
Py_DECREF(tmp_dict_value_27);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__32__find_groups(tmp_annotations_32);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[88], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_2 = "o";
goto frame_exception_exit_13;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9dc0ceb62370e72afe09f600fad9e9af_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_9dc0ceb62370e72afe09f600fad9e9af_13);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9dc0ceb62370e72afe09f600fad9e9af_13, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9dc0ceb62370e72afe09f600fad9e9af_13->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9dc0ceb62370e72afe09f600fad9e9af_13, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9dc0ceb62370e72afe09f600fad9e9af_13,
type_description_2,
outline_11_var___class__
);
// Release cached frame if used for exception.
if (frame_9dc0ceb62370e72afe09f600fad9e9af_13 == cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13);
cache_frame_9dc0ceb62370e72afe09f600fad9e9af_13 = NULL;
}
assertFrameObject(frame_9dc0ceb62370e72afe09f600fad9e9af_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_39;
skip_nested_handling_12:;
{
nuitka_bool tmp_condition_result_72;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_cmp_expr_left_12 = tmp_class_creation_12__bases;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_cmp_expr_right_12 = tmp_class_creation_12__bases_orig;
tmp_condition_result_72 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
if (tmp_condition_result_72 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
if (tmp_condition_result_72 == NUITKA_BOOL_TRUE) {
goto branch_yes_48;
} else {
goto branch_no_48;
}
}
branch_yes_48:;
CHECK_OBJECT(tmp_class_creation_12__bases_orig);
tmp_dictset_value = tmp_class_creation_12__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__12_PathMatches_552, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
branch_no_48:;
{
PyObject *tmp_assign_source_122;
PyObject *tmp_called_value_24;
PyObject *tmp_args_value_24;
PyObject *tmp_tuple_element_62;
PyObject *tmp_kwargs_value_24;
CHECK_OBJECT(tmp_class_creation_12__metaclass);
tmp_called_value_24 = tmp_class_creation_12__metaclass;
tmp_tuple_element_62 = mod_consts[35];
tmp_args_value_24 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_24, 0, tmp_tuple_element_62);
CHECK_OBJECT(tmp_class_creation_12__bases);
tmp_tuple_element_62 = tmp_class_creation_12__bases;
PyTuple_SET_ITEM0(tmp_args_value_24, 1, tmp_tuple_element_62);
tmp_tuple_element_62 = locals_tornado$routing$$$class__12_PathMatches_552;
PyTuple_SET_ITEM0(tmp_args_value_24, 2, tmp_tuple_element_62);
CHECK_OBJECT(tmp_class_creation_12__class_decl_dict);
tmp_kwargs_value_24 = tmp_class_creation_12__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 552;
tmp_assign_source_122 = CALL_FUNCTION(tmp_called_value_24, tmp_args_value_24, tmp_kwargs_value_24);
Py_DECREF(tmp_args_value_24);
if (tmp_assign_source_122 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
goto try_except_handler_39;
}
assert(outline_11_var___class__ == NULL);
outline_11_var___class__ = tmp_assign_source_122;
}
CHECK_OBJECT(outline_11_var___class__);
tmp_assign_source_121 = outline_11_var___class__;
Py_INCREF(tmp_assign_source_121);
goto try_return_handler_39;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_39:;
Py_DECREF(locals_tornado$routing$$$class__12_PathMatches_552);
locals_tornado$routing$$$class__12_PathMatches_552 = NULL;
goto try_return_handler_38;
// Exception handler code:
try_except_handler_39:;
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;
Py_DECREF(locals_tornado$routing$$$class__12_PathMatches_552);
locals_tornado$routing$$$class__12_PathMatches_552 = NULL;
// 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 try_except_handler_38;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_38:;
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_38:;
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;
// 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 outline_exception_12;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_12:;
exception_lineno = 552;
goto try_except_handler_37;
outline_result_12:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[35], tmp_assign_source_121);
}
goto try_end_15;
// Exception handler code:
try_except_handler_37:;
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_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_39;
exception_value = exception_keeper_value_39;
exception_tb = exception_keeper_tb_39;
exception_lineno = exception_keeper_lineno_39;
goto frame_exception_exit_1;
// End of try:
try_end_15:;
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_123;
PyObject *tmp_tuple_element_63;
tmp_tuple_element_63 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[34]);
if (unlikely(tmp_tuple_element_63 == NULL)) {
tmp_tuple_element_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]);
}
if (tmp_tuple_element_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
tmp_assign_source_123 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_123, 0, tmp_tuple_element_63);
assert(tmp_class_creation_13__bases_orig == NULL);
tmp_class_creation_13__bases_orig = tmp_assign_source_123;
}
{
PyObject *tmp_assign_source_124;
PyObject *tmp_dircall_arg1_13;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_dircall_arg1_13 = tmp_class_creation_13__bases_orig;
Py_INCREF(tmp_dircall_arg1_13);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_13};
tmp_assign_source_124 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_124 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
assert(tmp_class_creation_13__bases == NULL);
tmp_class_creation_13__bases = tmp_assign_source_124;
}
{
PyObject *tmp_assign_source_125;
tmp_assign_source_125 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_13__class_decl_dict == NULL);
tmp_class_creation_13__class_decl_dict = tmp_assign_source_125;
}
{
PyObject *tmp_assign_source_126;
PyObject *tmp_metaclass_value_13;
bool tmp_condition_result_73;
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_74;
int tmp_truth_name_13;
PyObject *tmp_type_arg_25;
PyObject *tmp_expression_value_126;
PyObject *tmp_subscript_value_57;
PyObject *tmp_bases_value_13;
tmp_key_value_37 = mod_consts[155];
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_73 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_73 != false) {
goto condexpr_true_25;
} else {
goto condexpr_false_25;
}
condexpr_true_25:;
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[155];
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_25;
condexpr_false_25:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_truth_name_13 = CHECK_IF_TRUE(tmp_class_creation_13__bases);
if (tmp_truth_name_13 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
tmp_condition_result_74 = tmp_truth_name_13 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_74 == NUITKA_BOOL_TRUE) {
goto condexpr_true_26;
} else {
goto condexpr_false_26;
}
condexpr_true_26:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_expression_value_126 = tmp_class_creation_13__bases;
tmp_subscript_value_57 = mod_consts[32];
tmp_type_arg_25 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_126, tmp_subscript_value_57, 0);
if (tmp_type_arg_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
tmp_metaclass_value_13 = BUILTIN_TYPE1(tmp_type_arg_25);
Py_DECREF(tmp_type_arg_25);
if (tmp_metaclass_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
goto condexpr_end_26;
condexpr_false_26:;
tmp_metaclass_value_13 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_13);
condexpr_end_26:;
condexpr_end_25:;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_bases_value_13 = tmp_class_creation_13__bases;
tmp_assign_source_126 = SELECT_METACLASS(tmp_metaclass_value_13, tmp_bases_value_13);
Py_DECREF(tmp_metaclass_value_13);
if (tmp_assign_source_126 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
assert(tmp_class_creation_13__metaclass == NULL);
tmp_class_creation_13__metaclass = tmp_assign_source_126;
}
{
bool tmp_condition_result_75;
PyObject *tmp_key_value_39;
PyObject *tmp_dict_arg_value_39;
tmp_key_value_39 = mod_consts[155];
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_75 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_75 != false) {
goto branch_yes_49;
} else {
goto branch_no_49;
}
}
branch_yes_49:;
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_13__class_decl_dict;
tmp_dictdel_key = mod_consts[155];
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 = 649;
goto try_except_handler_40;
}
branch_no_49:;
{
nuitka_bool tmp_condition_result_76;
PyObject *tmp_expression_value_127;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_expression_value_127 = tmp_class_creation_13__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_127, mod_consts[156]);
tmp_condition_result_76 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_76 == NUITKA_BOOL_TRUE) {
goto branch_yes_50;
} else {
goto branch_no_50;
}
}
branch_yes_50:;
{
PyObject *tmp_assign_source_127;
PyObject *tmp_called_value_25;
PyObject *tmp_expression_value_128;
PyObject *tmp_args_value_25;
PyObject *tmp_tuple_element_64;
PyObject *tmp_kwargs_value_25;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_expression_value_128 = tmp_class_creation_13__metaclass;
tmp_called_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_128, mod_consts[156]);
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
tmp_tuple_element_64 = mod_consts[230];
tmp_args_value_25 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_25, 0, tmp_tuple_element_64);
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_tuple_element_64 = tmp_class_creation_13__bases;
PyTuple_SET_ITEM0(tmp_args_value_25, 1, tmp_tuple_element_64);
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_kwargs_value_25 = tmp_class_creation_13__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 649;
tmp_assign_source_127 = CALL_FUNCTION(tmp_called_value_25, tmp_args_value_25, tmp_kwargs_value_25);
Py_DECREF(tmp_called_value_25);
Py_DECREF(tmp_args_value_25);
if (tmp_assign_source_127 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
assert(tmp_class_creation_13__prepared == NULL);
tmp_class_creation_13__prepared = tmp_assign_source_127;
}
{
bool tmp_condition_result_77;
PyObject *tmp_operand_value_13;
PyObject *tmp_expression_value_129;
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_expression_value_129 = tmp_class_creation_13__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_129, mod_consts[157]);
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 = 649;
goto try_except_handler_40;
}
tmp_condition_result_77 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_77 != false) {
goto branch_yes_51;
} else {
goto branch_no_51;
}
}
branch_yes_51:;
{
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_65;
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[158];
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_getattr_target_13 = tmp_class_creation_13__metaclass;
tmp_getattr_attr_13 = mod_consts[69];
tmp_getattr_default_13 = mod_consts[159];
tmp_tuple_element_65 = BUILTIN_GETATTR(tmp_getattr_target_13, tmp_getattr_attr_13, tmp_getattr_default_13);
if (tmp_tuple_element_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_40;
}
tmp_mod_expr_right_13 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_130;
PyObject *tmp_type_arg_26;
PyTuple_SET_ITEM(tmp_mod_expr_right_13, 0, tmp_tuple_element_65);
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_type_arg_26 = tmp_class_creation_13__prepared;
tmp_expression_value_130 = BUILTIN_TYPE1(tmp_type_arg_26);
assert(!(tmp_expression_value_130 == NULL));
tmp_tuple_element_65 = LOOKUP_ATTRIBUTE(tmp_expression_value_130, mod_consts[69]);
Py_DECREF(tmp_expression_value_130);
if (tmp_tuple_element_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto tuple_build_exception_30;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_13, 1, tmp_tuple_element_65);
}
goto tuple_build_noexception_30;
// Exception handling pass through code for tuple_build:
tuple_build_exception_30:;
Py_DECREF(tmp_mod_expr_right_13);
goto try_except_handler_40;
// Finished with no exception for tuple_build:
tuple_build_noexception_30:;
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 = 649;
goto try_except_handler_40;
}
exception_type = tmp_raise_type_13;
Py_INCREF(tmp_raise_type_13);
exception_value = tmp_raise_value_13;
exception_lineno = 649;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_40;
}
branch_no_51:;
goto branch_end_50;
branch_no_50:;
{
PyObject *tmp_assign_source_128;
tmp_assign_source_128 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_13__prepared == NULL);
tmp_class_creation_13__prepared = tmp_assign_source_128;
}
branch_end_50:;
{
PyObject *tmp_assign_source_129;
{
PyObject *tmp_set_locals_13;
CHECK_OBJECT(tmp_class_creation_13__prepared);
tmp_set_locals_13 = tmp_class_creation_13__prepared;
locals_tornado$routing$$$class__13_URLSpec_649 = tmp_set_locals_13;
Py_INCREF(tmp_set_locals_13);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[160];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[161], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
tmp_dictset_value = mod_consts[231];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
tmp_dictset_value = mod_consts[230];
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[163], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
if (isFrameUnusable(cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14)) {
Py_XDECREF(cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14);
#if _DEBUG_REFCOUNTS
if (cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 = MAKE_CLASS_FRAME(codeobj_4e441ebb16ad3b88eaddadfc3eaeb0c4, module_tornado$routing, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14->m_type_description == NULL);
frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 = cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14;
// Push the new frame as the currently active one.
pushFrameStack(frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_33;
PyObject *tmp_dict_key_28;
PyObject *tmp_dict_value_28;
PyObject *tmp_expression_value_131;
PyObject *tmp_subscript_value_58;
PyObject *tmp_tuple_element_66;
struct Nuitka_CellObject *tmp_closure_3[1];
tmp_defaults_4 = mod_consts[111];
tmp_dict_key_28 = mod_consts[87];
tmp_expression_value_131 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[147]);
if (tmp_expression_value_131 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_131 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_expression_value_131 == NULL)) {
tmp_expression_value_131 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_expression_value_131 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_2 = "c";
goto frame_exception_exit_14;
}
Py_INCREF(tmp_expression_value_131);
} else {
goto frame_exception_exit_14;
}
}
tmp_tuple_element_66 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[172]);
if (tmp_tuple_element_66 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_66 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_66);
} else {
goto frame_exception_exit_14;
}
}
tmp_subscript_value_58 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_58, 0, tmp_tuple_element_66);
tmp_tuple_element_66 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[152]);
if (tmp_tuple_element_66 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_66 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[152]);
if (unlikely(tmp_tuple_element_66 == NULL)) {
tmp_tuple_element_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[152]);
}
if (tmp_tuple_element_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_2 = "c";
goto tuple_build_exception_31;
}
Py_INCREF(tmp_tuple_element_66);
} else {
goto tuple_build_exception_31;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_58, 1, tmp_tuple_element_66);
goto tuple_build_noexception_31;
// Exception handling pass through code for tuple_build:
tuple_build_exception_31:;
Py_DECREF(tmp_expression_value_131);
Py_DECREF(tmp_subscript_value_58);
goto frame_exception_exit_14;
// Finished with no exception for tuple_build:
tuple_build_noexception_31:;
tmp_dict_value_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_131, tmp_subscript_value_58);
Py_DECREF(tmp_expression_value_131);
Py_DECREF(tmp_subscript_value_58);
if (tmp_dict_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_2 = "c";
goto frame_exception_exit_14;
}
tmp_annotations_33 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_132;
PyObject *tmp_subscript_value_59;
PyObject *tmp_expression_value_133;
PyObject *tmp_subscript_value_60;
PyObject *tmp_tuple_element_67;
PyObject *tmp_expression_value_134;
PyObject *tmp_subscript_value_61;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_28, tmp_dict_value_28);
Py_DECREF(tmp_dict_value_28);
assert(!(tmp_res != 0));
tmp_dict_key_28 = mod_consts[232];
tmp_dict_value_28 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[146]);
if (tmp_dict_value_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_dict_value_28 == NULL)) {
tmp_dict_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_dict_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 660;
type_description_2 = "c";
goto dict_build_exception_20;
}
Py_INCREF(tmp_dict_value_28);
} else {
goto dict_build_exception_20;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_28, tmp_dict_value_28);
Py_DECREF(tmp_dict_value_28);
assert(!(tmp_res != 0));
tmp_dict_key_28 = mod_consts[123];
tmp_expression_value_132 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[148]);
if (tmp_expression_value_132 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_132 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_132 == NULL)) {
tmp_expression_value_132 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_132 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_2 = "c";
goto dict_build_exception_20;
}
Py_INCREF(tmp_expression_value_132);
} else {
goto dict_build_exception_20;
}
}
tmp_expression_value_133 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[151]);
if (tmp_expression_value_133 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_133 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_expression_value_133 == NULL)) {
tmp_expression_value_133 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_expression_value_133 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_132);
exception_lineno = 661;
type_description_2 = "c";
goto dict_build_exception_20;
}
Py_INCREF(tmp_expression_value_133);
} else {
goto dict_build_exception_20;
}
}
tmp_tuple_element_67 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[172]);
if (tmp_tuple_element_67 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_67 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_67);
} else {
goto dict_build_exception_20;
}
}
tmp_subscript_value_60 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_60, 0, tmp_tuple_element_67);
tmp_tuple_element_67 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[146]);
if (tmp_tuple_element_67 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_67 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_67 == NULL)) {
tmp_tuple_element_67 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_2 = "c";
goto tuple_build_exception_32;
}
Py_INCREF(tmp_tuple_element_67);
} else {
goto tuple_build_exception_32;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_60, 1, tmp_tuple_element_67);
goto tuple_build_noexception_32;
// Exception handling pass through code for tuple_build:
tuple_build_exception_32:;
Py_DECREF(tmp_expression_value_132);
Py_DECREF(tmp_expression_value_133);
Py_DECREF(tmp_subscript_value_60);
goto dict_build_exception_20;
// Finished with no exception for tuple_build:
tuple_build_noexception_32:;
tmp_subscript_value_59 = LOOKUP_SUBSCRIPT(tmp_expression_value_133, tmp_subscript_value_60);
Py_DECREF(tmp_expression_value_133);
Py_DECREF(tmp_subscript_value_60);
if (tmp_subscript_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_132);
exception_lineno = 661;
type_description_2 = "c";
goto dict_build_exception_20;
}
tmp_dict_value_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_132, tmp_subscript_value_59);
Py_DECREF(tmp_expression_value_132);
Py_DECREF(tmp_subscript_value_59);
if (tmp_dict_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_2 = "c";
goto dict_build_exception_20;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_28, tmp_dict_value_28);
Py_DECREF(tmp_dict_value_28);
assert(!(tmp_res != 0));
tmp_dict_key_28 = mod_consts[60];
tmp_expression_value_134 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[148]);
if (tmp_expression_value_134 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_134 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_134 == NULL)) {
tmp_expression_value_134 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_134 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_2 = "c";
goto dict_build_exception_20;
}
Py_INCREF(tmp_expression_value_134);
} else {
goto dict_build_exception_20;
}
}
tmp_subscript_value_61 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[172]);
if (tmp_subscript_value_61 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_61 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_61);
} else {
goto dict_build_exception_20;
}
}
tmp_dict_value_28 = LOOKUP_SUBSCRIPT(tmp_expression_value_134, tmp_subscript_value_61);
Py_DECREF(tmp_expression_value_134);
Py_DECREF(tmp_subscript_value_61);
if (tmp_dict_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_2 = "c";
goto dict_build_exception_20;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_28, tmp_dict_value_28);
Py_DECREF(tmp_dict_value_28);
assert(!(tmp_res != 0));
tmp_dict_key_28 = mod_consts[164];
tmp_dict_value_28 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_28, tmp_dict_value_28);
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_33);
goto frame_exception_exit_14;
// Finished with no exception for dict_build:
dict_build_noexception_20:;
Py_INCREF(tmp_defaults_4);
tmp_closure_3[0] = outline_12_var___class__;
Py_INCREF(tmp_closure_3[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__33___init__(tmp_defaults_4, tmp_annotations_33, tmp_closure_3);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[59], 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 = 657;
type_description_2 = "c";
goto frame_exception_exit_14;
}
}
{
PyObject *tmp_annotations_34;
PyObject *tmp_dict_key_29;
PyObject *tmp_dict_value_29;
tmp_dict_key_29 = mod_consts[164];
tmp_dict_value_29 = PyObject_GetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[172]);
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_14;
}
}
tmp_annotations_34 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_34, tmp_dict_key_29, tmp_dict_value_29);
Py_DECREF(tmp_dict_value_29);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$routing$$$function__34___repr__(tmp_annotations_34);
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[207], 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 = "c";
goto frame_exception_exit_14;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_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_4e441ebb16ad3b88eaddadfc3eaeb0c4_14);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14,
type_description_2,
outline_12_var___class__
);
// Release cached frame if used for exception.
if (frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 == cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14);
cache_frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_14 = NULL;
}
assertFrameObject(frame_4e441ebb16ad3b88eaddadfc3eaeb0c4_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_42;
skip_nested_handling_13:;
{
nuitka_bool tmp_condition_result_78;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_cmp_expr_left_13 = tmp_class_creation_13__bases;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_cmp_expr_right_13 = tmp_class_creation_13__bases_orig;
tmp_condition_result_78 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
if (tmp_condition_result_78 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
if (tmp_condition_result_78 == NUITKA_BOOL_TRUE) {
goto branch_yes_52;
} else {
goto branch_no_52;
}
}
branch_yes_52:;
CHECK_OBJECT(tmp_class_creation_13__bases_orig);
tmp_dictset_value = tmp_class_creation_13__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$routing$$$class__13_URLSpec_649, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
branch_no_52:;
{
PyObject *tmp_assign_source_130;
PyObject *tmp_called_value_26;
PyObject *tmp_args_value_26;
PyObject *tmp_tuple_element_68;
PyObject *tmp_kwargs_value_26;
CHECK_OBJECT(tmp_class_creation_13__metaclass);
tmp_called_value_26 = tmp_class_creation_13__metaclass;
tmp_tuple_element_68 = mod_consts[230];
tmp_args_value_26 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_26, 0, tmp_tuple_element_68);
CHECK_OBJECT(tmp_class_creation_13__bases);
tmp_tuple_element_68 = tmp_class_creation_13__bases;
PyTuple_SET_ITEM0(tmp_args_value_26, 1, tmp_tuple_element_68);
tmp_tuple_element_68 = locals_tornado$routing$$$class__13_URLSpec_649;
PyTuple_SET_ITEM0(tmp_args_value_26, 2, tmp_tuple_element_68);
CHECK_OBJECT(tmp_class_creation_13__class_decl_dict);
tmp_kwargs_value_26 = tmp_class_creation_13__class_decl_dict;
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 649;
tmp_assign_source_130 = CALL_FUNCTION(tmp_called_value_26, tmp_args_value_26, tmp_kwargs_value_26);
Py_DECREF(tmp_args_value_26);
if (tmp_assign_source_130 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto try_except_handler_42;
}
assert(Nuitka_Cell_GET(outline_12_var___class__) == NULL);
PyCell_SET(outline_12_var___class__, tmp_assign_source_130);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_12_var___class__));
tmp_assign_source_129 = Nuitka_Cell_GET(outline_12_var___class__);
Py_INCREF(tmp_assign_source_129);
goto try_return_handler_42;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_42:;
Py_DECREF(locals_tornado$routing$$$class__13_URLSpec_649);
locals_tornado$routing$$$class__13_URLSpec_649 = NULL;
goto try_return_handler_41;
// Exception handler code:
try_except_handler_42:;
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;
Py_DECREF(locals_tornado$routing$$$class__13_URLSpec_649);
locals_tornado$routing$$$class__13_URLSpec_649 = NULL;
// 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 try_except_handler_41;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_41:;
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_41:;
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;
// 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 outline_exception_13;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_13:;
exception_lineno = 649;
goto try_except_handler_40;
outline_result_13:;
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[230], tmp_assign_source_129);
}
goto try_end_16;
// Exception handler code:
try_except_handler_40:;
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_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_42;
exception_value = exception_keeper_value_42;
exception_tb = exception_keeper_tb_42;
exception_lineno = exception_keeper_lineno_42;
goto frame_exception_exit_1;
// End of try:
try_end_16:;
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;
{
PyObject *tmp_assign_source_131;
PyObject *tmp_called_value_27;
PyObject *tmp_args_element_value_1;
PyObject *tmp_annotations_35;
tmp_called_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[154]);
if (unlikely(tmp_called_value_27 == NULL)) {
tmp_called_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[154]);
}
if (tmp_called_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
goto frame_exception_exit_1;
}
tmp_annotations_35 = DICT_COPY(mod_consts[235]);
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$routing$$$function__35__unquote_or_none(tmp_annotations_35);
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 698;
tmp_assign_source_131 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_131 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[94], tmp_assign_source_131);
}
{
PyObject *tmp_assign_source_132;
PyObject *tmp_called_value_28;
PyObject *tmp_args_element_value_2;
PyObject *tmp_annotations_36;
tmp_called_value_28 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[154]);
if (unlikely(tmp_called_value_28 == NULL)) {
tmp_called_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[154]);
}
if (tmp_called_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
goto frame_exception_exit_1;
}
tmp_annotations_36 = DICT_COPY(mod_consts[236]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$routing$$$function__36__unquote_or_none(tmp_annotations_36);
frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame.f_lineno = 703;
tmp_assign_source_132 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_28, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_132 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[94], tmp_assign_source_132);
}
{
PyObject *tmp_assign_source_133;
PyObject *tmp_annotations_37;
PyObject *tmp_dict_key_30;
PyObject *tmp_dict_value_30;
PyObject *tmp_expression_value_135;
PyObject *tmp_subscript_value_62;
tmp_dict_key_30 = mod_consts[237];
tmp_expression_value_135 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_135 == NULL)) {
tmp_expression_value_135 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_135 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto frame_exception_exit_1;
}
tmp_subscript_value_62 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_135, tmp_subscript_value_62);
if (tmp_dict_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto frame_exception_exit_1;
}
tmp_annotations_37 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_136;
PyObject *tmp_subscript_value_63;
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_30, tmp_dict_value_30);
Py_DECREF(tmp_dict_value_30);
assert(!(tmp_res != 0));
tmp_dict_key_30 = mod_consts[164];
tmp_expression_value_136 = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_expression_value_136 == NULL)) {
tmp_expression_value_136 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_expression_value_136 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto dict_build_exception_21;
}
tmp_subscript_value_63 = (PyObject *)&PyBytes_Type;
tmp_dict_value_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_136, tmp_subscript_value_63);
if (tmp_dict_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto dict_build_exception_21;
}
tmp_res = PyDict_SetItem(tmp_annotations_37, tmp_dict_key_30, tmp_dict_value_30);
Py_DECREF(tmp_dict_value_30);
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_37);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_21:;
tmp_assign_source_133 = MAKE_FUNCTION_tornado$routing$$$function__37__unquote_or_none(tmp_annotations_37);
UPDATE_STRING_DICT1(moduledict_tornado$routing, (Nuitka_StringObject *)mod_consts[94], tmp_assign_source_133);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_2e3c3f1caf71bfeac4672a5c071dd4ba);
#endif
popFrameStack();
goto frame_no_exception_14;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2e3c3f1caf71bfeac4672a5c071dd4ba);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2e3c3f1caf71bfeac4672a5c071dd4ba, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2e3c3f1caf71bfeac4672a5c071dd4ba->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2e3c3f1caf71bfeac4672a5c071dd4ba, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_14:;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.routing", false);
Py_INCREF(module_tornado$routing);
return module_tornado$routing;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$routing, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$routing", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}