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.http1connection'
* 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$http1connection" 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$http1connection;
PyDictObject *moduledict_tornado$http1connection;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[390];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[390];
#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.http1connection"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 390; 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$http1connection(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 390; 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_ccd752e232c630db2ee345e9677f2795;
static PyCodeObject *codeobj_a43475406134a938ab2064afd712f915;
static PyCodeObject *codeobj_c7f1db6b7f0d82bafb080bf5afd0471c;
static PyCodeObject *codeobj_20aff41ce98d35addabf85ab93483c33;
static PyCodeObject *codeobj_1e19327cfef83a061bc1c73f1327df9c;
static PyCodeObject *codeobj_661359a85be63cd9eff31a77d074a4cc;
static PyCodeObject *codeobj_64cd6998dc20d2387b98df32869dddea;
static PyCodeObject *codeobj_bd0bb8210dd6b9af850215155b9346e5;
static PyCodeObject *codeobj_411887091ddf2b30a8fed9cb0fa30fd7;
static PyCodeObject *codeobj_6efb62b6343cf1aa0d3640759902b209;
static PyCodeObject *codeobj_25c37ee45f833269fa912789345d6ec5;
static PyCodeObject *codeobj_048fd0ea12a6cc267c158902bd031b47;
static PyCodeObject *codeobj_8b6515a7daf56b943528a0d70b69c788;
static PyCodeObject *codeobj_147451a685f4eb17d356cf53a94821be;
static PyCodeObject *codeobj_03837c84c78f8260eeb8b6e969109bac;
static PyCodeObject *codeobj_381fbcbcd86d794becd27dd9f20816aa;
static PyCodeObject *codeobj_93b9fe5513bf6119090ed44c1b3d26f3;
static PyCodeObject *codeobj_1ab769e6ce47b60919596130d3996f32;
static PyCodeObject *codeobj_a773b9a08515b881f63ebec5362c5e41;
static PyCodeObject *codeobj_1fadfcfc08997477afcacab866818dc5;
static PyCodeObject *codeobj_6855f5a0c1178963bcce1abd280bc97a;
static PyCodeObject *codeobj_19be3b89ddc73d0c4cf73713e8c0373a;
static PyCodeObject *codeobj_21dad90fb6b8fbb3a5473fc9b95af58c;
static PyCodeObject *codeobj_9dd3988151fce6c4596004d0069b312f;
static PyCodeObject *codeobj_b40614c053f31b4abd8936f5d1cf5e73;
static PyCodeObject *codeobj_2a432f09ee2f18c239763fdc430e9e53;
static PyCodeObject *codeobj_2adae403958bd70f6b6a1a4936faf9d5;
static PyCodeObject *codeobj_8bfe811b9649e9b01fbe2ac4158a23f3;
static PyCodeObject *codeobj_6135d5e0cfccd1c98cd9aa89c440c469;
static PyCodeObject *codeobj_af56a41f6f31855697300ef4beb40c24;
static PyCodeObject *codeobj_302ec74309d3669623ff2e7b9f39f0fd;
static PyCodeObject *codeobj_4ed05136a100a6483e5191b1b8655f04;
static PyCodeObject *codeobj_f1c6014f7267829d91967b75536a4fa2;
static PyCodeObject *codeobj_faac5880f9c2dad0d0abd75049f2eaa1;
static PyCodeObject *codeobj_0b0441bb09d4c9e6602b2dd45e32b85d;
static PyCodeObject *codeobj_f8633ae99a9fc3a629dc5f9e19cc8b81;
static PyCodeObject *codeobj_2fa4c05d0cebb380282bb57c752eb987;
static PyCodeObject *codeobj_33785bf80e48a82dfd1a9d10687ceee2;
static PyCodeObject *codeobj_a269967bbb066b9e8e2aec1e34ed25f3;
static PyCodeObject *codeobj_20dd366449038fc0d168046805262496;
static PyCodeObject *codeobj_4878719e0375dea6dea9b3429656607f;
static PyCodeObject *codeobj_a624c36f1ce27077ff98613b3727881b;
static PyCodeObject *codeobj_c40a1101eab704811c95fdf0b325f864;
static PyCodeObject *codeobj_cf5c48565ec369f4de5e1c47836c65f9;
static PyCodeObject *codeobj_6a393b4825f3903ececaf9cbb5c3d985;
static PyCodeObject *codeobj_e3ebe1afa3c0da0459429afe766383d8;
static PyCodeObject *codeobj_129484869a36dce86cb23685176ed4df;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[248]; CHECK_OBJECT(module_filename_obj);
codeobj_ccd752e232c630db2ee345e9677f2795 = MAKE_CODE_OBJECT(module_filename_obj, 613, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[143], mod_consts[143], mod_consts[354], NULL, 1, 0, 0);
codeobj_a43475406134a938ab2064afd712f915 = MAKE_CODE_OBJECT(module_filename_obj, 454, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[143], mod_consts[143], mod_consts[355], NULL, 1, 0, 0);
codeobj_c7f1db6b7f0d82bafb080bf5afd0471c = MAKE_CODE_OBJECT(module_filename_obj, 451, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[143], mod_consts[143], mod_consts[356], NULL, 1, 0, 0);
codeobj_20aff41ce98d35addabf85ab93483c33 = MAKE_CODE_OBJECT(module_filename_obj, 815, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[232], mod_consts[232], mod_consts[357], NULL, 1, 0, 0);
codeobj_1e19327cfef83a061bc1c73f1327df9c = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[358], mod_consts[358], NULL, NULL, 0, 0, 0);
codeobj_661359a85be63cd9eff31a77d074a4cc = MAKE_CODE_OBJECT(module_filename_obj, 104, CO_NOFREE, mod_consts[235], mod_consts[235], mod_consts[359], NULL, 0, 0, 0);
codeobj_64cd6998dc20d2387b98df32869dddea = MAKE_CODE_OBJECT(module_filename_obj, 71, CO_NOFREE, mod_consts[16], mod_consts[16], mod_consts[359], NULL, 0, 0, 0);
codeobj_bd0bb8210dd6b9af850215155b9346e5 = MAKE_CODE_OBJECT(module_filename_obj, 770, CO_NOFREE, mod_consts[349], mod_consts[349], mod_consts[359], NULL, 0, 0, 0);
codeobj_411887091ddf2b30a8fed9cb0fa30fd7 = MAKE_CODE_OBJECT(module_filename_obj, 47, CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[359], NULL, 0, 0, 0);
codeobj_6efb62b6343cf1aa0d3640759902b209 = MAKE_CODE_OBJECT(module_filename_obj, 708, CO_NOFREE, mod_consts[35], mod_consts[35], mod_consts[359], NULL, 0, 0, 0);
codeobj_25c37ee45f833269fa912789345d6ec5 = MAKE_CODE_OBJECT(module_filename_obj, 42, CO_NOFREE, mod_consts[4], mod_consts[4], mod_consts[359], NULL, 0, 0, 0);
codeobj_048fd0ea12a6cc267c158902bd031b47 = MAKE_CODE_OBJECT(module_filename_obj, 56, CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[360], NULL, 1, 0, 0);
codeobj_8b6515a7daf56b943528a0d70b69c788 = MAKE_CODE_OBJECT(module_filename_obj, 59, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[60], mod_consts[60], mod_consts[361], NULL, 4, 0, 0);
codeobj_147451a685f4eb17d356cf53a94821be = MAKE_CODE_OBJECT(module_filename_obj, 43, CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[360], NULL, 1, 0, 0);
codeobj_03837c84c78f8260eeb8b6e969109bac = MAKE_CODE_OBJECT(module_filename_obj, 711, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[362], NULL, 3, 0, 0);
codeobj_381fbcbcd86d794becd27dd9f20816aa = MAKE_CODE_OBJECT(module_filename_obj, 53, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[363], NULL, 2, 0, 0);
codeobj_93b9fe5513bf6119090ed44c1b3d26f3 = MAKE_CODE_OBJECT(module_filename_obj, 74, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[364], NULL, 8, 0, 0);
codeobj_1ab769e6ce47b60919596130d3996f32 = MAKE_CODE_OBJECT(module_filename_obj, 111, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[365], NULL, 5, 0, 0);
codeobj_a773b9a08515b881f63ebec5362c5e41 = MAKE_CODE_OBJECT(module_filename_obj, 773, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[285], mod_consts[285], mod_consts[366], NULL, 4, 0, 0);
codeobj_1fadfcfc08997477afcacab866818dc5 = MAKE_CODE_OBJECT(module_filename_obj, 551, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[56], mod_consts[56], mod_consts[367], NULL, 3, 0, 0);
codeobj_6855f5a0c1178963bcce1abd280bc97a = MAKE_CODE_OBJECT(module_filename_obj, 305, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[27], mod_consts[27], mod_consts[360], NULL, 1, 0, 0);
codeobj_19be3b89ddc73d0c4cf73713e8c0373a = MAKE_CODE_OBJECT(module_filename_obj, 571, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[157], mod_consts[157], mod_consts[368], NULL, 2, 0, 0);
codeobj_21dad90fb6b8fbb3a5473fc9b95af58c = MAKE_CODE_OBJECT(module_filename_obj, 472, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[136], mod_consts[136], mod_consts[369], NULL, 2, 0, 0);
codeobj_9dd3988151fce6c4596004d0069b312f = MAKE_CODE_OBJECT(module_filename_obj, 331, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[91], mod_consts[91], mod_consts[370], NULL, 1, 0, 0);
codeobj_b40614c053f31b4abd8936f5d1cf5e73 = MAKE_CODE_OBJECT(module_filename_obj, 538, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[371], NULL, 2, 0, 0);
codeobj_2a432f09ee2f18c239763fdc430e9e53 = MAKE_CODE_OBJECT(module_filename_obj, 582, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[51], mod_consts[51], mod_consts[372], NULL, 2, 0, 0);
codeobj_2adae403958bd70f6b6a1a4936faf9d5 = MAKE_CODE_OBJECT(module_filename_obj, 594, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[373], NULL, 4, 0, 0);
codeobj_8bfe811b9649e9b01fbe2ac4158a23f3 = MAKE_CODE_OBJECT(module_filename_obj, 697, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[188], mod_consts[188], mod_consts[374], NULL, 2, 0, 0);
codeobj_6135d5e0cfccd1c98cd9aa89c440c469 = MAKE_CODE_OBJECT(module_filename_obj, 666, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[187], mod_consts[187], mod_consts[375], NULL, 2, 0, 0);
codeobj_af56a41f6f31855697300ef4beb40c24 = MAKE_CODE_OBJECT(module_filename_obj, 652, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[186], mod_consts[186], mod_consts[376], NULL, 3, 0, 0);
codeobj_302ec74309d3669623ff2e7b9f39f0fd = MAKE_CODE_OBJECT(module_filename_obj, 183, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[36], mod_consts[36], mod_consts[377], NULL, 2, 0, 0);
codeobj_4ed05136a100a6483e5191b1b8655f04 = MAKE_CODE_OBJECT(module_filename_obj, 817, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[230], mod_consts[230], mod_consts[378], NULL, 2, 0, 0);
codeobj_f1c6014f7267829d91967b75536a4fa2 = MAKE_CODE_OBJECT(module_filename_obj, 792, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[360], NULL, 1, 0, 0);
codeobj_faac5880f9c2dad0d0abd75049f2eaa1 = MAKE_CODE_OBJECT(module_filename_obj, 343, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[360], NULL, 1, 0, 0);
codeobj_0b0441bb09d4c9e6602b2dd45e32b85d = MAKE_CODE_OBJECT(module_filename_obj, 730, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[194], mod_consts[194], mod_consts[379], NULL, 2, 0, 0);
codeobj_f8633ae99a9fc3a629dc5f9e19cc8b81 = MAKE_CODE_OBJECT(module_filename_obj, 350, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[321], mod_consts[321], mod_consts[380], NULL, 1, 0, 0);
codeobj_2fa4c05d0cebb380282bb57c752eb987 = MAKE_CODE_OBJECT(module_filename_obj, 506, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[87], mod_consts[87], mod_consts[360], NULL, 1, 0, 0);
codeobj_33785bf80e48a82dfd1a9d10687ceee2 = MAKE_CODE_OBJECT(module_filename_obj, 751, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[87], mod_consts[87], mod_consts[381], NULL, 1, 0, 0);
codeobj_a269967bbb066b9e8e2aec1e34ed25f3 = MAKE_CODE_OBJECT(module_filename_obj, 716, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[382], NULL, 3, 0, 0);
codeobj_20dd366449038fc0d168046805262496 = MAKE_CODE_OBJECT(module_filename_obj, 766, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[94], mod_consts[94], mod_consts[360], NULL, 1, 0, 0);
codeobj_4878719e0375dea6dea9b3429656607f = MAKE_CODE_OBJECT(module_filename_obj, 168, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[237], mod_consts[237], mod_consts[383], NULL, 2, 0, 0);
codeobj_a624c36f1ce27077ff98613b3727881b = MAKE_CODE_OBJECT(module_filename_obj, 365, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[324], mod_consts[324], mod_consts[384], NULL, 2, 0, 0);
codeobj_c40a1101eab704811c95fdf0b325f864 = MAKE_CODE_OBJECT(module_filename_obj, 317, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[90], mod_consts[90], mod_consts[370], NULL, 2, 0, 0);
codeobj_cf5c48565ec369f4de5e1c47836c65f9 = MAKE_CODE_OBJECT(module_filename_obj, 372, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[326], mod_consts[326], mod_consts[385], NULL, 2, 0, 0);
codeobj_6a393b4825f3903ececaf9cbb5c3d985 = MAKE_CODE_OBJECT(module_filename_obj, 806, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[352], mod_consts[352], mod_consts[386], NULL, 2, 0, 0);
codeobj_e3ebe1afa3c0da0459429afe766383d8 = MAKE_CODE_OBJECT(module_filename_obj, 488, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[79], mod_consts[79], mod_consts[387], NULL, 2, 0, 0);
codeobj_129484869a36dce86cb23685176ed4df = MAKE_CODE_OBJECT(module_filename_obj, 379, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[330], mod_consts[330], mod_consts[388], NULL, 4, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$http1connection$$$function__24__read_body$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__34_close$$$coroutine__1_close(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__10_set_close_callback(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__11__on_connection_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__12_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__13_detach(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__14_set_body_timeout(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__15_set_max_body_size(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__16_write_headers(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__17__format_chunk(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__18_write(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__19_finish(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__1___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__20__on_write_complete(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__21__can_keep_alive(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__22__finish_request(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__23__parse_headers(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__24__read_body(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__25__read_fixed_body(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__26__read_chunked_body(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__27__read_body_until_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__28___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__29_headers_received(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__2___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__30_data_received(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__31_finish(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__32_on_connection_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__33___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__34_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving$$$function__1_lambda();
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__36__server_request_loop(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__3___enter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__4___exit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__5___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__6___init__(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__7_read_response(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__8__read_message(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__9__clear_callbacks(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$http1connection$$$function__2___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_logger = python_pars[1];
struct Nuitka_FrameObject *frame_381fbcbcd86d794becd27dd9f20816aa;
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_381fbcbcd86d794becd27dd9f20816aa = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_381fbcbcd86d794becd27dd9f20816aa)) {
Py_XDECREF(cache_frame_381fbcbcd86d794becd27dd9f20816aa);
#if _DEBUG_REFCOUNTS
if (cache_frame_381fbcbcd86d794becd27dd9f20816aa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_381fbcbcd86d794becd27dd9f20816aa = MAKE_FUNCTION_FRAME(codeobj_381fbcbcd86d794becd27dd9f20816aa, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_381fbcbcd86d794becd27dd9f20816aa->m_type_description == NULL);
frame_381fbcbcd86d794becd27dd9f20816aa = cache_frame_381fbcbcd86d794becd27dd9f20816aa;
// Push the new frame as the currently active one.
pushFrameStack(frame_381fbcbcd86d794becd27dd9f20816aa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_381fbcbcd86d794becd27dd9f20816aa) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_logger);
tmp_assattr_value_1 = par_logger;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 54;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_381fbcbcd86d794becd27dd9f20816aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_381fbcbcd86d794becd27dd9f20816aa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_381fbcbcd86d794becd27dd9f20816aa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_381fbcbcd86d794becd27dd9f20816aa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_381fbcbcd86d794becd27dd9f20816aa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_381fbcbcd86d794becd27dd9f20816aa,
type_description_1,
par_self,
par_logger
);
// Release cached frame if used for exception.
if (frame_381fbcbcd86d794becd27dd9f20816aa == cache_frame_381fbcbcd86d794becd27dd9f20816aa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_381fbcbcd86d794becd27dd9f20816aa);
cache_frame_381fbcbcd86d794becd27dd9f20816aa = NULL;
}
assertFrameObject(frame_381fbcbcd86d794becd27dd9f20816aa);
// 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_logger);
Py_DECREF(par_logger);
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_logger);
Py_DECREF(par_logger);
// 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$http1connection$$$function__4___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_typ = python_pars[1];
PyObject *par_value = python_pars[2];
PyObject *par_tb = python_pars[3];
struct Nuitka_FrameObject *frame_8b6515a7daf56b943528a0d70b69c788;
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_8b6515a7daf56b943528a0d70b69c788 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8b6515a7daf56b943528a0d70b69c788)) {
Py_XDECREF(cache_frame_8b6515a7daf56b943528a0d70b69c788);
#if _DEBUG_REFCOUNTS
if (cache_frame_8b6515a7daf56b943528a0d70b69c788 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8b6515a7daf56b943528a0d70b69c788 = MAKE_FUNCTION_FRAME(codeobj_8b6515a7daf56b943528a0d70b69c788, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8b6515a7daf56b943528a0d70b69c788->m_type_description == NULL);
frame_8b6515a7daf56b943528a0d70b69c788 = cache_frame_8b6515a7daf56b943528a0d70b69c788;
// Push the new frame as the currently active one.
pushFrameStack(frame_8b6515a7daf56b943528a0d70b69c788);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8b6515a7daf56b943528a0d70b69c788) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_value);
tmp_cmp_expr_left_1 = par_value;
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_typ);
tmp_cmp_expr_left_2 = par_typ;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 66;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
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 = 67;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_typ);
tmp_tuple_element_1 = par_typ;
tmp_kw_call_value_0_1 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_kw_call_value_0_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_value);
tmp_tuple_element_1 = par_value;
PyTuple_SET_ITEM0(tmp_kw_call_value_0_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_tb);
tmp_tuple_element_1 = par_tb;
PyTuple_SET_ITEM0(tmp_kw_call_value_0_1, 2, tmp_tuple_element_1);
frame_8b6515a7daf56b943528a0d70b69c788->m_frame.f_lineno = 67;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1_KWSPLIT(tmp_called_value_1, mod_consts[2], kw_values, mod_consts[3]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_raise_type_2 == NULL)) {
tmp_raise_type_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_lineno = 68;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8b6515a7daf56b943528a0d70b69c788);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8b6515a7daf56b943528a0d70b69c788);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8b6515a7daf56b943528a0d70b69c788, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8b6515a7daf56b943528a0d70b69c788->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8b6515a7daf56b943528a0d70b69c788, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8b6515a7daf56b943528a0d70b69c788,
type_description_1,
par_self,
par_typ,
par_value,
par_tb
);
// Release cached frame if used for exception.
if (frame_8b6515a7daf56b943528a0d70b69c788 == cache_frame_8b6515a7daf56b943528a0d70b69c788) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8b6515a7daf56b943528a0d70b69c788);
cache_frame_8b6515a7daf56b943528a0d70b69c788 = NULL;
}
assertFrameObject(frame_8b6515a7daf56b943528a0d70b69c788);
// 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_typ);
Py_DECREF(par_typ);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_tb);
Py_DECREF(par_tb);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_typ);
Py_DECREF(par_typ);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_tb);
Py_DECREF(par_tb);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$http1connection$$$function__5___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_no_keep_alive = python_pars[1];
PyObject *par_chunk_size = python_pars[2];
PyObject *par_max_header_size = python_pars[3];
PyObject *par_header_timeout = python_pars[4];
PyObject *par_max_body_size = python_pars[5];
PyObject *par_body_timeout = python_pars[6];
PyObject *par_decompress = python_pars[7];
struct Nuitka_FrameObject *frame_93b9fe5513bf6119090ed44c1b3d26f3;
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_93b9fe5513bf6119090ed44c1b3d26f3 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_93b9fe5513bf6119090ed44c1b3d26f3)) {
Py_XDECREF(cache_frame_93b9fe5513bf6119090ed44c1b3d26f3);
#if _DEBUG_REFCOUNTS
if (cache_frame_93b9fe5513bf6119090ed44c1b3d26f3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_93b9fe5513bf6119090ed44c1b3d26f3 = MAKE_FUNCTION_FRAME(codeobj_93b9fe5513bf6119090ed44c1b3d26f3, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_93b9fe5513bf6119090ed44c1b3d26f3->m_type_description == NULL);
frame_93b9fe5513bf6119090ed44c1b3d26f3 = cache_frame_93b9fe5513bf6119090ed44c1b3d26f3;
// Push the new frame as the currently active one.
pushFrameStack(frame_93b9fe5513bf6119090ed44c1b3d26f3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_93b9fe5513bf6119090ed44c1b3d26f3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_no_keep_alive);
tmp_assattr_value_1 = par_no_keep_alive;
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);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 95;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_chunk_size);
tmp_or_left_value_1 = par_chunk_size;
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = mod_consts[6];
tmp_assattr_value_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_assattr_value_2 = tmp_or_left_value_1;
or_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[7], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_max_header_size);
tmp_or_left_value_2 = par_max_header_size;
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
tmp_or_right_value_2 = mod_consts[6];
tmp_assattr_value_3 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_assattr_value_3 = tmp_or_left_value_2;
or_end_2:;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[8], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_header_timeout);
tmp_assattr_value_4 = par_header_timeout;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[9], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_max_body_size);
tmp_assattr_value_5 = par_max_body_size;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[10], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_body_timeout);
tmp_assattr_value_6 = par_body_timeout;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[11], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_decompress);
tmp_assattr_value_7 = par_decompress;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[12], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_93b9fe5513bf6119090ed44c1b3d26f3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_93b9fe5513bf6119090ed44c1b3d26f3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_93b9fe5513bf6119090ed44c1b3d26f3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_93b9fe5513bf6119090ed44c1b3d26f3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_93b9fe5513bf6119090ed44c1b3d26f3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_93b9fe5513bf6119090ed44c1b3d26f3,
type_description_1,
par_self,
par_no_keep_alive,
par_chunk_size,
par_max_header_size,
par_header_timeout,
par_max_body_size,
par_body_timeout,
par_decompress
);
// Release cached frame if used for exception.
if (frame_93b9fe5513bf6119090ed44c1b3d26f3 == cache_frame_93b9fe5513bf6119090ed44c1b3d26f3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_93b9fe5513bf6119090ed44c1b3d26f3);
cache_frame_93b9fe5513bf6119090ed44c1b3d26f3 = NULL;
}
assertFrameObject(frame_93b9fe5513bf6119090ed44c1b3d26f3);
// 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_no_keep_alive);
Py_DECREF(par_no_keep_alive);
CHECK_OBJECT(par_chunk_size);
Py_DECREF(par_chunk_size);
CHECK_OBJECT(par_max_header_size);
Py_DECREF(par_max_header_size);
CHECK_OBJECT(par_header_timeout);
Py_DECREF(par_header_timeout);
CHECK_OBJECT(par_max_body_size);
Py_DECREF(par_max_body_size);
CHECK_OBJECT(par_body_timeout);
Py_DECREF(par_body_timeout);
CHECK_OBJECT(par_decompress);
Py_DECREF(par_decompress);
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_no_keep_alive);
Py_DECREF(par_no_keep_alive);
CHECK_OBJECT(par_chunk_size);
Py_DECREF(par_chunk_size);
CHECK_OBJECT(par_max_header_size);
Py_DECREF(par_max_header_size);
CHECK_OBJECT(par_header_timeout);
Py_DECREF(par_header_timeout);
CHECK_OBJECT(par_max_body_size);
Py_DECREF(par_max_body_size);
CHECK_OBJECT(par_body_timeout);
Py_DECREF(par_body_timeout);
CHECK_OBJECT(par_decompress);
Py_DECREF(par_decompress);
// 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$http1connection$$$function__6___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_stream = python_pars[1];
PyObject *par_is_client = python_pars[2];
PyObject *par_params = python_pars[3];
PyObject *par_context = python_pars[4];
struct Nuitka_FrameObject *frame_1ab769e6ce47b60919596130d3996f32;
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_1ab769e6ce47b60919596130d3996f32 = 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_1ab769e6ce47b60919596130d3996f32)) {
Py_XDECREF(cache_frame_1ab769e6ce47b60919596130d3996f32);
#if _DEBUG_REFCOUNTS
if (cache_frame_1ab769e6ce47b60919596130d3996f32 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1ab769e6ce47b60919596130d3996f32 = MAKE_FUNCTION_FRAME(codeobj_1ab769e6ce47b60919596130d3996f32, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1ab769e6ce47b60919596130d3996f32->m_type_description == NULL);
frame_1ab769e6ce47b60919596130d3996f32 = cache_frame_1ab769e6ce47b60919596130d3996f32;
// Push the new frame as the currently active one.
pushFrameStack(frame_1ab769e6ce47b60919596130d3996f32);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1ab769e6ce47b60919596130d3996f32) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_is_client);
tmp_assattr_value_1 = par_is_client;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[14], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_stream);
tmp_assattr_value_2 = par_stream;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[15], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_params);
tmp_cmp_expr_left_1 = par_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:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_1ab769e6ce47b60919596130d3996f32->m_frame.f_lineno = 128;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_params;
assert(old != NULL);
par_params = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_params);
tmp_assattr_value_3 = par_params;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[17], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_context);
tmp_assattr_value_4 = par_context;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[18], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_params);
tmp_expression_value_1 = par_params;
tmp_assattr_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[5], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[17]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[10]);
Py_DECREF(tmp_expression_value_2);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[17]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[10]);
Py_DECREF(tmp_expression_value_4);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[15]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[19]);
Py_DECREF(tmp_expression_value_6);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
condexpr_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[20], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[17]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[11]);
Py_DECREF(tmp_expression_value_8);
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[21], tmp_assattr_value_7);
Py_DECREF(tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[22], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
tmp_assattr_value_9 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[23], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_called_value_2;
PyObject *tmp_assattr_target_10;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_1ab769e6ce47b60919596130d3996f32->m_frame.f_lineno = 148;
tmp_assattr_value_10 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_assattr_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[25], tmp_assattr_value_10);
Py_DECREF(tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_11;
PyObject *tmp_assattr_target_11;
tmp_assattr_value_11 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_11 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[26], tmp_assattr_value_11);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_1ab769e6ce47b60919596130d3996f32->m_frame.f_lineno = 153;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[27]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_12;
PyObject *tmp_assattr_target_12;
tmp_assattr_value_12 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_12 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[28], tmp_assattr_value_12);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_13;
PyObject *tmp_assattr_target_13;
tmp_assattr_value_13 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_13 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_13, mod_consts[29], tmp_assattr_value_13);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_14;
PyObject *tmp_assattr_target_14;
tmp_assattr_value_14 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_14 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_14, mod_consts[30], tmp_assattr_value_14);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_15;
PyObject *tmp_assattr_target_15;
tmp_assattr_value_15 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_15 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_15, mod_consts[31], tmp_assattr_value_15);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_16;
PyObject *tmp_assattr_target_16;
tmp_assattr_value_16 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_16 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_16, mod_consts[32], tmp_assattr_value_16);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_17;
PyObject *tmp_assattr_target_17;
tmp_assattr_value_17 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_17 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_17, mod_consts[33], tmp_assattr_value_17);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1ab769e6ce47b60919596130d3996f32);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1ab769e6ce47b60919596130d3996f32);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1ab769e6ce47b60919596130d3996f32, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1ab769e6ce47b60919596130d3996f32->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1ab769e6ce47b60919596130d3996f32, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1ab769e6ce47b60919596130d3996f32,
type_description_1,
par_self,
par_stream,
par_is_client,
par_params,
par_context
);
// Release cached frame if used for exception.
if (frame_1ab769e6ce47b60919596130d3996f32 == cache_frame_1ab769e6ce47b60919596130d3996f32) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1ab769e6ce47b60919596130d3996f32);
cache_frame_1ab769e6ce47b60919596130d3996f32 = NULL;
}
assertFrameObject(frame_1ab769e6ce47b60919596130d3996f32);
// 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_params);
Py_DECREF(par_params);
par_params = 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_params);
par_params = 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_stream);
Py_DECREF(par_stream);
CHECK_OBJECT(par_is_client);
Py_DECREF(par_is_client);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
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_stream);
Py_DECREF(par_stream);
CHECK_OBJECT(par_is_client);
Py_DECREF(par_is_client);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
// 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$http1connection$$$function__7_read_response(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_delegate = python_pars[1];
struct Nuitka_FrameObject *frame_4878719e0375dea6dea9b3429656607f;
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_4878719e0375dea6dea9b3429656607f = 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_4878719e0375dea6dea9b3429656607f)) {
Py_XDECREF(cache_frame_4878719e0375dea6dea9b3429656607f);
#if _DEBUG_REFCOUNTS
if (cache_frame_4878719e0375dea6dea9b3429656607f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4878719e0375dea6dea9b3429656607f = MAKE_FUNCTION_FRAME(codeobj_4878719e0375dea6dea9b3429656607f, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4878719e0375dea6dea9b3429656607f->m_type_description == NULL);
frame_4878719e0375dea6dea9b3429656607f = cache_frame_4878719e0375dea6dea9b3429656607f;
// Push the new frame as the currently active one.
pushFrameStack(frame_4878719e0375dea6dea9b3429656607f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4878719e0375dea6dea9b3429656607f) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
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[17]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[12]);
Py_DECREF(tmp_expression_value_1);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 179;
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_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (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 = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_delegate);
tmp_args_element_value_1 = par_delegate;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[17]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[7]);
Py_DECREF(tmp_expression_value_3);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_4878719e0375dea6dea9b3429656607f->m_frame.f_lineno = 180;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_delegate;
assert(old != NULL);
par_delegate = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_delegate);
tmp_args_element_value_3 = par_delegate;
frame_4878719e0375dea6dea9b3429656607f->m_frame.f_lineno = 181;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[36], tmp_args_element_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4878719e0375dea6dea9b3429656607f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4878719e0375dea6dea9b3429656607f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4878719e0375dea6dea9b3429656607f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4878719e0375dea6dea9b3429656607f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4878719e0375dea6dea9b3429656607f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4878719e0375dea6dea9b3429656607f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4878719e0375dea6dea9b3429656607f,
type_description_1,
par_self,
par_delegate
);
// Release cached frame if used for exception.
if (frame_4878719e0375dea6dea9b3429656607f == cache_frame_4878719e0375dea6dea9b3429656607f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4878719e0375dea6dea9b3429656607f);
cache_frame_4878719e0375dea6dea9b3429656607f = NULL;
}
assertFrameObject(frame_4878719e0375dea6dea9b3429656607f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
par_delegate = 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_delegate);
par_delegate = 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$http1connection$$$function__8__read_message(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_delegate = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_delegate;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__8__read_message$$$coroutine__1__read_message_locals {
nuitka_bool var_need_delegate_close;
PyObject *var_header_future;
PyObject *var_header_data;
PyObject *var_start_line_str;
PyObject *var_headers;
PyObject *var_resp_start_line;
PyObject *var_start_line;
PyObject *var_req_start_line;
PyObject *var_header_recv_future;
nuitka_bool var_skip_body;
PyObject *var_code;
PyObject *var_body_future;
PyObject *var_e;
PyObject *tmp_comparison_chain_1__comparison_result;
PyObject *tmp_comparison_chain_1__operand_2;
PyObject *tmp_tuple_unpack_1__element_1;
PyObject *tmp_tuple_unpack_1__element_2;
PyObject *tmp_tuple_unpack_1__source_iter;
PyObject *tmp_with_1__enter;
PyObject *tmp_with_1__exit;
nuitka_bool tmp_with_1__indicator;
PyObject *tmp_with_1__source;
PyObject *tmp_with_2__enter;
PyObject *tmp_with_2__exit;
nuitka_bool tmp_with_2__indicator;
PyObject *tmp_with_2__source;
PyObject *tmp_with_3__enter;
PyObject *tmp_with_3__exit;
nuitka_bool tmp_with_3__indicator;
PyObject *tmp_with_3__source;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
PyObject *tmp_iterator_attempt;
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;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
int exception_keeper_lineno_10;
struct Nuitka_ExceptionStackItem exception_preserved_3;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
int exception_keeper_lineno_12;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
int exception_keeper_lineno_16;
struct Nuitka_ExceptionStackItem exception_preserved_5;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
int exception_keeper_lineno_18;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
int exception_keeper_lineno_19;
struct Nuitka_ExceptionStackItem exception_preserved_6;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
int exception_keeper_lineno_20;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
int exception_keeper_lineno_21;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
int exception_keeper_lineno_23;
struct Nuitka_ExceptionStackItem exception_preserved_7;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
int exception_keeper_lineno_24;
PyObject *exception_keeper_type_25;
PyObject *exception_keeper_value_25;
PyTracebackObject *exception_keeper_tb_25;
int exception_keeper_lineno_25;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
int exception_keeper_lineno_26;
PyObject *exception_keeper_type_27;
PyObject *exception_keeper_value_27;
PyTracebackObject *exception_keeper_tb_27;
int exception_keeper_lineno_27;
PyObject *exception_keeper_type_28;
PyObject *exception_keeper_value_28;
PyTracebackObject *exception_keeper_tb_28;
int exception_keeper_lineno_28;
PyObject *exception_keeper_type_29;
PyObject *exception_keeper_value_29;
PyTracebackObject *exception_keeper_tb_29;
int exception_keeper_lineno_29;
PyObject *exception_keeper_type_30;
PyObject *exception_keeper_value_30;
PyTracebackObject *exception_keeper_tb_30;
int exception_keeper_lineno_30;
PyObject *exception_keeper_type_31;
PyObject *exception_keeper_value_31;
PyTracebackObject *exception_keeper_tb_31;
int exception_keeper_lineno_31;
PyObject *exception_keeper_type_32;
PyObject *exception_keeper_value_32;
PyTracebackObject *exception_keeper_tb_32;
int exception_keeper_lineno_32;
PyObject *exception_keeper_type_33;
PyObject *exception_keeper_value_33;
PyTracebackObject *exception_keeper_tb_33;
int exception_keeper_lineno_33;
};
static PyObject *tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message_locals *coroutine_heap = (struct tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 8: goto yield_return_8;
case 7: goto yield_return_7;
case 6: goto yield_return_6;
case 5: goto yield_return_5;
case 4: goto yield_return_4;
case 3: goto yield_return_3;
case 2: goto yield_return_2;
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;
coroutine_heap->var_need_delegate_close = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->var_header_future = NULL;
coroutine_heap->var_header_data = NULL;
coroutine_heap->var_start_line_str = NULL;
coroutine_heap->var_headers = NULL;
coroutine_heap->var_resp_start_line = NULL;
coroutine_heap->var_start_line = NULL;
coroutine_heap->var_req_start_line = NULL;
coroutine_heap->var_header_recv_future = NULL;
coroutine_heap->var_skip_body = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->var_code = NULL;
coroutine_heap->var_body_future = NULL;
coroutine_heap->var_e = NULL;
coroutine_heap->tmp_comparison_chain_1__comparison_result = NULL;
coroutine_heap->tmp_comparison_chain_1__operand_2 = NULL;
coroutine_heap->tmp_tuple_unpack_1__element_1 = NULL;
coroutine_heap->tmp_tuple_unpack_1__element_2 = NULL;
coroutine_heap->tmp_tuple_unpack_1__source_iter = NULL;
coroutine_heap->tmp_with_1__enter = NULL;
coroutine_heap->tmp_with_1__exit = NULL;
coroutine_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_1__source = NULL;
coroutine_heap->tmp_with_2__enter = NULL;
coroutine_heap->tmp_with_2__exit = NULL;
coroutine_heap->tmp_with_2__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_2__source = NULL;
coroutine_heap->tmp_with_3__enter = NULL;
coroutine_heap->tmp_with_3__exit = NULL;
coroutine_heap->tmp_with_3__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_3__source = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
{
nuitka_bool tmp_assign_source_1;
tmp_assign_source_1 = NUITKA_BOOL_FALSE;
coroutine_heap->var_need_delegate_close = tmp_assign_source_1;
}
// 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_302ec74309d3669623ff2e7b9f39f0fd, module_tornado$http1connection, sizeof(nuitka_bool)+sizeof(nuitka_bool)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 186;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_2 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[15]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 186;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[39]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 186;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 187;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[17]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 187;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[8]);
Py_DECREF(tmp_expression_value_3);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 187;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 186;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1_KWSPLIT(tmp_called_value_1, mod_consts[40], kw_values, mod_consts[41]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 186;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_header_future == NULL);
coroutine_heap->var_header_future = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 189;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_6 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[17]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 189;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[9]);
Py_DECREF(tmp_expression_value_5);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 189;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
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_assign_source_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
coroutine->m_frame->m_frame.f_lineno = 190;
CHECK_OBJECT(coroutine_heap->var_header_future);
tmp_expression_value_8 = coroutine_heap->var_header_future;
tmp_expression_value_7 = ASYNC_AWAIT(tmp_expression_value_8, await_normal);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 190;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_8, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_7;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_8, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 190;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assign_source_3 = yield_return_value;
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 190;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_header_data == NULL);
coroutine_heap->var_header_data = tmp_assign_source_3;
}
goto branch_end_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_16;
coroutine->m_frame->m_frame.f_lineno = 193;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[43]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_expression_value_13 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[15]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[44]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
coroutine->m_frame->m_frame.f_lineno = 194;
tmp_add_expr_left_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[45]);
Py_DECREF(tmp_called_instance_1);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_add_expr_left_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_expression_value_15 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[17]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_add_expr_left_1);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[9]);
Py_DECREF(tmp_expression_value_14);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_add_expr_left_1);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_kw_call_arg_value_0_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
coroutine_heap->exception_lineno = 194;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
CHECK_OBJECT(coroutine_heap->var_header_future);
tmp_kw_call_arg_value_1_1 = coroutine_heap->var_header_future;
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_1);
coroutine_heap->exception_lineno = 196;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[47]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_1);
coroutine_heap->exception_lineno = 196;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
coroutine->m_frame->m_frame.f_lineno = 193;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_expression_value_10 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[48]);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_expression_value_9 = ASYNC_AWAIT(tmp_expression_value_10, await_normal);
Py_DECREF(tmp_expression_value_10);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_10, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_kw_call_arg_value_0_1, sizeof(PyObject *), &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_12, sizeof(PyObject *), &tmp_expression_value_13, sizeof(PyObject *), &tmp_expression_value_14, sizeof(PyObject *), &tmp_expression_value_15, sizeof(PyObject *), &tmp_kw_call_arg_value_1_1, sizeof(PyObject *), &tmp_kw_call_dict_value_0_1, sizeof(PyObject *), &tmp_expression_value_16, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_9;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_10, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_kw_call_arg_value_0_1, sizeof(PyObject *), &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_12, sizeof(PyObject *), &tmp_expression_value_13, sizeof(PyObject *), &tmp_expression_value_14, sizeof(PyObject *), &tmp_expression_value_15, sizeof(PyObject *), &tmp_kw_call_arg_value_1_1, sizeof(PyObject *), &tmp_kw_call_dict_value_0_1, sizeof(PyObject *), &tmp_expression_value_16, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
tmp_assign_source_4 = yield_return_value;
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 193;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_4;
}
assert(coroutine_heap->var_header_data == NULL);
coroutine_heap->var_header_data = tmp_assign_source_4;
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_17;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 198;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[49]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 198;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
}
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 198;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
}
tmp_condition_result_2 = (coroutine_heap->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_called_instance_2;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 199;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
}
tmp_called_instance_2 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 199;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 199;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_1);
}
coroutine_heap->tmp_return_value = Py_False;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_5;
goto branch_end_2;
branch_no_2:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 192;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_5;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_5:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
// End of try:
try_end_1:;
branch_end_1:;
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 201;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_6;
}
tmp_called_instance_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
CHECK_OBJECT(coroutine_heap->var_header_data);
tmp_args_element_value_1 = coroutine_heap->var_header_data;
coroutine->m_frame->m_frame.f_lineno = 201;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[51], tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 201;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_6;
}
tmp_assign_source_5 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 201;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_6;
}
assert(coroutine_heap->tmp_tuple_unpack_1__source_iter == NULL);
coroutine_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_5;
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_1;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = coroutine_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_6 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_1 = "ccboooooooobooo";
coroutine_heap->exception_lineno = 201;
goto try_except_handler_7;
}
assert(coroutine_heap->tmp_tuple_unpack_1__element_1 == NULL);
coroutine_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_2;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = coroutine_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_1 = "ccboooooooobooo";
coroutine_heap->exception_lineno = 201;
goto try_except_handler_7;
}
assert(coroutine_heap->tmp_tuple_unpack_1__element_2 == NULL);
coroutine_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_7;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = coroutine_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));
coroutine_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(coroutine_heap->tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccboooooooobooo";
coroutine_heap->exception_lineno = 201;
goto try_except_handler_7;
}
}
} else {
Py_DECREF(coroutine_heap->tmp_iterator_attempt);
coroutine_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
coroutine_heap->exception_value = mod_consts[52];
Py_INCREF(coroutine_heap->exception_value);
coroutine_heap->exception_tb = NULL;
coroutine_heap->type_description_1 = "ccboooooooobooo";
coroutine_heap->exception_lineno = 201;
goto try_except_handler_7;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_7:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(coroutine_heap->tmp_tuple_unpack_1__source_iter);
coroutine_heap->tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_3;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_3;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_3;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_3;
goto try_except_handler_6;
// End of try:
try_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_tuple_unpack_1__element_1);
coroutine_heap->tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(coroutine_heap->tmp_tuple_unpack_1__element_2);
coroutine_heap->tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto try_except_handler_3;
// End of try:
try_end_3:;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(coroutine_heap->tmp_tuple_unpack_1__source_iter);
coroutine_heap->tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__element_1);
tmp_assign_source_8 = coroutine_heap->tmp_tuple_unpack_1__element_1;
assert(coroutine_heap->var_start_line_str == NULL);
Py_INCREF(tmp_assign_source_8);
coroutine_heap->var_start_line_str = tmp_assign_source_8;
}
Py_XDECREF(coroutine_heap->tmp_tuple_unpack_1__element_1);
coroutine_heap->tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(coroutine_heap->tmp_tuple_unpack_1__element_2);
tmp_assign_source_9 = coroutine_heap->tmp_tuple_unpack_1__element_2;
assert(coroutine_heap->var_headers == NULL);
Py_INCREF(tmp_assign_source_9);
coroutine_heap->var_headers = tmp_assign_source_9;
}
Py_XDECREF(coroutine_heap->tmp_tuple_unpack_1__element_2);
coroutine_heap->tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_18;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 202;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_18 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 202;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
coroutine_heap->exception_lineno = 202;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
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_10;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_2;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 203;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
CHECK_OBJECT(coroutine_heap->var_start_line_str);
tmp_args_element_value_2 = coroutine_heap->var_start_line_str;
coroutine->m_frame->m_frame.f_lineno = 203;
tmp_assign_source_10 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[54], tmp_args_element_value_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 203;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_resp_start_line == NULL);
coroutine_heap->var_resp_start_line = tmp_assign_source_10;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(coroutine_heap->var_resp_start_line);
tmp_assattr_value_1 = coroutine_heap->var_resp_start_line;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 204;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_1 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[29], tmp_assattr_value_1);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 204;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(coroutine_heap->var_resp_start_line);
tmp_assign_source_11 = coroutine_heap->var_resp_start_line;
assert(coroutine_heap->var_start_line == NULL);
Py_INCREF(tmp_assign_source_11);
coroutine_heap->var_start_line = tmp_assign_source_11;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_False;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 209;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_2 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[26], tmp_assattr_value_2);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 209;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_instance_5;
PyObject *tmp_args_element_value_3;
tmp_called_instance_5 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_5 == NULL)) {
tmp_called_instance_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 211;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
CHECK_OBJECT(coroutine_heap->var_start_line_str);
tmp_args_element_value_3 = coroutine_heap->var_start_line_str;
coroutine->m_frame->m_frame.f_lineno = 211;
tmp_assign_source_12 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[55], tmp_args_element_value_3);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 211;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_req_start_line == NULL);
coroutine_heap->var_req_start_line = tmp_assign_source_12;
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(coroutine_heap->var_req_start_line);
tmp_assattr_value_3 = coroutine_heap->var_req_start_line;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 212;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[28], tmp_assattr_value_3);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 212;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(coroutine_heap->var_headers);
tmp_assattr_value_4 = coroutine_heap->var_headers;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 213;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_4 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[30], tmp_assattr_value_4);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 213;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(coroutine_heap->var_req_start_line);
tmp_assign_source_13 = coroutine_heap->var_req_start_line;
assert(coroutine_heap->var_start_line == NULL);
Py_INCREF(tmp_assign_source_13);
coroutine_heap->var_start_line = tmp_assign_source_13;
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_6;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_assattr_target_5;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 215;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_called_instance_6 = Nuitka_Cell_GET(coroutine->m_closure[1]);
CHECK_OBJECT(coroutine_heap->var_req_start_line);
tmp_args_element_value_4 = coroutine_heap->var_req_start_line;
CHECK_OBJECT(coroutine_heap->var_headers);
tmp_args_element_value_5 = coroutine_heap->var_headers;
coroutine->m_frame->m_frame.f_lineno = 215;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_operand_value_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_6,
mod_consts[56],
call_args
);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 215;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 215;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_value_5 = (coroutine_heap->tmp_res == 0) ? Py_True : Py_False;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 215;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_5 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[26], tmp_assattr_value_5);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 215;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
branch_end_3:;
{
nuitka_bool tmp_assign_source_14;
tmp_assign_source_14 = NUITKA_BOOL_TRUE;
coroutine_heap->var_need_delegate_close = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_6;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
tmp_args_element_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_6 == NULL)) {
tmp_args_element_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
coroutine->m_frame->m_frame.f_lineno = 219;
tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
assert(coroutine_heap->tmp_with_1__source == NULL);
coroutine_heap->tmp_with_1__source = tmp_assign_source_15;
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_19 = coroutine_heap->tmp_with_1__source;
tmp_called_value_4 = LOOKUP_SPECIAL(tmp_expression_value_19, mod_consts[59]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
coroutine->m_frame->m_frame.f_lineno = 219;
tmp_assign_source_16 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
assert(coroutine_heap->tmp_with_1__enter == NULL);
coroutine_heap->tmp_with_1__enter = tmp_assign_source_16;
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_expression_value_20;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_20 = coroutine_heap->tmp_with_1__source;
tmp_assign_source_17 = LOOKUP_SPECIAL(tmp_expression_value_20, mod_consts[60]);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 219;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
assert(coroutine_heap->tmp_with_1__exit == NULL);
coroutine_heap->tmp_with_1__exit = tmp_assign_source_17;
}
{
nuitka_bool tmp_assign_source_18;
tmp_assign_source_18 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_18;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_21;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 220;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
tmp_expression_value_21 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[62]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 220;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
CHECK_OBJECT(coroutine_heap->var_start_line);
tmp_args_element_value_7 = coroutine_heap->var_start_line;
if (coroutine_heap->var_headers == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[63]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 220;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
tmp_args_element_value_8 = coroutine_heap->var_headers;
coroutine->m_frame->m_frame.f_lineno = 220;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_19 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 220;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
assert(coroutine_heap->var_header_recv_future == NULL);
coroutine_heap->var_header_recv_future = tmp_assign_source_19;
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(coroutine_heap->var_header_recv_future);
tmp_cmp_expr_left_3 = coroutine_heap->var_header_recv_future;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_expression_value_22;
PyObject *tmp_expression_value_23;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 222;
CHECK_OBJECT(coroutine_heap->var_header_recv_future);
tmp_expression_value_23 = coroutine_heap->var_header_recv_future;
tmp_expression_value_22 = ASYNC_AWAIT(tmp_expression_value_23, await_normal);
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_23, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 3;
coroutine->m_yieldfrom = tmp_expression_value_22;
coroutine->m_awaiting = true;
return NULL;
yield_return_3:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_23, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_10;
}
Py_DECREF(tmp_await_result_1);
}
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_10:;
coroutine_heap->exception_keeper_type_5 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_5 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_5 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_5 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 2.
coroutine_heap->exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_5 == NULL) {
coroutine_heap->exception_keeper_tb_5 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_5);
} else if (coroutine_heap->exception_keeper_lineno_5 != 0) {
coroutine_heap->exception_keeper_tb_5 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_5, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_5, &coroutine_heap->exception_keeper_value_5, &coroutine_heap->exception_keeper_tb_5);
// Tried code:
{
bool tmp_condition_result_5;
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_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_5 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
nuitka_bool tmp_assign_source_20;
tmp_assign_source_20 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_20;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_6 = coroutine_heap->tmp_with_1__exit;
tmp_args_element_value_9 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_10 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_11 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 222;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10, tmp_args_element_value_11};
tmp_operand_value_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_11;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_11;
}
tmp_condition_result_6 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 222;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_11;
branch_no_6:;
goto branch_end_5;
branch_no_5:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 219;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_11;
branch_end_5:;
goto try_end_5;
// Exception handler code:
try_except_handler_11:;
coroutine_heap->exception_keeper_type_6 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_6 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_6 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_6 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_2);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_6;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_6;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_6;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_6;
goto try_except_handler_9;
// End of try:
try_end_5:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
goto try_end_6;
// Exception handler code:
try_except_handler_9:;
coroutine_heap->exception_keeper_type_7 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_7 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_7 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_7 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_7;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_7 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_2;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_7 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 222;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[64]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_7);
Py_XDECREF(coroutine_heap->exception_keeper_value_7);
Py_XDECREF(coroutine_heap->exception_keeper_tb_7);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_7:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_7;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_7;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_7;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_7;
goto try_except_handler_8;
// End of try:
try_end_6:;
{
bool tmp_condition_result_8;
nuitka_bool tmp_cmp_expr_left_6;
nuitka_bool tmp_cmp_expr_right_6;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_6 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_6 = NUITKA_BOOL_TRUE;
tmp_condition_result_8 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_call_result_3;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_8 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 222;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_8, mod_consts[64]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 222;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_8:;
goto try_end_7;
// Exception handler code:
try_except_handler_8:;
coroutine_heap->exception_keeper_type_8 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_8 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_8 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_8 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_8;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_8;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_8;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_8;
goto try_except_handler_3;
// End of try:
try_end_7:;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
Py_DECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_1__enter);
Py_DECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_expression_value_24;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 223;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_24 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_left_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[15]);
if (tmp_cmp_expr_left_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 223;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_7 = Py_None;
tmp_condition_result_9 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
Py_DECREF(tmp_cmp_expr_left_7);
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
nuitka_bool tmp_assign_source_21;
tmp_assign_source_21 = NUITKA_BOOL_FALSE;
coroutine_heap->var_need_delegate_close = tmp_assign_source_21;
}
coroutine_heap->tmp_return_value = Py_False;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_2;
branch_no_9:;
{
nuitka_bool tmp_assign_source_22;
tmp_assign_source_22 = NUITKA_BOOL_FALSE;
coroutine_heap->var_skip_body = tmp_assign_source_22;
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_expression_value_25;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 228;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_25 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[14]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 228;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_2);
coroutine_heap->exception_lineno = 228;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_condition_result_10 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_3;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_26;
CHECK_OBJECT(coroutine_heap->var_start_line);
tmp_isinstance_inst_1 = coroutine_heap->var_start_line;
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 229;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[65]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 229;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 229;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_operand_value_3 = (coroutine_heap->tmp_res != 0) ? Py_True : Py_False;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 229;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_condition_result_11 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
coroutine_heap->exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
coroutine_heap->exception_lineno = 229;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
branch_no_11:;
{
nuitka_bool tmp_condition_result_12;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_expression_value_27;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_expression_value_28;
PyObject *tmp_expression_value_29;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 231;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_27 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_left_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[28]);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 231;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_8 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_8 != tmp_cmp_expr_right_8) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_8);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 232;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_29 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[28]);
if (tmp_expression_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 232;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_left_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[66]);
Py_DECREF(tmp_expression_value_28);
if (tmp_cmp_expr_left_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 232;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_9 = mod_consts[67];
tmp_and_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
Py_DECREF(tmp_cmp_expr_left_9);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 232;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_condition_result_12 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_12 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
nuitka_bool tmp_assign_source_23;
tmp_assign_source_23 = NUITKA_BOOL_TRUE;
coroutine_heap->var_skip_body = tmp_assign_source_23;
}
branch_no_12:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_expression_value_30;
CHECK_OBJECT(coroutine_heap->var_start_line);
tmp_expression_value_30 = coroutine_heap->var_start_line;
tmp_assign_source_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[68]);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 235;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_code == NULL);
coroutine_heap->var_code = tmp_assign_source_24;
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(coroutine_heap->var_code);
tmp_cmp_expr_left_10 = coroutine_heap->var_code;
tmp_cmp_expr_right_10 = mod_consts[69];
tmp_condition_result_13 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 236;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
nuitka_bool tmp_assign_source_25;
tmp_assign_source_25 = NUITKA_BOOL_TRUE;
coroutine_heap->var_skip_body = tmp_assign_source_25;
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_outline_return_value_1;
int tmp_truth_name_3;
{
PyObject *tmp_assign_source_26;
CHECK_OBJECT(coroutine_heap->var_code);
tmp_assign_source_26 = coroutine_heap->var_code;
assert(coroutine_heap->tmp_comparison_chain_1__operand_2 == NULL);
Py_INCREF(tmp_assign_source_26);
coroutine_heap->tmp_comparison_chain_1__operand_2 = tmp_assign_source_26;
}
// Tried code:
{
PyObject *tmp_assign_source_27;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
tmp_cmp_expr_left_11 = mod_consts[70];
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_right_11 = coroutine_heap->tmp_comparison_chain_1__operand_2;
tmp_assign_source_27 = RICH_COMPARE_LE_OBJECT_LONG_OBJECT(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 241;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_12;
}
assert(coroutine_heap->tmp_comparison_chain_1__comparison_result == NULL);
coroutine_heap->tmp_comparison_chain_1__comparison_result = tmp_assign_source_27;
}
{
bool tmp_condition_result_15;
PyObject *tmp_operand_value_4;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__comparison_result);
tmp_operand_value_4 = coroutine_heap->tmp_comparison_chain_1__comparison_result;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 241;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_12;
}
tmp_condition_result_15 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__comparison_result);
tmp_outline_return_value_1 = coroutine_heap->tmp_comparison_chain_1__comparison_result;
Py_INCREF(tmp_outline_return_value_1);
goto try_return_handler_12;
branch_no_15:;
{
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_left_12 = coroutine_heap->tmp_comparison_chain_1__operand_2;
tmp_cmp_expr_right_12 = mod_consts[71];
tmp_outline_return_value_1 = RICH_COMPARE_LT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
if (tmp_outline_return_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 241;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_12;
}
goto try_return_handler_12;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__operand_2);
Py_DECREF(coroutine_heap->tmp_comparison_chain_1__operand_2);
coroutine_heap->tmp_comparison_chain_1__operand_2 = NULL;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__comparison_result);
Py_DECREF(coroutine_heap->tmp_comparison_chain_1__comparison_result);
coroutine_heap->tmp_comparison_chain_1__comparison_result = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_12:;
coroutine_heap->exception_keeper_type_9 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_9 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_9 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_9 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
CHECK_OBJECT(coroutine_heap->tmp_comparison_chain_1__operand_2);
Py_DECREF(coroutine_heap->tmp_comparison_chain_1__operand_2);
coroutine_heap->tmp_comparison_chain_1__operand_2 = NULL;
Py_XDECREF(coroutine_heap->tmp_comparison_chain_1__comparison_result);
coroutine_heap->tmp_comparison_chain_1__comparison_result = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_9;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_9;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_9;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_9;
goto try_except_handler_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_outline_return_value_1);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_outline_return_value_1);
coroutine_heap->exception_lineno = 241;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_outline_return_value_1);
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
bool tmp_condition_result_16;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
tmp_cmp_expr_left_13 = mod_consts[72];
if (coroutine_heap->var_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[63]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 244;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_13 = coroutine_heap->var_headers;
coroutine_heap->tmp_res = PySequence_Contains(tmp_cmp_expr_right_13, tmp_cmp_expr_left_13);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 244;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_or_left_value_1 = (coroutine_heap->tmp_res == 1) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_cmp_expr_left_14 = mod_consts[73];
if (coroutine_heap->var_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[63]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 244;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_14 = coroutine_heap->var_headers;
coroutine_heap->tmp_res = PySequence_Contains(tmp_cmp_expr_right_14, tmp_cmp_expr_left_14);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 244;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_or_right_value_1 = (coroutine_heap->tmp_res == 1) ? true : false;
tmp_condition_result_16 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_16 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_16 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_31;
PyObject *tmp_args_element_value_12;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 245;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[74]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 245;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_mod_expr_left_1 = mod_consts[75];
CHECK_OBJECT(coroutine_heap->var_code);
tmp_mod_expr_right_1 = coroutine_heap->var_code;
tmp_args_element_value_12 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_9);
coroutine_heap->exception_lineno = 246;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 245;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_12);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_12);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 245;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->exception_type = tmp_raise_type_2;
coroutine_heap->exception_lineno = 245;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
branch_no_16:;
{
PyObject *tmp_expression_value_32;
PyObject *tmp_expression_value_33;
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_34;
PyObject *tmp_args_element_value_13;
PyObject *tmp_await_result_2;
coroutine->m_frame->m_frame.f_lineno = 250;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_34 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[36]);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_10);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_args_element_value_13 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 250;
tmp_expression_value_33 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_13);
Py_DECREF(tmp_called_value_10);
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_32 = ASYNC_AWAIT(tmp_expression_value_33, await_normal);
Py_DECREF(tmp_expression_value_33);
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_33, sizeof(PyObject *), &tmp_called_value_10, sizeof(PyObject *), &tmp_expression_value_34, sizeof(PyObject *), &tmp_args_element_value_13, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 4;
coroutine->m_yieldfrom = tmp_expression_value_32;
coroutine->m_awaiting = true;
return NULL;
yield_return_4:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_33, sizeof(PyObject *), &tmp_called_value_10, sizeof(PyObject *), &tmp_expression_value_34, sizeof(PyObject *), &tmp_args_element_value_13, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_await_result_2 = yield_return_value;
if (tmp_await_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 250;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_await_result_2);
}
branch_no_14:;
goto branch_end_10;
branch_no_10:;
{
nuitka_bool tmp_condition_result_17;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_35;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_36;
if (coroutine_heap->var_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[63]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_35 = coroutine_heap->var_headers;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_35, mod_consts[76]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 252;
tmp_cmp_expr_left_15 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_11, mod_consts[77]);
Py_DECREF(tmp_called_value_11);
if (tmp_cmp_expr_left_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_15 = mod_consts[78];
tmp_and_left_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_15, tmp_cmp_expr_right_15);
Py_DECREF(tmp_cmp_expr_left_15);
if (tmp_and_left_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_36 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_operand_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[22]);
if (tmp_operand_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
Py_DECREF(tmp_operand_value_5);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 252;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_right_value_2 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_17 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_17 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_called_instance_7;
PyObject *tmp_expression_value_37;
PyObject *tmp_call_result_4;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 253;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_37 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[15]);
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 253;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 253;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_7,
mod_consts[79],
PyTuple_GET_ITEM(mod_consts[80], 0)
);
Py_DECREF(tmp_called_instance_7);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 253;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_17:;
branch_end_10:;
{
bool tmp_condition_result_18;
PyObject *tmp_operand_value_6;
assert(coroutine_heap->var_skip_body != NUITKA_BOOL_UNASSIGNED);
tmp_operand_value_6 = (coroutine_heap->var_skip_body == NUITKA_BOOL_TRUE) ? Py_True : Py_False;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_18 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_18 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_38;
PyObject *tmp_args_element_value_14;
nuitka_bool tmp_condition_result_19;
PyObject *tmp_expression_value_39;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_4;
PyObject *tmp_expression_value_40;
PyObject *tmp_args_element_value_15;
PyObject *tmp_args_element_value_16;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 255;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_38 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[81]);
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 255;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_12);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_39 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[14]);
if (tmp_attribute_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_12);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_attribute_value_3);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_attribute_value_3);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_condition_result_19 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_3);
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (coroutine_heap->var_resp_start_line == NULL) {
Py_DECREF(tmp_called_value_12);
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[82]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_40 = coroutine_heap->var_resp_start_line;
tmp_args_element_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_40, mod_consts[68]);
if (tmp_args_element_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_12);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_args_element_value_14 = mod_consts[83];
Py_INCREF(tmp_args_element_value_14);
condexpr_end_1:;
if (coroutine_heap->var_headers == NULL) {
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_14);
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[63]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_args_element_value_15 = coroutine_heap->var_headers;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_14);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 256;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_args_element_value_16 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 255;
{
PyObject *call_args[] = {tmp_args_element_value_14, tmp_args_element_value_15, tmp_args_element_value_16};
tmp_assign_source_28 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_12, call_args);
}
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_14);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 255;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
assert(coroutine_heap->var_body_future == NULL);
coroutine_heap->var_body_future = tmp_assign_source_28;
}
{
bool tmp_condition_result_20;
PyObject *tmp_cmp_expr_left_16;
PyObject *tmp_cmp_expr_right_16;
CHECK_OBJECT(coroutine_heap->var_body_future);
tmp_cmp_expr_left_16 = coroutine_heap->var_body_future;
tmp_cmp_expr_right_16 = Py_None;
tmp_condition_result_20 = (tmp_cmp_expr_left_16 != tmp_cmp_expr_right_16) ? true : false;
if (tmp_condition_result_20 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
bool tmp_condition_result_21;
PyObject *tmp_cmp_expr_left_17;
PyObject *tmp_cmp_expr_right_17;
PyObject *tmp_expression_value_41;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 259;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_41 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_left_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_41, mod_consts[21]);
if (tmp_cmp_expr_left_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 259;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_17 = Py_None;
tmp_condition_result_21 = (tmp_cmp_expr_left_17 == tmp_cmp_expr_right_17) ? true : false;
Py_DECREF(tmp_cmp_expr_left_17);
if (tmp_condition_result_21 != false) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
PyObject *tmp_expression_value_42;
PyObject *tmp_expression_value_43;
PyObject *tmp_await_result_3;
coroutine->m_frame->m_frame.f_lineno = 260;
CHECK_OBJECT(coroutine_heap->var_body_future);
tmp_expression_value_43 = coroutine_heap->var_body_future;
tmp_expression_value_42 = ASYNC_AWAIT(tmp_expression_value_43, await_normal);
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 260;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_43, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 5;
coroutine->m_yieldfrom = tmp_expression_value_42;
coroutine->m_awaiting = true;
return NULL;
yield_return_5:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_43, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 260;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_await_result_3 = yield_return_value;
if (tmp_await_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 260;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_await_result_3);
}
goto branch_end_20;
branch_no_20:;
// Tried code:
{
PyObject *tmp_expression_value_44;
PyObject *tmp_expression_value_45;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_46;
PyObject *tmp_kw_call_arg_value_0_2;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_called_instance_8;
PyObject *tmp_expression_value_47;
PyObject *tmp_expression_value_48;
PyObject *tmp_expression_value_49;
PyObject *tmp_kw_call_arg_value_1_2;
PyObject *tmp_kw_call_dict_value_0_2;
PyObject *tmp_expression_value_50;
PyObject *tmp_await_result_4;
coroutine->m_frame->m_frame.f_lineno = 263;
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[43]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_13);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_expression_value_48 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_47 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[15]);
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_called_instance_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[44]);
Py_DECREF(tmp_expression_value_47);
if (tmp_called_instance_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
coroutine->m_frame->m_frame.f_lineno = 264;
tmp_add_expr_left_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[45]);
Py_DECREF(tmp_called_instance_8);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_add_expr_left_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_expression_value_49 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_add_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[21]);
if (tmp_add_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_add_expr_left_2);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_kw_call_arg_value_0_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
Py_DECREF(tmp_add_expr_right_2);
if (tmp_kw_call_arg_value_0_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
coroutine_heap->exception_lineno = 264;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
CHECK_OBJECT(coroutine_heap->var_body_future);
tmp_kw_call_arg_value_1_2 = coroutine_heap->var_body_future;
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_kw_call_arg_value_0_2);
coroutine_heap->exception_lineno = 266;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_kw_call_dict_value_0_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_50, mod_consts[47]);
if (tmp_kw_call_dict_value_0_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_kw_call_arg_value_0_2);
coroutine_heap->exception_lineno = 266;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
coroutine->m_frame->m_frame.f_lineno = 263;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_2, tmp_kw_call_arg_value_1_2};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_2};
tmp_expression_value_45 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_13, args, kw_values, mod_consts[48]);
}
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_kw_call_arg_value_0_2);
Py_DECREF(tmp_kw_call_dict_value_0_2);
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_expression_value_44 = ASYNC_AWAIT(tmp_expression_value_45, await_normal);
Py_DECREF(tmp_expression_value_45);
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_45, sizeof(PyObject *), &tmp_called_value_13, sizeof(PyObject *), &tmp_expression_value_46, sizeof(PyObject *), &tmp_kw_call_arg_value_0_2, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_instance_8, sizeof(PyObject *), &tmp_expression_value_47, sizeof(PyObject *), &tmp_expression_value_48, sizeof(PyObject *), &tmp_expression_value_49, sizeof(PyObject *), &tmp_kw_call_arg_value_1_2, sizeof(PyObject *), &tmp_kw_call_dict_value_0_2, sizeof(PyObject *), &tmp_expression_value_50, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 6;
coroutine->m_yieldfrom = tmp_expression_value_44;
coroutine->m_awaiting = true;
return NULL;
yield_return_6:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_45, sizeof(PyObject *), &tmp_called_value_13, sizeof(PyObject *), &tmp_expression_value_46, sizeof(PyObject *), &tmp_kw_call_arg_value_0_2, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_instance_8, sizeof(PyObject *), &tmp_expression_value_47, sizeof(PyObject *), &tmp_expression_value_48, sizeof(PyObject *), &tmp_expression_value_49, sizeof(PyObject *), &tmp_kw_call_arg_value_1_2, sizeof(PyObject *), &tmp_kw_call_dict_value_0_2, sizeof(PyObject *), &tmp_expression_value_50, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
tmp_await_result_4 = yield_return_value;
if (tmp_await_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 263;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_13;
}
Py_DECREF(tmp_await_result_4);
}
goto try_end_8;
// Exception handler code:
try_except_handler_13:;
coroutine_heap->exception_keeper_type_10 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_10 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_10 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_10 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 3.
coroutine_heap->exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_10 == NULL) {
coroutine_heap->exception_keeper_tb_10 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_10);
} else if (coroutine_heap->exception_keeper_lineno_10 != 0) {
coroutine_heap->exception_keeper_tb_10 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_10, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_10);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_10, &coroutine_heap->exception_keeper_value_10, &coroutine_heap->exception_keeper_tb_10);
// Tried code:
{
bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_18;
PyObject *tmp_cmp_expr_right_18;
PyObject *tmp_expression_value_51;
tmp_cmp_expr_left_18 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_51 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_51 == NULL)) {
tmp_expression_value_51 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 268;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_cmp_expr_right_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_51, mod_consts[49]);
if (tmp_cmp_expr_right_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 268;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_18, tmp_cmp_expr_right_18);
Py_DECREF(tmp_cmp_expr_right_18);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 268;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_condition_result_22 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_22 != false) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
{
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_52;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_17;
PyObject *tmp_args_element_value_18;
PyObject *tmp_expression_value_53;
tmp_expression_value_52 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_expression_value_52 == NULL)) {
tmp_expression_value_52 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_expression_value_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 269;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_52, mod_consts[85]);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 269;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_args_element_value_17 = mod_consts[86];
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_14);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 269;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_expression_value_53 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_53, mod_consts[18]);
if (tmp_args_element_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_14);
coroutine_heap->exception_lineno = 269;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
coroutine->m_frame->m_frame.f_lineno = 269;
{
PyObject *call_args[] = {tmp_args_element_value_17, tmp_args_element_value_18};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_14, call_args);
}
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_element_value_18);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 269;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_instance_9;
PyObject *tmp_expression_value_54;
PyObject *tmp_call_result_6;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 270;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
tmp_expression_value_54 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[15]);
if (tmp_called_instance_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 270;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
coroutine->m_frame->m_frame.f_lineno = 270;
tmp_call_result_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[50]);
Py_DECREF(tmp_called_instance_9);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 270;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
}
Py_DECREF(tmp_call_result_6);
}
coroutine_heap->tmp_return_value = Py_False;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_14;
goto branch_end_21;
branch_no_21:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 262;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_14;
branch_end_21:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_3);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_14:;
coroutine_heap->exception_keeper_type_11 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_11 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_11 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_11 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_3);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_11;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_11;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_11;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_11;
goto try_except_handler_3;
// End of try:
// End of try:
try_end_8:;
branch_end_20:;
branch_no_19:;
branch_no_18:;
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_True;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 272;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_assattr_target_6 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[23], tmp_assattr_value_6);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 272;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
}
{
nuitka_bool tmp_condition_result_23;
int tmp_or_left_truth_2;
nuitka_bool tmp_or_left_value_2;
nuitka_bool tmp_or_right_value_2;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_55;
PyObject *tmp_expression_value_56;
PyObject *tmp_attribute_value_4;
int tmp_truth_name_5;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_55 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_operand_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_55, mod_consts[22]);
if (tmp_operand_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
Py_DECREF(tmp_operand_value_7);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_or_left_value_2 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_56 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_56, mod_consts[14]);
if (tmp_attribute_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_attribute_value_4);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_4);
coroutine_heap->exception_lineno = 273;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_or_right_value_2 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_4);
tmp_condition_result_23 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_condition_result_23 = tmp_or_left_value_2;
or_end_2:;
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
{
nuitka_bool tmp_assign_source_29;
tmp_assign_source_29 = NUITKA_BOOL_FALSE;
coroutine_heap->var_need_delegate_close = tmp_assign_source_29;
}
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_19;
tmp_called_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_15 == NULL)) {
tmp_called_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
tmp_args_element_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_19 == NULL)) {
tmp_args_element_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
coroutine->m_frame->m_frame.f_lineno = 275;
tmp_assign_source_30 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_19);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
assert(coroutine_heap->tmp_with_2__source == NULL);
coroutine_heap->tmp_with_2__source = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_called_value_16;
PyObject *tmp_expression_value_57;
CHECK_OBJECT(coroutine_heap->tmp_with_2__source);
tmp_expression_value_57 = coroutine_heap->tmp_with_2__source;
tmp_called_value_16 = LOOKUP_SPECIAL(tmp_expression_value_57, mod_consts[59]);
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
coroutine->m_frame->m_frame.f_lineno = 275;
tmp_assign_source_31 = CALL_FUNCTION_NO_ARGS(tmp_called_value_16);
Py_DECREF(tmp_called_value_16);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
assert(coroutine_heap->tmp_with_2__enter == NULL);
coroutine_heap->tmp_with_2__enter = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_expression_value_58;
CHECK_OBJECT(coroutine_heap->tmp_with_2__source);
tmp_expression_value_58 = coroutine_heap->tmp_with_2__source;
tmp_assign_source_32 = LOOKUP_SPECIAL(tmp_expression_value_58, mod_consts[60]);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 275;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
assert(coroutine_heap->tmp_with_2__exit == NULL);
coroutine_heap->tmp_with_2__exit = tmp_assign_source_32;
}
{
nuitka_bool tmp_assign_source_33;
tmp_assign_source_33 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_2__indicator = tmp_assign_source_33;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_10;
PyObject *tmp_call_result_7;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_17;
}
tmp_called_instance_10 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 276;
tmp_call_result_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[87]);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_17;
}
Py_DECREF(tmp_call_result_7);
}
goto try_end_9;
// Exception handler code:
try_except_handler_17:;
coroutine_heap->exception_keeper_type_12 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_12 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_12 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_12 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 4.
coroutine_heap->exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_12 == NULL) {
coroutine_heap->exception_keeper_tb_12 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_12);
} else if (coroutine_heap->exception_keeper_lineno_12 != 0) {
coroutine_heap->exception_keeper_tb_12 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_12, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_12);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_12, &coroutine_heap->exception_keeper_value_12, &coroutine_heap->exception_keeper_tb_12);
// Tried code:
{
bool tmp_condition_result_24;
PyObject *tmp_cmp_expr_left_19;
PyObject *tmp_cmp_expr_right_19;
tmp_cmp_expr_left_19 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_19 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_19, tmp_cmp_expr_right_19);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_24 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_24 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
nuitka_bool tmp_assign_source_34;
tmp_assign_source_34 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_2__indicator = tmp_assign_source_34;
}
{
bool tmp_condition_result_25;
PyObject *tmp_operand_value_8;
PyObject *tmp_called_value_17;
PyObject *tmp_args_element_value_20;
PyObject *tmp_args_element_value_21;
PyObject *tmp_args_element_value_22;
CHECK_OBJECT(coroutine_heap->tmp_with_2__exit);
tmp_called_value_17 = coroutine_heap->tmp_with_2__exit;
tmp_args_element_value_20 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_21 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_22 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 276;
{
PyObject *call_args[] = {tmp_args_element_value_20, tmp_args_element_value_21, tmp_args_element_value_22};
tmp_operand_value_8 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_17, call_args);
}
if (tmp_operand_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_18;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_8);
Py_DECREF(tmp_operand_value_8);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_18;
}
tmp_condition_result_25 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 276;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_18;
branch_no_24:;
goto branch_end_23;
branch_no_23:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 275;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_18;
branch_end_23:;
goto try_end_10;
// Exception handler code:
try_except_handler_18:;
coroutine_heap->exception_keeper_type_13 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_13 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_13 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_13 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_4);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_13;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_13;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_13;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_13;
goto try_except_handler_16;
// End of try:
try_end_10:;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_4);
goto try_end_9;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_9:;
goto try_end_11;
// Exception handler code:
try_except_handler_16:;
coroutine_heap->exception_keeper_type_14 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_14 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_14 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_14 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_26;
nuitka_bool tmp_cmp_expr_left_20;
nuitka_bool tmp_cmp_expr_right_20;
assert(coroutine_heap->tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_20 = coroutine_heap->tmp_with_2__indicator;
tmp_cmp_expr_right_20 = NUITKA_BOOL_TRUE;
tmp_condition_result_26 = (tmp_cmp_expr_left_20 == tmp_cmp_expr_right_20) ? true : false;
if (tmp_condition_result_26 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
{
PyObject *tmp_called_value_18;
PyObject *tmp_call_result_8;
CHECK_OBJECT(coroutine_heap->tmp_with_2__exit);
tmp_called_value_18 = coroutine_heap->tmp_with_2__exit;
coroutine->m_frame->m_frame.f_lineno = 276;
tmp_call_result_8 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_18, mod_consts[64]);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_14);
Py_XDECREF(coroutine_heap->exception_keeper_value_14);
Py_XDECREF(coroutine_heap->exception_keeper_tb_14);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
Py_DECREF(tmp_call_result_8);
}
branch_no_25:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_14;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_14;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_14;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_14;
goto try_except_handler_15;
// End of try:
try_end_11:;
{
bool tmp_condition_result_27;
nuitka_bool tmp_cmp_expr_left_21;
nuitka_bool tmp_cmp_expr_right_21;
assert(coroutine_heap->tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_21 = coroutine_heap->tmp_with_2__indicator;
tmp_cmp_expr_right_21 = NUITKA_BOOL_TRUE;
tmp_condition_result_27 = (tmp_cmp_expr_left_21 == tmp_cmp_expr_right_21) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
PyObject *tmp_called_value_19;
PyObject *tmp_call_result_9;
CHECK_OBJECT(coroutine_heap->tmp_with_2__exit);
tmp_called_value_19 = coroutine_heap->tmp_with_2__exit;
coroutine->m_frame->m_frame.f_lineno = 276;
tmp_call_result_9 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_19, mod_consts[64]);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 276;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_15;
}
Py_DECREF(tmp_call_result_9);
}
branch_no_26:;
goto try_end_12;
// Exception handler code:
try_except_handler_15:;
coroutine_heap->exception_keeper_type_15 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_15 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_15 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_15 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_2__source);
coroutine_heap->tmp_with_2__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_2__enter);
coroutine_heap->tmp_with_2__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_2__exit);
coroutine_heap->tmp_with_2__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_15;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_15;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_15;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_15;
goto try_except_handler_3;
// End of try:
try_end_12:;
CHECK_OBJECT(coroutine_heap->tmp_with_2__source);
Py_DECREF(coroutine_heap->tmp_with_2__source);
coroutine_heap->tmp_with_2__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_2__enter);
Py_DECREF(coroutine_heap->tmp_with_2__enter);
coroutine_heap->tmp_with_2__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_2__exit);
coroutine_heap->tmp_with_2__exit = NULL;
branch_no_22:;
{
bool tmp_condition_result_28;
int tmp_and_left_truth_3;
bool tmp_and_left_value_3;
bool tmp_and_right_value_3;
PyObject *tmp_operand_value_9;
PyObject *tmp_called_instance_11;
PyObject *tmp_expression_value_59;
int tmp_and_left_truth_4;
bool tmp_and_left_value_4;
bool tmp_and_right_value_4;
PyObject *tmp_cmp_expr_left_22;
PyObject *tmp_cmp_expr_right_22;
PyObject *tmp_expression_value_60;
PyObject *tmp_operand_value_10;
PyObject *tmp_called_instance_12;
PyObject *tmp_expression_value_61;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 281;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_59 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_59, mod_consts[25]);
if (tmp_called_instance_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 281;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 281;
tmp_operand_value_9 = CALL_METHOD_NO_ARGS(tmp_called_instance_11, mod_consts[88]);
Py_DECREF(tmp_called_instance_11);
if (tmp_operand_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 281;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_9);
Py_DECREF(tmp_operand_value_9);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 281;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_left_value_3 = (coroutine_heap->tmp_res == 0) ? true : false;
tmp_and_left_truth_3 = tmp_and_left_value_3 != false ? 1 : 0;
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 282;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_60 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_left_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_60, mod_consts[15]);
if (tmp_cmp_expr_left_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 282;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_22 = Py_None;
tmp_and_left_value_4 = (tmp_cmp_expr_left_22 != tmp_cmp_expr_right_22) ? true : false;
Py_DECREF(tmp_cmp_expr_left_22);
tmp_and_left_truth_4 = tmp_and_left_value_4 != false ? 1 : 0;
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 283;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_61 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_61, mod_consts[15]);
if (tmp_called_instance_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 283;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 283;
tmp_operand_value_10 = CALL_METHOD_NO_ARGS(tmp_called_instance_12, mod_consts[89]);
Py_DECREF(tmp_called_instance_12);
if (tmp_operand_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 283;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_10);
Py_DECREF(tmp_operand_value_10);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 283;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_right_value_4 = (coroutine_heap->tmp_res == 0) ? true : false;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_condition_result_28 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_28 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_28 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_62;
PyObject *tmp_expression_value_63;
PyObject *tmp_call_result_10;
PyObject *tmp_args_element_value_23;
PyObject *tmp_expression_value_64;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_63 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_62 = LOOKUP_ATTRIBUTE(tmp_expression_value_63, mod_consts[15]);
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_62, mod_consts[90]);
Py_DECREF(tmp_expression_value_62);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_20);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_64 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_64, mod_consts[91]);
if (tmp_args_element_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_20);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
coroutine->m_frame->m_frame.f_lineno = 285;
tmp_call_result_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_20, tmp_args_element_value_23);
Py_DECREF(tmp_called_value_20);
Py_DECREF(tmp_args_element_value_23);
if (tmp_call_result_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 285;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_10);
}
{
PyObject *tmp_expression_value_65;
PyObject *tmp_expression_value_66;
PyObject *tmp_expression_value_67;
PyObject *tmp_await_result_5;
coroutine->m_frame->m_frame.f_lineno = 286;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 286;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_67 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_66 = LOOKUP_ATTRIBUTE(tmp_expression_value_67, mod_consts[25]);
if (tmp_expression_value_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 286;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_65 = ASYNC_AWAIT(tmp_expression_value_66, await_normal);
Py_DECREF(tmp_expression_value_66);
if (tmp_expression_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 286;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_66, sizeof(PyObject *), &tmp_expression_value_67, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 7;
coroutine->m_yieldfrom = tmp_expression_value_65;
coroutine->m_awaiting = true;
return NULL;
yield_return_7:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_66, sizeof(PyObject *), &tmp_expression_value_67, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 286;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_await_result_5 = yield_return_value;
if (tmp_await_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 286;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_await_result_5);
}
branch_no_27:;
{
nuitka_bool tmp_condition_result_29;
int tmp_and_left_truth_5;
nuitka_bool tmp_and_left_value_5;
nuitka_bool tmp_and_right_value_5;
PyObject *tmp_expression_value_68;
PyObject *tmp_attribute_value_5;
int tmp_truth_name_6;
PyObject *tmp_expression_value_69;
PyObject *tmp_attribute_value_6;
int tmp_truth_name_7;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_68 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_68, mod_consts[14]);
if (tmp_attribute_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_attribute_value_5);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_5);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_left_value_5 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_5);
tmp_and_left_truth_5 = tmp_and_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_69 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_69, mod_consts[26]);
if (tmp_attribute_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_attribute_value_6);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_6);
coroutine_heap->exception_lineno = 287;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_and_right_value_5 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_6);
tmp_condition_result_29 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
tmp_condition_result_29 = tmp_and_left_value_5;
and_end_5:;
if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
{
PyObject *tmp_called_instance_13;
PyObject *tmp_call_result_11;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 288;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_called_instance_13 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 288;
tmp_call_result_11 = CALL_METHOD_NO_ARGS(tmp_called_instance_13, mod_consts[50]);
if (tmp_call_result_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 288;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_11);
}
branch_no_28:;
{
bool tmp_condition_result_30;
PyObject *tmp_cmp_expr_left_23;
PyObject *tmp_cmp_expr_right_23;
PyObject *tmp_expression_value_70;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 289;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_expression_value_70 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_left_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_70, mod_consts[15]);
if (tmp_cmp_expr_left_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 289;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_23 = Py_None;
tmp_condition_result_30 = (tmp_cmp_expr_left_23 == tmp_cmp_expr_right_23) ? true : false;
Py_DECREF(tmp_cmp_expr_left_23);
if (tmp_condition_result_30 != false) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
coroutine_heap->tmp_return_value = Py_False;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_2;
branch_no_29:;
goto try_end_13;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_16 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_16 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_16 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_16 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 5.
coroutine_heap->exception_preserved_5 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_16 == NULL) {
coroutine_heap->exception_keeper_tb_16 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_16);
} else if (coroutine_heap->exception_keeper_lineno_16 != 0) {
coroutine_heap->exception_keeper_tb_16 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_16, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_16);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_16, &coroutine_heap->exception_keeper_value_16, &coroutine_heap->exception_keeper_tb_16);
// Tried code:
{
bool tmp_condition_result_31;
PyObject *tmp_cmp_expr_left_24;
PyObject *tmp_cmp_expr_right_24;
PyObject *tmp_expression_value_71;
tmp_cmp_expr_left_24 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_71 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_71 == NULL)) {
tmp_expression_value_71 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 291;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_19;
}
tmp_cmp_expr_right_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_71, mod_consts[74]);
if (tmp_cmp_expr_right_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 291;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_19;
}
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_24, tmp_cmp_expr_right_24);
Py_DECREF(tmp_cmp_expr_right_24);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 291;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_19;
}
tmp_condition_result_31 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = EXC_VALUE(PyThreadState_GET());
assert(coroutine_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_35);
coroutine_heap->var_e = tmp_assign_source_35;
}
// Tried code:
{
PyObject *tmp_called_value_21;
PyObject *tmp_expression_value_72;
PyObject *tmp_call_result_12;
PyObject *tmp_args_element_value_24;
PyObject *tmp_args_element_value_25;
PyObject *tmp_expression_value_73;
PyObject *tmp_args_element_value_26;
tmp_expression_value_72 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_expression_value_72 == NULL)) {
tmp_expression_value_72 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_expression_value_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 292;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_called_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_72, mod_consts[85]);
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 292;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_args_element_value_24 = mod_consts[92];
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_21);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 292;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_expression_value_73 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_73, mod_consts[18]);
if (tmp_args_element_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_21);
coroutine_heap->exception_lineno = 292;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
CHECK_OBJECT(coroutine_heap->var_e);
tmp_args_element_value_26 = coroutine_heap->var_e;
coroutine->m_frame->m_frame.f_lineno = 292;
{
PyObject *call_args[] = {tmp_args_element_value_24, tmp_args_element_value_25, tmp_args_element_value_26};
tmp_call_result_12 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_21, call_args);
}
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_element_value_25);
if (tmp_call_result_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 292;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
Py_DECREF(tmp_call_result_12);
}
{
bool tmp_condition_result_32;
PyObject *tmp_operand_value_11;
PyObject *tmp_expression_value_74;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 293;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_expression_value_74 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_operand_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_74, mod_consts[14]);
if (tmp_operand_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 293;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_11);
Py_DECREF(tmp_operand_value_11);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 293;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_condition_result_32 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_32 != false) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
{
PyObject *tmp_expression_value_75;
PyObject *tmp_expression_value_76;
PyObject *tmp_called_instance_14;
PyObject *tmp_expression_value_77;
PyObject *tmp_await_result_6;
coroutine->m_frame->m_frame.f_lineno = 294;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_expression_value_77 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_77, mod_consts[15]);
if (tmp_called_instance_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
coroutine->m_frame->m_frame.f_lineno = 294;
tmp_expression_value_76 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_14,
mod_consts[79],
PyTuple_GET_ITEM(mod_consts[93], 0)
);
Py_DECREF(tmp_called_instance_14);
if (tmp_expression_value_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_expression_value_75 = ASYNC_AWAIT(tmp_expression_value_76, await_normal);
Py_DECREF(tmp_expression_value_76);
if (tmp_expression_value_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_76, sizeof(PyObject *), &tmp_called_instance_14, sizeof(PyObject *), &tmp_expression_value_77, sizeof(PyObject *), NULL);
SAVE_COROUTINE_EXCEPTION(coroutine);
coroutine->m_yield_return_index = 8;
coroutine->m_yieldfrom = tmp_expression_value_75;
coroutine->m_awaiting = true;
return NULL;
yield_return_8:
RESTORE_COROUTINE_EXCEPTION(coroutine);
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_76, sizeof(PyObject *), &tmp_called_instance_14, sizeof(PyObject *), &tmp_expression_value_77, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_await_result_6 = yield_return_value;
if (tmp_await_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 294;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
Py_DECREF(tmp_await_result_6);
}
branch_no_31:;
{
PyObject *tmp_called_instance_15;
PyObject *tmp_call_result_13;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 295;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
tmp_called_instance_15 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 295;
tmp_call_result_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_15, mod_consts[50]);
if (tmp_call_result_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 295;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_20;
}
Py_DECREF(tmp_call_result_13);
}
coroutine_heap->tmp_return_value = Py_False;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_20;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
Py_XDECREF(coroutine_heap->var_e);
coroutine_heap->var_e = NULL;
goto try_return_handler_19;
// Exception handler code:
try_except_handler_20:;
coroutine_heap->exception_keeper_type_17 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_17 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_17 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_17 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_e);
coroutine_heap->var_e = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_17;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_17;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_17;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_17;
goto try_except_handler_19;
// End of try:
goto branch_end_30;
branch_no_30:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 185;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_19;
branch_end_30:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_19:;
// Restore previous exception id 5.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_5);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_19:;
coroutine_heap->exception_keeper_type_18 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_18 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_18 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_18 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 5.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_5);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_18;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_18;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_18;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_18;
goto try_except_handler_2;
// End of try:
// End of try:
try_end_13:;
goto try_end_14;
// Return handler code:
try_return_handler_2:;
{
bool tmp_condition_result_33;
assert(coroutine_heap->var_need_delegate_close != NUITKA_BOOL_UNASSIGNED);
tmp_condition_result_33 = coroutine_heap->var_need_delegate_close == NUITKA_BOOL_TRUE;
if (tmp_condition_result_33 != false) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_22;
PyObject *tmp_args_element_value_27;
tmp_called_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_22 == NULL)) {
tmp_called_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
tmp_args_element_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_27 == NULL)) {
tmp_args_element_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_36 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_27);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
assert(coroutine_heap->tmp_with_3__source == NULL);
coroutine_heap->tmp_with_3__source = tmp_assign_source_36;
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_called_value_23;
PyObject *tmp_expression_value_78;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_78 = coroutine_heap->tmp_with_3__source;
tmp_called_value_23 = LOOKUP_SPECIAL(tmp_expression_value_78, mod_consts[59]);
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_37 = CALL_FUNCTION_NO_ARGS(tmp_called_value_23);
Py_DECREF(tmp_called_value_23);
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
assert(coroutine_heap->tmp_with_3__enter == NULL);
coroutine_heap->tmp_with_3__enter = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_expression_value_79;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_79 = coroutine_heap->tmp_with_3__source;
tmp_assign_source_38 = LOOKUP_SPECIAL(tmp_expression_value_79, mod_consts[60]);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
assert(coroutine_heap->tmp_with_3__exit == NULL);
coroutine_heap->tmp_with_3__exit = tmp_assign_source_38;
}
{
nuitka_bool tmp_assign_source_39;
tmp_assign_source_39 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_39;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_16;
PyObject *tmp_call_result_14;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_23;
}
tmp_called_instance_16 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_14 = CALL_METHOD_NO_ARGS(tmp_called_instance_16, mod_consts[94]);
if (tmp_call_result_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_23;
}
Py_DECREF(tmp_call_result_14);
}
goto try_end_15;
// Exception handler code:
try_except_handler_23:;
coroutine_heap->exception_keeper_type_19 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_19 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_19 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_19 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 6.
coroutine_heap->exception_preserved_6 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_19 == NULL) {
coroutine_heap->exception_keeper_tb_19 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_19);
} else if (coroutine_heap->exception_keeper_lineno_19 != 0) {
coroutine_heap->exception_keeper_tb_19 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_19, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_19);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_19, &coroutine_heap->exception_keeper_value_19, &coroutine_heap->exception_keeper_tb_19);
// Tried code:
{
bool tmp_condition_result_34;
PyObject *tmp_cmp_expr_left_25;
PyObject *tmp_cmp_expr_right_25;
tmp_cmp_expr_left_25 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_25 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_25, tmp_cmp_expr_right_25);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_34 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_34 != false) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
{
nuitka_bool tmp_assign_source_40;
tmp_assign_source_40 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_40;
}
{
bool tmp_condition_result_35;
PyObject *tmp_operand_value_12;
PyObject *tmp_called_value_24;
PyObject *tmp_args_element_value_28;
PyObject *tmp_args_element_value_29;
PyObject *tmp_args_element_value_30;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_24 = coroutine_heap->tmp_with_3__exit;
tmp_args_element_value_28 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_29 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_30 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 300;
{
PyObject *call_args[] = {tmp_args_element_value_28, tmp_args_element_value_29, tmp_args_element_value_30};
tmp_operand_value_12 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_24, call_args);
}
if (tmp_operand_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_24;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_12);
Py_DECREF(tmp_operand_value_12);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_24;
}
tmp_condition_result_35 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 300;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_24;
branch_no_34:;
goto branch_end_33;
branch_no_33:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 299;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_24;
branch_end_33:;
goto try_end_16;
// Exception handler code:
try_except_handler_24:;
coroutine_heap->exception_keeper_type_20 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_20 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_20 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_20 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_20;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_20;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_20;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_20;
goto try_except_handler_22;
// End of try:
try_end_16:;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
goto try_end_15;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_15:;
goto try_end_17;
// Exception handler code:
try_except_handler_22:;
coroutine_heap->exception_keeper_type_21 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_21 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_21 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_21 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_36;
nuitka_bool tmp_cmp_expr_left_26;
nuitka_bool tmp_cmp_expr_right_26;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_26 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_26 = NUITKA_BOOL_TRUE;
tmp_condition_result_36 = (tmp_cmp_expr_left_26 == tmp_cmp_expr_right_26) ? true : false;
if (tmp_condition_result_36 != false) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
{
PyObject *tmp_called_value_25;
PyObject *tmp_call_result_15;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_25 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_15 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_25, mod_consts[64]);
if (tmp_call_result_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_21);
Py_XDECREF(coroutine_heap->exception_keeper_value_21);
Py_XDECREF(coroutine_heap->exception_keeper_tb_21);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
Py_DECREF(tmp_call_result_15);
}
branch_no_35:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_21;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_21;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_21;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_21;
goto try_except_handler_21;
// End of try:
try_end_17:;
{
bool tmp_condition_result_37;
nuitka_bool tmp_cmp_expr_left_27;
nuitka_bool tmp_cmp_expr_right_27;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_27 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_27 = NUITKA_BOOL_TRUE;
tmp_condition_result_37 = (tmp_cmp_expr_left_27 == tmp_cmp_expr_right_27) ? true : false;
if (tmp_condition_result_37 != false) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
{
PyObject *tmp_called_value_26;
PyObject *tmp_call_result_16;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_26 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_16 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_26, mod_consts[64]);
if (tmp_call_result_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_21;
}
Py_DECREF(tmp_call_result_16);
}
branch_no_36:;
goto try_end_18;
// Exception handler code:
try_except_handler_21:;
coroutine_heap->exception_keeper_type_22 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_22 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_22 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_22 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_22;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_22;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_22;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_22;
goto frame_exception_exit_1;
// End of try:
try_end_18:;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
Py_DECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_3__enter);
Py_DECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
branch_no_32:;
Py_XDECREF(coroutine_heap->var_header_future);
coroutine_heap->var_header_future = NULL;
{
PyObject *tmp_called_instance_17;
PyObject *tmp_call_result_17;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto frame_exception_exit_1;
}
tmp_called_instance_17 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 302;
tmp_call_result_17 = CALL_METHOD_NO_ARGS(tmp_called_instance_17, mod_consts[27]);
if (tmp_call_result_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_17);
}
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_23 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_23 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_23 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_23 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 7.
coroutine_heap->exception_preserved_7 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_23 == NULL) {
coroutine_heap->exception_keeper_tb_23 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_23);
} else if (coroutine_heap->exception_keeper_lineno_23 != 0) {
coroutine_heap->exception_keeper_tb_23 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_23, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_23);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_23, &coroutine_heap->exception_keeper_value_23, &coroutine_heap->exception_keeper_tb_23);
// Tried code:
{
bool tmp_condition_result_38;
assert(coroutine_heap->var_need_delegate_close != NUITKA_BOOL_UNASSIGNED);
tmp_condition_result_38 = coroutine_heap->var_need_delegate_close == NUITKA_BOOL_TRUE;
if (tmp_condition_result_38 != false) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
// Tried code:
{
PyObject *tmp_assign_source_41;
PyObject *tmp_called_value_27;
PyObject *tmp_args_element_value_31;
tmp_called_value_27 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_27 == NULL)) {
tmp_called_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
tmp_args_element_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_31 == NULL)) {
tmp_args_element_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_41 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_31);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
assert(coroutine_heap->tmp_with_3__source == NULL);
coroutine_heap->tmp_with_3__source = tmp_assign_source_41;
}
{
PyObject *tmp_assign_source_42;
PyObject *tmp_called_value_28;
PyObject *tmp_expression_value_80;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_80 = coroutine_heap->tmp_with_3__source;
tmp_called_value_28 = LOOKUP_SPECIAL(tmp_expression_value_80, mod_consts[59]);
if (tmp_called_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_42 = CALL_FUNCTION_NO_ARGS(tmp_called_value_28);
Py_DECREF(tmp_called_value_28);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
assert(coroutine_heap->tmp_with_3__enter == NULL);
coroutine_heap->tmp_with_3__enter = tmp_assign_source_42;
}
{
PyObject *tmp_assign_source_43;
PyObject *tmp_expression_value_81;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_81 = coroutine_heap->tmp_with_3__source;
tmp_assign_source_43 = LOOKUP_SPECIAL(tmp_expression_value_81, mod_consts[60]);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
assert(coroutine_heap->tmp_with_3__exit == NULL);
coroutine_heap->tmp_with_3__exit = tmp_assign_source_43;
}
{
nuitka_bool tmp_assign_source_44;
tmp_assign_source_44 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_44;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_18;
PyObject *tmp_call_result_18;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_28;
}
tmp_called_instance_18 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_18 = CALL_METHOD_NO_ARGS(tmp_called_instance_18, mod_consts[94]);
if (tmp_call_result_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_28;
}
Py_DECREF(tmp_call_result_18);
}
goto try_end_19;
// Exception handler code:
try_except_handler_28:;
coroutine_heap->exception_keeper_type_24 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_24 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_24 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_24 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 6.
coroutine_heap->exception_preserved_6 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_24 == NULL) {
coroutine_heap->exception_keeper_tb_24 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_24);
} else if (coroutine_heap->exception_keeper_lineno_24 != 0) {
coroutine_heap->exception_keeper_tb_24 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_24, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_24);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_24, &coroutine_heap->exception_keeper_value_24, &coroutine_heap->exception_keeper_tb_24);
// Tried code:
{
bool tmp_condition_result_39;
PyObject *tmp_cmp_expr_left_28;
PyObject *tmp_cmp_expr_right_28;
tmp_cmp_expr_left_28 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_28 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_28, tmp_cmp_expr_right_28);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_39 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
{
nuitka_bool tmp_assign_source_45;
tmp_assign_source_45 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_45;
}
{
bool tmp_condition_result_40;
PyObject *tmp_operand_value_13;
PyObject *tmp_called_value_29;
PyObject *tmp_args_element_value_32;
PyObject *tmp_args_element_value_33;
PyObject *tmp_args_element_value_34;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_29 = coroutine_heap->tmp_with_3__exit;
tmp_args_element_value_32 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_33 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_34 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 300;
{
PyObject *call_args[] = {tmp_args_element_value_32, tmp_args_element_value_33, tmp_args_element_value_34};
tmp_operand_value_13 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_29, call_args);
}
if (tmp_operand_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_29;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_13);
Py_DECREF(tmp_operand_value_13);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_29;
}
tmp_condition_result_40 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_40 != false) {
goto branch_yes_39;
} else {
goto branch_no_39;
}
}
branch_yes_39:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 300;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_29;
branch_no_39:;
goto branch_end_38;
branch_no_38:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 299;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_29;
branch_end_38:;
goto try_end_20;
// Exception handler code:
try_except_handler_29:;
coroutine_heap->exception_keeper_type_25 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_25 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_25 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_25 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_25;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_25;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_25;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_25;
goto try_except_handler_27;
// End of try:
try_end_20:;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
goto try_end_19;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_19:;
goto try_end_21;
// Exception handler code:
try_except_handler_27:;
coroutine_heap->exception_keeper_type_26 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_26 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_26 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_26 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_41;
nuitka_bool tmp_cmp_expr_left_29;
nuitka_bool tmp_cmp_expr_right_29;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_29 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_29 = NUITKA_BOOL_TRUE;
tmp_condition_result_41 = (tmp_cmp_expr_left_29 == tmp_cmp_expr_right_29) ? true : false;
if (tmp_condition_result_41 != false) {
goto branch_yes_40;
} else {
goto branch_no_40;
}
}
branch_yes_40:;
{
PyObject *tmp_called_value_30;
PyObject *tmp_call_result_19;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_30 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_19 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_30, mod_consts[64]);
if (tmp_call_result_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_26);
Py_XDECREF(coroutine_heap->exception_keeper_value_26);
Py_XDECREF(coroutine_heap->exception_keeper_tb_26);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
Py_DECREF(tmp_call_result_19);
}
branch_no_40:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_26;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_26;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_26;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_26;
goto try_except_handler_26;
// End of try:
try_end_21:;
{
bool tmp_condition_result_42;
nuitka_bool tmp_cmp_expr_left_30;
nuitka_bool tmp_cmp_expr_right_30;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_30 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_30 = NUITKA_BOOL_TRUE;
tmp_condition_result_42 = (tmp_cmp_expr_left_30 == tmp_cmp_expr_right_30) ? true : false;
if (tmp_condition_result_42 != false) {
goto branch_yes_41;
} else {
goto branch_no_41;
}
}
branch_yes_41:;
{
PyObject *tmp_called_value_31;
PyObject *tmp_call_result_20;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_31 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_20 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_31, mod_consts[64]);
if (tmp_call_result_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_26;
}
Py_DECREF(tmp_call_result_20);
}
branch_no_41:;
goto try_end_22;
// Exception handler code:
try_except_handler_26:;
coroutine_heap->exception_keeper_type_27 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_27 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_27 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_27 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_27;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_27;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_27;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_27;
goto try_except_handler_25;
// End of try:
try_end_22:;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
Py_DECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_3__enter);
Py_DECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
branch_no_37:;
Py_XDECREF(coroutine_heap->var_header_future);
coroutine_heap->var_header_future = NULL;
{
PyObject *tmp_called_instance_19;
PyObject *tmp_call_result_21;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_25;
}
tmp_called_instance_19 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 302;
tmp_call_result_21 = CALL_METHOD_NO_ARGS(tmp_called_instance_19, mod_consts[27]);
if (tmp_call_result_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_25;
}
Py_DECREF(tmp_call_result_21);
}
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 185;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_25;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_25:;
coroutine_heap->exception_keeper_type_28 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_28 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_28 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_28 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 7.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_7);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_28;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_28;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_28;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_28;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_14:;
{
bool tmp_condition_result_43;
assert(coroutine_heap->var_need_delegate_close != NUITKA_BOOL_UNASSIGNED);
tmp_condition_result_43 = coroutine_heap->var_need_delegate_close == NUITKA_BOOL_TRUE;
if (tmp_condition_result_43 != false) {
goto branch_yes_42;
} else {
goto branch_no_42;
}
}
branch_yes_42:;
// Tried code:
{
PyObject *tmp_assign_source_46;
PyObject *tmp_called_value_32;
PyObject *tmp_args_element_value_35;
tmp_called_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_32 == NULL)) {
tmp_called_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
tmp_args_element_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_35 == NULL)) {
tmp_args_element_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_46 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_32, tmp_args_element_value_35);
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
assert(coroutine_heap->tmp_with_3__source == NULL);
coroutine_heap->tmp_with_3__source = tmp_assign_source_46;
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_called_value_33;
PyObject *tmp_expression_value_82;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_82 = coroutine_heap->tmp_with_3__source;
tmp_called_value_33 = LOOKUP_SPECIAL(tmp_expression_value_82, mod_consts[59]);
if (tmp_called_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
coroutine->m_frame->m_frame.f_lineno = 299;
tmp_assign_source_47 = CALL_FUNCTION_NO_ARGS(tmp_called_value_33);
Py_DECREF(tmp_called_value_33);
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
assert(coroutine_heap->tmp_with_3__enter == NULL);
coroutine_heap->tmp_with_3__enter = tmp_assign_source_47;
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_expression_value_83;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
tmp_expression_value_83 = coroutine_heap->tmp_with_3__source;
tmp_assign_source_48 = LOOKUP_SPECIAL(tmp_expression_value_83, mod_consts[60]);
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 299;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
assert(coroutine_heap->tmp_with_3__exit == NULL);
coroutine_heap->tmp_with_3__exit = tmp_assign_source_48;
}
{
nuitka_bool tmp_assign_source_49;
tmp_assign_source_49 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_49;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_20;
PyObject *tmp_call_result_22;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_32;
}
tmp_called_instance_20 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_22 = CALL_METHOD_NO_ARGS(tmp_called_instance_20, mod_consts[94]);
if (tmp_call_result_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_32;
}
Py_DECREF(tmp_call_result_22);
}
goto try_end_23;
// Exception handler code:
try_except_handler_32:;
coroutine_heap->exception_keeper_type_29 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_29 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_29 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_29 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 6.
coroutine_heap->exception_preserved_6 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_29 == NULL) {
coroutine_heap->exception_keeper_tb_29 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_29);
} else if (coroutine_heap->exception_keeper_lineno_29 != 0) {
coroutine_heap->exception_keeper_tb_29 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_29, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_29);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_29, &coroutine_heap->exception_keeper_value_29, &coroutine_heap->exception_keeper_tb_29);
// Tried code:
{
bool tmp_condition_result_44;
PyObject *tmp_cmp_expr_left_31;
PyObject *tmp_cmp_expr_right_31;
tmp_cmp_expr_left_31 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_31 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_31, tmp_cmp_expr_right_31);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_44 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_44 != false) {
goto branch_yes_43;
} else {
goto branch_no_43;
}
}
branch_yes_43:;
{
nuitka_bool tmp_assign_source_50;
tmp_assign_source_50 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_3__indicator = tmp_assign_source_50;
}
{
bool tmp_condition_result_45;
PyObject *tmp_operand_value_14;
PyObject *tmp_called_value_34;
PyObject *tmp_args_element_value_36;
PyObject *tmp_args_element_value_37;
PyObject *tmp_args_element_value_38;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_34 = coroutine_heap->tmp_with_3__exit;
tmp_args_element_value_36 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_37 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_38 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 300;
{
PyObject *call_args[] = {tmp_args_element_value_36, tmp_args_element_value_37, tmp_args_element_value_38};
tmp_operand_value_14 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_34, call_args);
}
if (tmp_operand_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_33;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_14);
Py_DECREF(tmp_operand_value_14);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_33;
}
tmp_condition_result_45 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_45 != false) {
goto branch_yes_44;
} else {
goto branch_no_44;
}
}
branch_yes_44:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 300;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_33;
branch_no_44:;
goto branch_end_43;
branch_no_43:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 299;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_33;
branch_end_43:;
goto try_end_24;
// Exception handler code:
try_except_handler_33:;
coroutine_heap->exception_keeper_type_30 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_30 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_30 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_30 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_30;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_30;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_30;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_30;
goto try_except_handler_31;
// End of try:
try_end_24:;
// Restore previous exception id 6.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_6);
goto try_end_23;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_23:;
goto try_end_25;
// Exception handler code:
try_except_handler_31:;
coroutine_heap->exception_keeper_type_31 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_31 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_31 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_31 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_46;
nuitka_bool tmp_cmp_expr_left_32;
nuitka_bool tmp_cmp_expr_right_32;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_32 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_32 = NUITKA_BOOL_TRUE;
tmp_condition_result_46 = (tmp_cmp_expr_left_32 == tmp_cmp_expr_right_32) ? true : false;
if (tmp_condition_result_46 != false) {
goto branch_yes_45;
} else {
goto branch_no_45;
}
}
branch_yes_45:;
{
PyObject *tmp_called_value_35;
PyObject *tmp_call_result_23;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_35 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_23 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_35, mod_consts[64]);
if (tmp_call_result_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_31);
Py_XDECREF(coroutine_heap->exception_keeper_value_31);
Py_XDECREF(coroutine_heap->exception_keeper_tb_31);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
Py_DECREF(tmp_call_result_23);
}
branch_no_45:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_31;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_31;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_31;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_31;
goto try_except_handler_30;
// End of try:
try_end_25:;
{
bool tmp_condition_result_47;
nuitka_bool tmp_cmp_expr_left_33;
nuitka_bool tmp_cmp_expr_right_33;
assert(coroutine_heap->tmp_with_3__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_33 = coroutine_heap->tmp_with_3__indicator;
tmp_cmp_expr_right_33 = NUITKA_BOOL_TRUE;
tmp_condition_result_47 = (tmp_cmp_expr_left_33 == tmp_cmp_expr_right_33) ? true : false;
if (tmp_condition_result_47 != false) {
goto branch_yes_46;
} else {
goto branch_no_46;
}
}
branch_yes_46:;
{
PyObject *tmp_called_value_36;
PyObject *tmp_call_result_24;
CHECK_OBJECT(coroutine_heap->tmp_with_3__exit);
tmp_called_value_36 = coroutine_heap->tmp_with_3__exit;
coroutine->m_frame->m_frame.f_lineno = 300;
tmp_call_result_24 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_36, mod_consts[64]);
if (tmp_call_result_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 300;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto try_except_handler_30;
}
Py_DECREF(tmp_call_result_24);
}
branch_no_46:;
goto try_end_26;
// Exception handler code:
try_except_handler_30:;
coroutine_heap->exception_keeper_type_32 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_32 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_32 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_32 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_32;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_32;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_32;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_32;
goto frame_exception_exit_1;
// End of try:
try_end_26:;
CHECK_OBJECT(coroutine_heap->tmp_with_3__source);
Py_DECREF(coroutine_heap->tmp_with_3__source);
coroutine_heap->tmp_with_3__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_3__enter);
Py_DECREF(coroutine_heap->tmp_with_3__enter);
coroutine_heap->tmp_with_3__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_3__exit);
coroutine_heap->tmp_with_3__exit = NULL;
branch_no_42:;
Py_XDECREF(coroutine_heap->var_header_future);
coroutine_heap->var_header_future = NULL;
{
PyObject *tmp_called_instance_21;
PyObject *tmp_call_result_25;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto frame_exception_exit_1;
}
tmp_called_instance_21 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 302;
tmp_call_result_25 = CALL_METHOD_NO_ARGS(tmp_called_instance_21, mod_consts[27]);
if (tmp_call_result_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 302;
coroutine_heap->type_description_1 = "ccboooooooobooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_25);
}
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_return_exit_1:;
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
goto try_return_handler_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[1],
coroutine->m_closure[0],
(int)coroutine_heap->var_need_delegate_close,
coroutine_heap->var_header_future,
coroutine_heap->var_header_data,
coroutine_heap->var_start_line_str,
coroutine_heap->var_headers,
coroutine_heap->var_resp_start_line,
coroutine_heap->var_start_line,
coroutine_heap->var_req_start_line,
coroutine_heap->var_header_recv_future,
(int)coroutine_heap->var_skip_body,
coroutine_heap->var_code,
coroutine_heap->var_body_future,
coroutine_heap->var_e
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
coroutine_heap->tmp_return_value = Py_True;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
assert(coroutine_heap->var_need_delegate_close != NUITKA_BOOL_UNASSIGNED);
coroutine_heap->var_need_delegate_close = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(coroutine_heap->var_header_data);
coroutine_heap->var_header_data = NULL;
Py_XDECREF(coroutine_heap->var_start_line_str);
coroutine_heap->var_start_line_str = NULL;
Py_XDECREF(coroutine_heap->var_headers);
coroutine_heap->var_headers = NULL;
Py_XDECREF(coroutine_heap->var_resp_start_line);
coroutine_heap->var_resp_start_line = NULL;
Py_XDECREF(coroutine_heap->var_start_line);
coroutine_heap->var_start_line = NULL;
Py_XDECREF(coroutine_heap->var_req_start_line);
coroutine_heap->var_req_start_line = NULL;
Py_XDECREF(coroutine_heap->var_header_recv_future);
coroutine_heap->var_header_recv_future = NULL;
coroutine_heap->var_skip_body = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(coroutine_heap->var_code);
coroutine_heap->var_code = NULL;
Py_XDECREF(coroutine_heap->var_body_future);
coroutine_heap->var_body_future = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_33 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_33 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_33 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_33 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
assert(coroutine_heap->var_need_delegate_close != NUITKA_BOOL_UNASSIGNED);
coroutine_heap->var_need_delegate_close = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(coroutine_heap->var_header_future);
coroutine_heap->var_header_future = NULL;
Py_XDECREF(coroutine_heap->var_header_data);
coroutine_heap->var_header_data = NULL;
Py_XDECREF(coroutine_heap->var_start_line_str);
coroutine_heap->var_start_line_str = NULL;
Py_XDECREF(coroutine_heap->var_headers);
coroutine_heap->var_headers = NULL;
Py_XDECREF(coroutine_heap->var_resp_start_line);
coroutine_heap->var_resp_start_line = NULL;
Py_XDECREF(coroutine_heap->var_start_line);
coroutine_heap->var_start_line = NULL;
Py_XDECREF(coroutine_heap->var_req_start_line);
coroutine_heap->var_req_start_line = NULL;
Py_XDECREF(coroutine_heap->var_header_recv_future);
coroutine_heap->var_header_recv_future = NULL;
coroutine_heap->var_skip_body = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(coroutine_heap->var_code);
coroutine_heap->var_code = NULL;
Py_XDECREF(coroutine_heap->var_body_future);
coroutine_heap->var_body_future = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_33;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_33;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_33;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_33;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message_context,
module_tornado$http1connection,
mod_consts[36],
mod_consts[95],
codeobj_302ec74309d3669623ff2e7b9f39f0fd,
closure,
2,
sizeof(struct tornado$http1connection$$$function__8__read_message$$$coroutine__1__read_message_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__9__clear_callbacks(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_6855f5a0c1178963bcce1abd280bc97a;
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_6855f5a0c1178963bcce1abd280bc97a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6855f5a0c1178963bcce1abd280bc97a)) {
Py_XDECREF(cache_frame_6855f5a0c1178963bcce1abd280bc97a);
#if _DEBUG_REFCOUNTS
if (cache_frame_6855f5a0c1178963bcce1abd280bc97a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6855f5a0c1178963bcce1abd280bc97a = MAKE_FUNCTION_FRAME(codeobj_6855f5a0c1178963bcce1abd280bc97a, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6855f5a0c1178963bcce1abd280bc97a->m_type_description == NULL);
frame_6855f5a0c1178963bcce1abd280bc97a = cache_frame_6855f5a0c1178963bcce1abd280bc97a;
// Push the new frame as the currently active one.
pushFrameStack(frame_6855f5a0c1178963bcce1abd280bc97a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6855f5a0c1178963bcce1abd280bc97a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[96], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[97], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "o";
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[98], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 313;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
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[15]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
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_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[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_6855f5a0c1178963bcce1abd280bc97a->m_frame.f_lineno = 315;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[90],
PyTuple_GET_ITEM(mod_consts[99], 0)
);
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 = 315;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6855f5a0c1178963bcce1abd280bc97a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6855f5a0c1178963bcce1abd280bc97a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6855f5a0c1178963bcce1abd280bc97a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6855f5a0c1178963bcce1abd280bc97a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6855f5a0c1178963bcce1abd280bc97a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6855f5a0c1178963bcce1abd280bc97a,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_6855f5a0c1178963bcce1abd280bc97a == cache_frame_6855f5a0c1178963bcce1abd280bc97a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6855f5a0c1178963bcce1abd280bc97a);
cache_frame_6855f5a0c1178963bcce1abd280bc97a = NULL;
}
assertFrameObject(frame_6855f5a0c1178963bcce1abd280bc97a);
// 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$http1connection$$$function__10_set_close_callback(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_callback = python_pars[1];
struct Nuitka_FrameObject *frame_c40a1101eab704811c95fdf0b325f864;
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_c40a1101eab704811c95fdf0b325f864 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c40a1101eab704811c95fdf0b325f864)) {
Py_XDECREF(cache_frame_c40a1101eab704811c95fdf0b325f864);
#if _DEBUG_REFCOUNTS
if (cache_frame_c40a1101eab704811c95fdf0b325f864 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c40a1101eab704811c95fdf0b325f864 = MAKE_FUNCTION_FRAME(codeobj_c40a1101eab704811c95fdf0b325f864, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c40a1101eab704811c95fdf0b325f864->m_type_description == NULL);
frame_c40a1101eab704811c95fdf0b325f864 = cache_frame_c40a1101eab704811c95fdf0b325f864;
// Push the new frame as the currently active one.
pushFrameStack(frame_c40a1101eab704811c95fdf0b325f864);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c40a1101eab704811c95fdf0b325f864) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_callback);
tmp_assattr_value_1 = par_callback;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[98], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c40a1101eab704811c95fdf0b325f864);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c40a1101eab704811c95fdf0b325f864);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c40a1101eab704811c95fdf0b325f864, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c40a1101eab704811c95fdf0b325f864->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c40a1101eab704811c95fdf0b325f864, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c40a1101eab704811c95fdf0b325f864,
type_description_1,
par_self,
par_callback
);
// Release cached frame if used for exception.
if (frame_c40a1101eab704811c95fdf0b325f864 == cache_frame_c40a1101eab704811c95fdf0b325f864) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c40a1101eab704811c95fdf0b325f864);
cache_frame_c40a1101eab704811c95fdf0b325f864 = NULL;
}
assertFrameObject(frame_c40a1101eab704811c95fdf0b325f864);
// 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_callback);
Py_DECREF(par_callback);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_callback);
Py_DECREF(par_callback);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$http1connection$$$function__11__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];
PyObject *var_callback = NULL;
struct Nuitka_FrameObject *frame_9dd3988151fce6c4596004d0069b312f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_9dd3988151fce6c4596004d0069b312f = 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_9dd3988151fce6c4596004d0069b312f)) {
Py_XDECREF(cache_frame_9dd3988151fce6c4596004d0069b312f);
#if _DEBUG_REFCOUNTS
if (cache_frame_9dd3988151fce6c4596004d0069b312f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9dd3988151fce6c4596004d0069b312f = MAKE_FUNCTION_FRAME(codeobj_9dd3988151fce6c4596004d0069b312f, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9dd3988151fce6c4596004d0069b312f->m_type_description == NULL);
frame_9dd3988151fce6c4596004d0069b312f = cache_frame_9dd3988151fce6c4596004d0069b312f;
// Push the new frame as the currently active one.
pushFrameStack(frame_9dd3988151fce6c4596004d0069b312f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9dd3988151fce6c4596004d0069b312f) == 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[98]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
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_assign_source_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[98]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_callback == NULL);
var_callback = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[98], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_callback);
tmp_called_value_1 = var_callback;
frame_9dd3988151fce6c4596004d0069b312f->m_frame.f_lineno = 338;
tmp_call_result_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[25]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 339;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_9dd3988151fce6c4596004d0069b312f->m_frame.f_lineno = 339;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[88]);
Py_DECREF(tmp_called_instance_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 339;
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 = 339;
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_called_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[25]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Py_None;
frame_9dd3988151fce6c4596004d0069b312f->m_frame.f_lineno = 340;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_9dd3988151fce6c4596004d0069b312f->m_frame.f_lineno = 341;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[27]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9dd3988151fce6c4596004d0069b312f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9dd3988151fce6c4596004d0069b312f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9dd3988151fce6c4596004d0069b312f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9dd3988151fce6c4596004d0069b312f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9dd3988151fce6c4596004d0069b312f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9dd3988151fce6c4596004d0069b312f,
type_description_1,
par_self,
var_callback
);
// Release cached frame if used for exception.
if (frame_9dd3988151fce6c4596004d0069b312f == cache_frame_9dd3988151fce6c4596004d0069b312f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9dd3988151fce6c4596004d0069b312f);
cache_frame_9dd3988151fce6c4596004d0069b312f = NULL;
}
assertFrameObject(frame_9dd3988151fce6c4596004d0069b312f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_callback);
var_callback = 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_callback);
var_callback = 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$http1connection$$$function__12_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_faac5880f9c2dad0d0abd75049f2eaa1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_faac5880f9c2dad0d0abd75049f2eaa1 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_faac5880f9c2dad0d0abd75049f2eaa1)) {
Py_XDECREF(cache_frame_faac5880f9c2dad0d0abd75049f2eaa1);
#if _DEBUG_REFCOUNTS
if (cache_frame_faac5880f9c2dad0d0abd75049f2eaa1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_faac5880f9c2dad0d0abd75049f2eaa1 = MAKE_FUNCTION_FRAME(codeobj_faac5880f9c2dad0d0abd75049f2eaa1, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_faac5880f9c2dad0d0abd75049f2eaa1->m_type_description == NULL);
frame_faac5880f9c2dad0d0abd75049f2eaa1 = cache_frame_faac5880f9c2dad0d0abd75049f2eaa1;
// Push the new frame as the currently active one.
pushFrameStack(frame_faac5880f9c2dad0d0abd75049f2eaa1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_faac5880f9c2dad0d0abd75049f2eaa1) == 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[15]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
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_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[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_faac5880f9c2dad0d0abd75049f2eaa1->m_frame.f_lineno = 345;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
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 = 345;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_faac5880f9c2dad0d0abd75049f2eaa1->m_frame.f_lineno = 346;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[27]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[25]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_faac5880f9c2dad0d0abd75049f2eaa1->m_frame.f_lineno = 347;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[88]);
Py_DECREF(tmp_called_instance_3);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "o";
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 = 347;
type_description_1 = "o";
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_called_value_1;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[25]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Py_None;
frame_faac5880f9c2dad0d0abd75049f2eaa1->m_frame.f_lineno = 348;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_faac5880f9c2dad0d0abd75049f2eaa1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_faac5880f9c2dad0d0abd75049f2eaa1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_faac5880f9c2dad0d0abd75049f2eaa1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_faac5880f9c2dad0d0abd75049f2eaa1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_faac5880f9c2dad0d0abd75049f2eaa1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_faac5880f9c2dad0d0abd75049f2eaa1,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_faac5880f9c2dad0d0abd75049f2eaa1 == cache_frame_faac5880f9c2dad0d0abd75049f2eaa1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_faac5880f9c2dad0d0abd75049f2eaa1);
cache_frame_faac5880f9c2dad0d0abd75049f2eaa1 = NULL;
}
assertFrameObject(frame_faac5880f9c2dad0d0abd75049f2eaa1);
// 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$http1connection$$$function__13_detach(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_stream = NULL;
struct Nuitka_FrameObject *frame_f8633ae99a9fc3a629dc5f9e19cc8b81;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81 = 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_f8633ae99a9fc3a629dc5f9e19cc8b81)) {
Py_XDECREF(cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
#if _DEBUG_REFCOUNTS
if (cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81 = MAKE_FUNCTION_FRAME(codeobj_f8633ae99a9fc3a629dc5f9e19cc8b81, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81->m_type_description == NULL);
frame_f8633ae99a9fc3a629dc5f9e19cc8b81 = cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81;
// Push the new frame as the currently active one.
pushFrameStack(frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f8633ae99a9fc3a629dc5f9e19cc8b81) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_f8633ae99a9fc3a629dc5f9e19cc8b81->m_frame.f_lineno = 358;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[27]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[15]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_stream == NULL);
var_stream = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[15], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[25]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_f8633ae99a9fc3a629dc5f9e19cc8b81->m_frame.f_lineno = 361;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[88]);
Py_DECREF(tmp_called_instance_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
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 = 361;
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:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[25]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Py_None;
frame_f8633ae99a9fc3a629dc5f9e19cc8b81->m_frame.f_lineno = 362;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f8633ae99a9fc3a629dc5f9e19cc8b81, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f8633ae99a9fc3a629dc5f9e19cc8b81->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f8633ae99a9fc3a629dc5f9e19cc8b81, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f8633ae99a9fc3a629dc5f9e19cc8b81,
type_description_1,
par_self,
var_stream
);
// Release cached frame if used for exception.
if (frame_f8633ae99a9fc3a629dc5f9e19cc8b81 == cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
cache_frame_f8633ae99a9fc3a629dc5f9e19cc8b81 = NULL;
}
assertFrameObject(frame_f8633ae99a9fc3a629dc5f9e19cc8b81);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_stream);
tmp_return_value = var_stream;
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_stream);
Py_DECREF(var_stream);
var_stream = 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_stream);
var_stream = 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$http1connection$$$function__14_set_body_timeout(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_timeout = python_pars[1];
struct Nuitka_FrameObject *frame_a624c36f1ce27077ff98613b3727881b;
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_a624c36f1ce27077ff98613b3727881b = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a624c36f1ce27077ff98613b3727881b)) {
Py_XDECREF(cache_frame_a624c36f1ce27077ff98613b3727881b);
#if _DEBUG_REFCOUNTS
if (cache_frame_a624c36f1ce27077ff98613b3727881b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a624c36f1ce27077ff98613b3727881b = MAKE_FUNCTION_FRAME(codeobj_a624c36f1ce27077ff98613b3727881b, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a624c36f1ce27077ff98613b3727881b->m_type_description == NULL);
frame_a624c36f1ce27077ff98613b3727881b = cache_frame_a624c36f1ce27077ff98613b3727881b;
// Push the new frame as the currently active one.
pushFrameStack(frame_a624c36f1ce27077ff98613b3727881b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a624c36f1ce27077ff98613b3727881b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_timeout);
tmp_assattr_value_1 = par_timeout;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[21], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a624c36f1ce27077ff98613b3727881b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a624c36f1ce27077ff98613b3727881b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a624c36f1ce27077ff98613b3727881b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a624c36f1ce27077ff98613b3727881b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a624c36f1ce27077ff98613b3727881b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a624c36f1ce27077ff98613b3727881b,
type_description_1,
par_self,
par_timeout
);
// Release cached frame if used for exception.
if (frame_a624c36f1ce27077ff98613b3727881b == cache_frame_a624c36f1ce27077ff98613b3727881b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a624c36f1ce27077ff98613b3727881b);
cache_frame_a624c36f1ce27077ff98613b3727881b = NULL;
}
assertFrameObject(frame_a624c36f1ce27077ff98613b3727881b);
// 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_timeout);
Py_DECREF(par_timeout);
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_timeout);
Py_DECREF(par_timeout);
// 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$http1connection$$$function__15_set_max_body_size(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_max_body_size = python_pars[1];
struct Nuitka_FrameObject *frame_cf5c48565ec369f4de5e1c47836c65f9;
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_cf5c48565ec369f4de5e1c47836c65f9 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cf5c48565ec369f4de5e1c47836c65f9)) {
Py_XDECREF(cache_frame_cf5c48565ec369f4de5e1c47836c65f9);
#if _DEBUG_REFCOUNTS
if (cache_frame_cf5c48565ec369f4de5e1c47836c65f9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cf5c48565ec369f4de5e1c47836c65f9 = MAKE_FUNCTION_FRAME(codeobj_cf5c48565ec369f4de5e1c47836c65f9, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cf5c48565ec369f4de5e1c47836c65f9->m_type_description == NULL);
frame_cf5c48565ec369f4de5e1c47836c65f9 = cache_frame_cf5c48565ec369f4de5e1c47836c65f9;
// Push the new frame as the currently active one.
pushFrameStack(frame_cf5c48565ec369f4de5e1c47836c65f9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cf5c48565ec369f4de5e1c47836c65f9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_max_body_size);
tmp_assattr_value_1 = par_max_body_size;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[20], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cf5c48565ec369f4de5e1c47836c65f9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cf5c48565ec369f4de5e1c47836c65f9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cf5c48565ec369f4de5e1c47836c65f9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cf5c48565ec369f4de5e1c47836c65f9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cf5c48565ec369f4de5e1c47836c65f9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cf5c48565ec369f4de5e1c47836c65f9,
type_description_1,
par_self,
par_max_body_size
);
// Release cached frame if used for exception.
if (frame_cf5c48565ec369f4de5e1c47836c65f9 == cache_frame_cf5c48565ec369f4de5e1c47836c65f9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cf5c48565ec369f4de5e1c47836c65f9);
cache_frame_cf5c48565ec369f4de5e1c47836c65f9 = NULL;
}
assertFrameObject(frame_cf5c48565ec369f4de5e1c47836c65f9);
// 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_max_body_size);
Py_DECREF(par_max_body_size);
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_max_body_size);
Py_DECREF(par_max_body_size);
// 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$http1connection$$$function__16_write_headers(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 *par_chunk = python_pars[3];
PyObject *var_lines = NULL;
PyObject *var_header_lines = NULL;
PyObject *var_line = NULL;
PyObject *var_future = NULL;
PyObject *var_data = NULL;
PyObject *tmp_assign_unpack_1__assign_source = NULL;
PyObject *tmp_assign_unpack_2__assign_source = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_genexpr_2__$0 = NULL;
struct Nuitka_FrameObject *frame_129484869a36dce86cb23685176ed4df;
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 *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_129484869a36dce86cb23685176ed4df = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_lines == NULL);
var_lines = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_129484869a36dce86cb23685176ed4df)) {
Py_XDECREF(cache_frame_129484869a36dce86cb23685176ed4df);
#if _DEBUG_REFCOUNTS
if (cache_frame_129484869a36dce86cb23685176ed4df == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_129484869a36dce86cb23685176ed4df = MAKE_FUNCTION_FRAME(codeobj_129484869a36dce86cb23685176ed4df, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_129484869a36dce86cb23685176ed4df->m_type_description == NULL);
frame_129484869a36dce86cb23685176ed4df = cache_frame_129484869a36dce86cb23685176ed4df;
// Push the new frame as the currently active one.
pushFrameStack(frame_129484869a36dce86cb23685176ed4df);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_129484869a36dce86cb23685176ed4df) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooo";
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 = 387;
type_description_1 = "ooooooooo";
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_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_start_line);
tmp_isinstance_inst_1 = par_start_line;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[106]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooooooo";
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 = 388;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 388;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_start_line);
tmp_assattr_value_1 = par_start_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[28], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_lines);
tmp_expression_value_3 = var_lines;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[107]);
assert(!(tmp_called_value_1 == NULL));
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
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 = 390;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[109];
CHECK_OBJECT(par_start_line);
tmp_expression_value_4 = par_start_line;
tmp_subscript_value_1 = mod_consts[83];
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 390;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_start_line);
tmp_expression_value_5 = par_start_line;
tmp_subscript_value_2 = mod_consts[110];
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_2, 1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_called_value_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_args_element_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 390;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 390;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 390;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 390;
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 = 390;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_2;
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_6;
int tmp_and_left_truth_2;
PyObject *tmp_and_left_value_2;
PyObject *tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_3;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_start_line);
tmp_expression_value_6 = par_start_line;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[66]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[111];
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 = 394;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 1) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_cmp_expr_left_2 = mod_consts[72];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_2 = par_headers;
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 = 395;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2);
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
tmp_cmp_expr_left_3 = mod_consts[73];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_3 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 0) ? Py_True : Py_False;
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_headers);
tmp_expression_value_7 = par_headers;
tmp_subscript_value_3 = mod_consts[73];
tmp_cmp_expr_left_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_3);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_4 = mod_consts[112];
tmp_or_right_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_and_right_value_2 = tmp_or_left_value_1;
or_end_1:;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
Py_INCREF(tmp_and_left_value_2);
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_assattr_value_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
Py_INCREF(tmp_and_left_value_1);
tmp_assattr_value_2 = tmp_and_left_value_1;
and_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[31], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_start_line);
tmp_isinstance_inst_2 = par_start_line;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[65]);
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "ooooooooo";
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 = 402;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
tmp_raise_type_2 = PyExc_AssertionError;
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_lineno = 402;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[28]);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_3;
tmp_raise_type_3 = PyExc_AssertionError;
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_lineno = 403;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_cmp_expr_left_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[30]);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_6 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
Py_DECREF(tmp_cmp_expr_left_6);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_4;
tmp_raise_type_4 = PyExc_AssertionError;
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_lineno = 404;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
branch_no_5:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_start_line);
tmp_assattr_value_3 = par_start_line;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[29], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_4;
CHECK_OBJECT(var_lines);
tmp_expression_value_11 = var_lines;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[107]);
assert(!(tmp_called_value_3 == NULL));
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_2 = mod_consts[113];
CHECK_OBJECT(par_start_line);
tmp_expression_value_12 = par_start_line;
tmp_subscript_value_4 = mod_consts[110];
tmp_tuple_element_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_12, tmp_subscript_value_4, 1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_13;
PyObject *tmp_subscript_value_5;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_start_line);
tmp_expression_value_13 = par_start_line;
tmp_subscript_value_5 = mod_consts[114];
tmp_tuple_element_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_13, tmp_subscript_value_5, 2);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_mod_expr_right_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_args_element_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 406;
tmp_args_element_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 406;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assattr_value_4;
int tmp_and_left_truth_3;
PyObject *tmp_and_left_value_3;
PyObject *tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
int tmp_and_left_truth_4;
PyObject *tmp_and_left_value_4;
PyObject *tmp_and_right_value_4;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
int tmp_and_left_truth_5;
PyObject *tmp_and_left_value_5;
PyObject *tmp_and_right_value_5;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_expression_value_18;
int tmp_and_left_truth_6;
PyObject *tmp_and_left_value_6;
PyObject *tmp_and_right_value_6;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
PyObject *tmp_expression_value_19;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
PyObject *tmp_expression_value_20;
int tmp_and_left_truth_7;
PyObject *tmp_and_left_value_7;
PyObject *tmp_and_right_value_7;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[28]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[115]);
Py_DECREF(tmp_expression_value_14);
if (tmp_cmp_expr_left_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_7 = mod_consts[116];
tmp_and_left_value_3 = RICH_COMPARE_EQ_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_left_7);
if (tmp_and_left_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_3 = CHECK_IF_TRUE(tmp_and_left_value_3);
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_3);
exception_lineno = 411;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
Py_DECREF(tmp_and_left_value_3);
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_expression_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[28]);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[66]);
Py_DECREF(tmp_expression_value_16);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_8 = mod_consts[67];
tmp_and_left_value_4 = RICH_COMPARE_NE_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
Py_DECREF(tmp_cmp_expr_left_8);
if (tmp_and_left_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_4 = CHECK_IF_TRUE(tmp_and_left_value_4);
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_4);
exception_lineno = 413;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
Py_DECREF(tmp_and_left_value_4);
CHECK_OBJECT(par_start_line);
tmp_expression_value_18 = par_start_line;
tmp_cmp_expr_left_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[68]);
if (tmp_cmp_expr_left_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_9 = mod_consts[117];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_9, tmp_cmp_expr_left_9);
Py_DECREF(tmp_cmp_expr_left_9);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_5 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_left_truth_5 = CHECK_IF_TRUE(tmp_and_left_value_5);
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
CHECK_OBJECT(par_start_line);
tmp_expression_value_19 = par_start_line;
tmp_cmp_expr_left_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[68]);
if (tmp_cmp_expr_left_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_10 = mod_consts[70];
tmp_or_left_value_2 = RICH_COMPARE_LT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
Py_DECREF(tmp_cmp_expr_left_10);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
CHECK_OBJECT(par_start_line);
tmp_expression_value_20 = par_start_line;
tmp_cmp_expr_left_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[68]);
if (tmp_cmp_expr_left_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_11 = mod_consts[71];
tmp_or_right_value_2 = RICH_COMPARE_GE_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
Py_DECREF(tmp_cmp_expr_left_11);
if (tmp_or_right_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_6 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_and_left_value_6 = tmp_or_left_value_2;
or_end_2:;
tmp_and_left_truth_6 = CHECK_IF_TRUE(tmp_and_left_value_6);
if (tmp_and_left_truth_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_6);
exception_lineno = 418;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
Py_DECREF(tmp_and_left_value_6);
tmp_cmp_expr_left_12 = mod_consts[72];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_12 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_12, tmp_cmp_expr_left_12);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_7 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_left_truth_7 = CHECK_IF_TRUE(tmp_and_left_value_7);
if (tmp_and_left_truth_7 == 1) {
goto and_right_7;
} else {
goto and_left_7;
}
and_right_7:;
tmp_cmp_expr_left_13 = mod_consts[73];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_13 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_13, tmp_cmp_expr_left_13);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_7 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_right_value_6 = tmp_and_right_value_7;
goto and_end_7;
and_left_7:;
tmp_and_right_value_6 = tmp_and_left_value_7;
and_end_7:;
Py_INCREF(tmp_and_right_value_6);
tmp_and_right_value_5 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
tmp_and_right_value_5 = tmp_and_left_value_6;
and_end_6:;
tmp_and_right_value_4 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
Py_INCREF(tmp_and_left_value_5);
tmp_and_right_value_4 = tmp_and_left_value_5;
and_end_5:;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_assattr_value_4 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_assattr_value_4 = tmp_and_left_value_3;
and_end_3:;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[31], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_6;
int tmp_and_left_truth_8;
nuitka_bool tmp_and_left_value_8;
nuitka_bool tmp_and_right_value_8;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
PyObject *tmp_expression_value_21;
PyObject *tmp_expression_value_22;
PyObject *tmp_expression_value_23;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_22 = par_self;
tmp_expression_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[28]);
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[115]);
Py_DECREF(tmp_expression_value_21);
if (tmp_cmp_expr_left_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_14 = mod_consts[116];
tmp_and_left_value_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_14, tmp_cmp_expr_right_14);
Py_DECREF(tmp_cmp_expr_left_14);
if (tmp_and_left_value_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_8 = tmp_and_left_value_8 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_8 == 1) {
goto and_right_8;
} else {
goto and_left_8;
}
and_right_8:;
CHECK_OBJECT(par_self);
tmp_expression_value_23 = par_self;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[26]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 428;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
tmp_condition_result_6 = tmp_and_right_value_8;
goto and_end_8;
and_left_8:;
tmp_condition_result_6 = tmp_and_left_value_8;
and_end_8:;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_ass_subvalue_1 = mod_consts[50];
CHECK_OBJECT(par_headers);
tmp_ass_subscribed_1 = par_headers;
tmp_ass_subscript_1 = mod_consts[118];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_7;
int tmp_and_left_truth_9;
nuitka_bool tmp_and_left_value_9;
nuitka_bool tmp_and_right_value_9;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
PyObject *tmp_expression_value_24;
PyObject *tmp_expression_value_25;
PyObject *tmp_cmp_expr_left_16;
PyObject *tmp_cmp_expr_right_16;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_26;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_27;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(par_self);
tmp_expression_value_25 = par_self;
tmp_expression_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[28]);
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[115]);
Py_DECREF(tmp_expression_value_24);
if (tmp_cmp_expr_left_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_15 = mod_consts[119];
tmp_and_left_value_9 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_15, tmp_cmp_expr_right_15);
Py_DECREF(tmp_cmp_expr_left_15);
if (tmp_and_left_value_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_9 = tmp_and_left_value_9 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_9 == 1) {
goto and_right_9;
} else {
goto and_left_9;
}
and_right_9:;
CHECK_OBJECT(par_self);
tmp_expression_value_28 = par_self;
tmp_expression_value_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[30]);
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[76]);
Py_DECREF(tmp_expression_value_27);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 434;
tmp_expression_value_26 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_6, mod_consts[120]);
Py_DECREF(tmp_called_value_6);
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[121]);
Py_DECREF(tmp_expression_value_26);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 434;
tmp_cmp_expr_left_16 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_cmp_expr_left_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_16 = mod_consts[122];
tmp_and_right_value_9 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_16, tmp_cmp_expr_right_16);
Py_DECREF(tmp_cmp_expr_left_16);
if (tmp_and_right_value_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = tmp_and_right_value_9;
goto and_end_9;
and_left_9:;
tmp_condition_result_7 = tmp_and_left_value_9;
and_end_9:;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_ass_subscript_2;
tmp_ass_subvalue_2 = mod_consts[123];
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 436;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_2 = par_headers;
tmp_ass_subscript_2 = mod_consts[118];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 436;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_7:;
branch_end_1:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_expression_value_29;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_3;
CHECK_OBJECT(par_self);
tmp_expression_value_29 = par_self;
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[31]);
if (tmp_attribute_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_attribute_value_3);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_3);
exception_lineno = 437;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_3);
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_ass_subvalue_3;
PyObject *tmp_ass_subscribed_3;
PyObject *tmp_ass_subscript_3;
tmp_ass_subvalue_3 = mod_consts[112];
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 438;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_3 = par_headers;
tmp_ass_subscript_3 = mod_consts[73];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_8:;
{
nuitka_bool tmp_condition_result_9;
int tmp_and_left_truth_10;
nuitka_bool tmp_and_left_value_10;
nuitka_bool tmp_and_right_value_10;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_30;
int tmp_or_left_truth_3;
nuitka_bool tmp_or_left_value_3;
nuitka_bool tmp_or_right_value_3;
PyObject *tmp_cmp_expr_left_17;
PyObject *tmp_cmp_expr_right_17;
PyObject *tmp_expression_value_31;
PyObject *tmp_expression_value_32;
PyObject *tmp_cmp_expr_left_18;
PyObject *tmp_cmp_expr_right_18;
PyObject *tmp_expression_value_33;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_34;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_30 = par_self;
tmp_operand_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[14]);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_10 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_10 = tmp_and_left_value_10 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_10 == 1) {
goto and_right_10;
} else {
goto and_left_10;
}
and_right_10:;
CHECK_OBJECT(par_self);
tmp_expression_value_32 = par_self;
tmp_expression_value_31 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[28]);
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[66]);
Py_DECREF(tmp_expression_value_31);
if (tmp_cmp_expr_left_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_17 = mod_consts[67];
tmp_or_left_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_17, tmp_cmp_expr_right_17);
Py_DECREF(tmp_cmp_expr_left_17);
if (tmp_or_left_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_3 = tmp_or_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_3 == 1) {
goto or_left_3;
} else {
goto or_right_3;
}
or_right_3:;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[124]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[124]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[65]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (par_start_line == NULL) {
Py_DECREF(tmp_args_element_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[125]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = par_start_line;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 441;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_expression_value_33 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_args_element_value_5);
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[68]);
Py_DECREF(tmp_expression_value_33);
if (tmp_cmp_expr_left_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_18 = mod_consts[69];
tmp_or_right_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_18, tmp_cmp_expr_right_18);
Py_DECREF(tmp_cmp_expr_left_18);
if (tmp_or_right_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_10 = tmp_or_right_value_3;
goto or_end_3;
or_left_3:;
tmp_and_right_value_10 = tmp_or_left_value_3;
or_end_3:;
tmp_condition_result_9 = tmp_and_right_value_10;
goto and_end_10;
and_left_10:;
tmp_condition_result_9 = tmp_and_left_value_10;
and_end_10:;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = mod_consts[83];
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[32], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_9;
branch_no_9:;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_19;
PyObject *tmp_cmp_expr_right_19;
tmp_cmp_expr_left_19 = mod_consts[72];
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 444;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_19 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_19, tmp_cmp_expr_left_19);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_6;
PyObject *tmp_assattr_target_6;
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 445;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_35 = par_headers;
tmp_subscript_value_6 = mod_consts[72];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_35, tmp_subscript_value_6);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_6 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[32], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[32], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
branch_end_10:;
branch_end_9:;
{
PyObject *tmp_assign_source_2;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 452;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_headers;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 452;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[126]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_3;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_assign_source_2 = MAKE_GENERATOR_tornado$http1connection$$$function__16_write_headers$$$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:;
assert(var_header_lines == NULL);
var_header_lines = tmp_assign_source_2;
}
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_36;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_7;
if (var_lines == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[127]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 454;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_36 = var_lines;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[128]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(var_header_lines);
tmp_iter_arg_2 = var_header_lines;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_2__$0 == NULL);
tmp_genexpr_2__$0 = tmp_assign_source_4;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_closure_2[0] = Nuitka_Cell_New0(tmp_genexpr_2__$0);
tmp_args_element_value_7 = MAKE_GENERATOR_tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr(tmp_closure_2);
goto try_return_handler_3;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_genexpr_2__$0);
Py_DECREF(tmp_genexpr_2__$0);
tmp_genexpr_2__$0 = NULL;
goto outline_result_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_2:;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 454;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_3;
if (var_lines == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[127]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 455;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_3 = var_lines;
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_1 = "ooooooooo";
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 = "ooooooooo";
exception_lineno = 455;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_line;
var_line = tmp_assign_source_7;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_20;
PyObject *tmp_cmp_expr_right_20;
tmp_cmp_expr_left_20 = mod_consts[129];
CHECK_OBJECT(var_line);
tmp_cmp_expr_right_20 = var_line;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_20, tmp_cmp_expr_left_20);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 456;
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_11 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_operand_value_4;
tmp_add_expr_left_1 = mod_consts[130];
CHECK_OBJECT(var_line);
tmp_operand_value_4 = var_line;
tmp_add_expr_right_1 = UNARY_OPERATION(PyObject_Repr, tmp_operand_value_4);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
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 = 457;
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 457;
tmp_raise_type_5 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_5 == NULL));
exception_type = tmp_raise_type_5;
exception_lineno = 457;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
branch_no_11:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
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;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_37;
PyObject *tmp_call_result_4;
int tmp_truth_name_4;
CHECK_OBJECT(par_self);
tmp_expression_value_37 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[15]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 459;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[89]);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_call_result_4);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_4);
exception_lineno = 459;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_12 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_4);
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_9;
tmp_called_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_9 == NULL)) {
tmp_called_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 460;
tmp_assign_source_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_9);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
}
assert(tmp_assign_unpack_1__assign_source == NULL);
tmp_assign_unpack_1__assign_source = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_assign_unpack_1__assign_source);
tmp_assign_source_9 = tmp_assign_unpack_1__assign_source;
assert(var_future == NULL);
Py_INCREF(tmp_assign_source_9);
var_future = tmp_assign_source_9;
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
CHECK_OBJECT(tmp_assign_unpack_1__assign_source);
tmp_assattr_value_8 = tmp_assign_unpack_1__assign_source;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[97], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_assign_unpack_1__assign_source);
tmp_assign_unpack_1__assign_source = 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_assign_unpack_1__assign_source);
Py_DECREF(tmp_assign_unpack_1__assign_source);
tmp_assign_unpack_1__assign_source = NULL;
{
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_38;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_8;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_future);
tmp_expression_value_38 = var_future;
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[131]);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 461;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 461;
tmp_args_element_value_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[47]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 461;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 461;
tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_10);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_6;
CHECK_OBJECT(var_future);
tmp_called_instance_4 = var_future;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 462;
tmp_call_result_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[132]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
goto branch_end_12;
branch_no_12:;
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_11;
tmp_called_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_11 == NULL)) {
tmp_called_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "ooooooooo";
goto try_except_handler_6;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 464;
tmp_assign_source_10 = CALL_FUNCTION_NO_ARGS(tmp_called_value_11);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "ooooooooo";
goto try_except_handler_6;
}
assert(tmp_assign_unpack_2__assign_source == NULL);
tmp_assign_unpack_2__assign_source = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assign_source_11 = tmp_assign_unpack_2__assign_source;
assert(var_future == NULL);
Py_INCREF(tmp_assign_source_11);
var_future = tmp_assign_source_11;
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assattr_value_9 = tmp_assign_unpack_2__assign_source;
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[97], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "ooooooooo";
goto try_except_handler_6;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = 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_assign_unpack_2__assign_source);
Py_DECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = NULL;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_39;
PyObject *tmp_args_element_value_9;
tmp_expression_value_39 = mod_consts[133];
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[134]);
assert(!(tmp_called_value_12 == NULL));
if (var_lines == NULL) {
Py_DECREF(tmp_called_value_12);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[127]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 465;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_9 = var_lines;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 465;
tmp_add_expr_left_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_12);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_2 = mod_consts[135];
tmp_assign_source_12 = BINARY_OPERATION_ADD_OBJECT_OBJECT_BYTES(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_data == NULL);
var_data = tmp_assign_source_12;
}
{
nuitka_bool tmp_condition_result_13;
int tmp_truth_name_5;
CHECK_OBJECT(par_chunk);
tmp_truth_name_5 = CHECK_IF_TRUE(par_chunk);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_13 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_called_instance_5;
PyObject *tmp_args_element_value_10;
CHECK_OBJECT(var_data);
tmp_iadd_expr_left_1 = var_data;
CHECK_OBJECT(par_self);
tmp_called_instance_5 = par_self;
CHECK_OBJECT(par_chunk);
tmp_args_element_value_10 = par_chunk;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 467;
tmp_iadd_expr_right_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[136], tmp_args_element_value_10);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_13 = tmp_iadd_expr_left_1;
var_data = tmp_assign_source_13;
}
branch_no_13:;
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_called_instance_6;
PyObject *tmp_expression_value_40;
PyObject *tmp_args_element_value_11;
PyObject *tmp_assattr_target_10;
CHECK_OBJECT(par_self);
tmp_expression_value_40 = par_self;
tmp_called_instance_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_40, mod_consts[15]);
if (tmp_called_instance_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_data);
tmp_args_element_value_11 = var_data;
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 468;
tmp_assattr_value_10 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_6, mod_consts[79], tmp_args_element_value_11);
Py_DECREF(tmp_called_instance_6);
if (tmp_assattr_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[33], tmp_assattr_value_10);
Py_DECREF(tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_13;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_12;
PyObject *tmp_expression_value_41;
PyObject *tmp_args_element_value_13;
PyObject *tmp_expression_value_42;
tmp_called_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[137]);
if (unlikely(tmp_called_value_13 == NULL)) {
tmp_called_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[137]);
}
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_41 = par_self;
tmp_args_element_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_41, mod_consts[33]);
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_42 = par_self;
tmp_args_element_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_42, mod_consts[138]);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_12);
exception_lineno = 469;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_129484869a36dce86cb23685176ed4df->m_frame.f_lineno = 469;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13};
tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_13, call_args);
}
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
branch_end_12:;
if (var_future == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[139]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 470;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_129484869a36dce86cb23685176ed4df);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_129484869a36dce86cb23685176ed4df);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_129484869a36dce86cb23685176ed4df);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_129484869a36dce86cb23685176ed4df, exception_lineno);
} else if (exception_tb->tb_frame != &frame_129484869a36dce86cb23685176ed4df->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_129484869a36dce86cb23685176ed4df, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_129484869a36dce86cb23685176ed4df,
type_description_1,
par_self,
par_start_line,
par_headers,
par_chunk,
var_lines,
var_header_lines,
var_line,
var_future,
var_data
);
// Release cached frame if used for exception.
if (frame_129484869a36dce86cb23685176ed4df == cache_frame_129484869a36dce86cb23685176ed4df) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_129484869a36dce86cb23685176ed4df);
cache_frame_129484869a36dce86cb23685176ed4df = NULL;
}
assertFrameObject(frame_129484869a36dce86cb23685176ed4df);
// 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_lines);
var_lines = NULL;
CHECK_OBJECT(var_header_lines);
Py_DECREF(var_header_lines);
var_header_lines = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_future);
var_future = NULL;
Py_XDECREF(var_data);
var_data = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_lines);
var_lines = NULL;
Py_XDECREF(var_header_lines);
var_header_lines = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_future);
var_future = NULL;
Py_XDECREF(var_data);
var_data = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_start_line);
Py_DECREF(par_start_line);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
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_start_line);
Py_DECREF(par_start_line);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
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;
}
struct tornado$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr_locals {
PyObject *var_n;
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$http1connection$$$function__16_write_headers$$$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$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$http1connection$$$function__16_write_headers$$$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_n = 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_c7f1db6b7f0d82bafb080bf5afd0471c, module_tornado$http1connection, 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 = 451;
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 = 451;
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 = 451;
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 = 451;
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 = 451;
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[52];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 451;
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_n;
generator_heap->var_n = tmp_assign_source_5;
Py_INCREF(generator_heap->var_n);
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_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[141]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[141]);
}
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 = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_n);
tmp_args_element_value_1 = generator_heap->var_n;
generator->m_frame->m_frame.f_lineno = 452;
tmp_add_expr_left_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_add_expr_right_2 = mod_consts[142];
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[141]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[141]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_add_expr_left_1);
generator_heap->exception_lineno = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_v);
tmp_args_element_value_2 = generator_heap->var_v;
generator->m_frame->m_frame.f_lineno = 452;
tmp_add_expr_right_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_add_expr_left_1);
generator_heap->exception_lineno = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_expression_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_expression_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 = 452;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_args_element_value_2, 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 = 452;
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 = 451;
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_n,
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_n);
generator_heap->var_n = 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_n);
generator_heap->var_n = 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$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr_context,
module_tornado$http1connection,
mod_consts[143],
#if PYTHON_VERSION >= 0x350
mod_consts[144],
#endif
codeobj_c7f1db6b7f0d82bafb080bf5afd0471c,
closure,
1,
sizeof(struct tornado$http1connection$$$function__16_write_headers$$$genexpr__1_genexpr_locals)
);
}
struct tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_locals {
PyObject *var_line;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_locals *generator_heap = (struct tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_line = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_a43475406134a938ab2064afd712f915, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "No";
generator_heap->exception_lineno = 454;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_line;
generator_heap->var_line = tmp_assign_source_2;
Py_INCREF(generator_heap->var_line);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_line);
tmp_expression_value_2 = generator_heap->var_line;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[145]);
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 = 454;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 454;
tmp_expression_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[146]);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_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 = 454;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, 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 = 454;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 454;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_line
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_line);
generator_heap->var_line = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_line);
generator_heap->var_line = 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$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_context,
module_tornado$http1connection,
mod_consts[143],
#if PYTHON_VERSION >= 0x350
mod_consts[144],
#endif
codeobj_a43475406134a938ab2064afd712f915,
closure,
1,
sizeof(struct tornado$http1connection$$$function__16_write_headers$$$genexpr__2_genexpr_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__17__format_chunk(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];
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_21dad90fb6b8fbb3a5473fc9b95af58c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c)) {
Py_XDECREF(cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c);
#if _DEBUG_REFCOUNTS
if (cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c = MAKE_FUNCTION_FRAME(codeobj_21dad90fb6b8fbb3a5473fc9b95af58c, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c->m_type_description == NULL);
frame_21dad90fb6b8fbb3a5473fc9b95af58c = cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c;
// Push the new frame as the currently active one.
pushFrameStack(frame_21dad90fb6b8fbb3a5473fc9b95af58c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_21dad90fb6b8fbb3a5473fc9b95af58c) == 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[32]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 473;
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_assign_source_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[32]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_isub_expr_left_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_chunk);
tmp_len_arg_1 = par_chunk;
tmp_isub_expr_right_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_isub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oo";
goto try_except_handler_1;
}
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
Py_DECREF(tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oo";
goto try_except_handler_1;
}
tmp_assign_source_2 = tmp_isub_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[32], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oo";
goto try_except_handler_1;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[32]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[83];
tmp_condition_result_2 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_21dad90fb6b8fbb3a5473fc9b95af58c->m_frame.f_lineno = 477;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
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 = 477;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_2 == 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;
}
frame_21dad90fb6b8fbb3a5473fc9b95af58c->m_frame.f_lineno = 478;
tmp_raise_type_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[147],
PyTuple_GET_ITEM(mod_consts[148], 0)
);
if (tmp_raise_type_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;
}
exception_type = tmp_raise_type_1;
exception_lineno = 478;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_2:;
branch_no_1:;
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[31]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 481;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (par_chunk == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[149]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 481;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(par_chunk);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_add_expr_left_3;
PyObject *tmp_add_expr_right_3;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_len_arg_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[150];
if (par_chunk == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[149]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_len_arg_2 = par_chunk;
tmp_mod_expr_right_1 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_LONG(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_21dad90fb6b8fbb3a5473fc9b95af58c->m_frame.f_lineno = 484;
tmp_add_expr_left_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_add_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_3 = mod_consts[133];
tmp_add_expr_left_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_BYTES(tmp_add_expr_left_3, tmp_add_expr_right_3);
Py_DECREF(tmp_add_expr_left_3);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (par_chunk == NULL) {
Py_DECREF(tmp_add_expr_left_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[149]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_2 = par_chunk;
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = mod_consts[133];
tmp_return_value = BINARY_OPERATION_ADD_OBJECT_OBJECT_BYTES(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
if (par_chunk == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[149]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 486;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = par_chunk;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_21dad90fb6b8fbb3a5473fc9b95af58c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_21dad90fb6b8fbb3a5473fc9b95af58c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_21dad90fb6b8fbb3a5473fc9b95af58c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_21dad90fb6b8fbb3a5473fc9b95af58c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_21dad90fb6b8fbb3a5473fc9b95af58c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_21dad90fb6b8fbb3a5473fc9b95af58c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_21dad90fb6b8fbb3a5473fc9b95af58c,
type_description_1,
par_self,
par_chunk
);
// Release cached frame if used for exception.
if (frame_21dad90fb6b8fbb3a5473fc9b95af58c == cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c);
cache_frame_21dad90fb6b8fbb3a5473fc9b95af58c = NULL;
}
assertFrameObject(frame_21dad90fb6b8fbb3a5473fc9b95af58c);
// 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$http1connection$$$function__18_write(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];
PyObject *var_future = NULL;
PyObject *tmp_assign_unpack_1__assign_source = NULL;
PyObject *tmp_assign_unpack_2__assign_source = NULL;
struct Nuitka_FrameObject *frame_e3ebe1afa3c0da0459429afe766383d8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_e3ebe1afa3c0da0459429afe766383d8 = 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_e3ebe1afa3c0da0459429afe766383d8)) {
Py_XDECREF(cache_frame_e3ebe1afa3c0da0459429afe766383d8);
#if _DEBUG_REFCOUNTS
if (cache_frame_e3ebe1afa3c0da0459429afe766383d8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e3ebe1afa3c0da0459429afe766383d8 = MAKE_FUNCTION_FRAME(codeobj_e3ebe1afa3c0da0459429afe766383d8, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e3ebe1afa3c0da0459429afe766383d8->m_type_description == NULL);
frame_e3ebe1afa3c0da0459429afe766383d8 = cache_frame_e3ebe1afa3c0da0459429afe766383d8;
// Push the new frame as the currently active one.
pushFrameStack(frame_e3ebe1afa3c0da0459429afe766383d8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e3ebe1afa3c0da0459429afe766383d8) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 496;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[89]);
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 = 496;
type_description_1 = "ooo";
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 = 496;
type_description_1 = "ooo";
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:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 497;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_assign_unpack_1__assign_source == NULL);
tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_assign_unpack_1__assign_source);
tmp_assign_source_2 = tmp_assign_unpack_1__assign_source;
assert(var_future == NULL);
Py_INCREF(tmp_assign_source_2);
var_future = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_assign_unpack_1__assign_source);
tmp_assattr_value_1 = tmp_assign_unpack_1__assign_source;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[97], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_assign_unpack_1__assign_source);
tmp_assign_unpack_1__assign_source = 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_assign_unpack_1__assign_source);
Py_DECREF(tmp_assign_unpack_1__assign_source);
tmp_assign_unpack_1__assign_source = NULL;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[97]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[131]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 498;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 498;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[47]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 498;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 498;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[97]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 499;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 499;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[132]);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 499;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
goto branch_end_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooo";
goto try_except_handler_3;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 501;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(tmp_assign_unpack_2__assign_source == NULL);
tmp_assign_unpack_2__assign_source = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assign_source_4 = tmp_assign_unpack_2__assign_source;
assert(var_future == NULL);
Py_INCREF(tmp_assign_source_4);
var_future = tmp_assign_source_4;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assattr_value_2 = tmp_assign_unpack_2__assign_source;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[97], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooo";
goto try_except_handler_3;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = 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_assign_unpack_2__assign_source);
Py_DECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = NULL;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[15]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 502;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[79]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 502;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_called_instance_4 = par_self;
CHECK_OBJECT(par_chunk);
tmp_args_element_value_3 = par_chunk;
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 502;
tmp_args_element_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[136], 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_4);
exception_lineno = 502;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 502;
tmp_assattr_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 502;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[33], 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 = 502;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_8;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[137]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[137]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[33]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[138]);
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 = 503;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_e3ebe1afa3c0da0459429afe766383d8->m_frame.f_lineno = 503;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3ebe1afa3c0da0459429afe766383d8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3ebe1afa3c0da0459429afe766383d8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e3ebe1afa3c0da0459429afe766383d8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e3ebe1afa3c0da0459429afe766383d8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e3ebe1afa3c0da0459429afe766383d8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e3ebe1afa3c0da0459429afe766383d8,
type_description_1,
par_self,
par_chunk,
var_future
);
// Release cached frame if used for exception.
if (frame_e3ebe1afa3c0da0459429afe766383d8 == cache_frame_e3ebe1afa3c0da0459429afe766383d8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e3ebe1afa3c0da0459429afe766383d8);
cache_frame_e3ebe1afa3c0da0459429afe766383d8 = NULL;
}
assertFrameObject(frame_e3ebe1afa3c0da0459429afe766383d8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_future);
tmp_return_value = var_future;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_future);
Py_DECREF(var_future);
var_future = NULL;
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_future);
var_future = 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_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$http1connection$$$function__19_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_2fa4c05d0cebb380282bb57c752eb987;
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_2fa4c05d0cebb380282bb57c752eb987 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2fa4c05d0cebb380282bb57c752eb987)) {
Py_XDECREF(cache_frame_2fa4c05d0cebb380282bb57c752eb987);
#if _DEBUG_REFCOUNTS
if (cache_frame_2fa4c05d0cebb380282bb57c752eb987 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2fa4c05d0cebb380282bb57c752eb987 = MAKE_FUNCTION_FRAME(codeobj_2fa4c05d0cebb380282bb57c752eb987, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2fa4c05d0cebb380282bb57c752eb987->m_type_description == NULL);
frame_2fa4c05d0cebb380282bb57c752eb987 = cache_frame_2fa4c05d0cebb380282bb57c752eb987;
// Push the new frame as the currently active one.
pushFrameStack(frame_2fa4c05d0cebb380282bb57c752eb987);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2fa4c05d0cebb380282bb57c752eb987) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[32]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[32]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[83];
tmp_and_left_value_2 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_and_left_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 511;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[89]);
Py_DECREF(tmp_called_instance_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "o";
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 = 511;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[15]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 513;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_6;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[147]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[152];
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[32]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 516;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 516;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 514;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "o";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 514;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
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_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[31]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 518;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
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_operand_value_2;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[15]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 519;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[89]);
Py_DECREF(tmp_called_instance_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "o";
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_assattr_value_1;
PyObject *tmp_called_instance_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[15]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 520;
tmp_assattr_value_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[79],
PyTuple_GET_ITEM(mod_consts[153], 0)
);
Py_DECREF(tmp_called_instance_4);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[33], 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 = 520;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[33]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[154]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[138]);
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 = 521;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 521;
tmp_call_result_2 = 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_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
branch_no_2:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[22], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 522;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_operand_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[23]);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[26], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
branch_no_4:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[15]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 532;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_5,
mod_consts[155],
PyTuple_GET_ITEM(mod_consts[156], 0)
);
Py_DECREF(tmp_called_instance_5);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[33]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 533;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_4;
CHECK_OBJECT(par_self);
tmp_called_instance_6 = par_self;
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 534;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_6,
mod_consts[157],
PyTuple_GET_ITEM(mod_consts[99], 0)
);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_17;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[137]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[137]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[33]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[157]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 536;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_2fa4c05d0cebb380282bb57c752eb987->m_frame.f_lineno = 536;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
branch_end_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2fa4c05d0cebb380282bb57c752eb987);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2fa4c05d0cebb380282bb57c752eb987);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2fa4c05d0cebb380282bb57c752eb987, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2fa4c05d0cebb380282bb57c752eb987->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2fa4c05d0cebb380282bb57c752eb987, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2fa4c05d0cebb380282bb57c752eb987,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_2fa4c05d0cebb380282bb57c752eb987 == cache_frame_2fa4c05d0cebb380282bb57c752eb987) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2fa4c05d0cebb380282bb57c752eb987);
cache_frame_2fa4c05d0cebb380282bb57c752eb987 = NULL;
}
assertFrameObject(frame_2fa4c05d0cebb380282bb57c752eb987);
// 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$http1connection$$$function__20__on_write_complete(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_future = python_pars[1];
PyObject *var_exc = NULL;
PyObject *var_callback = NULL;
struct Nuitka_FrameObject *frame_b40614c053f31b4abd8936f5d1cf5e73;
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_b40614c053f31b4abd8936f5d1cf5e73 = 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_b40614c053f31b4abd8936f5d1cf5e73)) {
Py_XDECREF(cache_frame_b40614c053f31b4abd8936f5d1cf5e73);
#if _DEBUG_REFCOUNTS
if (cache_frame_b40614c053f31b4abd8936f5d1cf5e73 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b40614c053f31b4abd8936f5d1cf5e73 = MAKE_FUNCTION_FRAME(codeobj_b40614c053f31b4abd8936f5d1cf5e73, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b40614c053f31b4abd8936f5d1cf5e73->m_type_description == NULL);
frame_b40614c053f31b4abd8936f5d1cf5e73 = cache_frame_b40614c053f31b4abd8936f5d1cf5e73;
// Push the new frame as the currently active one.
pushFrameStack(frame_b40614c053f31b4abd8936f5d1cf5e73);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b40614c053f31b4abd8936f5d1cf5e73) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_future);
tmp_called_instance_1 = par_future;
frame_b40614c053f31b4abd8936f5d1cf5e73->m_frame.f_lineno = 539;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[132]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_exc == NULL);
var_exc = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_exc);
tmp_cmp_expr_left_1 = var_exc;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_exc);
tmp_isinstance_inst_1 = var_exc;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
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 = 540;
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 = 540;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_future);
tmp_called_instance_2 = par_future;
frame_b40614c053f31b4abd8936f5d1cf5e73->m_frame.f_lineno = 541;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[159]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[96]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[96]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_callback == NULL);
var_callback = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[96], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[15]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[44]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_callback);
tmp_args_element_value_1 = var_callback;
frame_b40614c053f31b4abd8936f5d1cf5e73->m_frame.f_lineno = 545;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[160], tmp_args_element_value_1);
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 = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[97]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[97]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_future;
assert(old != NULL);
par_future = tmp_assign_source_3;
Py_DECREF(old);
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[97], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 549;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_future);
tmp_args_element_value_2 = par_future;
tmp_args_element_value_3 = Py_None;
frame_b40614c053f31b4abd8936f5d1cf5e73->m_frame.f_lineno = 549;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 549;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b40614c053f31b4abd8936f5d1cf5e73);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b40614c053f31b4abd8936f5d1cf5e73);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b40614c053f31b4abd8936f5d1cf5e73, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b40614c053f31b4abd8936f5d1cf5e73->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b40614c053f31b4abd8936f5d1cf5e73, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b40614c053f31b4abd8936f5d1cf5e73,
type_description_1,
par_self,
par_future,
var_exc,
var_callback
);
// Release cached frame if used for exception.
if (frame_b40614c053f31b4abd8936f5d1cf5e73 == cache_frame_b40614c053f31b4abd8936f5d1cf5e73) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b40614c053f31b4abd8936f5d1cf5e73);
cache_frame_b40614c053f31b4abd8936f5d1cf5e73 = NULL;
}
assertFrameObject(frame_b40614c053f31b4abd8936f5d1cf5e73);
// 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_future);
par_future = NULL;
CHECK_OBJECT(var_exc);
Py_DECREF(var_exc);
var_exc = NULL;
Py_XDECREF(var_callback);
var_callback = 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_future);
par_future = NULL;
Py_XDECREF(var_exc);
var_exc = NULL;
Py_XDECREF(var_callback);
var_callback = 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$http1connection$$$function__21__can_keep_alive(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_connection_header = NULL;
struct Nuitka_FrameObject *frame_1fadfcfc08997477afcacab866818dc5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_1fadfcfc08997477afcacab866818dc5 = 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_1fadfcfc08997477afcacab866818dc5)) {
Py_XDECREF(cache_frame_1fadfcfc08997477afcacab866818dc5);
#if _DEBUG_REFCOUNTS
if (cache_frame_1fadfcfc08997477afcacab866818dc5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1fadfcfc08997477afcacab866818dc5 = MAKE_FUNCTION_FRAME(codeobj_1fadfcfc08997477afcacab866818dc5, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1fadfcfc08997477afcacab866818dc5->m_type_description == NULL);
frame_1fadfcfc08997477afcacab866818dc5 = cache_frame_1fadfcfc08997477afcacab866818dc5;
// Push the new frame as the currently active one.
pushFrameStack(frame_1fadfcfc08997477afcacab866818dc5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1fadfcfc08997477afcacab866818dc5) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
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[17]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
Py_DECREF(tmp_expression_value_1);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "oooo";
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 = 554;
type_description_1 = "oooo";
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:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_headers);
tmp_expression_value_3 = par_headers;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 556;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_1fadfcfc08997477afcacab866818dc5->m_frame.f_lineno = 556;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[161]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 556;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_connection_header == NULL);
var_connection_header = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_connection_header);
tmp_cmp_expr_left_1 = var_connection_header;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_connection_header);
tmp_expression_value_4 = var_connection_header;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[121]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_1fadfcfc08997477afcacab866818dc5->m_frame.f_lineno = 558;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_connection_header;
assert(old != NULL);
var_connection_header = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_start_line);
tmp_expression_value_5 = par_start_line;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[115]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[116];
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_connection_header);
tmp_cmp_expr_left_3 = var_connection_header;
tmp_cmp_expr_right_3 = mod_consts[50];
tmp_return_value = RICH_COMPARE_NE_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 560;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
int tmp_or_left_truth_2;
nuitka_bool tmp_or_left_value_2;
nuitka_bool tmp_or_right_value_2;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_cmp_expr_left_4 = mod_consts[72];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_4 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_headers);
tmp_expression_value_7 = par_headers;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[76]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_1fadfcfc08997477afcacab866818dc5->m_frame.f_lineno = 563;
tmp_expression_value_6 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[162]);
Py_DECREF(tmp_called_value_4);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[121]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_1fadfcfc08997477afcacab866818dc5->m_frame.f_lineno = 563;
tmp_cmp_expr_left_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_5 = mod_consts[112];
tmp_or_left_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_or_left_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
CHECK_OBJECT(par_start_line);
tmp_getattr_target_1 = par_start_line;
tmp_getattr_attr_1 = mod_consts[66];
tmp_getattr_default_1 = Py_None;
tmp_cmp_expr_left_6 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_6 = mod_consts[163];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_6, tmp_cmp_expr_left_6);
Py_DECREF(tmp_cmp_expr_left_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_2 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_right_value_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_or_right_value_1 = tmp_or_left_value_2;
or_end_2:;
tmp_condition_result_4 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_4 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(var_connection_header);
tmp_cmp_expr_left_7 = var_connection_header;
tmp_cmp_expr_right_7 = mod_consts[122];
tmp_return_value = RICH_COMPARE_EQ_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_4:;
branch_end_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1fadfcfc08997477afcacab866818dc5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1fadfcfc08997477afcacab866818dc5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1fadfcfc08997477afcacab866818dc5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1fadfcfc08997477afcacab866818dc5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1fadfcfc08997477afcacab866818dc5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1fadfcfc08997477afcacab866818dc5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1fadfcfc08997477afcacab866818dc5,
type_description_1,
par_self,
par_start_line,
par_headers,
var_connection_header
);
// Release cached frame if used for exception.
if (frame_1fadfcfc08997477afcacab866818dc5 == cache_frame_1fadfcfc08997477afcacab866818dc5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1fadfcfc08997477afcacab866818dc5);
cache_frame_1fadfcfc08997477afcacab866818dc5 = NULL;
}
assertFrameObject(frame_1fadfcfc08997477afcacab866818dc5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_False;
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_connection_header);
var_connection_header = 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_connection_header);
var_connection_header = 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$http1connection$$$function__22__finish_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_future = python_pars[1];
struct Nuitka_FrameObject *frame_19be3b89ddc73d0c4cf73713e8c0373a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_19be3b89ddc73d0c4cf73713e8c0373a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_19be3b89ddc73d0c4cf73713e8c0373a)) {
Py_XDECREF(cache_frame_19be3b89ddc73d0c4cf73713e8c0373a);
#if _DEBUG_REFCOUNTS
if (cache_frame_19be3b89ddc73d0c4cf73713e8c0373a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_19be3b89ddc73d0c4cf73713e8c0373a = MAKE_FUNCTION_FRAME(codeobj_19be3b89ddc73d0c4cf73713e8c0373a, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_19be3b89ddc73d0c4cf73713e8c0373a->m_type_description == NULL);
frame_19be3b89ddc73d0c4cf73713e8c0373a = cache_frame_19be3b89ddc73d0c4cf73713e8c0373a;
// Push the new frame as the currently active one.
pushFrameStack(frame_19be3b89ddc73d0c4cf73713e8c0373a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_19be3b89ddc73d0c4cf73713e8c0373a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame.f_lineno = 572;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[27]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
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 = 573;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[26]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 573;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame.f_lineno = 574;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[15]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame.f_lineno = 578;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_3,
mod_consts[155],
PyTuple_GET_ITEM(mod_consts[164], 0)
);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[25]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame.f_lineno = 579;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[88]);
Py_DECREF(tmp_called_instance_4);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
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_called_value_1;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[25]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Py_None;
frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame.f_lineno = 580;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_19be3b89ddc73d0c4cf73713e8c0373a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_19be3b89ddc73d0c4cf73713e8c0373a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_19be3b89ddc73d0c4cf73713e8c0373a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_19be3b89ddc73d0c4cf73713e8c0373a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_19be3b89ddc73d0c4cf73713e8c0373a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_19be3b89ddc73d0c4cf73713e8c0373a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_19be3b89ddc73d0c4cf73713e8c0373a,
type_description_1,
par_self,
par_future
);
// Release cached frame if used for exception.
if (frame_19be3b89ddc73d0c4cf73713e8c0373a == cache_frame_19be3b89ddc73d0c4cf73713e8c0373a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_19be3b89ddc73d0c4cf73713e8c0373a);
cache_frame_19be3b89ddc73d0c4cf73713e8c0373a = NULL;
}
assertFrameObject(frame_19be3b89ddc73d0c4cf73713e8c0373a);
// 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_future);
Py_DECREF(par_future);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_future);
Py_DECREF(par_future);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$http1connection$$$function__23__parse_headers(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_data = python_pars[1];
PyObject *var_data_str = NULL;
PyObject *var_eol = NULL;
PyObject *var_start_line = NULL;
PyObject *var_headers = NULL;
struct Nuitka_FrameObject *frame_2a432f09ee2f18c239763fdc430e9e53;
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_2a432f09ee2f18c239763fdc430e9e53 = 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_2a432f09ee2f18c239763fdc430e9e53)) {
Py_XDECREF(cache_frame_2a432f09ee2f18c239763fdc430e9e53);
#if _DEBUG_REFCOUNTS
if (cache_frame_2a432f09ee2f18c239763fdc430e9e53 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2a432f09ee2f18c239763fdc430e9e53 = MAKE_FUNCTION_FRAME(codeobj_2a432f09ee2f18c239763fdc430e9e53, module_tornado$http1connection, 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_2a432f09ee2f18c239763fdc430e9e53->m_type_description == NULL);
frame_2a432f09ee2f18c239763fdc430e9e53 = cache_frame_2a432f09ee2f18c239763fdc430e9e53;
// Push the new frame as the currently active one.
pushFrameStack(frame_2a432f09ee2f18c239763fdc430e9e53);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2a432f09ee2f18c239763fdc430e9e53) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[141]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[141]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_expression_value_2 = par_data;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[165]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 587;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[146]);
Py_DECREF(tmp_called_value_3);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 587;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[166]);
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 = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 587;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[167]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_data_str == NULL);
var_data_str = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_data_str);
tmp_expression_value_3 = var_data_str;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[168]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 589;
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[169]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_eol == NULL);
var_eol = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(var_data_str);
tmp_expression_value_5 = var_data_str;
CHECK_OBJECT(var_eol);
tmp_stop_value_1 = var_eol;
tmp_subscript_value_1 = MAKE_SLICEOBJ1(tmp_stop_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_expression_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[170]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 590;
tmp_assign_source_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[171]);
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_start_line == NULL);
var_start_line = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_2;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_2;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[172]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[173]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_data_str);
tmp_expression_value_8 = var_data_str;
CHECK_OBJECT(var_eol);
tmp_start_value_1 = var_eol;
tmp_stop_value_2 = Py_None;
tmp_subscript_value_2 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_2);
assert(!(tmp_subscript_value_2 == NULL));
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_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_6);
exception_lineno = 591;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_2a432f09ee2f18c239763fdc430e9e53->m_frame.f_lineno = 591;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_headers == NULL);
var_headers = tmp_assign_source_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a432f09ee2f18c239763fdc430e9e53);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a432f09ee2f18c239763fdc430e9e53);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2a432f09ee2f18c239763fdc430e9e53, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2a432f09ee2f18c239763fdc430e9e53->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2a432f09ee2f18c239763fdc430e9e53, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2a432f09ee2f18c239763fdc430e9e53,
type_description_1,
par_self,
par_data,
var_data_str,
var_eol,
var_start_line,
var_headers
);
// Release cached frame if used for exception.
if (frame_2a432f09ee2f18c239763fdc430e9e53 == cache_frame_2a432f09ee2f18c239763fdc430e9e53) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2a432f09ee2f18c239763fdc430e9e53);
cache_frame_2a432f09ee2f18c239763fdc430e9e53 = NULL;
}
assertFrameObject(frame_2a432f09ee2f18c239763fdc430e9e53);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(var_start_line);
tmp_tuple_element_1 = var_start_line;
tmp_return_value = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_headers);
tmp_tuple_element_1 = var_headers;
PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_1);
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_data_str);
Py_DECREF(var_data_str);
var_data_str = NULL;
CHECK_OBJECT(var_eol);
Py_DECREF(var_eol);
var_eol = NULL;
CHECK_OBJECT(var_start_line);
Py_DECREF(var_start_line);
var_start_line = NULL;
CHECK_OBJECT(var_headers);
Py_DECREF(var_headers);
var_headers = 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_data_str);
var_data_str = NULL;
Py_XDECREF(var_eol);
var_eol = NULL;
Py_XDECREF(var_start_line);
var_start_line = 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_data);
Py_DECREF(par_data);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$http1connection$$$function__24__read_body(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_code = python_pars[1];
PyObject *par_headers = python_pars[2];
PyObject *par_delegate = python_pars[3];
struct Nuitka_CellObject *var_pieces = Nuitka_Cell_Empty();
PyObject *var_content_length = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_2adae403958bd70f6b6a1a4936faf9d5;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_2adae403958bd70f6b6a1a4936faf9d5 = 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_2adae403958bd70f6b6a1a4936faf9d5)) {
Py_XDECREF(cache_frame_2adae403958bd70f6b6a1a4936faf9d5);
#if _DEBUG_REFCOUNTS
if (cache_frame_2adae403958bd70f6b6a1a4936faf9d5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2adae403958bd70f6b6a1a4936faf9d5 = MAKE_FUNCTION_FRAME(codeobj_2adae403958bd70f6b6a1a4936faf9d5, module_tornado$http1connection, 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_2adae403958bd70f6b6a1a4936faf9d5->m_type_description == NULL);
frame_2adae403958bd70f6b6a1a4936faf9d5 = cache_frame_2adae403958bd70f6b6a1a4936faf9d5;
// Push the new frame as the currently active one.
pushFrameStack(frame_2adae403958bd70f6b6a1a4936faf9d5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2adae403958bd70f6b6a1a4936faf9d5) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[72];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_1 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 600;
type_description_1 = "ooooco";
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[73];
CHECK_OBJECT(par_headers);
tmp_cmp_expr_right_2 = par_headers;
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 = 601;
type_description_1 = "ooooco";
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_raise_type_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 605;
tmp_raise_type_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[74],
PyTuple_GET_ITEM(mod_consts[174], 0)
);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 605;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_cmp_expr_left_3 = mod_consts[175];
CHECK_OBJECT(par_headers);
tmp_expression_value_1 = par_headers;
tmp_subscript_value_1 = mod_consts[72];
tmp_cmp_expr_right_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 608;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[177]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[178];
CHECK_OBJECT(par_headers);
tmp_expression_value_3 = par_headers;
tmp_subscript_value_2 = mod_consts[72];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_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_1);
exception_lineno = 612;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 612;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_pieces) == NULL);
PyCell_SET(var_pieces, tmp_assign_source_1);
}
{
bool tmp_condition_result_4;
PyObject *tmp_any_arg_1;
PyObject *tmp_capi_result_1;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_pieces));
tmp_iter_arg_1 = Nuitka_Cell_GET(var_pieces);
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 = 613;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_2;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_closure_1[1] = var_pieces;
Py_INCREF(tmp_closure_1[1]);
tmp_any_arg_1 = MAKE_GENERATOR_tornado$http1connection$$$function__24__read_body$$$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_capi_result_1 = BUILTIN_ANY(tmp_any_arg_1);
Py_DECREF(tmp_any_arg_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 613;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = CHECK_IF_TRUE(tmp_capi_result_1) == 1;
Py_DECREF(tmp_capi_result_1);
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_3;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[179];
CHECK_OBJECT(par_headers);
tmp_expression_value_5 = par_headers;
tmp_subscript_value_3 = mod_consts[72];
tmp_mod_expr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_3);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 616;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 616;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 614;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_2;
exception_lineno = 614;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
branch_no_4:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_4;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_pieces));
tmp_expression_value_6 = Nuitka_Cell_GET(var_pieces);
tmp_subscript_value_4 = mod_consts[83];
tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_4, 0);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_headers);
tmp_ass_subscribed_1 = par_headers;
tmp_ass_subscript_1 = mod_consts[72];
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 = 618;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_5;
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 621;
type_description_1 = "ooooco";
goto try_except_handler_3;
}
tmp_expression_value_7 = par_headers;
tmp_subscript_value_5 = mod_consts[72];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_5);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "ooooco";
goto try_except_handler_3;
}
tmp_assign_source_3 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "ooooco";
goto try_except_handler_3;
}
assert(var_content_length == NULL);
var_content_length = tmp_assign_source_3;
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_2adae403958bd70f6b6a1a4936faf9d5, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2adae403958bd70f6b6a1a4936faf9d5, 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_5;
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_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_4;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_6;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 624;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[74]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 624;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
tmp_mod_expr_left_2 = mod_consts[180];
if (par_headers == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 626;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
tmp_expression_value_9 = par_headers;
tmp_subscript_value_6 = mod_consts[72];
tmp_mod_expr_right_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_6);
if (tmp_mod_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 626;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
tmp_args_element_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 626;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 624;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_raise_type_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 624;
type_description_1 = "ooooco";
goto try_except_handler_4;
}
exception_type = tmp_raise_type_3;
exception_lineno = 624;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooco";
goto try_except_handler_4;
}
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 620;
}
if (exception_tb && exception_tb->tb_frame == &frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame) frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooco";
goto try_except_handler_4;
branch_end_5:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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 frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_10;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[124]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[124]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = (PyObject *)&PyLong_Type;
CHECK_OBJECT(var_content_length);
tmp_args_element_value_6 = var_content_length;
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 629;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_cmp_expr_left_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_cmp_expr_right_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[20]);
if (tmp_cmp_expr_right_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_5);
exception_lineno = 629;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
Py_DECREF(tmp_cmp_expr_right_5);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 630;
tmp_raise_type_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[74],
PyTuple_GET_ITEM(mod_consts[181], 0)
);
if (tmp_raise_type_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_4;
exception_lineno = 630;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
branch_no_6:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = Py_None;
assert(var_content_length == NULL);
Py_INCREF(tmp_assign_source_4);
var_content_length = tmp_assign_source_4;
}
branch_end_1:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(par_code);
tmp_cmp_expr_left_6 = par_code;
tmp_cmp_expr_right_6 = mod_consts[182];
tmp_condition_result_7 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
bool tmp_condition_result_8;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
tmp_cmp_expr_left_7 = mod_consts[73];
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 638;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_7 = par_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_7, tmp_cmp_expr_left_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 638;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 1) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
if (var_content_length == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 638;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_8 = var_content_length;
tmp_cmp_expr_right_8 = mod_consts[184];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_8, tmp_cmp_expr_left_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 638;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_8 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_8 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_7;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[74]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_3 = mod_consts[185];
CHECK_OBJECT(par_code);
tmp_mod_expr_right_3 = par_code;
tmp_args_element_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 640;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 639;
tmp_raise_type_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_7);
if (tmp_raise_type_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_5;
exception_lineno = 639;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
branch_no_8:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = mod_consts[83];
{
PyObject *old = var_content_length;
var_content_length = tmp_assign_source_5;
Py_INCREF(var_content_length);
Py_XDECREF(old);
}
}
branch_no_7:;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
if (var_content_length == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 644;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_9 = var_content_length;
tmp_cmp_expr_right_9 = Py_None;
tmp_condition_result_9 = (tmp_cmp_expr_left_9 != tmp_cmp_expr_right_9) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[186]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
if (var_content_length == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[183]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 645;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = var_content_length;
CHECK_OBJECT(par_delegate);
tmp_args_element_value_9 = par_delegate;
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 645;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_13;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_14;
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_expression_value_14 = par_headers;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[76]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 646;
tmp_expression_value_13 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_8, mod_consts[162]);
Py_DECREF(tmp_called_value_8);
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[121]);
Py_DECREF(tmp_expression_value_13);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 646;
tmp_cmp_expr_left_10 = CALL_FUNCTION_NO_ARGS(tmp_called_value_7);
Py_DECREF(tmp_called_value_7);
if (tmp_cmp_expr_left_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_10 = mod_consts[112];
tmp_condition_result_10 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
Py_DECREF(tmp_cmp_expr_left_10);
if (tmp_condition_result_10 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_10;
CHECK_OBJECT(par_self);
tmp_called_instance_3 = par_self;
CHECK_OBJECT(par_delegate);
tmp_args_element_value_10 = par_delegate;
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 647;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[187], tmp_args_element_value_10);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 647;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_15;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 648;
type_description_1 = "ooooco";
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 = 648;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_11;
CHECK_OBJECT(par_self);
tmp_called_instance_4 = par_self;
CHECK_OBJECT(par_delegate);
tmp_args_element_value_11 = par_delegate;
frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame.f_lineno = 649;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[188], tmp_args_element_value_11);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "ooooco";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_11:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2adae403958bd70f6b6a1a4936faf9d5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2adae403958bd70f6b6a1a4936faf9d5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2adae403958bd70f6b6a1a4936faf9d5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2adae403958bd70f6b6a1a4936faf9d5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2adae403958bd70f6b6a1a4936faf9d5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2adae403958bd70f6b6a1a4936faf9d5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2adae403958bd70f6b6a1a4936faf9d5,
type_description_1,
par_self,
par_code,
par_headers,
par_delegate,
var_pieces,
var_content_length
);
// Release cached frame if used for exception.
if (frame_2adae403958bd70f6b6a1a4936faf9d5 == cache_frame_2adae403958bd70f6b6a1a4936faf9d5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2adae403958bd70f6b6a1a4936faf9d5);
cache_frame_2adae403958bd70f6b6a1a4936faf9d5 = NULL;
}
assertFrameObject(frame_2adae403958bd70f6b6a1a4936faf9d5);
// 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_pieces);
Py_DECREF(var_pieces);
var_pieces = NULL;
Py_XDECREF(var_content_length);
var_content_length = 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;
CHECK_OBJECT(var_pieces);
Py_DECREF(var_pieces);
var_pieces = NULL;
Py_XDECREF(var_content_length);
var_content_length = 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_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
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_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__24__read_body$$$genexpr__1_genexpr_locals {
PyObject *var_i;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *tornado$http1connection$$$function__24__read_body$$$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$http1connection$$$function__24__read_body$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$http1connection$$$function__24__read_body$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_i = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_ccd752e232c630db2ee345e9677f2795, module_tornado$http1connection, 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 = "Noc";
generator_heap->exception_lineno = 613;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_i;
generator_heap->var_i = tmp_assign_source_2;
Py_INCREF(generator_heap->var_i);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_i);
tmp_cmp_expr_left_1 = generator_heap->var_i;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[189]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 613;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_subscript_value_1 = mod_consts[83];
tmp_cmp_expr_right_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 0);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 613;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
tmp_expression_value_1 = RICH_COMPARE_NE_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_expression_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 = 613;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_subscript_value_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_subscript_value_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 = 613;
generator_heap->type_description_1 = "Noc";
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 = 613;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_i,
generator->m_closure[1]
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_i);
generator_heap->var_i = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_i);
generator_heap->var_i = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_tornado$http1connection$$$function__24__read_body$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$http1connection$$$function__24__read_body$$$genexpr__1_genexpr_context,
module_tornado$http1connection,
mod_consts[143],
#if PYTHON_VERSION >= 0x350
mod_consts[190],
#endif
codeobj_ccd752e232c630db2ee345e9677f2795,
closure,
2,
sizeof(struct tornado$http1connection$$$function__24__read_body$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__25__read_fixed_body(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_content_length = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_delegate = Nuitka_Cell_New1(python_pars[2]);
PyObject *tmp_return_value = NULL;
// Actual function body.
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_content_length;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_delegate;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_self;
Py_INCREF(tmp_closure_1[2]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body(tmp_closure_1);
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_content_length);
Py_DECREF(par_content_length);
par_content_length = NULL;
goto function_return_exit;
// End of try:
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_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_locals {
PyObject *var_body;
PyObject *var_ret;
PyObject *tmp_with_1__enter;
PyObject *tmp_with_1__exit;
nuitka_bool tmp_with_1__indicator;
PyObject *tmp_with_1__source;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
char yield_tmps[1024];
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
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;
PyObject *tmp_return_value;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
};
static PyObject *tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_locals *coroutine_heap = (struct tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 2: goto yield_return_2;
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;
coroutine_heap->var_body = NULL;
coroutine_heap->var_ret = NULL;
coroutine_heap->tmp_with_1__enter = NULL;
coroutine_heap->tmp_with_1__exit = NULL;
coroutine_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_1__source = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_af56a41f6f31855697300ef4beb40c24, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
loop_start_1:;
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[183]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 655;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_cmp_expr_right_1 = mod_consts[83];
tmp_operand_value_1 = RICH_COMPARE_GT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 655;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 655;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_kwargs_value_1;
coroutine->m_frame->m_frame.f_lineno = 656;
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[2]);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[15]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[191]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[192]);
assert(tmp_called_value_2 != NULL);
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 657;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = Nuitka_Cell_GET(coroutine->m_closure[2]);
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[17]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 657;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[7]);
Py_DECREF(tmp_expression_value_5);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 657;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[183]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 657;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 657;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 657;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[193]);
coroutine->m_frame->m_frame.f_lineno = 656;
tmp_expression_value_2 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = ASYNC_AWAIT(tmp_expression_value_2, await_normal);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), &tmp_args_value_1, sizeof(PyObject *), &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), &tmp_expression_value_6, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_kwargs_value_1, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_1;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), &tmp_args_value_1, sizeof(PyObject *), &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), &tmp_expression_value_6, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_kwargs_value_1, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = yield_return_value;
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 656;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_body;
coroutine_heap->var_body = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
PyObject *tmp_len_arg_1;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[183]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 659;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_isub_expr_left_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
CHECK_OBJECT(coroutine_heap->var_body);
tmp_len_arg_1 = coroutine_heap->var_body;
tmp_isub_expr_right_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_isub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 659;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
Py_DECREF(tmp_isub_expr_right_1);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 659;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = tmp_isub_expr_left_1;
PyCell_SET(coroutine->m_closure[0], tmp_assign_source_2);
}
{
nuitka_bool tmp_condition_result_2;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = Nuitka_Cell_GET(coroutine->m_closure[2]);
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[22]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = Nuitka_Cell_GET(coroutine->m_closure[2]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
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(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
coroutine_heap->exception_lineno = 660;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_2 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 661;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__source;
coroutine_heap->tmp_with_1__source = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_9 = coroutine_heap->tmp_with_1__source;
tmp_called_value_4 = LOOKUP_SPECIAL(tmp_expression_value_9, mod_consts[59]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 661;
tmp_assign_source_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__enter;
coroutine_heap->tmp_with_1__enter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_10 = coroutine_heap->tmp_with_1__source;
tmp_assign_source_5 = LOOKUP_SPECIAL(tmp_expression_value_10, mod_consts[60]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 661;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__exit;
coroutine_heap->tmp_with_1__exit = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_6;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_4;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 662;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_4;
}
tmp_called_instance_1 = Nuitka_Cell_GET(coroutine->m_closure[1]);
CHECK_OBJECT(coroutine_heap->var_body);
tmp_args_element_value_4 = coroutine_heap->var_body;
coroutine->m_frame->m_frame.f_lineno = 662;
tmp_assign_source_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[194], tmp_args_element_value_4);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 662;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->var_ret;
coroutine_heap->var_ret = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_cmp_expr_left_2 = coroutine_heap->var_ret;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 664;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_expression_value_12 = coroutine_heap->var_ret;
tmp_expression_value_11 = ASYNC_AWAIT(tmp_expression_value_12, await_normal);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_4;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_12, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_11;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_12, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_4;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_4;
}
Py_DECREF(tmp_await_result_1);
}
branch_no_3:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_4 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
nuitka_bool tmp_assign_source_8;
tmp_assign_source_8 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_8;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_5 = coroutine_heap->tmp_with_1__exit;
tmp_args_element_value_5 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_6 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_7 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 664;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_operand_value_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_5;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_5;
}
tmp_condition_result_5 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 664;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_5;
branch_no_5:;
goto branch_end_4;
branch_no_4:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 661;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_5;
branch_end_4:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_1;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_6 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 664;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[64]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_3);
Py_XDECREF(coroutine_heap->exception_keeper_value_3);
Py_XDECREF(coroutine_heap->exception_keeper_tb_3);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_6:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_3;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_3;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_3;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_3;
goto try_except_handler_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_7;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_7 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_2;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_7 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 664;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[64]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 664;
coroutine_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_7:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
Py_DECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_1__enter);
Py_DECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 655;
coroutine_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[2],
coroutine->m_closure[0],
coroutine->m_closure[1],
coroutine_heap->var_body,
coroutine_heap->var_ret
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(coroutine_heap->var_body);
coroutine_heap->var_body = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_5 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_5 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_5 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_5 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_body);
coroutine_heap->var_body = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_5;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_5;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_5;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_context,
module_tornado$http1connection,
mod_consts[186],
mod_consts[195],
codeobj_af56a41f6f31855697300ef4beb40c24,
closure,
3,
sizeof(struct tornado$http1connection$$$function__25__read_fixed_body$$$coroutine__1__read_fixed_body_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__26__read_chunked_body(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_delegate = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_delegate;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_locals {
PyObject *var_total_size;
PyObject *var_chunk_len_str;
PyObject *var_chunk_len;
PyObject *var_crlf;
PyObject *var_bytes_to_read;
PyObject *var_chunk;
PyObject *var_ret;
PyObject *tmp_with_1__enter;
PyObject *tmp_with_1__exit;
nuitka_bool tmp_with_1__indicator;
PyObject *tmp_with_1__source;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *tmp_return_value;
bool tmp_result;
int tmp_res;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
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;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
};
static PyObject *tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_locals *coroutine_heap = (struct tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 5: goto yield_return_5;
case 4: goto yield_return_4;
case 3: goto yield_return_3;
case 2: goto yield_return_2;
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;
coroutine_heap->var_total_size = NULL;
coroutine_heap->var_chunk_len_str = NULL;
coroutine_heap->var_chunk_len = NULL;
coroutine_heap->var_crlf = NULL;
coroutine_heap->var_bytes_to_read = NULL;
coroutine_heap->var_chunk = NULL;
coroutine_heap->var_ret = NULL;
coroutine_heap->tmp_with_1__enter = NULL;
coroutine_heap->tmp_with_1__exit = NULL;
coroutine_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_1__source = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[83];
assert(coroutine_heap->var_total_size == NULL);
Py_INCREF(tmp_assign_source_1);
coroutine_heap->var_total_size = tmp_assign_source_1;
}
// 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_6135d5e0cfccd1c98cd9aa89c440c469, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
loop_start_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
coroutine->m_frame->m_frame.f_lineno = 670;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[15]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[196]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 670;
tmp_expression_value_2 = CALL_FUNCTION_WITH_ARGS1_VECTORCALL(tmp_called_value_1, &PyTuple_GET_ITEM(mod_consts[197], 0), mod_consts[41]);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = ASYNC_AWAIT(tmp_expression_value_2, await_normal);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_1;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = yield_return_value;
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 670;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_chunk_len_str;
coroutine_heap->var_chunk_len_str = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_value_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_base_value_1;
CHECK_OBJECT(coroutine_heap->var_chunk_len_str);
tmp_expression_value_5 = coroutine_heap->var_chunk_len_str;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[198]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 671;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 671;
tmp_value_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_value_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 671;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_base_value_1 = mod_consts[199];
tmp_assign_source_3 = BUILTIN_INT2(tmp_value_value_1, tmp_base_value_1);
Py_DECREF(tmp_value_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 671;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_chunk_len;
coroutine_heap->var_chunk_len = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
CHECK_OBJECT(coroutine_heap->var_chunk_len);
tmp_cmp_expr_left_1 = coroutine_heap->var_chunk_len;
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_8;
coroutine->m_frame->m_frame.f_lineno = 673;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 673;
tmp_expression_value_7 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[191],
PyTuple_GET_ITEM(mod_consts[200], 0)
);
Py_DECREF(tmp_called_instance_1);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = ASYNC_AWAIT(tmp_expression_value_7, await_normal);
Py_DECREF(tmp_expression_value_7);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_7, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_8, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_6;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_7, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_8, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = yield_return_value;
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 673;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_crlf;
coroutine_heap->var_crlf = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(coroutine_heap->var_crlf);
tmp_cmp_expr_left_2 = coroutine_heap->var_crlf;
tmp_cmp_expr_right_2 = mod_consts[133];
tmp_condition_result_2 = RICH_COMPARE_NE_NBOOL_OBJECT_BYTES(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 674;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 675;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 675;
tmp_raise_type_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[74],
PyTuple_GET_ITEM(mod_consts[201], 0)
);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 675;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine_heap->exception_type = tmp_raise_type_1;
coroutine_heap->exception_lineno = 675;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
if (coroutine_heap->var_total_size == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[202]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 679;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_left_1 = coroutine_heap->var_total_size;
CHECK_OBJECT(coroutine_heap->var_chunk_len);
tmp_iadd_expr_right_1 = coroutine_heap->var_chunk_len;
coroutine_heap->tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 679;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = tmp_iadd_expr_left_1;
coroutine_heap->var_total_size = tmp_assign_source_5;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(coroutine_heap->var_total_size);
tmp_cmp_expr_left_3 = coroutine_heap->var_total_size;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 680;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[20]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 680;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 680;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_instance_3;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 681;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 681;
tmp_raise_type_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_3,
mod_consts[74],
PyTuple_GET_ITEM(mod_consts[203], 0)
);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 681;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine_heap->exception_type = tmp_raise_type_2;
coroutine_heap->exception_lineno = 681;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(coroutine_heap->var_chunk_len);
tmp_assign_source_6 = coroutine_heap->var_chunk_len;
{
PyObject *old = coroutine_heap->var_bytes_to_read;
coroutine_heap->var_bytes_to_read = tmp_assign_source_6;
Py_INCREF(coroutine_heap->var_bytes_to_read);
Py_XDECREF(old);
}
}
loop_start_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
if (coroutine_heap->var_bytes_to_read == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[204]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 683;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = coroutine_heap->var_bytes_to_read;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 683;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
goto loop_end_1;
branch_no_4:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyObject *tmp_kwargs_value_1;
coroutine->m_frame->m_frame.f_lineno = 684;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[15]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[191]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_BUILTIN(mod_consts[192]);
assert(tmp_called_value_4 != NULL);
if (coroutine_heap->var_bytes_to_read == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[204]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 685;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = coroutine_heap->var_bytes_to_read;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 685;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_15 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[17]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_3);
coroutine_heap->exception_lineno = 685;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[7]);
Py_DECREF(tmp_expression_value_14);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_3);
coroutine_heap->exception_lineno = 685;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 685;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_3);
coroutine_heap->exception_lineno = 685;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[193]);
coroutine->m_frame->m_frame.f_lineno = 684;
tmp_expression_value_11 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = ASYNC_AWAIT(tmp_expression_value_11, await_normal);
Py_DECREF(tmp_expression_value_11);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_11, sizeof(PyObject *), &tmp_called_value_3, sizeof(PyObject *), &tmp_expression_value_12, sizeof(PyObject *), &tmp_expression_value_13, sizeof(PyObject *), &tmp_args_value_1, sizeof(PyObject *), &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_4, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_expression_value_14, sizeof(PyObject *), &tmp_expression_value_15, sizeof(PyObject *), &tmp_kwargs_value_1, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 3;
coroutine->m_yieldfrom = tmp_expression_value_10;
coroutine->m_awaiting = true;
return NULL;
yield_return_3:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_11, sizeof(PyObject *), &tmp_called_value_3, sizeof(PyObject *), &tmp_expression_value_12, sizeof(PyObject *), &tmp_expression_value_13, sizeof(PyObject *), &tmp_args_value_1, sizeof(PyObject *), &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_4, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_expression_value_14, sizeof(PyObject *), &tmp_expression_value_15, sizeof(PyObject *), &tmp_kwargs_value_1, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_7 = yield_return_value;
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 684;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_chunk;
coroutine_heap->var_chunk = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
PyObject *tmp_len_arg_1;
if (coroutine_heap->var_bytes_to_read == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[204]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 687;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_isub_expr_left_1 = coroutine_heap->var_bytes_to_read;
CHECK_OBJECT(coroutine_heap->var_chunk);
tmp_len_arg_1 = coroutine_heap->var_chunk;
tmp_isub_expr_right_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_isub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 687;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
Py_DECREF(tmp_isub_expr_right_1);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 687;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_8 = tmp_isub_expr_left_1;
coroutine_heap->var_bytes_to_read = tmp_assign_source_8;
}
{
nuitka_bool tmp_condition_result_5;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_16 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[22]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_17 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
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(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
coroutine_heap->exception_lineno = 688;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_5 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_5 = tmp_or_left_value_1;
or_end_1:;
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_5;
PyObject *tmp_args_element_value_3;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 689;
tmp_assign_source_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__source;
coroutine_heap->tmp_with_1__source = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_18;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_18 = coroutine_heap->tmp_with_1__source;
tmp_called_value_6 = LOOKUP_SPECIAL(tmp_expression_value_18, mod_consts[59]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 689;
tmp_assign_source_10 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__enter;
coroutine_heap->tmp_with_1__enter = tmp_assign_source_10;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_19 = coroutine_heap->tmp_with_1__source;
tmp_assign_source_11 = LOOKUP_SPECIAL(tmp_expression_value_19, mod_consts[60]);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 689;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->tmp_with_1__exit;
coroutine_heap->tmp_with_1__exit = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_assign_source_12;
tmp_assign_source_12 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_12;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_4;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 690;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_4;
}
tmp_called_instance_4 = Nuitka_Cell_GET(coroutine->m_closure[0]);
CHECK_OBJECT(coroutine_heap->var_chunk);
tmp_args_element_value_4 = coroutine_heap->var_chunk;
coroutine->m_frame->m_frame.f_lineno = 690;
tmp_assign_source_13 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[194], tmp_args_element_value_4);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 690;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->var_ret;
coroutine_heap->var_ret = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_cmp_expr_left_4 = coroutine_heap->var_ret;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_4 != tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_expression_value_20;
PyObject *tmp_expression_value_21;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 692;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_expression_value_21 = coroutine_heap->var_ret;
tmp_expression_value_20 = ASYNC_AWAIT(tmp_expression_value_21, await_normal);
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_4;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_21, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 4;
coroutine->m_yieldfrom = tmp_expression_value_20;
coroutine->m_awaiting = true;
return NULL;
yield_return_4:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_21, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_4;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_await_result_1);
}
branch_no_6:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// 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_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_7 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
nuitka_bool tmp_assign_source_14;
tmp_assign_source_14 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_14;
}
{
bool tmp_condition_result_8;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_7 = coroutine_heap->tmp_with_1__exit;
tmp_args_element_value_5 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_6 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_7 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 692;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_operand_value_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_5;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_5;
}
tmp_condition_result_8 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 692;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_5;
branch_no_8:;
goto branch_end_7;
branch_no_7:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 689;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_5;
branch_end_7:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_9;
nuitka_bool tmp_cmp_expr_left_6;
nuitka_bool tmp_cmp_expr_right_6;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_6 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_6 = NUITKA_BOOL_TRUE;
tmp_condition_result_9 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_call_result_1;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_8 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 692;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_8, mod_consts[64]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_3);
Py_XDECREF(coroutine_heap->exception_keeper_value_3);
Py_XDECREF(coroutine_heap->exception_keeper_tb_3);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_9:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_3;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_3;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_3;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_3;
goto try_except_handler_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_10;
nuitka_bool tmp_cmp_expr_left_7;
nuitka_bool tmp_cmp_expr_right_7;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_7 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_7 = NUITKA_BOOL_TRUE;
tmp_condition_result_10 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_called_value_9;
PyObject *tmp_call_result_2;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_9 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 692;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_9, mod_consts[64]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 692;
coroutine_heap->type_description_1 = "ccooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_10:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
Py_DECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_1__enter);
Py_DECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
branch_no_5:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 683;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_1:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_expression_value_22;
PyObject *tmp_expression_value_23;
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_24;
coroutine->m_frame->m_frame.f_lineno = 694;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_24 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[15]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 694;
tmp_expression_value_23 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_5,
mod_consts[191],
PyTuple_GET_ITEM(mod_consts[200], 0)
);
Py_DECREF(tmp_called_instance_5);
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_22 = ASYNC_AWAIT(tmp_expression_value_23, await_normal);
Py_DECREF(tmp_expression_value_23);
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_23, sizeof(PyObject *), &tmp_called_instance_5, sizeof(PyObject *), &tmp_expression_value_24, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 5;
coroutine->m_yieldfrom = tmp_expression_value_22;
coroutine->m_awaiting = true;
return NULL;
yield_return_5:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_23, sizeof(PyObject *), &tmp_called_instance_5, sizeof(PyObject *), &tmp_expression_value_24, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_15 = yield_return_value;
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 694;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_crlf;
coroutine_heap->var_crlf = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_4;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(coroutine_heap->var_crlf);
tmp_cmp_expr_left_8 = coroutine_heap->var_crlf;
tmp_cmp_expr_right_8 = mod_consts[133];
tmp_operand_value_4 = RICH_COMPARE_EQ_OBJECT_OBJECT_BYTES(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_operand_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 695;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
Py_DECREF(tmp_operand_value_4);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 695;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
tmp_raise_type_3 = PyExc_AssertionError;
coroutine_heap->exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
coroutine_heap->exception_lineno = 695;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
branch_no_11:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 669;
coroutine_heap->type_description_1 = "ccooooooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_return_exit_1:;
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
goto try_return_handler_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[1],
coroutine->m_closure[0],
coroutine_heap->var_total_size,
coroutine_heap->var_chunk_len_str,
coroutine_heap->var_chunk_len,
coroutine_heap->var_crlf,
coroutine_heap->var_bytes_to_read,
coroutine_heap->var_chunk,
coroutine_heap->var_ret
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(coroutine_heap->var_total_size);
coroutine_heap->var_total_size = NULL;
CHECK_OBJECT(coroutine_heap->var_chunk_len_str);
Py_DECREF(coroutine_heap->var_chunk_len_str);
coroutine_heap->var_chunk_len_str = NULL;
CHECK_OBJECT(coroutine_heap->var_chunk_len);
Py_DECREF(coroutine_heap->var_chunk_len);
coroutine_heap->var_chunk_len = NULL;
CHECK_OBJECT(coroutine_heap->var_crlf);
Py_DECREF(coroutine_heap->var_crlf);
coroutine_heap->var_crlf = NULL;
Py_XDECREF(coroutine_heap->var_bytes_to_read);
coroutine_heap->var_bytes_to_read = NULL;
Py_XDECREF(coroutine_heap->var_chunk);
coroutine_heap->var_chunk = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_5 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_5 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_5 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_5 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_total_size);
coroutine_heap->var_total_size = NULL;
Py_XDECREF(coroutine_heap->var_chunk_len_str);
coroutine_heap->var_chunk_len_str = NULL;
Py_XDECREF(coroutine_heap->var_chunk_len);
coroutine_heap->var_chunk_len = NULL;
Py_XDECREF(coroutine_heap->var_crlf);
coroutine_heap->var_crlf = NULL;
Py_XDECREF(coroutine_heap->var_bytes_to_read);
coroutine_heap->var_bytes_to_read = NULL;
Py_XDECREF(coroutine_heap->var_chunk);
coroutine_heap->var_chunk = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_5;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_5;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_5;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_context,
module_tornado$http1connection,
mod_consts[187],
mod_consts[205],
codeobj_6135d5e0cfccd1c98cd9aa89c440c469,
closure,
2,
sizeof(struct tornado$http1connection$$$function__26__read_chunked_body$$$coroutine__1__read_chunked_body_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__27__read_body_until_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.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_delegate = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_delegate;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_locals {
PyObject *var_body;
PyObject *var_ret;
PyObject *tmp_with_1__enter;
PyObject *tmp_with_1__exit;
nuitka_bool tmp_with_1__indicator;
PyObject *tmp_with_1__source;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
int tmp_res;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
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;
int exception_keeper_lineno_2;
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;
PyObject *tmp_return_value;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
};
static PyObject *tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_locals *coroutine_heap = (struct tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 2: goto yield_return_2;
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;
coroutine_heap->var_body = NULL;
coroutine_heap->var_ret = NULL;
coroutine_heap->tmp_with_1__enter = NULL;
coroutine_heap->tmp_with_1__exit = NULL;
coroutine_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
coroutine_heap->tmp_with_1__source = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_8bfe811b9649e9b01fbe2ac4158a23f3, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
coroutine->m_frame->m_frame.f_lineno = 700;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 700;
tmp_expression_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[206]);
Py_DECREF(tmp_called_instance_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = ASYNC_AWAIT(tmp_expression_value_2, await_normal);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_1;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = yield_return_value;
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 700;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
assert(coroutine_heap->var_body == NULL);
coroutine_heap->var_body = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[22]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[14]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
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(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
coroutine_heap->exception_lineno = 701;
coroutine_heap->type_description_1 = "ccoo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 702;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
assert(coroutine_heap->tmp_with_1__source == NULL);
coroutine_heap->tmp_with_1__source = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_6 = coroutine_heap->tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_6, mod_consts[59]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 702;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
assert(coroutine_heap->tmp_with_1__enter == NULL);
coroutine_heap->tmp_with_1__enter = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
tmp_expression_value_7 = coroutine_heap->tmp_with_1__source;
tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_value_7, mod_consts[60]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 702;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
assert(coroutine_heap->tmp_with_1__exit == NULL);
coroutine_heap->tmp_with_1__exit = tmp_assign_source_4;
}
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_TRUE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 703;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_4;
}
tmp_called_instance_2 = Nuitka_Cell_GET(coroutine->m_closure[0]);
CHECK_OBJECT(coroutine_heap->var_body);
tmp_args_element_value_2 = coroutine_heap->var_body;
coroutine->m_frame->m_frame.f_lineno = 703;
tmp_assign_source_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[194], tmp_args_element_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 703;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_4;
}
assert(coroutine_heap->var_ret == NULL);
coroutine_heap->var_ret = tmp_assign_source_6;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_cmp_expr_left_1 = coroutine_heap->var_ret;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 705;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_expression_value_9 = coroutine_heap->var_ret;
tmp_expression_value_8 = ASYNC_AWAIT(tmp_expression_value_9, await_normal);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_4;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_9, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_8;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_9, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_4;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_4;
}
Py_DECREF(tmp_await_result_1);
}
branch_no_2:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_BaseException;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_3 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_assign_source_7;
tmp_assign_source_7 = NUITKA_BOOL_FALSE;
coroutine_heap->tmp_with_1__indicator = tmp_assign_source_7;
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_3 = coroutine_heap->tmp_with_1__exit;
tmp_args_element_value_3 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_4 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_5 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
coroutine->m_frame->m_frame.f_lineno = 705;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_operand_value_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_5;
}
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_5;
}
tmp_condition_result_4 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 705;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_5;
branch_no_4:;
goto branch_end_3;
branch_no_3:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 702;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_5;
branch_end_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_4 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 705;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[64]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(coroutine_heap->exception_keeper_type_3);
Py_XDECREF(coroutine_heap->exception_keeper_value_3);
Py_XDECREF(coroutine_heap->exception_keeper_tb_3);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_5:;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_3;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_3;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_3;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_3;
goto try_except_handler_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(coroutine_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = coroutine_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_2;
CHECK_OBJECT(coroutine_heap->tmp_with_1__exit);
tmp_called_value_5 = coroutine_heap->tmp_with_1__exit;
coroutine->m_frame->m_frame.f_lineno = 705;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[64]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 705;
coroutine_heap->type_description_1 = "ccoo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_6:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(coroutine_heap->tmp_with_1__source);
Py_DECREF(coroutine_heap->tmp_with_1__source);
coroutine_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(coroutine_heap->tmp_with_1__enter);
Py_DECREF(coroutine_heap->tmp_with_1__enter);
coroutine_heap->tmp_with_1__enter = NULL;
Py_XDECREF(coroutine_heap->tmp_with_1__exit);
coroutine_heap->tmp_with_1__exit = NULL;
branch_no_1:;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[1],
coroutine->m_closure[0],
coroutine_heap->var_body,
coroutine_heap->var_ret
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(coroutine_heap->var_body);
coroutine_heap->var_body = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_5 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_5 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_5 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_5 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_body);
coroutine_heap->var_body = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_5;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_5;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_5;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_context,
module_tornado$http1connection,
mod_consts[188],
mod_consts[207],
codeobj_8bfe811b9649e9b01fbe2ac4158a23f3,
closure,
2,
sizeof(struct tornado$http1connection$$$function__27__read_body_until_close$$$coroutine__1__read_body_until_close_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__28___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_delegate = python_pars[1];
PyObject *par_chunk_size = python_pars[2];
struct Nuitka_FrameObject *frame_03837c84c78f8260eeb8b6e969109bac;
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_03837c84c78f8260eeb8b6e969109bac = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_03837c84c78f8260eeb8b6e969109bac)) {
Py_XDECREF(cache_frame_03837c84c78f8260eeb8b6e969109bac);
#if _DEBUG_REFCOUNTS
if (cache_frame_03837c84c78f8260eeb8b6e969109bac == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_03837c84c78f8260eeb8b6e969109bac = MAKE_FUNCTION_FRAME(codeobj_03837c84c78f8260eeb8b6e969109bac, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_03837c84c78f8260eeb8b6e969109bac->m_type_description == NULL);
frame_03837c84c78f8260eeb8b6e969109bac = cache_frame_03837c84c78f8260eeb8b6e969109bac;
// Push the new frame as the currently active one.
pushFrameStack(frame_03837c84c78f8260eeb8b6e969109bac);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_03837c84c78f8260eeb8b6e969109bac) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_delegate);
tmp_assattr_value_1 = par_delegate;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[208], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_chunk_size);
tmp_assattr_value_2 = par_chunk_size;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[209], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 713;
type_description_1 = "ooo";
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[210], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_03837c84c78f8260eeb8b6e969109bac);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_03837c84c78f8260eeb8b6e969109bac);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_03837c84c78f8260eeb8b6e969109bac, exception_lineno);
} else if (exception_tb->tb_frame != &frame_03837c84c78f8260eeb8b6e969109bac->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_03837c84c78f8260eeb8b6e969109bac, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_03837c84c78f8260eeb8b6e969109bac,
type_description_1,
par_self,
par_delegate,
par_chunk_size
);
// Release cached frame if used for exception.
if (frame_03837c84c78f8260eeb8b6e969109bac == cache_frame_03837c84c78f8260eeb8b6e969109bac) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_03837c84c78f8260eeb8b6e969109bac);
cache_frame_03837c84c78f8260eeb8b6e969109bac = NULL;
}
assertFrameObject(frame_03837c84c78f8260eeb8b6e969109bac);
// 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_delegate);
Py_DECREF(par_delegate);
CHECK_OBJECT(par_chunk_size);
Py_DECREF(par_chunk_size);
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_delegate);
Py_DECREF(par_delegate);
CHECK_OBJECT(par_chunk_size);
Py_DECREF(par_chunk_size);
// 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$http1connection$$$function__29_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];
struct Nuitka_FrameObject *frame_a269967bbb066b9e8e2aec1e34ed25f3;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a269967bbb066b9e8e2aec1e34ed25f3 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a269967bbb066b9e8e2aec1e34ed25f3)) {
Py_XDECREF(cache_frame_a269967bbb066b9e8e2aec1e34ed25f3);
#if _DEBUG_REFCOUNTS
if (cache_frame_a269967bbb066b9e8e2aec1e34ed25f3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a269967bbb066b9e8e2aec1e34ed25f3 = MAKE_FUNCTION_FRAME(codeobj_a269967bbb066b9e8e2aec1e34ed25f3, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a269967bbb066b9e8e2aec1e34ed25f3->m_type_description == NULL);
frame_a269967bbb066b9e8e2aec1e34ed25f3 = cache_frame_a269967bbb066b9e8e2aec1e34ed25f3;
// Push the new frame as the currently active one.
pushFrameStack(frame_a269967bbb066b9e8e2aec1e34ed25f3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a269967bbb066b9e8e2aec1e34ed25f3) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_headers);
tmp_expression_value_2 = par_headers;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[76]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame.f_lineno = 721;
tmp_expression_value_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[211]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[121]);
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 = 721;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame.f_lineno = 721;
tmp_cmp_expr_left_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[212];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_assattr_target_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[213]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[213]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame.f_lineno = 722;
tmp_assattr_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "ooo";
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[210], 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 = 722;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_headers);
tmp_expression_value_3 = par_headers;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[214]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 726;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[215];
CHECK_OBJECT(par_headers);
tmp_expression_value_4 = par_headers;
tmp_subscript_value_1 = mod_consts[216];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 726;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame.f_lineno = 726;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
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 = 726;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_delsubscr_target_1;
PyObject *tmp_delsubscr_subscript_1;
CHECK_OBJECT(par_headers);
tmp_delsubscr_target_1 = par_headers;
tmp_delsubscr_subscript_1 = mod_consts[216];
tmp_result = DEL_SUBSCRIPT(tmp_delsubscr_target_1, tmp_delsubscr_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[208]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 728;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_start_line);
tmp_args_element_value_3 = par_start_line;
CHECK_OBJECT(par_headers);
tmp_args_element_value_4 = par_headers;
frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame.f_lineno = 728;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[62],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 728;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a269967bbb066b9e8e2aec1e34ed25f3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a269967bbb066b9e8e2aec1e34ed25f3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a269967bbb066b9e8e2aec1e34ed25f3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a269967bbb066b9e8e2aec1e34ed25f3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a269967bbb066b9e8e2aec1e34ed25f3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a269967bbb066b9e8e2aec1e34ed25f3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a269967bbb066b9e8e2aec1e34ed25f3,
type_description_1,
par_self,
par_start_line,
par_headers
);
// Release cached frame if used for exception.
if (frame_a269967bbb066b9e8e2aec1e34ed25f3 == cache_frame_a269967bbb066b9e8e2aec1e34ed25f3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a269967bbb066b9e8e2aec1e34ed25f3);
cache_frame_a269967bbb066b9e8e2aec1e34ed25f3 = NULL;
}
assertFrameObject(frame_a269967bbb066b9e8e2aec1e34ed25f3);
// 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_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$http1connection$$$function__30_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.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_chunk = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_chunk;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_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;
}
struct tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_locals {
PyObject *var_compressed_data;
PyObject *var_decompressed;
PyObject *var_ret;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
char yield_tmps[1024];
PyObject *tmp_return_value;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
};
static PyObject *tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_locals *coroutine_heap = (struct tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 2: goto yield_return_2;
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;
coroutine_heap->var_compressed_data = NULL;
coroutine_heap->var_decompressed = NULL;
coroutine_heap->var_ret = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_0b0441bb09d4c9e6602b2dd45e32b85d, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 731;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[210]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 731;
coroutine_heap->type_description_1 = "ccooo";
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(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
coroutine_heap->exception_lineno = 731;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[149]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 732;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
assert(coroutine_heap->var_compressed_data == NULL);
Py_INCREF(tmp_assign_source_1);
coroutine_heap->var_compressed_data = tmp_assign_source_1;
}
loop_start_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
if (coroutine_heap->var_compressed_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[217]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 733;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = coroutine_heap->var_compressed_data;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 733;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto loop_end_1;
branch_no_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_4;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 734;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[210]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 734;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[12]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 734;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
if (coroutine_heap->var_compressed_data == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[217]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 735;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = coroutine_heap->var_compressed_data;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 735;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[209]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 735;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 734;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 734;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_decompressed;
coroutine_heap->var_decompressed = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_2;
CHECK_OBJECT(coroutine_heap->var_decompressed);
tmp_truth_name_2 = CHECK_IF_TRUE(coroutine_heap->var_decompressed);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 737;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 738;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[208]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 738;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(coroutine_heap->var_decompressed);
tmp_args_element_value_3 = coroutine_heap->var_decompressed;
coroutine->m_frame->m_frame.f_lineno = 738;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[194], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 738;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_ret;
coroutine_heap->var_ret = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_cmp_expr_left_1 = coroutine_heap->var_ret;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 740;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_expression_value_7 = coroutine_heap->var_ret;
tmp_expression_value_6 = ASYNC_AWAIT(tmp_expression_value_7, await_normal);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 740;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_7, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_6;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_7, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 740;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 740;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_await_result_1);
}
branch_no_4:;
branch_no_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 741;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[210]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 741;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[218]);
Py_DECREF(tmp_expression_value_8);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 741;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
{
PyObject *old = coroutine_heap->var_compressed_data;
coroutine_heap->var_compressed_data = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_5;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_3;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(coroutine_heap->var_compressed_data);
tmp_truth_name_3 = CHECK_IF_TRUE(coroutine_heap->var_compressed_data);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 742;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 742;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (coroutine_heap->var_decompressed == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[219]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 742;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = coroutine_heap->var_decompressed;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 742;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (coroutine_heap->tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_5 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_5 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 743;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 743;
tmp_raise_type_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[74],
PyTuple_GET_ITEM(mod_consts[220], 0)
);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 743;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
coroutine_heap->exception_type = tmp_raise_type_1;
coroutine_heap->exception_lineno = 743;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
branch_no_5:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 733;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_4;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 747;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[208]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 747;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[194]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 747;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[149]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 747;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 747;
tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 747;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
assert(coroutine_heap->var_ret == NULL);
coroutine_heap->var_ret = tmp_assign_source_5;
}
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_cmp_expr_left_2 = coroutine_heap->var_ret;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_await_result_2;
coroutine->m_frame->m_frame.f_lineno = 749;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_expression_value_13 = coroutine_heap->var_ret;
tmp_expression_value_12 = ASYNC_AWAIT(tmp_expression_value_13, await_normal);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 749;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_13, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_12;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_13, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 749;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_await_result_2 = yield_return_value;
if (tmp_await_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 749;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_await_result_2);
}
branch_no_6:;
branch_end_1:;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[1],
coroutine->m_closure[0],
coroutine_heap->var_compressed_data,
coroutine_heap->var_decompressed,
coroutine_heap->var_ret
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(coroutine_heap->var_compressed_data);
coroutine_heap->var_compressed_data = NULL;
Py_XDECREF(coroutine_heap->var_decompressed);
coroutine_heap->var_decompressed = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_compressed_data);
coroutine_heap->var_compressed_data = NULL;
Py_XDECREF(coroutine_heap->var_decompressed);
coroutine_heap->var_decompressed = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_1;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_1;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_1;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_context,
module_tornado$http1connection,
mod_consts[194],
mod_consts[221],
codeobj_0b0441bb09d4c9e6602b2dd45e32b85d,
closure,
2,
sizeof(struct tornado$http1connection$$$function__30_data_received$$$coroutine__1_data_received_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__31_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];
PyObject *var_tail = NULL;
struct Nuitka_FrameObject *frame_33785bf80e48a82dfd1a9d10687ceee2;
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_33785bf80e48a82dfd1a9d10687ceee2 = 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_33785bf80e48a82dfd1a9d10687ceee2)) {
Py_XDECREF(cache_frame_33785bf80e48a82dfd1a9d10687ceee2);
#if _DEBUG_REFCOUNTS
if (cache_frame_33785bf80e48a82dfd1a9d10687ceee2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_33785bf80e48a82dfd1a9d10687ceee2 = MAKE_FUNCTION_FRAME(codeobj_33785bf80e48a82dfd1a9d10687ceee2, module_tornado$http1connection, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_33785bf80e48a82dfd1a9d10687ceee2->m_type_description == NULL);
frame_33785bf80e48a82dfd1a9d10687ceee2 = cache_frame_33785bf80e48a82dfd1a9d10687ceee2;
// Push the new frame as the currently active one.
pushFrameStack(frame_33785bf80e48a82dfd1a9d10687ceee2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_33785bf80e48a82dfd1a9d10687ceee2) == 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[210]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 752;
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_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[210]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 753;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_33785bf80e48a82dfd1a9d10687ceee2->m_frame.f_lineno = 753;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[222]);
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 = 753;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_tail == NULL);
var_tail = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_tail);
tmp_truth_name_1 = CHECK_IF_TRUE(var_tail);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 754;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[223];
frame_33785bf80e48a82dfd1a9d10687ceee2->m_frame.f_lineno = 761;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 761;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_2:;
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[208]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 764;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_33785bf80e48a82dfd1a9d10687ceee2->m_frame.f_lineno = 764;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[87]);
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 = 764;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_33785bf80e48a82dfd1a9d10687ceee2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33785bf80e48a82dfd1a9d10687ceee2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33785bf80e48a82dfd1a9d10687ceee2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_33785bf80e48a82dfd1a9d10687ceee2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_33785bf80e48a82dfd1a9d10687ceee2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_33785bf80e48a82dfd1a9d10687ceee2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_33785bf80e48a82dfd1a9d10687ceee2,
type_description_1,
par_self,
var_tail
);
// Release cached frame if used for exception.
if (frame_33785bf80e48a82dfd1a9d10687ceee2 == cache_frame_33785bf80e48a82dfd1a9d10687ceee2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_33785bf80e48a82dfd1a9d10687ceee2);
cache_frame_33785bf80e48a82dfd1a9d10687ceee2 = NULL;
}
assertFrameObject(frame_33785bf80e48a82dfd1a9d10687ceee2);
// 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_tail);
var_tail = 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_tail);
var_tail = 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$http1connection$$$function__32_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_20dd366449038fc0d168046805262496;
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_20dd366449038fc0d168046805262496 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_20dd366449038fc0d168046805262496)) {
Py_XDECREF(cache_frame_20dd366449038fc0d168046805262496);
#if _DEBUG_REFCOUNTS
if (cache_frame_20dd366449038fc0d168046805262496 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_20dd366449038fc0d168046805262496 = MAKE_FUNCTION_FRAME(codeobj_20dd366449038fc0d168046805262496, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_20dd366449038fc0d168046805262496->m_type_description == NULL);
frame_20dd366449038fc0d168046805262496 = cache_frame_20dd366449038fc0d168046805262496;
// Push the new frame as the currently active one.
pushFrameStack(frame_20dd366449038fc0d168046805262496);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_20dd366449038fc0d168046805262496) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[208]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 767;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_20dd366449038fc0d168046805262496->m_frame.f_lineno = 767;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[94]);
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 = 767;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_20dd366449038fc0d168046805262496);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20dd366449038fc0d168046805262496);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20dd366449038fc0d168046805262496);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_20dd366449038fc0d168046805262496, exception_lineno);
} else if (exception_tb->tb_frame != &frame_20dd366449038fc0d168046805262496->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_20dd366449038fc0d168046805262496, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_20dd366449038fc0d168046805262496,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_20dd366449038fc0d168046805262496 == cache_frame_20dd366449038fc0d168046805262496) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_20dd366449038fc0d168046805262496);
cache_frame_20dd366449038fc0d168046805262496 = NULL;
}
assertFrameObject(frame_20dd366449038fc0d168046805262496);
// 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$http1connection$$$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_stream = python_pars[1];
PyObject *par_params = python_pars[2];
PyObject *par_context = python_pars[3];
struct Nuitka_FrameObject *frame_a773b9a08515b881f63ebec5362c5e41;
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_a773b9a08515b881f63ebec5362c5e41 = 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_a773b9a08515b881f63ebec5362c5e41)) {
Py_XDECREF(cache_frame_a773b9a08515b881f63ebec5362c5e41);
#if _DEBUG_REFCOUNTS
if (cache_frame_a773b9a08515b881f63ebec5362c5e41 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a773b9a08515b881f63ebec5362c5e41 = MAKE_FUNCTION_FRAME(codeobj_a773b9a08515b881f63ebec5362c5e41, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a773b9a08515b881f63ebec5362c5e41->m_type_description == NULL);
frame_a773b9a08515b881f63ebec5362c5e41 = cache_frame_a773b9a08515b881f63ebec5362c5e41;
// Push the new frame as the currently active one.
pushFrameStack(frame_a773b9a08515b881f63ebec5362c5e41);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a773b9a08515b881f63ebec5362c5e41) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_stream);
tmp_assattr_value_1 = par_stream;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[15], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 785;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_params);
tmp_cmp_expr_left_1 = par_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:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_a773b9a08515b881f63ebec5362c5e41->m_frame.f_lineno = 787;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_params;
assert(old != NULL);
par_params = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_params);
tmp_assattr_value_2 = par_params;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[17], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 788;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_context);
tmp_assattr_value_3 = par_context;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[18], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[224], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a773b9a08515b881f63ebec5362c5e41);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a773b9a08515b881f63ebec5362c5e41);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a773b9a08515b881f63ebec5362c5e41, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a773b9a08515b881f63ebec5362c5e41->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a773b9a08515b881f63ebec5362c5e41, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a773b9a08515b881f63ebec5362c5e41,
type_description_1,
par_self,
par_stream,
par_params,
par_context
);
// Release cached frame if used for exception.
if (frame_a773b9a08515b881f63ebec5362c5e41 == cache_frame_a773b9a08515b881f63ebec5362c5e41) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a773b9a08515b881f63ebec5362c5e41);
cache_frame_a773b9a08515b881f63ebec5362c5e41 = NULL;
}
assertFrameObject(frame_a773b9a08515b881f63ebec5362c5e41);
// 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_params);
Py_DECREF(par_params);
par_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
par_params = 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_stream);
Py_DECREF(par_stream);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
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_stream);
Py_DECREF(par_stream);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
// 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$http1connection$$$function__34_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.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__34_close$$$coroutine__1_close(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// 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$http1connection$$$function__34_close$$$coroutine__1_close_locals {
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
PyObject *tmp_return_value;
};
static PyObject *tornado$http1connection$$$function__34_close$$$coroutine__1_close_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__34_close$$$coroutine__1_close_locals *coroutine_heap = (struct tornado$http1connection$$$function__34_close$$$coroutine__1_close_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
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_f1c6014f7267829d91967b75536a4fa2, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 797;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[15]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 797;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 797;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 797;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 800;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[224]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 800;
coroutine_heap->type_description_1 = "c";
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;
coroutine_heap->exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
coroutine_heap->exception_lineno = 800;
RAISE_EXCEPTION_WITH_TYPE(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
branch_no_1:;
// Tried code:
{
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 802;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 802;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_1;
}
tmp_expression_value_5 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[224]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 802;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_1;
}
tmp_expression_value_3 = ASYNC_AWAIT(tmp_expression_value_4, await_normal);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 802;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_4, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_3;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_4, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 802;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_1;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 802;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_1;
}
Py_DECREF(tmp_await_result_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_Exception;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_2 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 801;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "c";
goto try_except_handler_2;
branch_no_2:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[0]
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__34_close$$$coroutine__1_close(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__34_close$$$coroutine__1_close_context,
module_tornado$http1connection,
mod_consts[50],
mod_consts[227],
codeobj_f1c6014f7267829d91967b75536a4fa2,
closure,
1,
sizeof(struct tornado$http1connection$$$function__34_close$$$coroutine__1_close_locals)
);
}
static PyObject *impl_tornado$http1connection$$$function__35_start_serving(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_delegate = python_pars[1];
PyObject *var_fut = NULL;
struct Nuitka_FrameObject *frame_6a393b4825f3903ececaf9cbb5c3d985;
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;
static struct Nuitka_FrameObject *cache_frame_6a393b4825f3903ececaf9cbb5c3d985 = 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_6a393b4825f3903ececaf9cbb5c3d985)) {
Py_XDECREF(cache_frame_6a393b4825f3903ececaf9cbb5c3d985);
#if _DEBUG_REFCOUNTS
if (cache_frame_6a393b4825f3903ececaf9cbb5c3d985 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6a393b4825f3903ececaf9cbb5c3d985 = MAKE_FUNCTION_FRAME(codeobj_6a393b4825f3903ececaf9cbb5c3d985, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6a393b4825f3903ececaf9cbb5c3d985->m_type_description == NULL);
frame_6a393b4825f3903ececaf9cbb5c3d985 = cache_frame_6a393b4825f3903ececaf9cbb5c3d985;
// Push the new frame as the currently active one.
pushFrameStack(frame_6a393b4825f3903ececaf9cbb5c3d985);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6a393b4825f3903ececaf9cbb5c3d985) == 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_delegate);
tmp_isinstance_inst_1 = par_delegate;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 811;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[228]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 811;
type_description_1 = "ooo";
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 = 811;
type_description_1 = "ooo";
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 = 811;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 811;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 812;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[229]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 812;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_delegate);
tmp_args_element_value_2 = par_delegate;
frame_6a393b4825f3903ececaf9cbb5c3d985->m_frame.f_lineno = 812;
tmp_args_element_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[230], tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 812;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_6a393b4825f3903ececaf9cbb5c3d985->m_frame.f_lineno = 812;
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 = 812;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_fut == NULL);
var_fut = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_fut);
tmp_assattr_value_1 = var_fut;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[224], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 813;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[15]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_fut);
tmp_args_element_value_3 = var_fut;
tmp_args_element_value_4 = MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving$$$function__1_lambda();
frame_6a393b4825f3903ececaf9cbb5c3d985->m_frame.f_lineno = 815;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[231],
call_args
);
}
Py_DECREF(tmp_called_instance_2);
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 = 815;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a393b4825f3903ececaf9cbb5c3d985);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a393b4825f3903ececaf9cbb5c3d985);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6a393b4825f3903ececaf9cbb5c3d985, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6a393b4825f3903ececaf9cbb5c3d985->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6a393b4825f3903ececaf9cbb5c3d985, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6a393b4825f3903ececaf9cbb5c3d985,
type_description_1,
par_self,
par_delegate,
var_fut
);
// Release cached frame if used for exception.
if (frame_6a393b4825f3903ececaf9cbb5c3d985 == cache_frame_6a393b4825f3903ececaf9cbb5c3d985) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6a393b4825f3903ececaf9cbb5c3d985);
cache_frame_6a393b4825f3903ececaf9cbb5c3d985 = NULL;
}
assertFrameObject(frame_6a393b4825f3903ececaf9cbb5c3d985);
// 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_fut);
Py_DECREF(var_fut);
var_fut = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_fut);
var_fut = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
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_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__35_start_serving$$$function__1_lambda(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_f = python_pars[0];
struct Nuitka_FrameObject *frame_20aff41ce98d35addabf85ab93483c33;
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_20aff41ce98d35addabf85ab93483c33 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_20aff41ce98d35addabf85ab93483c33)) {
Py_XDECREF(cache_frame_20aff41ce98d35addabf85ab93483c33);
#if _DEBUG_REFCOUNTS
if (cache_frame_20aff41ce98d35addabf85ab93483c33 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_20aff41ce98d35addabf85ab93483c33 = MAKE_FUNCTION_FRAME(codeobj_20aff41ce98d35addabf85ab93483c33, module_tornado$http1connection, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_20aff41ce98d35addabf85ab93483c33->m_type_description == NULL);
frame_20aff41ce98d35addabf85ab93483c33 = cache_frame_20aff41ce98d35addabf85ab93483c33;
// Push the new frame as the currently active one.
pushFrameStack(frame_20aff41ce98d35addabf85ab93483c33);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_20aff41ce98d35addabf85ab93483c33) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_f);
tmp_called_instance_1 = par_f;
frame_20aff41ce98d35addabf85ab93483c33->m_frame.f_lineno = 815;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[159]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_20aff41ce98d35addabf85ab93483c33);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20aff41ce98d35addabf85ab93483c33);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20aff41ce98d35addabf85ab93483c33);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_20aff41ce98d35addabf85ab93483c33, exception_lineno);
} else if (exception_tb->tb_frame != &frame_20aff41ce98d35addabf85ab93483c33->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_20aff41ce98d35addabf85ab93483c33, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_20aff41ce98d35addabf85ab93483c33,
type_description_1,
par_f
);
// Release cached frame if used for exception.
if (frame_20aff41ce98d35addabf85ab93483c33 == cache_frame_20aff41ce98d35addabf85ab93483c33) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_20aff41ce98d35addabf85ab93483c33);
cache_frame_20aff41ce98d35addabf85ab93483c33 = NULL;
}
assertFrameObject(frame_20aff41ce98d35addabf85ab93483c33);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_f);
Py_DECREF(par_f);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_f);
Py_DECREF(par_f);
// 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$http1connection$$$function__36__server_request_loop(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_delegate = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_delegate;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_COROUTINE_tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_delegate);
Py_DECREF(par_delegate);
// 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$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_locals {
PyObject *var_conn;
PyObject *var_request_delegate;
PyObject *var_ret;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
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;
int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
};
static PyObject *tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_locals *coroutine_heap = (struct tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 2: goto yield_return_2;
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;
coroutine_heap->var_conn = NULL;
coroutine_heap->var_request_delegate = NULL;
coroutine_heap->var_ret = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_4ed05136a100a6483e5191b1b8655f04, module_tornado$http1connection, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[235]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[235]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[15]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = Py_False;
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_args_element_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_args_element_value_1);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_3);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[18]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_3);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 822;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 822;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->var_conn;
coroutine_heap->var_conn = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 823;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[236]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 823;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 823;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_args_element_value_5 = Nuitka_Cell_GET(coroutine->m_closure[1]);
CHECK_OBJECT(coroutine_heap->var_conn);
tmp_args_element_value_6 = coroutine_heap->var_conn;
coroutine->m_frame->m_frame.f_lineno = 823;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 823;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
{
PyObject *old = coroutine_heap->var_request_delegate;
coroutine_heap->var_request_delegate = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_7;
coroutine->m_frame->m_frame.f_lineno = 825;
CHECK_OBJECT(coroutine_heap->var_conn);
tmp_called_instance_1 = coroutine_heap->var_conn;
CHECK_OBJECT(coroutine_heap->var_request_delegate);
tmp_args_element_value_7 = coroutine_heap->var_request_delegate;
coroutine->m_frame->m_frame.f_lineno = 825;
tmp_expression_value_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[237], tmp_args_element_value_7);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 825;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_3;
}
tmp_expression_value_5 = ASYNC_AWAIT(tmp_expression_value_6, await_normal);
Py_DECREF(tmp_expression_value_6);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 825;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_6, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_args_element_value_7, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_5;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_6, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_args_element_value_7, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 825;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_3;
}
tmp_assign_source_3 = yield_return_value;
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 825;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_3;
}
{
PyObject *old = coroutine_heap->var_ret;
coroutine_heap->var_ret = tmp_assign_source_3;
Py_XDECREF(old);
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
coroutine_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_1 == NULL) {
coroutine_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
} else if (coroutine_heap->exception_keeper_lineno_1 != 0) {
coroutine_heap->exception_keeper_tb_1 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_1, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_1, &coroutine_heap->exception_keeper_value_1, &coroutine_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_7;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 827;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
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(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 827;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyTuple_SET_ITEM(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 828;
coroutine_heap->type_description_1 = "ccooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[238]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 828;
coroutine_heap->type_description_1 = "ccooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_1, 1, tmp_tuple_element_1);
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[239]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 829;
coroutine_heap->type_description_1 = "ccooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[240]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 829;
coroutine_heap->type_description_1 = "ccooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_1);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 826;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
tmp_condition_result_1 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_4;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 832;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 832;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
tmp_condition_result_2 = (coroutine_heap->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_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(coroutine_heap->var_conn);
tmp_called_instance_2 = coroutine_heap->var_conn;
coroutine->m_frame->m_frame.f_lineno = 834;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 834;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_1);
}
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_4;
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_Exception;
coroutine_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(coroutine_heap->tmp_res == -1));
tmp_condition_result_3 = (coroutine_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_2;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 837;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[1]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 837;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
coroutine->m_frame->m_frame.f_lineno = 837;
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS1_VECTORCALL(tmp_called_value_3, &PyTuple_GET_ITEM(mod_consts[241], 0), mod_consts[3]);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 837;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
CHECK_OBJECT(coroutine_heap->var_conn);
tmp_called_instance_3 = coroutine_heap->var_conn;
coroutine->m_frame->m_frame.f_lineno = 838;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[50]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 838;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_3);
}
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_4;
goto branch_end_3;
branch_no_3:;
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 824;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_4;
branch_end_3:;
branch_end_2:;
branch_end_1:;
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(&coroutine_heap->exception_preserved_1);
goto try_return_handler_2;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_1);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
// End of try:
try_end_1:;
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(coroutine_heap->var_ret);
tmp_operand_value_1 = coroutine_heap->var_ret;
coroutine_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (coroutine_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 840;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (coroutine_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
coroutine_heap->tmp_return_value = Py_None;
Py_INCREF(coroutine_heap->tmp_return_value);
goto try_return_handler_2;
branch_no_4:;
{
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_called_instance_4;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 842;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[239]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[239]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 842;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
coroutine->m_frame->m_frame.f_lineno = 842;
tmp_expression_value_12 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[242],
PyTuple_GET_ITEM(mod_consts[243], 0)
);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 842;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_expression_value_11 = ASYNC_AWAIT(tmp_expression_value_12, await_normal);
Py_DECREF(tmp_expression_value_12);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 842;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_12, sizeof(PyObject *), &tmp_called_instance_4, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 2;
coroutine->m_yieldfrom = tmp_expression_value_11;
coroutine->m_awaiting = true;
return NULL;
yield_return_2:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_12, sizeof(PyObject *), &tmp_called_instance_4, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 842;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
tmp_await_result_1 = yield_return_value;
if (tmp_await_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 842;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_await_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 821;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_2;
}
goto loop_start_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_8;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[244]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 844;
tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_4);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Preserve existing published exception id 2.
coroutine_heap->exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (coroutine_heap->exception_keeper_tb_3 == NULL) {
coroutine_heap->exception_keeper_tb_3 = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_keeper_lineno_3);
} else if (coroutine_heap->exception_keeper_lineno_3 != 0) {
coroutine_heap->exception_keeper_tb_3 = ADD_TRACEBACK(coroutine_heap->exception_keeper_tb_3, coroutine->m_frame, coroutine_heap->exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&coroutine_heap->exception_keeper_type_3, &coroutine_heap->exception_keeper_value_3, &coroutine_heap->exception_keeper_tb_3);
// Tried code:
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_9;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[61]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_5;
}
tmp_expression_value_14 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[244]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_5;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[38]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_5;
}
tmp_args_element_value_9 = Nuitka_Cell_GET(coroutine->m_closure[1]);
coroutine->m_frame->m_frame.f_lineno = 844;
tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_5);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 844;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_5);
}
coroutine_heap->tmp_result = RERAISE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
if (unlikely(coroutine_heap->tmp_result == false)) {
coroutine_heap->exception_lineno = 820;
}
if (coroutine_heap->exception_tb && coroutine_heap->exception_tb->tb_frame == &coroutine->m_frame->m_frame) coroutine->m_frame->m_frame.f_lineno = coroutine_heap->exception_tb->tb_lineno;
coroutine_heap->type_description_1 = "ccooo";
goto try_except_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_5:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&coroutine_heap->exception_preserved_2);
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
// End of try:
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_return_exit_1:;
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
goto try_return_handler_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
coroutine->m_closure[1],
coroutine->m_closure[0],
coroutine_heap->var_conn,
coroutine_heap->var_request_delegate,
coroutine_heap->var_ret
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(coroutine_heap->var_conn);
Py_DECREF(coroutine_heap->var_conn);
coroutine_heap->var_conn = NULL;
CHECK_OBJECT(coroutine_heap->var_request_delegate);
Py_DECREF(coroutine_heap->var_request_delegate);
coroutine_heap->var_request_delegate = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_5 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_5 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_5 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_5 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->var_conn);
coroutine_heap->var_conn = NULL;
Py_XDECREF(coroutine_heap->var_request_delegate);
coroutine_heap->var_request_delegate = NULL;
Py_XDECREF(coroutine_heap->var_ret);
coroutine_heap->var_ret = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_5;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_5;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_5;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_context,
module_tornado$http1connection,
mod_consts[230],
mod_consts[245],
codeobj_4ed05136a100a6483e5191b1b8655f04,
closure,
2,
sizeof(struct tornado$http1connection$$$function__36__server_request_loop$$$coroutine__1__server_request_loop_locals)
);
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__10_set_close_callback(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__10_set_close_callback,
mod_consts[90],
#if PYTHON_VERSION >= 0x300
mod_consts[318],
#endif
codeobj_c40a1101eab704811c95fdf0b325f864,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[101],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__11__on_connection_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__11__on_connection_close,
mod_consts[91],
#if PYTHON_VERSION >= 0x300
mod_consts[319],
#endif
codeobj_9dd3988151fce6c4596004d0069b312f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__12_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__12_close,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[320],
#endif
codeobj_faac5880f9c2dad0d0abd75049f2eaa1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__13_detach(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__13_detach,
mod_consts[321],
#if PYTHON_VERSION >= 0x300
mod_consts[322],
#endif
codeobj_f8633ae99a9fc3a629dc5f9e19cc8b81,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[103],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__14_set_body_timeout(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__14_set_body_timeout,
mod_consts[324],
#if PYTHON_VERSION >= 0x300
mod_consts[325],
#endif
codeobj_a624c36f1ce27077ff98613b3727881b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[104],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__15_set_max_body_size(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__15_set_max_body_size,
mod_consts[326],
#if PYTHON_VERSION >= 0x300
mod_consts[327],
#endif
codeobj_cf5c48565ec369f4de5e1c47836c65f9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[105],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__16_write_headers(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__16_write_headers,
mod_consts[330],
#if PYTHON_VERSION >= 0x300
mod_consts[331],
#endif
codeobj_129484869a36dce86cb23685176ed4df,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[140],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__17__format_chunk(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__17__format_chunk,
mod_consts[136],
#if PYTHON_VERSION >= 0x300
mod_consts[332],
#endif
codeobj_21dad90fb6b8fbb3a5473fc9b95af58c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__18_write(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__18_write,
mod_consts[79],
#if PYTHON_VERSION >= 0x300
mod_consts[333],
#endif
codeobj_e3ebe1afa3c0da0459429afe766383d8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[151],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__19_finish(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__19_finish,
mod_consts[87],
#if PYTHON_VERSION >= 0x300
mod_consts[334],
#endif
codeobj_2fa4c05d0cebb380282bb57c752eb987,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[158],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__1___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[286],
#endif
codeobj_147451a685f4eb17d356cf53a94821be,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__20__on_write_complete(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__20__on_write_complete,
mod_consts[138],
#if PYTHON_VERSION >= 0x300
mod_consts[336],
#endif
codeobj_b40614c053f31b4abd8936f5d1cf5e73,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__21__can_keep_alive(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__21__can_keep_alive,
mod_consts[56],
#if PYTHON_VERSION >= 0x300
mod_consts[337],
#endif
codeobj_1fadfcfc08997477afcacab866818dc5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__22__finish_request(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__22__finish_request,
mod_consts[157],
#if PYTHON_VERSION >= 0x300
mod_consts[339],
#endif
codeobj_19be3b89ddc73d0c4cf73713e8c0373a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__23__parse_headers(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__23__parse_headers,
mod_consts[51],
#if PYTHON_VERSION >= 0x300
mod_consts[342],
#endif
codeobj_2a432f09ee2f18c239763fdc430e9e53,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__24__read_body(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__24__read_body,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[343],
#endif
codeobj_2adae403958bd70f6b6a1a4936faf9d5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__25__read_fixed_body(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__25__read_fixed_body,
mod_consts[186],
#if PYTHON_VERSION >= 0x300
mod_consts[195],
#endif
codeobj_af56a41f6f31855697300ef4beb40c24,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__26__read_chunked_body(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__26__read_chunked_body,
mod_consts[187],
#if PYTHON_VERSION >= 0x300
mod_consts[205],
#endif
codeobj_6135d5e0cfccd1c98cd9aa89c440c469,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__27__read_body_until_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__27__read_body_until_close,
mod_consts[188],
#if PYTHON_VERSION >= 0x300
mod_consts[207],
#endif
codeobj_8bfe811b9649e9b01fbe2ac4158a23f3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__28___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__28___init__,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[345],
#endif
codeobj_03837c84c78f8260eeb8b6e969109bac,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__29_headers_received(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__29_headers_received,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
mod_consts[346],
#endif
codeobj_a269967bbb066b9e8e2aec1e34ed25f3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__2___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__2___init__,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[292],
#endif
codeobj_381fbcbcd86d794becd27dd9f20816aa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__30_data_received(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__30_data_received,
mod_consts[194],
#if PYTHON_VERSION >= 0x300
mod_consts[221],
#endif
codeobj_0b0441bb09d4c9e6602b2dd45e32b85d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__31_finish(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__31_finish,
mod_consts[87],
#if PYTHON_VERSION >= 0x300
mod_consts[347],
#endif
codeobj_33785bf80e48a82dfd1a9d10687ceee2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__32_on_connection_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__32_on_connection_close,
mod_consts[94],
#if PYTHON_VERSION >= 0x300
mod_consts[348],
#endif
codeobj_20dd366449038fc0d168046805262496,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__33___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__33___init__,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[351],
#endif
codeobj_a773b9a08515b881f63ebec5362c5e41,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[225],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__34_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__34_close,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[227],
#endif
codeobj_f1c6014f7267829d91967b75536a4fa2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[226],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__35_start_serving,
mod_consts[352],
#if PYTHON_VERSION >= 0x300
mod_consts[353],
#endif
codeobj_6a393b4825f3903ececaf9cbb5c3d985,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[234],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving$$$function__1_lambda() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__35_start_serving$$$function__1_lambda,
mod_consts[232],
#if PYTHON_VERSION >= 0x300
mod_consts[233],
#endif
codeobj_20aff41ce98d35addabf85ab93483c33,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__36__server_request_loop(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__36__server_request_loop,
mod_consts[230],
#if PYTHON_VERSION >= 0x300
mod_consts[245],
#endif
codeobj_4ed05136a100a6483e5191b1b8655f04,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__3___enter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[293],
#endif
codeobj_048fd0ea12a6cc267c158902bd031b47,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__4___exit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__4___exit__,
mod_consts[60],
#if PYTHON_VERSION >= 0x300
mod_consts[300],
#endif
codeobj_8b6515a7daf56b943528a0d70b69c788,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__5___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__5___init__,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[306],
#endif
codeobj_93b9fe5513bf6119090ed44c1b3d26f3,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[13],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__6___init__(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__6___init__,
mod_consts[285],
#if PYTHON_VERSION >= 0x300
mod_consts[312],
#endif
codeobj_1ab769e6ce47b60919596130d3996f32,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[34],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__7_read_response(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__7_read_response,
mod_consts[237],
#if PYTHON_VERSION >= 0x300
mod_consts[314],
#endif
codeobj_4878719e0375dea6dea9b3429656607f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[37],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__8__read_message(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__8__read_message,
mod_consts[36],
#if PYTHON_VERSION >= 0x300
mod_consts[95],
#endif
codeobj_302ec74309d3669623ff2e7b9f39f0fd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$http1connection$$$function__9__clear_callbacks(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$http1connection$$$function__9__clear_callbacks,
mod_consts[27],
#if PYTHON_VERSION >= 0x300
mod_consts[315],
#endif
codeobj_6855f5a0c1178963bcce1abd280bc97a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$http1connection,
mod_consts[100],
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$http1connection[] = {
impl_tornado$http1connection$$$function__35_start_serving$$$function__1_lambda,
NULL,
impl_tornado$http1connection$$$function__2___init__,
NULL,
impl_tornado$http1connection$$$function__4___exit__,
impl_tornado$http1connection$$$function__5___init__,
impl_tornado$http1connection$$$function__6___init__,
impl_tornado$http1connection$$$function__7_read_response,
impl_tornado$http1connection$$$function__8__read_message,
impl_tornado$http1connection$$$function__9__clear_callbacks,
impl_tornado$http1connection$$$function__10_set_close_callback,
impl_tornado$http1connection$$$function__11__on_connection_close,
impl_tornado$http1connection$$$function__12_close,
impl_tornado$http1connection$$$function__13_detach,
impl_tornado$http1connection$$$function__14_set_body_timeout,
impl_tornado$http1connection$$$function__15_set_max_body_size,
impl_tornado$http1connection$$$function__16_write_headers,
impl_tornado$http1connection$$$function__17__format_chunk,
impl_tornado$http1connection$$$function__18_write,
impl_tornado$http1connection$$$function__19_finish,
impl_tornado$http1connection$$$function__20__on_write_complete,
impl_tornado$http1connection$$$function__21__can_keep_alive,
impl_tornado$http1connection$$$function__22__finish_request,
impl_tornado$http1connection$$$function__23__parse_headers,
impl_tornado$http1connection$$$function__24__read_body,
impl_tornado$http1connection$$$function__25__read_fixed_body,
impl_tornado$http1connection$$$function__26__read_chunked_body,
impl_tornado$http1connection$$$function__27__read_body_until_close,
impl_tornado$http1connection$$$function__28___init__,
impl_tornado$http1connection$$$function__29_headers_received,
impl_tornado$http1connection$$$function__30_data_received,
impl_tornado$http1connection$$$function__31_finish,
impl_tornado$http1connection$$$function__32_on_connection_close,
impl_tornado$http1connection$$$function__33___init__,
impl_tornado$http1connection$$$function__34_close,
impl_tornado$http1connection$$$function__35_start_serving,
impl_tornado$http1connection$$$function__36__server_request_loop,
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$http1connection;
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$http1connection) || 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$http1connection[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$http1connection,
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$http1connection(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.http1connection");
// Store the module for future use.
module_tornado$http1connection = 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.http1connection: 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.http1connection: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.http1connection: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$http1connection\n");
moduledict_tornado$http1connection = MODULE_DICT(module_tornado$http1connection);
#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$http1connection,
(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$http1connection,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[389]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$http1connection,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (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$http1connection,
(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$http1connection, (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$http1connection,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$http1connection);
// 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$http1connection, (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$http1connection, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$http1connection, (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$http1connection, (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$http1connection);
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$http1connection, (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;
PyObject *outline_5_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
PyObject *tmp_import_from_4__module = NULL;
struct Nuitka_FrameObject *frame_1e19327cfef83a061bc1c73f1327df9c;
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;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$http1connection$$$class__1__QuietException_42 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_25c37ee45f833269fa912789345d6ec5_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_25c37ee45f833269fa912789345d6ec5_2 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47 = NULL;
struct Nuitka_FrameObject *frame_411887091ddf2b30a8fed9cb0fa30fd7_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71 = NULL;
struct Nuitka_FrameObject *frame_64cd6998dc20d2387b98df32869dddea_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_64cd6998dc20d2387b98df32869dddea_4 = NULL;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *locals_tornado$http1connection$$$class__4_HTTP1Connection_104 = NULL;
struct Nuitka_FrameObject *frame_661359a85be63cd9eff31a77d074a4cc_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_661359a85be63cd9eff31a77d074a4cc_5 = NULL;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708 = NULL;
struct Nuitka_FrameObject *frame_6efb62b6343cf1aa0d3640759902b209_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_6efb62b6343cf1aa0d3640759902b209_6 = NULL;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770 = NULL;
struct Nuitka_FrameObject *frame_bd0bb8210dd6b9af850215155b9346e5_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_bd0bb8210dd6b9af850215155b9346e5_7 = NULL;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[246];
UPDATE_STRING_DICT0(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[248];
UPDATE_STRING_DICT0(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[249], tmp_assign_source_2);
}
// Frame without reuse.
frame_1e19327cfef83a061bc1c73f1327df9c = MAKE_MODULE_FRAME(codeobj_1e19327cfef83a061bc1c73f1327df9c, module_tornado$http1connection);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_1e19327cfef83a061bc1c73f1327df9c);
assert(Py_REFCNT(frame_1e19327cfef83a061bc1c73f1327df9c) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[248];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[250]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[250]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[251], 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$http1connection, (Nuitka_StringObject *)mod_consts[250]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[250]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[252], 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$http1connection, (Nuitka_StringObject *)mod_consts[253], 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[239];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 21;
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 = 21;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[239], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[254];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 22;
tmp_assign_source_5 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[254], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[176];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 23;
tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 23;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[176], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = IMPORT_HARD_TYPES();
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[255], 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[256];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[257];
tmp_level_value_4 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 26;
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 = 26;
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_1;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_1 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[24],
mod_consts[83]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[24]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_2 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[137],
mod_consts[83]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[137]);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[137], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
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_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[102],
mod_consts[83]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[102]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[102], 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_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[258];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[259];
tmp_level_value_5 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 31;
tmp_assign_source_12 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_4 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[141],
mod_consts[83]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[141]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[141], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_5 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[108],
mod_consts[83]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[108]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_14);
}
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_15;
PyObject *tmp_import_name_from_6;
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[260];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[261];
tmp_level_value_6 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 32;
tmp_import_name_from_6 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_import_name_from_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[42],
mod_consts[83]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[42]);
}
Py_DECREF(tmp_import_name_from_6);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_7;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[260];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[262];
tmp_level_value_7 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 33;
tmp_import_name_from_7 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_import_name_from_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[53],
mod_consts[83]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[53]);
}
Py_DECREF(tmp_import_name_from_7);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_8;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[260];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[263];
tmp_level_value_8 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 34;
tmp_import_name_from_8 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[46],
mod_consts[83]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[46]);
}
Py_DECREF(tmp_import_name_from_8);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[264];
tmp_globals_arg_value_9 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[265];
tmp_level_value_9 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 35;
tmp_assign_source_18 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_18;
}
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_9 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[84],
mod_consts[83]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[84]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_10 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[58],
mod_consts[83]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[58]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[58], tmp_assign_source_20);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_11;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[266];
tmp_globals_arg_value_10 = (PyObject *)moduledict_tornado$http1connection;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[267];
tmp_level_value_10 = mod_consts[83];
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 36;
tmp_import_name_from_11 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_import_name_from_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[213],
mod_consts[83]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[213]);
}
Py_DECREF(tmp_import_name_from_11);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[213], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_22 == NULL));
assert(tmp_import_from_4__module == NULL);
Py_INCREF(tmp_assign_source_22);
tmp_import_from_4__module = tmp_assign_source_22;
}
// Tried code:
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_12 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[124],
mod_consts[83]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[124]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[124], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_13 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[268],
mod_consts[83]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[268]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_14 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[269],
mod_consts[83]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[269]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[269], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_15 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[270],
mod_consts[83]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[270]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[270], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_16;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_16 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[271],
mod_consts[83]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[271]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[271], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_import_name_from_17;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_17 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_28 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[272],
mod_consts[83]
);
} else {
tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[272]);
}
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[272], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_18 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_29 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_tornado$http1connection,
mod_consts[273],
mod_consts[83]
);
} else {
tmp_assign_source_29 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[273]);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[273], tmp_assign_source_29);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[274];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_30 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[275];
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[275];
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 = 42;
goto try_except_handler_5;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_1 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[83];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_32 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_32;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[275];
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[275];
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 = 42;
goto try_except_handler_5;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_2, mod_consts[276]);
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_33;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_3 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[276]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
tmp_tuple_element_1 = mod_consts[4];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_1 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 42;
tmp_assign_source_33 = 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_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_33;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_4 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[277]);
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 = 42;
goto try_except_handler_5;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[278];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[279];
tmp_getattr_default_1 = mod_consts[280];
tmp_tuple_element_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_5;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_5 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_5 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[279]);
Py_DECREF(tmp_expression_value_5);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_5;
// 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 = 42;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 42;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_5;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_34;
}
branch_end_2:;
{
PyObject *tmp_assign_source_35;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$http1connection$$$class__1__QuietException_42 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__1__QuietException_42, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_7;
}
tmp_dictset_value = mod_consts[4];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__1__QuietException_42, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_7;
}
if (isFrameUnusable(cache_frame_25c37ee45f833269fa912789345d6ec5_2)) {
Py_XDECREF(cache_frame_25c37ee45f833269fa912789345d6ec5_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_25c37ee45f833269fa912789345d6ec5_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_25c37ee45f833269fa912789345d6ec5_2 = MAKE_CLASS_FRAME(codeobj_25c37ee45f833269fa912789345d6ec5, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_25c37ee45f833269fa912789345d6ec5_2->m_type_description == NULL);
frame_25c37ee45f833269fa912789345d6ec5_2 = cache_frame_25c37ee45f833269fa912789345d6ec5_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_25c37ee45f833269fa912789345d6ec5_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_25c37ee45f833269fa912789345d6ec5_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_1;
tmp_annotations_1 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__1___init__(tmp_annotations_1);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__1__QuietException_42, mod_consts[285], 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 = 43;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_25c37ee45f833269fa912789345d6ec5_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_25c37ee45f833269fa912789345d6ec5_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_25c37ee45f833269fa912789345d6ec5_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_25c37ee45f833269fa912789345d6ec5_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_25c37ee45f833269fa912789345d6ec5_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_25c37ee45f833269fa912789345d6ec5_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_25c37ee45f833269fa912789345d6ec5_2 == cache_frame_25c37ee45f833269fa912789345d6ec5_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_25c37ee45f833269fa912789345d6ec5_2);
cache_frame_25c37ee45f833269fa912789345d6ec5_2 = NULL;
}
assertFrameObject(frame_25c37ee45f833269fa912789345d6ec5_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_7;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[274];
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 = 42;
goto try_except_handler_7;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[274];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__1__QuietException_42, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_7;
}
branch_no_4:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = mod_consts[4];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_3);
tmp_tuple_element_3 = locals_tornado$http1connection$$$class__1__QuietException_42;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 42;
tmp_assign_source_36 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto try_except_handler_7;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_36;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_35 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_35);
goto try_return_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
Py_DECREF(locals_tornado$http1connection$$$class__1__QuietException_42);
locals_tornado$http1connection$$$class__1__QuietException_42 = NULL;
goto try_return_handler_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__1__QuietException_42);
locals_tornado$http1connection$$$class__1__QuietException_42 = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 42;
goto try_except_handler_5;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_35);
}
goto try_end_5;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[288];
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 = 47;
goto try_except_handler_8;
}
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_6;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[275];
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[275];
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 = 47;
goto try_except_handler_8;
}
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_6 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[83];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_2, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_8;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_8;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_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 = 47;
goto try_except_handler_8;
}
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[275];
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[275];
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 = 47;
goto try_except_handler_8;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_7 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[276]);
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_8;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_8 = tmp_class_creation_2__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[276]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_8;
}
tmp_tuple_element_4 = mod_consts[57];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_4 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 47;
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 = 47;
goto try_except_handler_8;
}
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_9;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_9 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[277]);
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 = 47;
goto try_except_handler_8;
}
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_5;
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[278];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[279];
tmp_getattr_default_2 = mod_consts[280];
tmp_tuple_element_5 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_8;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_10;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_10 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_10 == NULL));
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[279]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_5);
}
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_8;
// 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 = 47;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 47;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_8;
}
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$http1connection$$$class__2__ExceptionLoggingContext_47 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_10;
}
tmp_dictset_value = mod_consts[289];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_10;
}
tmp_dictset_value = mod_consts[57];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_10;
}
if (isFrameUnusable(cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3)) {
Py_XDECREF(cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3 = MAKE_CLASS_FRAME(codeobj_411887091ddf2b30a8fed9cb0fa30fd7, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3->m_type_description == NULL);
frame_411887091ddf2b30a8fed9cb0fa30fd7_3 = cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_411887091ddf2b30a8fed9cb0fa30fd7_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_411887091ddf2b30a8fed9cb0fa30fd7_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_11;
tmp_dict_key_1 = mod_consts[0];
tmp_expression_value_11 = PyObject_GetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[254]);
if (tmp_expression_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[254]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[254]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_expression_value_11);
} else {
goto frame_exception_exit_3;
}
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[290]);
Py_DECREF(tmp_expression_value_11);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_annotations_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[291];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__2___init__(tmp_annotations_2);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[285], 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 = 53;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_3;
tmp_annotations_3 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__3___enter__(tmp_annotations_3);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, 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 = 56;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_dict_key_2 = mod_consts[294];
tmp_dict_value_2 = mod_consts[295];
tmp_annotations_4 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_3;
PyObject *tmp_expression_value_13;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[296];
tmp_expression_value_12 = PyObject_GetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[268]);
if (tmp_expression_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 62;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_12);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_3 = PyObject_GetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[297]);
if (tmp_subscript_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_3 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_3);
} else {
goto dict_build_exception_1;
}
}
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_3);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 62;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[298];
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[255]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[255]);
}
assert(!(tmp_expression_value_13 == NULL));
tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[299]);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
type_description_2 = "o";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[291];
tmp_dict_value_2 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_annotations_4);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__4___exit__(tmp_annotations_4);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[60], 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 = 59;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_411887091ddf2b30a8fed9cb0fa30fd7_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_411887091ddf2b30a8fed9cb0fa30fd7_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_411887091ddf2b30a8fed9cb0fa30fd7_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_411887091ddf2b30a8fed9cb0fa30fd7_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_411887091ddf2b30a8fed9cb0fa30fd7_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_411887091ddf2b30a8fed9cb0fa30fd7_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_411887091ddf2b30a8fed9cb0fa30fd7_3 == cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3);
cache_frame_411887091ddf2b30a8fed9cb0fa30fd7_3 = NULL;
}
assertFrameObject(frame_411887091ddf2b30a8fed9cb0fa30fd7_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_10;
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;
tmp_cmp_expr_right_2 = mod_consts[288];
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 = 47;
goto try_except_handler_10;
}
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
tmp_dictset_value = mod_consts[288];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto try_except_handler_10;
}
branch_no_8:;
{
PyObject *tmp_assign_source_43;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_6 = mod_consts[57];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 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_4, 1, tmp_tuple_element_6);
tmp_tuple_element_6 = locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 47;
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 = 47;
goto try_except_handler_10;
}
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_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
Py_DECREF(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47);
locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47 = NULL;
goto try_return_handler_9;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47);
locals_tornado$http1connection$$$class__2__ExceptionLoggingContext_47 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 47;
goto try_except_handler_8;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[57], tmp_assign_source_42);
}
goto try_end_6;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_2__bases);
Py_DECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_44;
PyObject *tmp_dircall_arg1_3;
tmp_dircall_arg1_3 = mod_consts[288];
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_44 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_44;
}
{
PyObject *tmp_assign_source_45;
tmp_assign_source_45 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_45;
}
{
PyObject *tmp_assign_source_46;
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_14;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[275];
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[275];
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 = 71;
goto try_except_handler_11;
}
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_14 = tmp_class_creation_3__bases;
tmp_subscript_value_4 = mod_consts[83];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_14, tmp_subscript_value_4, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_46 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_46;
}
{
bool tmp_condition_result_15;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[275];
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[275];
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 = 71;
goto try_except_handler_11;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_15 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_15, mod_consts[276]);
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_47;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_7;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_16 = tmp_class_creation_3__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[276]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
tmp_tuple_element_7 = mod_consts[16];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_7 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 71;
tmp_assign_source_47 = 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_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_47;
}
{
bool tmp_condition_result_17;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_17 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[277]);
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 = 71;
goto try_except_handler_11;
}
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_8;
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[278];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[279];
tmp_getattr_default_3 = mod_consts[280];
tmp_tuple_element_8 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_11;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_18;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_18 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_18 == NULL));
tmp_tuple_element_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[279]);
Py_DECREF(tmp_expression_value_18);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_8);
}
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_11;
// 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 = 71;
goto try_except_handler_11;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 71;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_11;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_48;
tmp_assign_source_48 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_48;
}
branch_end_10:;
{
PyObject *tmp_assign_source_49;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
tmp_dictset_value = mod_consts[301];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
tmp_dictset_value = mod_consts[16];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
if (isFrameUnusable(cache_frame_64cd6998dc20d2387b98df32869dddea_4)) {
Py_XDECREF(cache_frame_64cd6998dc20d2387b98df32869dddea_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_64cd6998dc20d2387b98df32869dddea_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_64cd6998dc20d2387b98df32869dddea_4 = MAKE_CLASS_FRAME(codeobj_64cd6998dc20d2387b98df32869dddea, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_64cd6998dc20d2387b98df32869dddea_4->m_type_description == NULL);
frame_64cd6998dc20d2387b98df32869dddea_4 = cache_frame_64cd6998dc20d2387b98df32869dddea_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_64cd6998dc20d2387b98df32869dddea_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_64cd6998dc20d2387b98df32869dddea_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
tmp_defaults_1 = mod_consts[302];
tmp_dict_key_3 = mod_consts[5];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[303]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_5 = _PyDict_NewPresized( 8 );
{
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_5;
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_6;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_7;
PyObject *tmp_expression_value_22;
PyObject *tmp_subscript_value_8;
PyObject *tmp_expression_value_23;
PyObject *tmp_subscript_value_9;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[7];
tmp_expression_value_19 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[268]);
if (tmp_expression_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_19);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_5 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[304]);
if (tmp_subscript_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_5 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_5);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_19, tmp_subscript_value_5);
Py_DECREF(tmp_expression_value_19);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[8];
tmp_expression_value_20 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[268]);
if (tmp_expression_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_20);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_6 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[304]);
if (tmp_subscript_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_6 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_6);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_20, tmp_subscript_value_6);
Py_DECREF(tmp_expression_value_20);
Py_DECREF(tmp_subscript_value_6);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[9];
tmp_expression_value_21 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[268]);
if (tmp_expression_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_21);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_7 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[305]);
if (tmp_subscript_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_7 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_subscript_value_7);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_21);
Py_DECREF(tmp_subscript_value_7);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[10];
tmp_expression_value_22 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[268]);
if (tmp_expression_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 80;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_22);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_8 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[304]);
if (tmp_subscript_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_8 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_8);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_22, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_22);
Py_DECREF(tmp_subscript_value_8);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 80;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[11];
tmp_expression_value_23 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[268]);
if (tmp_expression_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_23);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_9 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[305]);
if (tmp_subscript_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_9 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_subscript_value_9);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_23, tmp_subscript_value_9);
Py_DECREF(tmp_expression_value_23);
Py_DECREF(tmp_subscript_value_9);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[12];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[303]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto dict_build_exception_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[291];
tmp_dict_value_3 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_5);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__5___init__(tmp_defaults_1, tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[285], 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 = 74;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_64cd6998dc20d2387b98df32869dddea_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_64cd6998dc20d2387b98df32869dddea_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_64cd6998dc20d2387b98df32869dddea_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_64cd6998dc20d2387b98df32869dddea_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_64cd6998dc20d2387b98df32869dddea_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_64cd6998dc20d2387b98df32869dddea_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_64cd6998dc20d2387b98df32869dddea_4 == cache_frame_64cd6998dc20d2387b98df32869dddea_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_64cd6998dc20d2387b98df32869dddea_4);
cache_frame_64cd6998dc20d2387b98df32869dddea_4 = NULL;
}
assertFrameObject(frame_64cd6998dc20d2387b98df32869dddea_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_13;
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;
tmp_cmp_expr_right_3 = mod_consts[288];
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 = 71;
goto try_except_handler_13;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
tmp_dictset_value = mod_consts[288];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
branch_no_12:;
{
PyObject *tmp_assign_source_50;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_9 = mod_consts[16];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_9 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_9);
tmp_tuple_element_9 = locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 71;
tmp_assign_source_50 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_50;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_49 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_49);
goto try_return_handler_13;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
Py_DECREF(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71);
locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71 = NULL;
goto try_return_handler_12;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71);
locals_tornado$http1connection$$$class__3_HTTP1ConnectionParameters_71 = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_12;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 71;
goto try_except_handler_11;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[16], tmp_assign_source_49);
}
goto try_end_7;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_51;
PyObject *tmp_tuple_element_10;
PyObject *tmp_expression_value_24;
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[307]);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
tmp_assign_source_51 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_51, 0, tmp_tuple_element_10);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_51;
}
{
PyObject *tmp_assign_source_52;
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_52 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
tmp_assign_source_53 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
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_25;
PyObject *tmp_subscript_value_10;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[275];
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[275];
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 = 104;
goto try_except_handler_14;
}
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_25 = tmp_class_creation_4__bases;
tmp_subscript_value_10 = mod_consts[83];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_25, tmp_subscript_value_10, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_54 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_54;
}
{
bool tmp_condition_result_21;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[275];
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[275];
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 = 104;
goto try_except_handler_14;
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_expression_value_26;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_26 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_26, mod_consts[276]);
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_55;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_27;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_11;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_27 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[276]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
tmp_tuple_element_11 = mod_consts[235];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_11 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 104;
tmp_assign_source_55 = 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_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_55;
}
{
bool tmp_condition_result_23;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_28 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_28, mod_consts[277]);
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 = 104;
goto try_except_handler_14;
}
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_12;
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[278];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[279];
tmp_getattr_default_4 = mod_consts[280];
tmp_tuple_element_12 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_14;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_29;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_29 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_29 == NULL));
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[279]);
Py_DECREF(tmp_expression_value_29);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 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_mod_expr_right_4);
goto try_except_handler_14;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
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 = 104;
goto try_except_handler_14;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 104;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_14;
}
branch_no_15:;
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_56;
tmp_assign_source_56 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_56;
}
branch_end_14:;
{
PyObject *tmp_assign_source_57;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$http1connection$$$class__4_HTTP1Connection_104 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_16;
}
tmp_dictset_value = mod_consts[308];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_16;
}
tmp_dictset_value = mod_consts[235];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_16;
}
if (isFrameUnusable(cache_frame_661359a85be63cd9eff31a77d074a4cc_5)) {
Py_XDECREF(cache_frame_661359a85be63cd9eff31a77d074a4cc_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_661359a85be63cd9eff31a77d074a4cc_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_661359a85be63cd9eff31a77d074a4cc_5 = MAKE_CLASS_FRAME(codeobj_661359a85be63cd9eff31a77d074a4cc, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_661359a85be63cd9eff31a77d074a4cc_5->m_type_description == NULL);
frame_661359a85be63cd9eff31a77d074a4cc_5 = cache_frame_661359a85be63cd9eff31a77d074a4cc_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_661359a85be63cd9eff31a77d074a4cc_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_661359a85be63cd9eff31a77d074a4cc_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_30;
tmp_defaults_2 = mod_consts[309];
tmp_dict_key_4 = mod_consts[15];
tmp_expression_value_30 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[46]);
if (tmp_expression_value_30 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_30);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[310]);
Py_DECREF(tmp_expression_value_30);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_6 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_31;
PyObject *tmp_subscript_value_11;
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_12;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[14];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[303]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto dict_build_exception_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[17];
tmp_expression_value_31 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[268]);
if (tmp_expression_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_31);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_11 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[16]);
if (tmp_subscript_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_subscript_value_11 == NULL)) {
tmp_subscript_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_subscript_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_31);
exception_lineno = 115;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_subscript_value_11);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_31, tmp_subscript_value_11);
Py_DECREF(tmp_expression_value_31);
Py_DECREF(tmp_subscript_value_11);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[18];
tmp_expression_value_32 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[268]);
if (tmp_expression_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_32);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_12 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[311]);
if (tmp_subscript_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_12 = (PyObject *)&PyBaseObject_Type;
Py_INCREF(tmp_subscript_value_12);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_32, tmp_subscript_value_12);
Py_DECREF(tmp_expression_value_32);
Py_DECREF(tmp_subscript_value_12);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[291];
tmp_dict_value_4 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_annotations_6);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__6___init__(tmp_defaults_2, tmp_annotations_6);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[285], 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 = 111;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_expression_value_33;
tmp_dict_key_5 = mod_consts[61];
tmp_expression_value_33 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_33);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[313]);
Py_DECREF(tmp_expression_value_33);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_7 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_34;
PyObject *tmp_subscript_value_13;
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[291];
tmp_expression_value_34 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[270]);
if (tmp_expression_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[270]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[270]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_34);
} else {
goto dict_build_exception_4;
}
}
tmp_subscript_value_13 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[303]);
if (tmp_subscript_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_13 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_subscript_value_13);
} else {
goto dict_build_exception_4;
}
}
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_34, tmp_subscript_value_13);
Py_DECREF(tmp_expression_value_34);
Py_DECREF(tmp_subscript_value_13);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_4;
// Exception handling pass through code for dict_build:
dict_build_exception_4:;
Py_DECREF(tmp_annotations_7);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__7_read_response(tmp_annotations_7);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[237], 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 = 168;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
PyObject *tmp_expression_value_35;
tmp_dict_key_6 = mod_consts[61];
tmp_expression_value_35 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_35 == NULL)) {
tmp_expression_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_35);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_35, mod_consts[313]);
Py_DECREF(tmp_expression_value_35);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_8 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[291];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[303]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__8__read_message(tmp_annotations_8);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[36], 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 = 183;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_9;
tmp_annotations_9 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__9__clear_callbacks(tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[27], 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 = 305;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_10;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
PyObject *tmp_expression_value_36;
PyObject *tmp_subscript_value_14;
PyObject *tmp_expression_value_37;
PyObject *tmp_subscript_value_15;
tmp_dict_key_7 = mod_consts[316];
tmp_expression_value_36 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[268]);
if (tmp_expression_value_36 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_36 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_36 == NULL)) {
tmp_expression_value_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_36);
} else {
goto frame_exception_exit_5;
}
}
tmp_expression_value_37 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[271]);
if (tmp_expression_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[271]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[271]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_36);
exception_lineno = 317;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_37);
} else {
goto frame_exception_exit_5;
}
}
tmp_subscript_value_15 = DEEP_COPY_TUPLE_GUIDED(mod_consts[317], "li");
tmp_subscript_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_37, tmp_subscript_value_15);
Py_DECREF(tmp_expression_value_37);
Py_DECREF(tmp_subscript_value_15);
if (tmp_subscript_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_36);
exception_lineno = 317;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dict_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_36, tmp_subscript_value_14);
Py_DECREF(tmp_expression_value_36);
Py_DECREF(tmp_subscript_value_14);
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_10 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[291];
tmp_dict_value_7 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__10_set_close_callback(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[90], 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 = 317;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_11;
tmp_annotations_11 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__11__on_connection_close(tmp_annotations_11);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[91], 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 = 331;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_12;
tmp_annotations_12 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__12_close(tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[50], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
PyObject *tmp_expression_value_38;
tmp_dict_key_8 = mod_consts[291];
tmp_expression_value_38 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[46]);
if (tmp_expression_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_38);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[310]);
Py_DECREF(tmp_expression_value_38);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_13 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__13_detach(tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[321], 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_5;
}
}
{
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_dict_key_9 = mod_consts[323];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[305]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_14 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[291];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__14_set_body_timeout(tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[324], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
tmp_dict_key_10 = mod_consts[10];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[304]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[291];
tmp_dict_value_10 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_10, tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__15_set_max_body_size(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[326], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
PyObject *tmp_expression_value_39;
PyObject *tmp_subscript_value_16;
PyObject *tmp_tuple_element_13;
PyObject *tmp_expression_value_40;
tmp_defaults_3 = mod_consts[99];
tmp_dict_key_11 = mod_consts[125];
tmp_expression_value_39 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[272]);
if (tmp_expression_value_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[272]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[272]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_39);
} else {
goto frame_exception_exit_5;
}
}
tmp_expression_value_40 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_39);
exception_lineno = 381;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_40);
} else {
goto frame_exception_exit_5;
}
}
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_40, mod_consts[106]);
Py_DECREF(tmp_expression_value_40);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_39);
exception_lineno = 381;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_subscript_value_16 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_41;
PyTuple_SET_ITEM(tmp_subscript_value_16, 0, tmp_tuple_element_13);
tmp_expression_value_41 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_2 = "o";
goto tuple_build_exception_5;
}
Py_INCREF(tmp_expression_value_41);
} else {
goto tuple_build_exception_5;
}
}
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_41, mod_consts[65]);
Py_DECREF(tmp_expression_value_41);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_2 = "o";
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_subscript_value_16, 1, tmp_tuple_element_13);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_expression_value_39);
Py_DECREF(tmp_subscript_value_16);
goto frame_exception_exit_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_39, tmp_subscript_value_16);
Py_DECREF(tmp_expression_value_39);
Py_DECREF(tmp_subscript_value_16);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_16 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_42;
PyObject *tmp_expression_value_43;
PyObject *tmp_subscript_value_17;
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[63];
tmp_expression_value_42 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_42 == NULL)) {
tmp_expression_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_42);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_42, mod_consts[172]);
Py_DECREF(tmp_expression_value_42);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[149];
tmp_expression_value_43 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[268]);
if (tmp_expression_value_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_43 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_43 == NULL)) {
tmp_expression_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_2 = "o";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_43);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_17 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[328]);
if (tmp_subscript_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_17 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_subscript_value_17);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_43, tmp_subscript_value_17);
Py_DECREF(tmp_expression_value_43);
Py_DECREF(tmp_subscript_value_17);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_2 = "o";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[291];
tmp_dict_value_11 = mod_consts[329];
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_11, tmp_dict_value_11);
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_16);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__16_write_headers(tmp_defaults_3, tmp_annotations_16);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[330], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
tmp_dict_key_12 = mod_consts[149];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[328]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_17 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[291];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[328]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__17__format_chunk(tmp_annotations_17);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[136], 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 = 472;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[149];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[328]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_18 = _PyDict_NewPresized( 2 );
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[291];
tmp_dict_value_13 = mod_consts[329];
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_13, tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__18_write(tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[79], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_19;
tmp_annotations_19 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__19_finish(tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[87], 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 = 506;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_20;
tmp_annotations_20 = DICT_COPY(mod_consts[335]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__20__on_write_complete(tmp_annotations_20);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[138], 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 = 538;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_21;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
PyObject *tmp_expression_value_44;
tmp_dict_key_14 = mod_consts[125];
tmp_expression_value_44 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_44 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_44 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_44 == NULL)) {
tmp_expression_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_44);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[106]);
Py_DECREF(tmp_expression_value_44);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_21 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_45;
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[63];
tmp_expression_value_45 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_45 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_45 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_45 == NULL)) {
tmp_expression_value_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_45);
} else {
goto dict_build_exception_6;
}
}
tmp_dict_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_45, mod_consts[172]);
Py_DECREF(tmp_expression_value_45);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[291];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[303]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
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_21);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__21__can_keep_alive(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[56], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_22;
tmp_annotations_22 = DICT_COPY(mod_consts[338]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__22__finish_request(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[157], 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 = 571;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_dict_key_15 = mod_consts[340];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[328]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_23 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_46;
PyObject *tmp_subscript_value_18;
PyObject *tmp_tuple_element_14;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[291];
tmp_expression_value_46 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[273]);
if (tmp_expression_value_46 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[273]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[273]);
}
if (tmp_expression_value_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_46);
} else {
goto dict_build_exception_7;
}
}
tmp_tuple_element_14 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[341]);
if (tmp_tuple_element_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_14);
} else {
goto dict_build_exception_7;
}
}
tmp_subscript_value_18 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_47;
PyTuple_SET_ITEM(tmp_subscript_value_18, 0, tmp_tuple_element_14);
tmp_expression_value_47 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_47 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_47 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_47 == NULL)) {
tmp_expression_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_2 = "o";
goto tuple_build_exception_6;
}
Py_INCREF(tmp_expression_value_47);
} else {
goto tuple_build_exception_6;
}
}
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[172]);
Py_DECREF(tmp_expression_value_47);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_2 = "o";
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_18, 1, tmp_tuple_element_14);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_expression_value_46);
Py_DECREF(tmp_subscript_value_18);
goto dict_build_exception_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_46, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_46);
Py_DECREF(tmp_subscript_value_18);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
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_23);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__23__parse_headers(tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, 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 = 582;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_24;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
tmp_dict_key_16 = mod_consts[68];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[304]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_24 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_48;
PyObject *tmp_expression_value_49;
PyObject *tmp_expression_value_50;
PyObject *tmp_subscript_value_19;
PyObject *tmp_expression_value_51;
PyObject *tmp_subscript_value_20;
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[63];
tmp_expression_value_48 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_48);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[172]);
Py_DECREF(tmp_expression_value_48);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[61];
tmp_expression_value_49 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_49 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_49 == NULL)) {
tmp_expression_value_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 598;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_49);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[313]);
Py_DECREF(tmp_expression_value_49);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 598;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[291];
tmp_expression_value_50 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[268]);
if (tmp_expression_value_50 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 599;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_50);
} else {
goto dict_build_exception_8;
}
}
tmp_expression_value_51 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[270]);
if (tmp_expression_value_51 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_51 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[270]);
if (unlikely(tmp_expression_value_51 == NULL)) {
tmp_expression_value_51 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[270]);
}
if (tmp_expression_value_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_50);
exception_lineno = 599;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_51);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_20 = Py_None;
tmp_subscript_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_51, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_51);
if (tmp_subscript_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_50);
exception_lineno = 599;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_50, tmp_subscript_value_19);
Py_DECREF(tmp_expression_value_50);
Py_DECREF(tmp_subscript_value_19);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 599;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
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_24);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__24__read_body(tmp_annotations_24);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_25;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
tmp_dict_key_17 = mod_consts[183];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[304]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_25 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_52;
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[61];
tmp_expression_value_52 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_52 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_52 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_52 == NULL)) {
tmp_expression_value_52 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_52);
} else {
goto dict_build_exception_9;
}
}
tmp_dict_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_52, mod_consts[313]);
Py_DECREF(tmp_expression_value_52);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_2 = "o";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[291];
tmp_dict_value_17 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_17, tmp_dict_value_17);
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_25);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__25__read_fixed_body(tmp_annotations_25);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[186], 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 = 652;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_26;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
PyObject *tmp_expression_value_53;
tmp_dict_key_18 = mod_consts[61];
tmp_expression_value_53 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_53 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_53 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_53 == NULL)) {
tmp_expression_value_53 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_53);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_53, mod_consts[313]);
Py_DECREF(tmp_expression_value_53);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_26 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[291];
tmp_dict_value_18 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_26, tmp_dict_key_18, tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__26__read_chunked_body(tmp_annotations_26);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[187], 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 = 666;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_27;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
PyObject *tmp_expression_value_54;
tmp_dict_key_19 = mod_consts[61];
tmp_expression_value_54 = PyObject_GetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[53]);
if (tmp_expression_value_54 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_54 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_54 == NULL)) {
tmp_expression_value_54 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_54);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[313]);
Py_DECREF(tmp_expression_value_54);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_27 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[291];
tmp_dict_value_19 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_19, tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__27__read_body_until_close(tmp_annotations_27);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__4_HTTP1Connection_104, mod_consts[188], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 697;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_661359a85be63cd9eff31a77d074a4cc_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_661359a85be63cd9eff31a77d074a4cc_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_661359a85be63cd9eff31a77d074a4cc_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_661359a85be63cd9eff31a77d074a4cc_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_661359a85be63cd9eff31a77d074a4cc_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_661359a85be63cd9eff31a77d074a4cc_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_661359a85be63cd9eff31a77d074a4cc_5 == cache_frame_661359a85be63cd9eff31a77d074a4cc_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_661359a85be63cd9eff31a77d074a4cc_5);
cache_frame_661359a85be63cd9eff31a77d074a4cc_5 = NULL;
}
assertFrameObject(frame_661359a85be63cd9eff31a77d074a4cc_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_16;
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 = 104;
goto try_except_handler_16;
}
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$http1connection$$$class__4_HTTP1Connection_104, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_16;
}
branch_no_16:;
{
PyObject *tmp_assign_source_58;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_8 = tmp_class_creation_4__metaclass;
tmp_tuple_element_15 = mod_consts[235];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 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_8, 1, tmp_tuple_element_15);
tmp_tuple_element_15 = locals_tornado$http1connection$$$class__4_HTTP1Connection_104;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 104;
tmp_assign_source_58 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
goto try_except_handler_16;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_58;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_57 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_57);
goto try_return_handler_16;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
Py_DECREF(locals_tornado$http1connection$$$class__4_HTTP1Connection_104);
locals_tornado$http1connection$$$class__4_HTTP1Connection_104 = NULL;
goto try_return_handler_15;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__4_HTTP1Connection_104);
locals_tornado$http1connection$$$class__4_HTTP1Connection_104 = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto try_except_handler_15;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 104;
goto try_except_handler_14;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[235], tmp_assign_source_57);
}
goto try_end_8;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_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_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_59;
PyObject *tmp_tuple_element_16;
PyObject *tmp_expression_value_55;
tmp_expression_value_55 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_55 == NULL)) {
tmp_expression_value_55 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_55, mod_consts[313]);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
tmp_assign_source_59 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_59, 0, tmp_tuple_element_16);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_59;
}
{
PyObject *tmp_assign_source_60;
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_60 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
tmp_assign_source_61 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
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_56;
PyObject *tmp_subscript_value_21;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[275];
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[275];
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 = 708;
goto try_except_handler_17;
}
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_56 = tmp_class_creation_5__bases;
tmp_subscript_value_21 = mod_consts[83];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_56, tmp_subscript_value_21, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_62 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_62;
}
{
bool tmp_condition_result_27;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[275];
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[275];
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 = 708;
goto try_except_handler_17;
}
branch_no_17:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_expression_value_57;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_57 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_57, mod_consts[276]);
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_63;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_58;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_17;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_58 = tmp_class_creation_5__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_58, mod_consts[276]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
tmp_tuple_element_17 = mod_consts[35];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_17 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 708;
tmp_assign_source_63 = 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_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_63;
}
{
bool tmp_condition_result_29;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_59;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_59 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_59, mod_consts[277]);
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 = 708;
goto try_except_handler_17;
}
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_18;
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[278];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[279];
tmp_getattr_default_5 = mod_consts[280];
tmp_tuple_element_18 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_60;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_60 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_60 == NULL));
tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_60, mod_consts[279]);
Py_DECREF(tmp_expression_value_60);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_18);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_17;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_17;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 708;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_17;
}
branch_no_19:;
goto branch_end_18;
branch_no_18:;
{
PyObject *tmp_assign_source_64;
tmp_assign_source_64 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_64;
}
branch_end_18:;
{
PyObject *tmp_assign_source_65;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_19;
}
tmp_dictset_value = mod_consts[344];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_19;
}
tmp_dictset_value = mod_consts[35];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_19;
}
if (isFrameUnusable(cache_frame_6efb62b6343cf1aa0d3640759902b209_6)) {
Py_XDECREF(cache_frame_6efb62b6343cf1aa0d3640759902b209_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_6efb62b6343cf1aa0d3640759902b209_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6efb62b6343cf1aa0d3640759902b209_6 = MAKE_CLASS_FRAME(codeobj_6efb62b6343cf1aa0d3640759902b209, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6efb62b6343cf1aa0d3640759902b209_6->m_type_description == NULL);
frame_6efb62b6343cf1aa0d3640759902b209_6 = cache_frame_6efb62b6343cf1aa0d3640759902b209_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_6efb62b6343cf1aa0d3640759902b209_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6efb62b6343cf1aa0d3640759902b209_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_28;
PyObject *tmp_dict_key_20;
PyObject *tmp_dict_value_20;
PyObject *tmp_expression_value_61;
tmp_dict_key_20 = mod_consts[61];
tmp_expression_value_61 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[53]);
if (tmp_expression_value_61 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_61 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_61 == NULL)) {
tmp_expression_value_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 711;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_61);
} else {
goto frame_exception_exit_6;
}
}
tmp_dict_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_61, mod_consts[313]);
Py_DECREF(tmp_expression_value_61);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 711;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_28 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[7];
tmp_dict_value_20 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[304]);
if (tmp_dict_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_20 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_20);
} else {
goto frame_exception_exit_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[291];
tmp_dict_value_20 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_20, tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__28___init__(tmp_annotations_28);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[285], 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 = 711;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_29;
PyObject *tmp_dict_key_21;
PyObject *tmp_dict_value_21;
PyObject *tmp_expression_value_62;
PyObject *tmp_subscript_value_22;
PyObject *tmp_tuple_element_19;
PyObject *tmp_expression_value_63;
tmp_dict_key_21 = mod_consts[125];
tmp_expression_value_62 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[272]);
if (tmp_expression_value_62 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_62 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[272]);
if (unlikely(tmp_expression_value_62 == NULL)) {
tmp_expression_value_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[272]);
}
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_62);
} else {
goto frame_exception_exit_6;
}
}
tmp_expression_value_63 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[53]);
if (tmp_expression_value_63 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_63 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_63 == NULL)) {
tmp_expression_value_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_62);
exception_lineno = 718;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_63);
} else {
goto frame_exception_exit_6;
}
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_63, mod_consts[106]);
Py_DECREF(tmp_expression_value_63);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_62);
exception_lineno = 718;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_subscript_value_22 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_64;
PyTuple_SET_ITEM(tmp_subscript_value_22, 0, tmp_tuple_element_19);
tmp_expression_value_64 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[53]);
if (tmp_expression_value_64 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_64 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_64 == NULL)) {
tmp_expression_value_64 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_2 = "o";
goto tuple_build_exception_8;
}
Py_INCREF(tmp_expression_value_64);
} else {
goto tuple_build_exception_8;
}
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_64, mod_consts[65]);
Py_DECREF(tmp_expression_value_64);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_2 = "o";
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_subscript_value_22, 1, tmp_tuple_element_19);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_expression_value_62);
Py_DECREF(tmp_subscript_value_22);
goto frame_exception_exit_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_dict_value_21 = LOOKUP_SUBSCRIPT(tmp_expression_value_62, tmp_subscript_value_22);
Py_DECREF(tmp_expression_value_62);
Py_DECREF(tmp_subscript_value_22);
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_annotations_29 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_65;
PyObject *tmp_expression_value_66;
PyObject *tmp_subscript_value_23;
PyObject *tmp_expression_value_67;
PyObject *tmp_subscript_value_24;
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[63];
tmp_expression_value_65 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[53]);
if (tmp_expression_value_65 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_65 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_65 == NULL)) {
tmp_expression_value_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_65);
} else {
goto dict_build_exception_10;
}
}
tmp_dict_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_65, mod_consts[172]);
Py_DECREF(tmp_expression_value_65);
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
tmp_dict_key_21 = mod_consts[291];
tmp_expression_value_66 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[268]);
if (tmp_expression_value_66 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_66 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_66 == NULL)) {
tmp_expression_value_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_66);
} else {
goto dict_build_exception_10;
}
}
tmp_expression_value_67 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[270]);
if (tmp_expression_value_67 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_67 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[270]);
if (unlikely(tmp_expression_value_67 == NULL)) {
tmp_expression_value_67 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[270]);
}
if (tmp_expression_value_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_66);
exception_lineno = 720;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_67);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_24 = Py_None;
tmp_subscript_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_67, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_67);
if (tmp_subscript_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_66);
exception_lineno = 720;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_dict_value_21 = LOOKUP_SUBSCRIPT(tmp_expression_value_66, tmp_subscript_value_23);
Py_DECREF(tmp_expression_value_66);
Py_DECREF(tmp_subscript_value_23);
if (tmp_dict_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_29, tmp_dict_key_21, tmp_dict_value_21);
Py_DECREF(tmp_dict_value_21);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_10;
// Exception handling pass through code for dict_build:
dict_build_exception_10:;
Py_DECREF(tmp_annotations_29);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__29_headers_received(tmp_annotations_29);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[62], 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 = 716;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_30;
PyObject *tmp_dict_key_22;
PyObject *tmp_dict_value_22;
tmp_dict_key_22 = mod_consts[149];
tmp_dict_value_22 = PyObject_GetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[328]);
if (tmp_dict_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_22 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_22);
} else {
goto frame_exception_exit_6;
}
}
tmp_annotations_30 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_22, tmp_dict_value_22);
Py_DECREF(tmp_dict_value_22);
assert(!(tmp_res != 0));
tmp_dict_key_22 = mod_consts[291];
tmp_dict_value_22 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_30, tmp_dict_key_22, tmp_dict_value_22);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__30_data_received(tmp_annotations_30);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[194], 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 = 730;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_31;
tmp_annotations_31 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__31_finish(tmp_annotations_31);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[87], 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 = 751;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_32;
tmp_annotations_32 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__32_on_connection_close(tmp_annotations_32);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[94], 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 = 766;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6efb62b6343cf1aa0d3640759902b209_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_6efb62b6343cf1aa0d3640759902b209_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6efb62b6343cf1aa0d3640759902b209_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6efb62b6343cf1aa0d3640759902b209_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6efb62b6343cf1aa0d3640759902b209_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6efb62b6343cf1aa0d3640759902b209_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_6efb62b6343cf1aa0d3640759902b209_6 == cache_frame_6efb62b6343cf1aa0d3640759902b209_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6efb62b6343cf1aa0d3640759902b209_6);
cache_frame_6efb62b6343cf1aa0d3640759902b209_6 = NULL;
}
assertFrameObject(frame_6efb62b6343cf1aa0d3640759902b209_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_19;
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 = 708;
goto try_except_handler_19;
}
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$http1connection$$$class__5__GzipMessageDelegate_708, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_19;
}
branch_no_20:;
{
PyObject *tmp_assign_source_66;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_20;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_10 = tmp_class_creation_5__metaclass;
tmp_tuple_element_20 = mod_consts[35];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_20);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_20 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_20);
tmp_tuple_element_20 = locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_20);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 708;
tmp_assign_source_66 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
goto try_except_handler_19;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_66;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_65 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_65);
goto try_return_handler_19;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_19:;
Py_DECREF(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708);
locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708 = NULL;
goto try_return_handler_18;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708);
locals_tornado$http1connection$$$class__5__GzipMessageDelegate_708 = NULL;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto try_except_handler_18;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 708;
goto try_except_handler_17;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[35], tmp_assign_source_65);
}
goto try_end_9;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_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_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases_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_67;
PyObject *tmp_dircall_arg1_6;
tmp_dircall_arg1_6 = mod_consts[288];
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_67 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_67;
}
{
PyObject *tmp_assign_source_68;
tmp_assign_source_68 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_68;
}
{
PyObject *tmp_assign_source_69;
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_68;
PyObject *tmp_subscript_value_25;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[275];
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[275];
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 = 770;
goto try_except_handler_20;
}
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_68 = tmp_class_creation_6__bases;
tmp_subscript_value_25 = mod_consts[83];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_68, tmp_subscript_value_25, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_12:;
condexpr_end_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_69 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_69;
}
{
bool tmp_condition_result_33;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[275];
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[275];
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 = 770;
goto try_except_handler_20;
}
branch_no_21:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_expression_value_69;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_69 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_69, mod_consts[276]);
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_70;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_70;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_21;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_70 = tmp_class_creation_6__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_70, mod_consts[276]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
tmp_tuple_element_21 = mod_consts[349];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_21 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 770;
tmp_assign_source_70 = 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_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_70;
}
{
bool tmp_condition_result_35;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_71;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_71 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_71, mod_consts[277]);
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 = 770;
goto try_except_handler_20;
}
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_22;
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[278];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[279];
tmp_getattr_default_6 = mod_consts[280];
tmp_tuple_element_22 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_20;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_72;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_22);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_72 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_72 == NULL));
tmp_tuple_element_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_72, mod_consts[279]);
Py_DECREF(tmp_expression_value_72);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_22);
}
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_20;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
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 = 770;
goto try_except_handler_20;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 770;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_20;
}
branch_no_23:;
goto branch_end_22;
branch_no_22:;
{
PyObject *tmp_assign_source_71;
tmp_assign_source_71 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_71;
}
branch_end_22:;
{
PyObject *tmp_assign_source_72;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[281];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[282], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_22;
}
tmp_dictset_value = mod_consts[350];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_22;
}
tmp_dictset_value = mod_consts[349];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[283], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_22;
}
if (isFrameUnusable(cache_frame_bd0bb8210dd6b9af850215155b9346e5_7)) {
Py_XDECREF(cache_frame_bd0bb8210dd6b9af850215155b9346e5_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_bd0bb8210dd6b9af850215155b9346e5_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bd0bb8210dd6b9af850215155b9346e5_7 = MAKE_CLASS_FRAME(codeobj_bd0bb8210dd6b9af850215155b9346e5, module_tornado$http1connection, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bd0bb8210dd6b9af850215155b9346e5_7->m_type_description == NULL);
frame_bd0bb8210dd6b9af850215155b9346e5_7 = cache_frame_bd0bb8210dd6b9af850215155b9346e5_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_bd0bb8210dd6b9af850215155b9346e5_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bd0bb8210dd6b9af850215155b9346e5_7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_33;
PyObject *tmp_dict_key_23;
PyObject *tmp_dict_value_23;
PyObject *tmp_expression_value_73;
tmp_defaults_4 = mod_consts[309];
tmp_dict_key_23 = mod_consts[15];
tmp_expression_value_73 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[46]);
if (tmp_expression_value_73 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_73 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_73 == NULL)) {
tmp_expression_value_73 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_expression_value_73);
} else {
goto frame_exception_exit_7;
}
}
tmp_dict_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_73, mod_consts[310]);
Py_DECREF(tmp_expression_value_73);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_annotations_33 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_74;
PyObject *tmp_subscript_value_26;
PyObject *tmp_expression_value_75;
PyObject *tmp_subscript_value_27;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[17];
tmp_expression_value_74 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[268]);
if (tmp_expression_value_74 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_74 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_74 == NULL)) {
tmp_expression_value_74 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 776;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_74);
} else {
goto dict_build_exception_11;
}
}
tmp_subscript_value_26 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[16]);
if (tmp_subscript_value_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_subscript_value_26 == NULL)) {
tmp_subscript_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_subscript_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_74);
exception_lineno = 776;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_subscript_value_26);
} else {
goto dict_build_exception_11;
}
}
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_74, tmp_subscript_value_26);
Py_DECREF(tmp_expression_value_74);
Py_DECREF(tmp_subscript_value_26);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 776;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[18];
tmp_expression_value_75 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[268]);
if (tmp_expression_value_75 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_75 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[268]);
if (unlikely(tmp_expression_value_75 == NULL)) {
tmp_expression_value_75 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[268]);
}
if (tmp_expression_value_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_75);
} else {
goto dict_build_exception_11;
}
}
tmp_subscript_value_27 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[311]);
if (tmp_subscript_value_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_27 = (PyObject *)&PyBaseObject_Type;
Py_INCREF(tmp_subscript_value_27);
} else {
goto dict_build_exception_11;
}
}
tmp_dict_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_75, tmp_subscript_value_27);
Py_DECREF(tmp_expression_value_75);
Py_DECREF(tmp_subscript_value_27);
if (tmp_dict_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_23, tmp_dict_value_23);
Py_DECREF(tmp_dict_value_23);
assert(!(tmp_res != 0));
tmp_dict_key_23 = mod_consts[291];
tmp_dict_value_23 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_23, tmp_dict_value_23);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_11;
// Exception handling pass through code for dict_build:
dict_build_exception_11:;
Py_DECREF(tmp_annotations_33);
goto frame_exception_exit_7;
// Finished with no exception for dict_build:
dict_build_noexception_11:;
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__33___init__(tmp_defaults_4, tmp_annotations_33);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[285], 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 = 773;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_34;
tmp_annotations_34 = DICT_COPY(mod_consts[284]);
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__34_close(tmp_annotations_34);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[50], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_35;
PyObject *tmp_dict_key_24;
PyObject *tmp_dict_value_24;
PyObject *tmp_expression_value_76;
tmp_dict_key_24 = mod_consts[61];
tmp_expression_value_76 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[53]);
if (tmp_expression_value_76 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_76 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_76 == NULL)) {
tmp_expression_value_76 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_expression_value_76);
} else {
goto frame_exception_exit_7;
}
}
tmp_dict_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_76, mod_consts[228]);
Py_DECREF(tmp_expression_value_76);
if (tmp_dict_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 806;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_annotations_35 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_35, tmp_dict_key_24, tmp_dict_value_24);
Py_DECREF(tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dict_key_24 = mod_consts[291];
tmp_dict_value_24 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_35, tmp_dict_key_24, tmp_dict_value_24);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__35_start_serving(tmp_annotations_35);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[352], 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 = 806;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_36;
PyObject *tmp_dict_key_25;
PyObject *tmp_dict_value_25;
PyObject *tmp_expression_value_77;
tmp_dict_key_25 = mod_consts[61];
tmp_expression_value_77 = PyObject_GetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[53]);
if (tmp_expression_value_77 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_77 = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_77 == NULL)) {
tmp_expression_value_77 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_expression_value_77);
} else {
goto frame_exception_exit_7;
}
}
tmp_dict_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_77, mod_consts[228]);
Py_DECREF(tmp_expression_value_77);
if (tmp_dict_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 818;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_annotations_36 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_36, tmp_dict_key_25, tmp_dict_value_25);
Py_DECREF(tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dict_key_25 = mod_consts[291];
tmp_dict_value_25 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_36, tmp_dict_key_25, tmp_dict_value_25);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$http1connection$$$function__36__server_request_loop(tmp_annotations_36);
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[230], 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 = 817;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bd0bb8210dd6b9af850215155b9346e5_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_bd0bb8210dd6b9af850215155b9346e5_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bd0bb8210dd6b9af850215155b9346e5_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bd0bb8210dd6b9af850215155b9346e5_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bd0bb8210dd6b9af850215155b9346e5_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bd0bb8210dd6b9af850215155b9346e5_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_bd0bb8210dd6b9af850215155b9346e5_7 == cache_frame_bd0bb8210dd6b9af850215155b9346e5_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bd0bb8210dd6b9af850215155b9346e5_7);
cache_frame_bd0bb8210dd6b9af850215155b9346e5_7 = NULL;
}
assertFrameObject(frame_bd0bb8210dd6b9af850215155b9346e5_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_22;
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;
tmp_cmp_expr_right_6 = mod_consts[288];
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 = 770;
goto try_except_handler_22;
}
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
tmp_dictset_value = mod_consts[288];
tmp_res = PyObject_SetItem(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_22;
}
branch_no_24:;
{
PyObject *tmp_assign_source_73;
PyObject *tmp_called_value_12;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_23;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_12 = tmp_class_creation_6__metaclass;
tmp_tuple_element_23 = mod_consts[349];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_23 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_23);
tmp_tuple_element_23 = locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_1e19327cfef83a061bc1c73f1327df9c->m_frame.f_lineno = 770;
tmp_assign_source_73 = CALL_FUNCTION(tmp_called_value_12, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
goto try_except_handler_22;
}
assert(outline_5_var___class__ == NULL);
outline_5_var___class__ = tmp_assign_source_73;
}
CHECK_OBJECT(outline_5_var___class__);
tmp_assign_source_72 = outline_5_var___class__;
Py_INCREF(tmp_assign_source_72);
goto try_return_handler_22;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_22:;
Py_DECREF(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770);
locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770 = NULL;
goto try_return_handler_21;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770);
locals_tornado$http1connection$$$class__6_HTTP1ServerConnection_770 = NULL;
// Re-raise.
exception_type = exception_keeper_type_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto try_except_handler_21;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 770;
goto try_except_handler_20;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$http1connection, (Nuitka_StringObject *)mod_consts[349], tmp_assign_source_72);
}
goto try_end_10;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e19327cfef83a061bc1c73f1327df9c);
#endif
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e19327cfef83a061bc1c73f1327df9c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1e19327cfef83a061bc1c73f1327df9c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1e19327cfef83a061bc1c73f1327df9c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1e19327cfef83a061bc1c73f1327df9c, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_7:;
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;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.http1connection", false);
Py_INCREF(module_tornado$http1connection);
return module_tornado$http1connection;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$http1connection, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$http1connection", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}