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.locks'
* 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$locks" 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$locks;
PyDictObject *moduledict_tornado$locks;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[214];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[214];
#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.locks"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 214; 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$locks(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 214; 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_cc9c7992b59a577e8b111f113a94784f;
static PyCodeObject *codeobj_12d082a5747b28c41caf141213e2becc;
static PyCodeObject *codeobj_6bb41c946d7661e50e496a6bcaa22bbe;
static PyCodeObject *codeobj_726b4624c04c6d5dd85fa2e726ae6e03;
static PyCodeObject *codeobj_9720bdbcedfc3a006bb74836d8dfad5b;
static PyCodeObject *codeobj_9702398104cb1407b67f7c2600628856;
static PyCodeObject *codeobj_2e41d0fc74c875ee34c720484061b85e;
static PyCodeObject *codeobj_37b41b1b77d97e58a826b8706009646a;
static PyCodeObject *codeobj_29e32e25950b2406f3835ba9bdadb6d4;
static PyCodeObject *codeobj_8111da9238ac7964f56da131be2cb089;
static PyCodeObject *codeobj_03673d65bc3f53f7607f0802ae1201a0;
static PyCodeObject *codeobj_1f0c6eb47031a758e30fbcd2ee3e8c3d;
static PyCodeObject *codeobj_ace7ac312359c56208ce9a6fd6f12d9d;
static PyCodeObject *codeobj_32547da020ddbd6a909798f9144feeb3;
static PyCodeObject *codeobj_369dfaea41af03266c7d50abd6eb31bf;
static PyCodeObject *codeobj_b87573e67fdb788fe7ed512b29c8a2bd;
static PyCodeObject *codeobj_c78e36013a6340f050cb942a27a5a3f0;
static PyCodeObject *codeobj_41f0d88b5d5948308cdfd236d1ab22e6;
static PyCodeObject *codeobj_03fde2d0b2fa07f52e382059d5397d18;
static PyCodeObject *codeobj_b86ef3cc25862ccc76f3cacf079a6a66;
static PyCodeObject *codeobj_1707c94603b57b60af7b8ee3751dacf7;
static PyCodeObject *codeobj_6d09ab6f1e20886ac8434b24175cb1bf;
static PyCodeObject *codeobj_8f6897f450b0c9e12528bdb5c3c22206;
static PyCodeObject *codeobj_60acfcf864e6fb2080eb4cf49392c67c;
static PyCodeObject *codeobj_7edcf45095aa85847a621179832a4ce5;
static PyCodeObject *codeobj_548808f4cb082d4c23da0113dfb088b2;
static PyCodeObject *codeobj_03fc1a788a2c072f1f61202734a8ed3f;
static PyCodeObject *codeobj_57be1666d445a63ceba4106321acc679;
static PyCodeObject *codeobj_7a984cac6b67edc4e7f91d8d86ef6a60;
static PyCodeObject *codeobj_b7ecff0421439d3a29f528b831ea53d3;
static PyCodeObject *codeobj_cc19b92983f1a14102d79df3ec7a8779;
static PyCodeObject *codeobj_048e05cc9c1e561337f023b28ecf949d;
static PyCodeObject *codeobj_0a4b3434fef47179005485474ae021b4;
static PyCodeObject *codeobj_f5142cc6ee5d838c4c2712c2205d87d9;
static PyCodeObject *codeobj_d1846a0c0d7326f9221852cdff29348f;
static PyCodeObject *codeobj_781210997b4d44cc0a6a6e0e7e9fe0d2;
static PyCodeObject *codeobj_ccb602b1650425cb67f08549e90626af;
static PyCodeObject *codeobj_c47f0407a2ef84b192038d9cb607d10a;
static PyCodeObject *codeobj_56ebf9621fb1e23a48da6f9feb884841;
static PyCodeObject *codeobj_7664199792881f395b3443fe51dc0c6f;
static PyCodeObject *codeobj_4cb9ad23d240d1f52d6554d2e95e3aec;
static PyCodeObject *codeobj_07093d071ae7f13044f26b396f3acd92;
static PyCodeObject *codeobj_c24a1fa94a14b242f1732e5c91026a46;
static PyCodeObject *codeobj_905f8f2453e1921623d23fdff5534045;
static PyCodeObject *codeobj_bf001737cc64f1bc4e205c7afb115b56;
static PyCodeObject *codeobj_96fa8972b873f284e40da1bcba95cbb9;
static PyCodeObject *codeobj_d9f36227b148611d83d90f8e2a2c2885;
static PyCodeObject *codeobj_2caa7132554e792ddbfa6e744b474ac5;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[97]; CHECK_OBJECT(module_filename_obj);
codeobj_cc9c7992b59a577e8b111f113a94784f = MAKE_CODE_OBJECT(module_filename_obj, 50, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[8], mod_consts[8], mod_consts[189], NULL, 1, 0, 0);
codeobj_12d082a5747b28c41caf141213e2becc = MAKE_CODE_OBJECT(module_filename_obj, 138, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[24], mod_consts[24], mod_consts[190], mod_consts[191], 1, 0, 0);
codeobj_6bb41c946d7661e50e496a6bcaa22bbe = MAKE_CODE_OBJECT(module_filename_obj, 440, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[24], mod_consts[24], mod_consts[190], mod_consts[191], 1, 0, 0);
codeobj_726b4624c04c6d5dd85fa2e726ae6e03 = MAKE_CODE_OBJECT(module_filename_obj, 244, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[24], mod_consts[24], mod_consts[192], mod_consts[193], 1, 0, 0);
codeobj_9720bdbcedfc3a006bb74836d8dfad5b = MAKE_CODE_OBJECT(module_filename_obj, 253, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[24], mod_consts[24], mod_consts[194], mod_consts[195], 1, 0, 0);
codeobj_9702398104cb1407b67f7c2600628856 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[196], mod_consts[196], NULL, NULL, 0, 0, 0);
codeobj_2e41d0fc74c875ee34c720484061b85e = MAKE_CODE_OBJECT(module_filename_obj, 467, CO_NOFREE, mod_consts[86], mod_consts[86], mod_consts[197], NULL, 0, 0, 0);
codeobj_37b41b1b77d97e58a826b8706009646a = MAKE_CODE_OBJECT(module_filename_obj, 53, CO_NOFREE, mod_consts[131], mod_consts[131], mod_consts[197], NULL, 0, 0, 0);
codeobj_29e32e25950b2406f3835ba9bdadb6d4 = MAKE_CODE_OBJECT(module_filename_obj, 158, CO_NOFREE, mod_consts[146], mod_consts[146], mod_consts[197], NULL, 0, 0, 0);
codeobj_8111da9238ac7964f56da131be2cb089 = MAKE_CODE_OBJECT(module_filename_obj, 487, CO_NOFREE, mod_consts[181], mod_consts[181], mod_consts[197], NULL, 0, 0, 0);
codeobj_03673d65bc3f53f7607f0802ae1201a0 = MAKE_CODE_OBJECT(module_filename_obj, 282, CO_NOFREE, mod_consts[166], mod_consts[166], mod_consts[197], NULL, 0, 0, 0);
codeobj_1f0c6eb47031a758e30fbcd2ee3e8c3d = MAKE_CODE_OBJECT(module_filename_obj, 258, CO_NOFREE, mod_consts[69], mod_consts[69], mod_consts[197], NULL, 0, 0, 0);
codeobj_ace7ac312359c56208ce9a6fd6f12d9d = MAKE_CODE_OBJECT(module_filename_obj, 31, CO_NOFREE, mod_consts[120], mod_consts[120], mod_consts[197], NULL, 0, 0, 0);
codeobj_32547da020ddbd6a909798f9144feeb3 = MAKE_CODE_OBJECT(module_filename_obj, 455, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[79], mod_consts[79], mod_consts[193], NULL, 1, 0, 0);
codeobj_369dfaea41af03266c7d50abd6eb31bf = MAKE_CODE_OBJECT(module_filename_obj, 563, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[79], mod_consts[79], mod_consts[193], NULL, 1, 0, 0);
codeobj_b87573e67fdb788fe7ed512b29c8a2bd = MAKE_CODE_OBJECT(module_filename_obj, 458, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[198], NULL, 4, 0, 0);
codeobj_c78e36013a6340f050cb942a27a5a3f0 = MAKE_CODE_OBJECT(module_filename_obj, 566, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[81], mod_consts[81], mod_consts[198], NULL, 4, 0, 0);
codeobj_41f0d88b5d5948308cdfd236d1ab22e6 = MAKE_CODE_OBJECT(module_filename_obj, 270, CO_NOFREE, mod_consts[77], mod_consts[77], mod_consts[193], NULL, 1, 0, 0);
codeobj_03fde2d0b2fa07f52e382059d5397d18 = MAKE_CODE_OBJECT(module_filename_obj, 444, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[77], mod_consts[77], mod_consts[193], NULL, 1, 0, 0);
codeobj_b86ef3cc25862ccc76f3cacf079a6a66 = MAKE_CODE_OBJECT(module_filename_obj, 552, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[77], mod_consts[77], mod_consts[193], NULL, 1, 0, 0);
codeobj_1707c94603b57b60af7b8ee3751dacf7 = MAKE_CODE_OBJECT(module_filename_obj, 273, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[164], mod_consts[164], mod_consts[199], NULL, 4, 0, 0);
codeobj_6d09ab6f1e20886ac8434b24175cb1bf = MAKE_CODE_OBJECT(module_filename_obj, 555, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[164], mod_consts[164], mod_consts[198], NULL, 4, 0, 0);
codeobj_8f6897f450b0c9e12528bdb5c3c22206 = MAKE_CODE_OBJECT(module_filename_obj, 447, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[164], mod_consts[164], mod_consts[200], NULL, 4, 0, 0);
codeobj_60acfcf864e6fb2080eb4cf49392c67c = MAKE_CODE_OBJECT(module_filename_obj, 41, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[193], NULL, 1, 0, 0);
codeobj_7edcf45095aa85847a621179832a4ce5 = MAKE_CODE_OBJECT(module_filename_obj, 198, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[193], NULL, 1, 0, 0);
codeobj_548808f4cb082d4c23da0113dfb088b2 = MAKE_CODE_OBJECT(module_filename_obj, 524, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[193], NULL, 1, 0, 0);
codeobj_03fc1a788a2c072f1f61202734a8ed3f = MAKE_CODE_OBJECT(module_filename_obj, 267, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[201], NULL, 2, 0, 0);
codeobj_57be1666d445a63ceba4106321acc679 = MAKE_CODE_OBJECT(module_filename_obj, 383, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[61], mod_consts[61], mod_consts[202], mod_consts[197], 2, 0, 0);
codeobj_7a984cac6b67edc4e7f91d8d86ef6a60 = MAKE_CODE_OBJECT(module_filename_obj, 476, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[61], mod_consts[61], mod_consts[202], mod_consts[197], 2, 0, 0);
codeobj_b7ecff0421439d3a29f528b831ea53d3 = MAKE_CODE_OBJECT(module_filename_obj, 202, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[193], NULL, 1, 0, 0);
codeobj_cc19b92983f1a14102d79df3ec7a8779 = MAKE_CODE_OBJECT(module_filename_obj, 527, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[193], NULL, 1, 0, 0);
codeobj_048e05cc9c1e561337f023b28ecf949d = MAKE_CODE_OBJECT(module_filename_obj, 390, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[63], mod_consts[63], mod_consts[203], mod_consts[197], 1, 0, 0);
codeobj_0a4b3434fef47179005485474ae021b4 = MAKE_CODE_OBJECT(module_filename_obj, 113, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[204], NULL, 1, 0, 0);
codeobj_f5142cc6ee5d838c4c2712c2205d87d9 = MAKE_CODE_OBJECT(module_filename_obj, 45, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[30], mod_consts[30], mod_consts[193], NULL, 1, 0, 0);
codeobj_d1846a0c0d7326f9221852cdff29348f = MAKE_CODE_OBJECT(module_filename_obj, 530, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[205], NULL, 2, 0, 0);
codeobj_781210997b4d44cc0a6a6e0e7e9fe0d2 = MAKE_CODE_OBJECT(module_filename_obj, 416, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[206], NULL, 2, 0, 0);
codeobj_ccb602b1650425cb67f08549e90626af = MAKE_CODE_OBJECT(module_filename_obj, 224, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[44], mod_consts[44], mod_consts[193], NULL, 1, 0, 0);
codeobj_c47f0407a2ef84b192038d9cb607d10a = MAKE_CODE_OBJECT(module_filename_obj, 208, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[42], mod_consts[42], mod_consts[193], NULL, 1, 0, 0);
codeobj_56ebf9621fb1e23a48da6f9feb884841 = MAKE_CODE_OBJECT(module_filename_obj, 141, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[38], mod_consts[38], mod_consts[207], NULL, 2, 0, 0);
codeobj_7664199792881f395b3443fe51dc0c6f = MAKE_CODE_OBJECT(module_filename_obj, 153, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[144], mod_consts[144], mod_consts[193], NULL, 1, 0, 0);
codeobj_4cb9ad23d240d1f52d6554d2e95e3aec = MAKE_CODE_OBJECT(module_filename_obj, 131, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[17], mod_consts[17], mod_consts[208], mod_consts[209], 0, 0, 0);
codeobj_07093d071ae7f13044f26b396f3acd92 = MAKE_CODE_OBJECT(module_filename_obj, 432, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[17], mod_consts[17], mod_consts[208], mod_consts[209], 0, 0, 0);
codeobj_c24a1fa94a14b242f1732e5c91026a46 = MAKE_CODE_OBJECT(module_filename_obj, 540, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[193], NULL, 1, 0, 0);
codeobj_905f8f2453e1921623d23fdff5534045 = MAKE_CODE_OBJECT(module_filename_obj, 480, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[59], mod_consts[59], mod_consts[210], mod_consts[197], 1, 0, 0);
codeobj_bf001737cc64f1bc4e205c7afb115b56 = MAKE_CODE_OBJECT(module_filename_obj, 399, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[209], NULL, 1, 0, 0);
codeobj_96fa8972b873f284e40da1bcba95cbb9 = MAKE_CODE_OBJECT(module_filename_obj, 212, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[211], NULL, 1, 0, 0);
codeobj_d9f36227b148611d83d90f8e2a2c2885 = MAKE_CODE_OBJECT(module_filename_obj, 231, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[140], mod_consts[140], mod_consts[212], NULL, 2, 0, 0);
codeobj_2caa7132554e792ddbfa6e744b474ac5 = MAKE_CODE_OBJECT(module_filename_obj, 119, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[140], mod_consts[140], mod_consts[206], NULL, 2, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_tornado$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter__(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit__(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter__(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit__(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__10_set(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__11_clear(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__2_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__13___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__14___enter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__15___exit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__16___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__17___repr__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__18_release(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__1_on_timeout(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__2_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__1___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__20___enter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__21___exit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__22___aenter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__23___aexit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__24___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__25_release(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__26___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__27___repr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__28_acquire(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__29_release(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__2__garbage_collect(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__30___enter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__31___exit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__32___aenter__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__33___aexit__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__3___repr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__1_on_timeout(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__2_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__5_notify(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__6_notify_all(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__7___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__8___repr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__9_is_set(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$locks$$$function__1___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];
struct Nuitka_FrameObject *frame_60acfcf864e6fb2080eb4cf49392c67c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_60acfcf864e6fb2080eb4cf49392c67c = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_60acfcf864e6fb2080eb4cf49392c67c)) {
Py_XDECREF(cache_frame_60acfcf864e6fb2080eb4cf49392c67c);
#if _DEBUG_REFCOUNTS
if (cache_frame_60acfcf864e6fb2080eb4cf49392c67c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_60acfcf864e6fb2080eb4cf49392c67c = MAKE_FUNCTION_FRAME(codeobj_60acfcf864e6fb2080eb4cf49392c67c, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_60acfcf864e6fb2080eb4cf49392c67c->m_type_description == NULL);
frame_60acfcf864e6fb2080eb4cf49392c67c = cache_frame_60acfcf864e6fb2080eb4cf49392c67c;
// Push the new frame as the currently active one.
pushFrameStack(frame_60acfcf864e6fb2080eb4cf49392c67c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_60acfcf864e6fb2080eb4cf49392c67c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_60acfcf864e6fb2080eb4cf49392c67c->m_frame.f_lineno = 42;
tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[1]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
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[2], 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 = 42;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = mod_consts[3];
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[4], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_60acfcf864e6fb2080eb4cf49392c67c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_60acfcf864e6fb2080eb4cf49392c67c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_60acfcf864e6fb2080eb4cf49392c67c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_60acfcf864e6fb2080eb4cf49392c67c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_60acfcf864e6fb2080eb4cf49392c67c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_60acfcf864e6fb2080eb4cf49392c67c,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_60acfcf864e6fb2080eb4cf49392c67c == cache_frame_60acfcf864e6fb2080eb4cf49392c67c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_60acfcf864e6fb2080eb4cf49392c67c);
cache_frame_60acfcf864e6fb2080eb4cf49392c67c = NULL;
}
assertFrameObject(frame_60acfcf864e6fb2080eb4cf49392c67c);
// 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$locks$$$function__2__garbage_collect(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_f5142cc6ee5d838c4c2712c2205d87d9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_f5142cc6ee5d838c4c2712c2205d87d9 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f5142cc6ee5d838c4c2712c2205d87d9)) {
Py_XDECREF(cache_frame_f5142cc6ee5d838c4c2712c2205d87d9);
#if _DEBUG_REFCOUNTS
if (cache_frame_f5142cc6ee5d838c4c2712c2205d87d9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f5142cc6ee5d838c4c2712c2205d87d9 = MAKE_FUNCTION_FRAME(codeobj_f5142cc6ee5d838c4c2712c2205d87d9, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f5142cc6ee5d838c4c2712c2205d87d9->m_type_description == NULL);
frame_f5142cc6ee5d838c4c2712c2205d87d9 = cache_frame_f5142cc6ee5d838c4c2712c2205d87d9;
// Push the new frame as the currently active one.
pushFrameStack(frame_f5142cc6ee5d838c4c2712c2205d87d9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f5142cc6ee5d838c4c2712c2205d87d9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "o";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
tmp_iadd_expr_right_1 = mod_consts[5];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "o";
goto try_except_handler_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[4], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "o";
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_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[6];
tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(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 = 48;
type_description_1 = "o";
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_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = mod_consts[3];
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[4], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_3;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "o";
goto frame_exception_exit_1;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "o";
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 = 50;
type_description_1 = "o";
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_args_element_value_1 = MAKE_GENERATOR_tornado$locks$$$function__2__garbage_collect$$$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:;
frame_f5142cc6ee5d838c4c2712c2205d87d9->m_frame.f_lineno = 50;
tmp_assattr_value_3 = 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_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "o";
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[2], 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 = 50;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5142cc6ee5d838c4c2712c2205d87d9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5142cc6ee5d838c4c2712c2205d87d9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f5142cc6ee5d838c4c2712c2205d87d9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f5142cc6ee5d838c4c2712c2205d87d9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f5142cc6ee5d838c4c2712c2205d87d9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f5142cc6ee5d838c4c2712c2205d87d9,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_f5142cc6ee5d838c4c2712c2205d87d9 == cache_frame_f5142cc6ee5d838c4c2712c2205d87d9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f5142cc6ee5d838c4c2712c2205d87d9);
cache_frame_f5142cc6ee5d838c4c2712c2205d87d9 = NULL;
}
assertFrameObject(frame_f5142cc6ee5d838c4c2712c2205d87d9);
// 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;
}
struct tornado$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr_locals {
PyObject *var_w;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
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$locks$$$function__2__garbage_collect$$$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$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$locks$$$function__2__garbage_collect$$$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_w = 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_cc9c7992b59a577e8b111f113a94784f, module_tornado$locks, 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 = 50;
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_w;
generator_heap->var_w = tmp_assign_source_2;
Py_INCREF(generator_heap->var_w);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(generator_heap->var_w);
tmp_called_instance_1 = generator_heap->var_w;
generator->m_frame->m_frame.f_lineno = 50;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_operand_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 = 50;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 50;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_condition_result_1 = (generator_heap->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_expression_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_w);
tmp_expression_value_1 = generator_heap->var_w;
Py_INCREF(tmp_expression_value_1);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
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 = 50;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
branch_no_1:;
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 = 50;
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_w
);
// 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_w);
generator_heap->var_w = 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_w);
generator_heap->var_w = 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$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr_context,
module_tornado$locks,
mod_consts[8],
#if PYTHON_VERSION >= 0x350
mod_consts[9],
#endif
codeobj_cc9c7992b59a577e8b111f113a94784f,
closure,
1,
sizeof(struct tornado$locks$$$function__2__garbage_collect$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_tornado$locks$$$function__3___repr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_result = NULL;
struct Nuitka_FrameObject *frame_0a4b3434fef47179005485474ae021b4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_0a4b3434fef47179005485474ae021b4 = 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_0a4b3434fef47179005485474ae021b4)) {
Py_XDECREF(cache_frame_0a4b3434fef47179005485474ae021b4);
#if _DEBUG_REFCOUNTS
if (cache_frame_0a4b3434fef47179005485474ae021b4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0a4b3434fef47179005485474ae021b4 = MAKE_FUNCTION_FRAME(codeobj_0a4b3434fef47179005485474ae021b4, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0a4b3434fef47179005485474ae021b4->m_type_description == NULL);
frame_0a4b3434fef47179005485474ae021b4 = cache_frame_0a4b3434fef47179005485474ae021b4;
// Push the new frame as the currently active one.
pushFrameStack(frame_0a4b3434fef47179005485474ae021b4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0a4b3434fef47179005485474ae021b4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[10];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
tmp_assign_source_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_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_result == NULL);
var_result = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
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 = 115;
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_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_result);
tmp_iadd_expr_left_1 = var_result;
tmp_mod_expr_left_2 = mod_consts[12];
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_mod_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_right_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_LONG(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_UNICODE_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
assert(!(tmp_result == false));
tmp_assign_source_2 = tmp_iadd_expr_left_1;
var_result = tmp_assign_source_2;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0a4b3434fef47179005485474ae021b4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0a4b3434fef47179005485474ae021b4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0a4b3434fef47179005485474ae021b4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0a4b3434fef47179005485474ae021b4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0a4b3434fef47179005485474ae021b4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0a4b3434fef47179005485474ae021b4,
type_description_1,
par_self,
var_result
);
// Release cached frame if used for exception.
if (frame_0a4b3434fef47179005485474ae021b4 == cache_frame_0a4b3434fef47179005485474ae021b4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0a4b3434fef47179005485474ae021b4);
cache_frame_0a4b3434fef47179005485474ae021b4 = NULL;
}
assertFrameObject(frame_0a4b3434fef47179005485474ae021b4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
CHECK_OBJECT(var_result);
tmp_add_expr_left_1 = var_result;
tmp_add_expr_right_1 = mod_consts[13];
tmp_return_value = BINARY_OPERATION_ADD_OBJECT_UNICODE_UNICODE(tmp_add_expr_left_1, tmp_add_expr_right_1);
assert(!(tmp_return_value == NULL));
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_result);
Py_DECREF(var_result);
var_result = 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_result);
var_result = 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$locks$$$function__4_wait(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_timeout = python_pars[1];
struct Nuitka_CellObject *var_waiter = Nuitka_Cell_Empty();
PyObject *var_on_timeout = NULL;
struct Nuitka_CellObject *var_io_loop = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_timeout_handle = Nuitka_Cell_Empty();
struct Nuitka_FrameObject *frame_2caa7132554e792ddbfa6e744b474ac5;
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_2caa7132554e792ddbfa6e744b474ac5 = 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_2caa7132554e792ddbfa6e744b474ac5)) {
Py_XDECREF(cache_frame_2caa7132554e792ddbfa6e744b474ac5);
#if _DEBUG_REFCOUNTS
if (cache_frame_2caa7132554e792ddbfa6e744b474ac5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2caa7132554e792ddbfa6e744b474ac5 = MAKE_FUNCTION_FRAME(codeobj_2caa7132554e792ddbfa6e744b474ac5, module_tornado$locks, 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_2caa7132554e792ddbfa6e744b474ac5->m_type_description == NULL);
frame_2caa7132554e792ddbfa6e744b474ac5 = cache_frame_2caa7132554e792ddbfa6e744b474ac5;
// Push the new frame as the currently active one.
pushFrameStack(frame_2caa7132554e792ddbfa6e744b474ac5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2caa7132554e792ddbfa6e744b474ac5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
frame_2caa7132554e792ddbfa6e744b474ac5->m_frame.f_lineno = 127;
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 = 127;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_waiter) == NULL);
PyCell_SET(var_waiter, tmp_assign_source_1);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_1 = Nuitka_Cell_GET(par_self);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_args_element_value_1 = Nuitka_Cell_GET(var_waiter);
frame_2caa7132554e792ddbfa6e744b474ac5->m_frame.f_lineno = 128;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[15], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_timeout);
tmp_truth_name_1 = CHECK_IF_TRUE(par_timeout);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_annotations_1 = DICT_COPY(mod_consts[16]);
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = var_waiter;
Py_INCREF(tmp_closure_1[1]);
tmp_assign_source_2 = MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__1_on_timeout(tmp_annotations_1, tmp_closure_1);
assert(var_on_timeout == NULL);
var_on_timeout = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[19]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[19]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[20]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
frame_2caa7132554e792ddbfa6e744b474ac5->m_frame.f_lineno = 136;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[21]);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_io_loop) == NULL);
PyCell_SET(var_io_loop, tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(Nuitka_Cell_GET(var_io_loop));
tmp_called_instance_3 = Nuitka_Cell_GET(var_io_loop);
CHECK_OBJECT(par_timeout);
tmp_args_element_value_2 = par_timeout;
CHECK_OBJECT(var_on_timeout);
tmp_args_element_value_3 = var_on_timeout;
frame_2caa7132554e792ddbfa6e744b474ac5->m_frame.f_lineno = 137;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_4 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_3,
mod_consts[22],
call_args
);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_timeout_handle) == NULL);
PyCell_SET(var_timeout_handle, tmp_assign_source_4);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
struct Nuitka_CellObject *tmp_closure_2[2];
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_called_instance_4 = Nuitka_Cell_GET(var_waiter);
tmp_closure_2[0] = var_io_loop;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = var_timeout_handle;
Py_INCREF(tmp_closure_2[1]);
tmp_args_element_value_4 = MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__2_lambda(tmp_closure_2);
frame_2caa7132554e792ddbfa6e744b474ac5->m_frame.f_lineno = 138;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[23], tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2caa7132554e792ddbfa6e744b474ac5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2caa7132554e792ddbfa6e744b474ac5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2caa7132554e792ddbfa6e744b474ac5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2caa7132554e792ddbfa6e744b474ac5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2caa7132554e792ddbfa6e744b474ac5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2caa7132554e792ddbfa6e744b474ac5,
type_description_1,
par_self,
par_timeout,
var_waiter,
var_on_timeout,
var_io_loop,
var_timeout_handle
);
// Release cached frame if used for exception.
if (frame_2caa7132554e792ddbfa6e744b474ac5 == cache_frame_2caa7132554e792ddbfa6e744b474ac5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2caa7132554e792ddbfa6e744b474ac5);
cache_frame_2caa7132554e792ddbfa6e744b474ac5 = NULL;
}
assertFrameObject(frame_2caa7132554e792ddbfa6e744b474ac5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_return_value = Nuitka_Cell_GET(var_waiter);
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_waiter);
Py_DECREF(var_waiter);
var_waiter = NULL;
Py_XDECREF(var_on_timeout);
var_on_timeout = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(var_waiter);
Py_DECREF(var_waiter);
var_waiter = NULL;
Py_XDECREF(var_on_timeout);
var_on_timeout = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_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$locks$$$function__4_wait$$$function__1_on_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.
struct Nuitka_FrameObject *frame_4cb9ad23d240d1f52d6554d2e95e3aec;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec)) {
Py_XDECREF(cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec);
#if _DEBUG_REFCOUNTS
if (cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec = MAKE_FUNCTION_FRAME(codeobj_4cb9ad23d240d1f52d6554d2e95e3aec, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec->m_type_description == NULL);
frame_4cb9ad23d240d1f52d6554d2e95e3aec = cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec;
// Push the new frame as the currently active one.
pushFrameStack(frame_4cb9ad23d240d1f52d6554d2e95e3aec);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4cb9ad23d240d1f52d6554d2e95e3aec) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 132;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_4cb9ad23d240d1f52d6554d2e95e3aec->m_frame.f_lineno = 132;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "cc";
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 = 132;
type_description_1 = "cc";
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_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 133;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_args_element_value_2 = Py_False;
frame_4cb9ad23d240d1f52d6554d2e95e3aec->m_frame.f_lineno = 133;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 134;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = Nuitka_Cell_GET(self->m_closure[0]);
frame_4cb9ad23d240d1f52d6554d2e95e3aec->m_frame.f_lineno = 134;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[30]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4cb9ad23d240d1f52d6554d2e95e3aec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4cb9ad23d240d1f52d6554d2e95e3aec);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4cb9ad23d240d1f52d6554d2e95e3aec, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4cb9ad23d240d1f52d6554d2e95e3aec->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4cb9ad23d240d1f52d6554d2e95e3aec, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4cb9ad23d240d1f52d6554d2e95e3aec,
type_description_1,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_4cb9ad23d240d1f52d6554d2e95e3aec == cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec);
cache_frame_4cb9ad23d240d1f52d6554d2e95e3aec = NULL;
}
assertFrameObject(frame_4cb9ad23d240d1f52d6554d2e95e3aec);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__4_wait$$$function__2_lambda(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par__ = python_pars[0];
struct Nuitka_FrameObject *frame_12d082a5747b28c41caf141213e2becc;
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_12d082a5747b28c41caf141213e2becc = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_12d082a5747b28c41caf141213e2becc)) {
Py_XDECREF(cache_frame_12d082a5747b28c41caf141213e2becc);
#if _DEBUG_REFCOUNTS
if (cache_frame_12d082a5747b28c41caf141213e2becc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_12d082a5747b28c41caf141213e2becc = MAKE_FUNCTION_FRAME(codeobj_12d082a5747b28c41caf141213e2becc, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_12d082a5747b28c41caf141213e2becc->m_type_description == NULL);
frame_12d082a5747b28c41caf141213e2becc = cache_frame_12d082a5747b28c41caf141213e2becc;
// Push the new frame as the currently active one.
pushFrameStack(frame_12d082a5747b28c41caf141213e2becc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_12d082a5747b28c41caf141213e2becc) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[32]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[33]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_12d082a5747b28c41caf141213e2becc->m_frame.f_lineno = 138;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_12d082a5747b28c41caf141213e2becc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_12d082a5747b28c41caf141213e2becc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_12d082a5747b28c41caf141213e2becc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_12d082a5747b28c41caf141213e2becc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_12d082a5747b28c41caf141213e2becc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_12d082a5747b28c41caf141213e2becc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_12d082a5747b28c41caf141213e2becc,
type_description_1,
par__,
self->m_closure[0],
self->m_closure[1]
);
// Release cached frame if used for exception.
if (frame_12d082a5747b28c41caf141213e2becc == cache_frame_12d082a5747b28c41caf141213e2becc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_12d082a5747b28c41caf141213e2becc);
cache_frame_12d082a5747b28c41caf141213e2becc = NULL;
}
assertFrameObject(frame_12d082a5747b28c41caf141213e2becc);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par__);
Py_DECREF(par__);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par__);
Py_DECREF(par__);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__5_notify(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_n = python_pars[1];
PyObject *var_waiters = NULL;
PyObject *var_waiter = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_56ebf9621fb1e23a48da6f9feb884841;
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;
static struct Nuitka_FrameObject *cache_frame_56ebf9621fb1e23a48da6f9feb884841 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_waiters == NULL);
var_waiters = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_56ebf9621fb1e23a48da6f9feb884841)) {
Py_XDECREF(cache_frame_56ebf9621fb1e23a48da6f9feb884841);
#if _DEBUG_REFCOUNTS
if (cache_frame_56ebf9621fb1e23a48da6f9feb884841 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_56ebf9621fb1e23a48da6f9feb884841 = MAKE_FUNCTION_FRAME(codeobj_56ebf9621fb1e23a48da6f9feb884841, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_56ebf9621fb1e23a48da6f9feb884841->m_type_description == NULL);
frame_56ebf9621fb1e23a48da6f9feb884841 = cache_frame_56ebf9621fb1e23a48da6f9feb884841;
// Push the new frame as the currently active one.
pushFrameStack(frame_56ebf9621fb1e23a48da6f9feb884841);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_56ebf9621fb1e23a48da6f9feb884841) == 2); // Frame stack
// Framed code:
loop_start_1:;
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_expression_value_1;
if (par_n == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[34]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = par_n;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = par_self;
tmp_and_right_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]);
if (tmp_and_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
Py_INCREF(tmp_and_left_value_1);
tmp_operand_value_1 = tmp_and_left_value_1;
and_end_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 = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 145;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_56ebf9621fb1e23a48da6f9feb884841->m_frame.f_lineno = 145;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[35]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_waiter;
var_waiter = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_waiter);
tmp_called_instance_2 = var_waiter;
frame_56ebf9621fb1e23a48da6f9feb884841->m_frame.f_lineno = 146;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[7]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
if (par_n == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[34]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 147;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_isub_expr_left_1 = par_n;
tmp_isub_expr_right_1 = mod_consts[5];
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_isub_expr_left_1;
par_n = tmp_assign_source_3;
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (var_waiters == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 148;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = var_waiters;
CHECK_OBJECT(var_waiter);
tmp_args_element_value_1 = var_waiter;
frame_56ebf9621fb1e23a48da6f9feb884841->m_frame.f_lineno = 148;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[15], 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 = 148;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
if (var_waiters == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 150;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = var_waiters;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_4;
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_5 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_5 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 150;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_waiter;
var_waiter = tmp_assign_source_6;
Py_INCREF(var_waiter);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_waiter);
tmp_args_element_value_2 = var_waiter;
tmp_args_element_value_3 = Py_True;
frame_56ebf9621fb1e23a48da6f9feb884841->m_frame.f_lineno = 151;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_2;
loop_end_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_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_56ebf9621fb1e23a48da6f9feb884841);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_56ebf9621fb1e23a48da6f9feb884841);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_56ebf9621fb1e23a48da6f9feb884841, exception_lineno);
} else if (exception_tb->tb_frame != &frame_56ebf9621fb1e23a48da6f9feb884841->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_56ebf9621fb1e23a48da6f9feb884841, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_56ebf9621fb1e23a48da6f9feb884841,
type_description_1,
par_self,
par_n,
var_waiters,
var_waiter
);
// Release cached frame if used for exception.
if (frame_56ebf9621fb1e23a48da6f9feb884841 == cache_frame_56ebf9621fb1e23a48da6f9feb884841) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_56ebf9621fb1e23a48da6f9feb884841);
cache_frame_56ebf9621fb1e23a48da6f9feb884841 = NULL;
}
assertFrameObject(frame_56ebf9621fb1e23a48da6f9feb884841);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_n);
par_n = NULL;
Py_XDECREF(var_waiters);
var_waiters = NULL;
Py_XDECREF(var_waiter);
var_waiter = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_n);
par_n = NULL;
Py_XDECREF(var_waiters);
var_waiters = NULL;
Py_XDECREF(var_waiter);
var_waiter = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__6_notify_all(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_7664199792881f395b3443fe51dc0c6f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_7664199792881f395b3443fe51dc0c6f = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7664199792881f395b3443fe51dc0c6f)) {
Py_XDECREF(cache_frame_7664199792881f395b3443fe51dc0c6f);
#if _DEBUG_REFCOUNTS
if (cache_frame_7664199792881f395b3443fe51dc0c6f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7664199792881f395b3443fe51dc0c6f = MAKE_FUNCTION_FRAME(codeobj_7664199792881f395b3443fe51dc0c6f, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7664199792881f395b3443fe51dc0c6f->m_type_description == NULL);
frame_7664199792881f395b3443fe51dc0c6f = cache_frame_7664199792881f395b3443fe51dc0c6f;
// Push the new frame as the currently active one.
pushFrameStack(frame_7664199792881f395b3443fe51dc0c6f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7664199792881f395b3443fe51dc0c6f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[38]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_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 = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_7664199792881f395b3443fe51dc0c6f->m_frame.f_lineno = 155;
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 = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7664199792881f395b3443fe51dc0c6f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7664199792881f395b3443fe51dc0c6f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7664199792881f395b3443fe51dc0c6f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7664199792881f395b3443fe51dc0c6f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7664199792881f395b3443fe51dc0c6f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7664199792881f395b3443fe51dc0c6f,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_7664199792881f395b3443fe51dc0c6f == cache_frame_7664199792881f395b3443fe51dc0c6f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7664199792881f395b3443fe51dc0c6f);
cache_frame_7664199792881f395b3443fe51dc0c6f = NULL;
}
assertFrameObject(frame_7664199792881f395b3443fe51dc0c6f);
// 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$locks$$$function__7___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];
struct Nuitka_FrameObject *frame_7edcf45095aa85847a621179832a4ce5;
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_7edcf45095aa85847a621179832a4ce5 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7edcf45095aa85847a621179832a4ce5)) {
Py_XDECREF(cache_frame_7edcf45095aa85847a621179832a4ce5);
#if _DEBUG_REFCOUNTS
if (cache_frame_7edcf45095aa85847a621179832a4ce5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7edcf45095aa85847a621179832a4ce5 = MAKE_FUNCTION_FRAME(codeobj_7edcf45095aa85847a621179832a4ce5, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7edcf45095aa85847a621179832a4ce5->m_type_description == NULL);
frame_7edcf45095aa85847a621179832a4ce5 = cache_frame_7edcf45095aa85847a621179832a4ce5;
// Push the new frame as the currently active one.
pushFrameStack(frame_7edcf45095aa85847a621179832a4ce5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7edcf45095aa85847a621179832a4ce5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = PySet_New(NULL);
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[2], 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 = 200;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7edcf45095aa85847a621179832a4ce5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7edcf45095aa85847a621179832a4ce5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7edcf45095aa85847a621179832a4ce5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7edcf45095aa85847a621179832a4ce5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7edcf45095aa85847a621179832a4ce5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7edcf45095aa85847a621179832a4ce5,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_7edcf45095aa85847a621179832a4ce5 == cache_frame_7edcf45095aa85847a621179832a4ce5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7edcf45095aa85847a621179832a4ce5);
cache_frame_7edcf45095aa85847a621179832a4ce5 = NULL;
}
assertFrameObject(frame_7edcf45095aa85847a621179832a4ce5);
// 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$locks$$$function__8___repr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_b7ecff0421439d3a29f528b831ea53d3;
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_b7ecff0421439d3a29f528b831ea53d3 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b7ecff0421439d3a29f528b831ea53d3)) {
Py_XDECREF(cache_frame_b7ecff0421439d3a29f528b831ea53d3);
#if _DEBUG_REFCOUNTS
if (cache_frame_b7ecff0421439d3a29f528b831ea53d3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b7ecff0421439d3a29f528b831ea53d3 = MAKE_FUNCTION_FRAME(codeobj_b7ecff0421439d3a29f528b831ea53d3, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b7ecff0421439d3a29f528b831ea53d3->m_type_description == NULL);
frame_b7ecff0421439d3a29f528b831ea53d3 = cache_frame_b7ecff0421439d3a29f528b831ea53d3;
// Push the new frame as the currently active one.
pushFrameStack(frame_b7ecff0421439d3a29f528b831ea53d3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b7ecff0421439d3a29f528b831ea53d3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[41];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_b7ecff0421439d3a29f528b831ea53d3->m_frame.f_lineno = 205;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[42]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "o";
goto tuple_build_exception_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 = 205;
type_description_1 = "o";
goto tuple_build_exception_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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_tuple_element_1 = mod_consts[43];
goto condexpr_end_1;
condexpr_false_1:;
tmp_tuple_element_1 = mod_consts[44];
condexpr_end_1:;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7ecff0421439d3a29f528b831ea53d3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7ecff0421439d3a29f528b831ea53d3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7ecff0421439d3a29f528b831ea53d3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b7ecff0421439d3a29f528b831ea53d3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b7ecff0421439d3a29f528b831ea53d3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b7ecff0421439d3a29f528b831ea53d3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b7ecff0421439d3a29f528b831ea53d3,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b7ecff0421439d3a29f528b831ea53d3 == cache_frame_b7ecff0421439d3a29f528b831ea53d3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b7ecff0421439d3a29f528b831ea53d3);
cache_frame_b7ecff0421439d3a29f528b831ea53d3 = NULL;
}
assertFrameObject(frame_b7ecff0421439d3a29f528b831ea53d3);
// 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$locks$$$function__9_is_set(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_c47f0407a2ef84b192038d9cb607d10a;
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_c47f0407a2ef84b192038d9cb607d10a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c47f0407a2ef84b192038d9cb607d10a)) {
Py_XDECREF(cache_frame_c47f0407a2ef84b192038d9cb607d10a);
#if _DEBUG_REFCOUNTS
if (cache_frame_c47f0407a2ef84b192038d9cb607d10a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c47f0407a2ef84b192038d9cb607d10a = MAKE_FUNCTION_FRAME(codeobj_c47f0407a2ef84b192038d9cb607d10a, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c47f0407a2ef84b192038d9cb607d10a->m_type_description == NULL);
frame_c47f0407a2ef84b192038d9cb607d10a = cache_frame_c47f0407a2ef84b192038d9cb607d10a;
// Push the new frame as the currently active one.
pushFrameStack(frame_c47f0407a2ef84b192038d9cb607d10a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c47f0407a2ef84b192038d9cb607d10a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c47f0407a2ef84b192038d9cb607d10a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c47f0407a2ef84b192038d9cb607d10a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c47f0407a2ef84b192038d9cb607d10a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c47f0407a2ef84b192038d9cb607d10a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c47f0407a2ef84b192038d9cb607d10a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c47f0407a2ef84b192038d9cb607d10a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c47f0407a2ef84b192038d9cb607d10a,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_c47f0407a2ef84b192038d9cb607d10a == cache_frame_c47f0407a2ef84b192038d9cb607d10a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c47f0407a2ef84b192038d9cb607d10a);
cache_frame_c47f0407a2ef84b192038d9cb607d10a = NULL;
}
assertFrameObject(frame_c47f0407a2ef84b192038d9cb607d10a);
// 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$locks$$$function__10_set(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_fut = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_96fa8972b873f284e40da1bcba95cbb9;
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;
static struct Nuitka_FrameObject *cache_frame_96fa8972b873f284e40da1bcba95cbb9 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_96fa8972b873f284e40da1bcba95cbb9)) {
Py_XDECREF(cache_frame_96fa8972b873f284e40da1bcba95cbb9);
#if _DEBUG_REFCOUNTS
if (cache_frame_96fa8972b873f284e40da1bcba95cbb9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_96fa8972b873f284e40da1bcba95cbb9 = MAKE_FUNCTION_FRAME(codeobj_96fa8972b873f284e40da1bcba95cbb9, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_96fa8972b873f284e40da1bcba95cbb9->m_type_description == NULL);
frame_96fa8972b873f284e40da1bcba95cbb9 = cache_frame_96fa8972b873f284e40da1bcba95cbb9;
// Push the new frame as the currently active one.
pushFrameStack(frame_96fa8972b873f284e40da1bcba95cbb9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_96fa8972b873f284e40da1bcba95cbb9) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
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 = 217;
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_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
exception_lineno = 220;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_fut;
var_fut = tmp_assign_source_3;
Py_INCREF(var_fut);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_fut);
tmp_called_instance_1 = var_fut;
frame_96fa8972b873f284e40da1bcba95cbb9->m_frame.f_lineno = 221;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_fut);
tmp_called_instance_2 = var_fut;
frame_96fa8972b873f284e40da1bcba95cbb9->m_frame.f_lineno = 222;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[46],
PyTuple_GET_ITEM(mod_consts[47], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_96fa8972b873f284e40da1bcba95cbb9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_96fa8972b873f284e40da1bcba95cbb9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_96fa8972b873f284e40da1bcba95cbb9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_96fa8972b873f284e40da1bcba95cbb9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_96fa8972b873f284e40da1bcba95cbb9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_96fa8972b873f284e40da1bcba95cbb9,
type_description_1,
par_self,
var_fut
);
// Release cached frame if used for exception.
if (frame_96fa8972b873f284e40da1bcba95cbb9 == cache_frame_96fa8972b873f284e40da1bcba95cbb9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_96fa8972b873f284e40da1bcba95cbb9);
cache_frame_96fa8972b873f284e40da1bcba95cbb9 = NULL;
}
assertFrameObject(frame_96fa8972b873f284e40da1bcba95cbb9);
// 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_fut);
var_fut = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_fut);
var_fut = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__11_clear(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_ccb602b1650425cb67f08549e90626af;
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_ccb602b1650425cb67f08549e90626af = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ccb602b1650425cb67f08549e90626af)) {
Py_XDECREF(cache_frame_ccb602b1650425cb67f08549e90626af);
#if _DEBUG_REFCOUNTS
if (cache_frame_ccb602b1650425cb67f08549e90626af == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ccb602b1650425cb67f08549e90626af = MAKE_FUNCTION_FRAME(codeobj_ccb602b1650425cb67f08549e90626af, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ccb602b1650425cb67f08549e90626af->m_type_description == NULL);
frame_ccb602b1650425cb67f08549e90626af = cache_frame_ccb602b1650425cb67f08549e90626af;
// Push the new frame as the currently active one.
pushFrameStack(frame_ccb602b1650425cb67f08549e90626af);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ccb602b1650425cb67f08549e90626af) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ccb602b1650425cb67f08549e90626af);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ccb602b1650425cb67f08549e90626af);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ccb602b1650425cb67f08549e90626af, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ccb602b1650425cb67f08549e90626af->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ccb602b1650425cb67f08549e90626af, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ccb602b1650425cb67f08549e90626af,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_ccb602b1650425cb67f08549e90626af == cache_frame_ccb602b1650425cb67f08549e90626af) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ccb602b1650425cb67f08549e90626af);
cache_frame_ccb602b1650425cb67f08549e90626af = NULL;
}
assertFrameObject(frame_ccb602b1650425cb67f08549e90626af);
// 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$locks$$$function__12_wait(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_timeout = python_pars[1];
struct Nuitka_CellObject *var_fut = Nuitka_Cell_Empty();
PyObject *var_timeout_fut = NULL;
struct Nuitka_FrameObject *frame_d9f36227b148611d83d90f8e2a2c2885;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d9f36227b148611d83d90f8e2a2c2885 = 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_d9f36227b148611d83d90f8e2a2c2885)) {
Py_XDECREF(cache_frame_d9f36227b148611d83d90f8e2a2c2885);
#if _DEBUG_REFCOUNTS
if (cache_frame_d9f36227b148611d83d90f8e2a2c2885 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d9f36227b148611d83d90f8e2a2c2885 = MAKE_FUNCTION_FRAME(codeobj_d9f36227b148611d83d90f8e2a2c2885, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d9f36227b148611d83d90f8e2a2c2885->m_type_description == NULL);
frame_d9f36227b148611d83d90f8e2a2c2885 = cache_frame_d9f36227b148611d83d90f8e2a2c2885;
// Push the new frame as the currently active one.
pushFrameStack(frame_d9f36227b148611d83d90f8e2a2c2885);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d9f36227b148611d83d90f8e2a2c2885) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 239;
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 = 239;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_fut) == NULL);
PyCell_SET(var_fut, tmp_assign_source_1);
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_1 = Nuitka_Cell_GET(par_self);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "coco";
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 = 240;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_called_instance_1 = Nuitka_Cell_GET(var_fut);
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 241;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[46],
PyTuple_GET_ITEM(mod_consts[47], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_return_value = Nuitka_Cell_GET(var_fut);
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_2 = Nuitka_Cell_GET(par_self);
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_args_element_value_1 = Nuitka_Cell_GET(var_fut);
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 243;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[50], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_2;
struct Nuitka_CellObject *tmp_closure_1[1];
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_called_instance_3 = Nuitka_Cell_GET(var_fut);
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__1_lambda(tmp_closure_1);
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 244;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[23], tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_timeout);
tmp_cmp_expr_left_1 = par_timeout;
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:;
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_return_value = Nuitka_Cell_GET(var_fut);
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[52]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[52]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_timeout);
tmp_args_element_value_3 = par_timeout;
CHECK_OBJECT(Nuitka_Cell_GET(var_fut));
tmp_args_element_value_4 = Nuitka_Cell_GET(var_fut);
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 248;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_4,
mod_consts[53],
call_args
);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
assert(var_timeout_fut == NULL);
var_timeout_fut = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_5;
struct Nuitka_CellObject *tmp_closure_2[1];
CHECK_OBJECT(var_timeout_fut);
tmp_called_instance_5 = var_timeout_fut;
tmp_closure_2[0] = var_fut;
Py_INCREF(tmp_closure_2[0]);
tmp_args_element_value_5 = MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__2_lambda(tmp_closure_2);
frame_d9f36227b148611d83d90f8e2a2c2885->m_frame.f_lineno = 252;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[23], tmp_args_element_value_5);
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 = 252;
type_description_1 = "coco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
CHECK_OBJECT(var_timeout_fut);
tmp_return_value = var_timeout_fut;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9f36227b148611d83d90f8e2a2c2885);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9f36227b148611d83d90f8e2a2c2885);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9f36227b148611d83d90f8e2a2c2885);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d9f36227b148611d83d90f8e2a2c2885, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d9f36227b148611d83d90f8e2a2c2885->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d9f36227b148611d83d90f8e2a2c2885, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d9f36227b148611d83d90f8e2a2c2885,
type_description_1,
par_self,
par_timeout,
var_fut,
var_timeout_fut
);
// Release cached frame if used for exception.
if (frame_d9f36227b148611d83d90f8e2a2c2885 == cache_frame_d9f36227b148611d83d90f8e2a2c2885) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d9f36227b148611d83d90f8e2a2c2885);
cache_frame_d9f36227b148611d83d90f8e2a2c2885 = NULL;
}
assertFrameObject(frame_d9f36227b148611d83d90f8e2a2c2885);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_fut);
Py_DECREF(var_fut);
var_fut = NULL;
Py_XDECREF(var_timeout_fut);
var_timeout_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;
CHECK_OBJECT(var_fut);
Py_DECREF(var_fut);
var_fut = NULL;
Py_XDECREF(var_timeout_fut);
var_timeout_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_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$locks$$$function__12_wait$$$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_fut = python_pars[0];
struct Nuitka_FrameObject *frame_726b4624c04c6d5dd85fa2e726ae6e03;
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_726b4624c04c6d5dd85fa2e726ae6e03 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_726b4624c04c6d5dd85fa2e726ae6e03)) {
Py_XDECREF(cache_frame_726b4624c04c6d5dd85fa2e726ae6e03);
#if _DEBUG_REFCOUNTS
if (cache_frame_726b4624c04c6d5dd85fa2e726ae6e03 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_726b4624c04c6d5dd85fa2e726ae6e03 = MAKE_FUNCTION_FRAME(codeobj_726b4624c04c6d5dd85fa2e726ae6e03, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_726b4624c04c6d5dd85fa2e726ae6e03->m_type_description == NULL);
frame_726b4624c04c6d5dd85fa2e726ae6e03 = cache_frame_726b4624c04c6d5dd85fa2e726ae6e03;
// Push the new frame as the currently active one.
pushFrameStack(frame_726b4624c04c6d5dd85fa2e726ae6e03);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_726b4624c04c6d5dd85fa2e726ae6e03) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 244;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_fut);
tmp_args_element_value_1 = par_fut;
frame_726b4624c04c6d5dd85fa2e726ae6e03->m_frame.f_lineno = 244;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[55], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_726b4624c04c6d5dd85fa2e726ae6e03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_726b4624c04c6d5dd85fa2e726ae6e03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_726b4624c04c6d5dd85fa2e726ae6e03);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_726b4624c04c6d5dd85fa2e726ae6e03, exception_lineno);
} else if (exception_tb->tb_frame != &frame_726b4624c04c6d5dd85fa2e726ae6e03->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_726b4624c04c6d5dd85fa2e726ae6e03, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_726b4624c04c6d5dd85fa2e726ae6e03,
type_description_1,
par_fut,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_726b4624c04c6d5dd85fa2e726ae6e03 == cache_frame_726b4624c04c6d5dd85fa2e726ae6e03) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_726b4624c04c6d5dd85fa2e726ae6e03);
cache_frame_726b4624c04c6d5dd85fa2e726ae6e03 = NULL;
}
assertFrameObject(frame_726b4624c04c6d5dd85fa2e726ae6e03);
// 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_fut);
Py_DECREF(par_fut);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_fut);
Py_DECREF(par_fut);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__12_wait$$$function__2_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_tf = python_pars[0];
struct Nuitka_FrameObject *frame_9720bdbcedfc3a006bb74836d8dfad5b;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_9720bdbcedfc3a006bb74836d8dfad5b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9720bdbcedfc3a006bb74836d8dfad5b)) {
Py_XDECREF(cache_frame_9720bdbcedfc3a006bb74836d8dfad5b);
#if _DEBUG_REFCOUNTS
if (cache_frame_9720bdbcedfc3a006bb74836d8dfad5b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9720bdbcedfc3a006bb74836d8dfad5b = MAKE_FUNCTION_FRAME(codeobj_9720bdbcedfc3a006bb74836d8dfad5b, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9720bdbcedfc3a006bb74836d8dfad5b->m_type_description == NULL);
frame_9720bdbcedfc3a006bb74836d8dfad5b = cache_frame_9720bdbcedfc3a006bb74836d8dfad5b;
// Push the new frame as the currently active one.
pushFrameStack(frame_9720bdbcedfc3a006bb74836d8dfad5b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9720bdbcedfc3a006bb74836d8dfad5b) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_called_instance_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[56]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 253;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[0]);
frame_9720bdbcedfc3a006bb74836d8dfad5b->m_frame.f_lineno = 253;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oc";
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 = 253;
type_description_1 = "oc";
goto frame_exception_exit_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:;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[56]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 253;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = Nuitka_Cell_GET(self->m_closure[0]);
frame_9720bdbcedfc3a006bb74836d8dfad5b->m_frame.f_lineno = 253;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[57]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
condexpr_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9720bdbcedfc3a006bb74836d8dfad5b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9720bdbcedfc3a006bb74836d8dfad5b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9720bdbcedfc3a006bb74836d8dfad5b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9720bdbcedfc3a006bb74836d8dfad5b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9720bdbcedfc3a006bb74836d8dfad5b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9720bdbcedfc3a006bb74836d8dfad5b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9720bdbcedfc3a006bb74836d8dfad5b,
type_description_1,
par_tf,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_9720bdbcedfc3a006bb74836d8dfad5b == cache_frame_9720bdbcedfc3a006bb74836d8dfad5b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9720bdbcedfc3a006bb74836d8dfad5b);
cache_frame_9720bdbcedfc3a006bb74836d8dfad5b = NULL;
}
assertFrameObject(frame_9720bdbcedfc3a006bb74836d8dfad5b);
// 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_tf);
Py_DECREF(par_tf);
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_tf);
Py_DECREF(par_tf);
// 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$locks$$$function__13___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_obj = python_pars[1];
struct Nuitka_FrameObject *frame_03fc1a788a2c072f1f61202734a8ed3f;
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_03fc1a788a2c072f1f61202734a8ed3f = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_03fc1a788a2c072f1f61202734a8ed3f)) {
Py_XDECREF(cache_frame_03fc1a788a2c072f1f61202734a8ed3f);
#if _DEBUG_REFCOUNTS
if (cache_frame_03fc1a788a2c072f1f61202734a8ed3f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_03fc1a788a2c072f1f61202734a8ed3f = MAKE_FUNCTION_FRAME(codeobj_03fc1a788a2c072f1f61202734a8ed3f, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_03fc1a788a2c072f1f61202734a8ed3f->m_type_description == NULL);
frame_03fc1a788a2c072f1f61202734a8ed3f = cache_frame_03fc1a788a2c072f1f61202734a8ed3f;
// Push the new frame as the currently active one.
pushFrameStack(frame_03fc1a788a2c072f1f61202734a8ed3f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_03fc1a788a2c072f1f61202734a8ed3f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_obj);
tmp_assattr_value_1 = par_obj;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[58], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_03fc1a788a2c072f1f61202734a8ed3f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_03fc1a788a2c072f1f61202734a8ed3f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_03fc1a788a2c072f1f61202734a8ed3f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_03fc1a788a2c072f1f61202734a8ed3f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_03fc1a788a2c072f1f61202734a8ed3f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_03fc1a788a2c072f1f61202734a8ed3f,
type_description_1,
par_self,
par_obj
);
// Release cached frame if used for exception.
if (frame_03fc1a788a2c072f1f61202734a8ed3f == cache_frame_03fc1a788a2c072f1f61202734a8ed3f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_03fc1a788a2c072f1f61202734a8ed3f);
cache_frame_03fc1a788a2c072f1f61202734a8ed3f = NULL;
}
assertFrameObject(frame_03fc1a788a2c072f1f61202734a8ed3f);
// 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_obj);
Py_DECREF(par_obj);
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_obj);
Py_DECREF(par_obj);
// 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$locks$$$function__15___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_exc_type = python_pars[1];
PyObject *par_exc_val = python_pars[2];
PyObject *par_exc_tb = python_pars[3];
struct Nuitka_FrameObject *frame_1707c94603b57b60af7b8ee3751dacf7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_1707c94603b57b60af7b8ee3751dacf7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1707c94603b57b60af7b8ee3751dacf7)) {
Py_XDECREF(cache_frame_1707c94603b57b60af7b8ee3751dacf7);
#if _DEBUG_REFCOUNTS
if (cache_frame_1707c94603b57b60af7b8ee3751dacf7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1707c94603b57b60af7b8ee3751dacf7 = MAKE_FUNCTION_FRAME(codeobj_1707c94603b57b60af7b8ee3751dacf7, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1707c94603b57b60af7b8ee3751dacf7->m_type_description == NULL);
frame_1707c94603b57b60af7b8ee3751dacf7 = cache_frame_1707c94603b57b60af7b8ee3751dacf7;
// Push the new frame as the currently active one.
pushFrameStack(frame_1707c94603b57b60af7b8ee3751dacf7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1707c94603b57b60af7b8ee3751dacf7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[58]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_1707c94603b57b60af7b8ee3751dacf7->m_frame.f_lineno = 279;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[59]);
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 = 279;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1707c94603b57b60af7b8ee3751dacf7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1707c94603b57b60af7b8ee3751dacf7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1707c94603b57b60af7b8ee3751dacf7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1707c94603b57b60af7b8ee3751dacf7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1707c94603b57b60af7b8ee3751dacf7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1707c94603b57b60af7b8ee3751dacf7,
type_description_1,
par_self,
par_exc_type,
par_exc_val,
par_exc_tb
);
// Release cached frame if used for exception.
if (frame_1707c94603b57b60af7b8ee3751dacf7 == cache_frame_1707c94603b57b60af7b8ee3751dacf7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1707c94603b57b60af7b8ee3751dacf7);
cache_frame_1707c94603b57b60af7b8ee3751dacf7 = NULL;
}
assertFrameObject(frame_1707c94603b57b60af7b8ee3751dacf7);
// 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_exc_type);
Py_DECREF(par_exc_type);
CHECK_OBJECT(par_exc_val);
Py_DECREF(par_exc_val);
CHECK_OBJECT(par_exc_tb);
Py_DECREF(par_exc_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_exc_type);
Py_DECREF(par_exc_type);
CHECK_OBJECT(par_exc_val);
Py_DECREF(par_exc_val);
CHECK_OBJECT(par_exc_tb);
Py_DECREF(par_exc_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$locks$$$function__16___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_value = python_pars[1];
struct Nuitka_FrameObject *frame_57be1666d445a63ceba4106321acc679;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_57be1666d445a63ceba4106321acc679 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_57be1666d445a63ceba4106321acc679)) {
Py_XDECREF(cache_frame_57be1666d445a63ceba4106321acc679);
#if _DEBUG_REFCOUNTS
if (cache_frame_57be1666d445a63ceba4106321acc679 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_57be1666d445a63ceba4106321acc679 = MAKE_FUNCTION_FRAME(codeobj_57be1666d445a63ceba4106321acc679, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_57be1666d445a63ceba4106321acc679->m_type_description == NULL);
frame_57be1666d445a63ceba4106321acc679 = cache_frame_57be1666d445a63ceba4106321acc679;
// Push the new frame as the currently active one.
pushFrameStack(frame_57be1666d445a63ceba4106321acc679);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_57be1666d445a63ceba4106321acc679) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[60]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 384;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$locks, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_57be1666d445a63ceba4106321acc679->m_frame.f_lineno = 384;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[61]);
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 = 384;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
nuitka_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 = mod_consts[3];
tmp_condition_result_1 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooc";
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_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[62];
frame_57be1666d445a63ceba4106321acc679->m_frame.f_lineno = 386;
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 = 386;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_value);
tmp_assattr_value_1 = par_value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_57be1666d445a63ceba4106321acc679);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_57be1666d445a63ceba4106321acc679);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_57be1666d445a63ceba4106321acc679, exception_lineno);
} else if (exception_tb->tb_frame != &frame_57be1666d445a63ceba4106321acc679->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_57be1666d445a63ceba4106321acc679, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_57be1666d445a63ceba4106321acc679,
type_description_1,
par_self,
par_value,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_57be1666d445a63ceba4106321acc679 == cache_frame_57be1666d445a63ceba4106321acc679) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_57be1666d445a63ceba4106321acc679);
cache_frame_57be1666d445a63ceba4106321acc679 = NULL;
}
assertFrameObject(frame_57be1666d445a63ceba4106321acc679);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__17___repr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_res = NULL;
PyObject *var_extra = NULL;
struct Nuitka_FrameObject *frame_048e05cc9c1e561337f023b28ecf949d;
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_048e05cc9c1e561337f023b28ecf949d = 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_048e05cc9c1e561337f023b28ecf949d)) {
Py_XDECREF(cache_frame_048e05cc9c1e561337f023b28ecf949d);
#if _DEBUG_REFCOUNTS
if (cache_frame_048e05cc9c1e561337f023b28ecf949d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_048e05cc9c1e561337f023b28ecf949d = MAKE_FUNCTION_FRAME(codeobj_048e05cc9c1e561337f023b28ecf949d, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_048e05cc9c1e561337f023b28ecf949d->m_type_description == NULL);
frame_048e05cc9c1e561337f023b28ecf949d = cache_frame_048e05cc9c1e561337f023b28ecf949d;
// Push the new frame as the currently active one.
pushFrameStack(frame_048e05cc9c1e561337f023b28ecf949d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_048e05cc9c1e561337f023b28ecf949d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[60]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 391;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$locks, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
frame_048e05cc9c1e561337f023b28ecf949d->m_frame.f_lineno = 391;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[63]);
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 = 391;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
assert(var_res == NULL);
var_res = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[3];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(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 = 393;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_assign_source_2 = mod_consts[64];
Py_INCREF(tmp_assign_source_2);
goto condexpr_end_1;
condexpr_false_1:;
tmp_kw_call_arg_value_0_1 = mod_consts[65];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_kw_call_arg_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[40]);
if (tmp_kw_call_arg_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
frame_048e05cc9c1e561337f023b28ecf949d->m_frame.f_lineno = 393;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(unicode_builtin_format, call_args);
}
Py_DECREF(tmp_kw_call_arg_value_1_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
condexpr_end_1:;
assert(var_extra == NULL);
var_extra = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooc";
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 = 395;
type_description_1 = "oooc";
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_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_kw_call_arg_value_0_2;
PyObject *tmp_kw_call_arg_value_1_2;
PyObject *tmp_kw_call_arg_value_2_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_4;
tmp_kw_call_arg_value_0_2 = mod_consts[66];
CHECK_OBJECT(var_extra);
tmp_kw_call_arg_value_1_2 = var_extra;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_kw_call_arg_value_2_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_kw_call_arg_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
frame_048e05cc9c1e561337f023b28ecf949d->m_frame.f_lineno = 396;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_2, tmp_kw_call_arg_value_1_2, tmp_kw_call_arg_value_2_1};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3(unicode_builtin_format, call_args);
}
Py_DECREF(tmp_kw_call_arg_value_2_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
{
PyObject *old = var_extra;
assert(old != NULL);
var_extra = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_kw_call_arg_value_0_3;
PyObject *tmp_kw_call_arg_value_1_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_kw_call_arg_value_2_2;
tmp_kw_call_arg_value_0_3 = mod_consts[67];
CHECK_OBJECT(var_res);
tmp_expression_value_5 = var_res;
tmp_subscript_value_1 = mod_consts[68];
tmp_kw_call_arg_value_1_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_1);
if (tmp_kw_call_arg_value_1_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_extra);
tmp_kw_call_arg_value_2_2 = var_extra;
frame_048e05cc9c1e561337f023b28ecf949d->m_frame.f_lineno = 397;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_3, tmp_kw_call_arg_value_1_3, tmp_kw_call_arg_value_2_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(unicode_builtin_format, call_args);
}
Py_DECREF(tmp_kw_call_arg_value_1_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_048e05cc9c1e561337f023b28ecf949d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_048e05cc9c1e561337f023b28ecf949d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_048e05cc9c1e561337f023b28ecf949d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_048e05cc9c1e561337f023b28ecf949d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_048e05cc9c1e561337f023b28ecf949d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_048e05cc9c1e561337f023b28ecf949d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_048e05cc9c1e561337f023b28ecf949d,
type_description_1,
par_self,
var_res,
var_extra,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_048e05cc9c1e561337f023b28ecf949d == cache_frame_048e05cc9c1e561337f023b28ecf949d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_048e05cc9c1e561337f023b28ecf949d);
cache_frame_048e05cc9c1e561337f023b28ecf949d = NULL;
}
assertFrameObject(frame_048e05cc9c1e561337f023b28ecf949d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_res);
Py_DECREF(var_res);
var_res = NULL;
CHECK_OBJECT(var_extra);
Py_DECREF(var_extra);
var_extra = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_res);
var_res = NULL;
Py_XDECREF(var_extra);
var_extra = 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$locks$$$function__18_release(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_waiter = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
PyObject *tmp_inplace_assign_2__value = NULL;
struct Nuitka_FrameObject *frame_bf001737cc64f1bc4e205c7afb115b56;
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;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_bf001737cc64f1bc4e205c7afb115b56 = 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_bf001737cc64f1bc4e205c7afb115b56)) {
Py_XDECREF(cache_frame_bf001737cc64f1bc4e205c7afb115b56);
#if _DEBUG_REFCOUNTS
if (cache_frame_bf001737cc64f1bc4e205c7afb115b56 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bf001737cc64f1bc4e205c7afb115b56 = MAKE_FUNCTION_FRAME(codeobj_bf001737cc64f1bc4e205c7afb115b56, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bf001737cc64f1bc4e205c7afb115b56->m_type_description == NULL);
frame_bf001737cc64f1bc4e205c7afb115b56 = cache_frame_bf001737cc64f1bc4e205c7afb115b56;
// Push the new frame as the currently active one.
pushFrameStack(frame_bf001737cc64f1bc4e205c7afb115b56);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bf001737cc64f1bc4e205c7afb115b56) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
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_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
tmp_iadd_expr_right_1 = mod_consts[5];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "oo";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
loop_start_1:;
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 402;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
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 = 402;
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:;
goto loop_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 403;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_bf001737cc64f1bc4e205c7afb115b56->m_frame.f_lineno = 403;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[35]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_waiter;
var_waiter = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_waiter);
tmp_called_instance_2 = var_waiter;
frame_bf001737cc64f1bc4e205c7afb115b56->m_frame.f_lineno = 404;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[7]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
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 = 404;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_4;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 405;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_self;
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[40]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_2__value == NULL);
tmp_inplace_assign_2__value = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_isub_expr_left_1 = tmp_inplace_assign_2__value;
tmp_isub_expr_right_1 = mod_consts[5];
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_assign_source_5 = tmp_isub_expr_left_1;
tmp_inplace_assign_2__value = tmp_assign_source_5;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_assattr_value_2 = tmp_inplace_assign_2__value;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 405;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[40], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oo";
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;
CHECK_OBJECT(tmp_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_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_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_waiter);
tmp_expression_value_5 = var_waiter;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[46]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
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 = 413;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 413;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_self;
frame_bf001737cc64f1bc4e205c7afb115b56->m_frame.f_lineno = 413;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, 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 = 413;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_bf001737cc64f1bc4e205c7afb115b56->m_frame.f_lineno = 413;
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 = 413;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto loop_end_1;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bf001737cc64f1bc4e205c7afb115b56);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bf001737cc64f1bc4e205c7afb115b56);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bf001737cc64f1bc4e205c7afb115b56, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bf001737cc64f1bc4e205c7afb115b56->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bf001737cc64f1bc4e205c7afb115b56, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bf001737cc64f1bc4e205c7afb115b56,
type_description_1,
par_self,
var_waiter
);
// Release cached frame if used for exception.
if (frame_bf001737cc64f1bc4e205c7afb115b56 == cache_frame_bf001737cc64f1bc4e205c7afb115b56) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bf001737cc64f1bc4e205c7afb115b56);
cache_frame_bf001737cc64f1bc4e205c7afb115b56 = NULL;
}
assertFrameObject(frame_bf001737cc64f1bc4e205c7afb115b56);
// 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_waiter);
var_waiter = 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_waiter);
var_waiter = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__19_acquire(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_timeout = python_pars[1];
struct Nuitka_CellObject *var_waiter = Nuitka_Cell_Empty();
PyObject *var_on_timeout = NULL;
struct Nuitka_CellObject *var_io_loop = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_timeout_handle = Nuitka_Cell_Empty();
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_781210997b4d44cc0a6a6e0e7e9fe0d2;
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;
static struct Nuitka_FrameObject *cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2)) {
Py_XDECREF(cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
#if _DEBUG_REFCOUNTS
if (cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2 = MAKE_FUNCTION_FRAME(codeobj_781210997b4d44cc0a6a6e0e7e9fe0d2, module_tornado$locks, 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_781210997b4d44cc0a6a6e0e7e9fe0d2->m_type_description == NULL);
frame_781210997b4d44cc0a6a6e0e7e9fe0d2 = cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2;
// Push the new frame as the currently active one.
pushFrameStack(frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_781210997b4d44cc0a6a6e0e7e9fe0d2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 424;
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 = 424;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_waiter) == NULL);
PyCell_SET(var_waiter, tmp_assign_source_1);
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_1 = Nuitka_Cell_GET(par_self);
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[3];
tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(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 = 425;
type_description_1 = "cococc";
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_assign_source_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_2 = Nuitka_Cell_GET(par_self);
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[40]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_isub_expr_left_1 = tmp_inplace_assign_1__value;
tmp_isub_expr_right_1 = mod_consts[5];
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "cococc";
goto try_except_handler_2;
}
tmp_assign_source_3 = tmp_isub_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_3;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_assattr_target_1 = Nuitka_Cell_GET(par_self);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[40], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "cococc";
goto try_except_handler_2;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_expression_value_3 = Nuitka_Cell_GET(var_waiter);
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[46]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 427;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_args_element_value_2 = Nuitka_Cell_GET(par_self);
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 427;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, 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_2);
exception_lineno = 427;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 427;
tmp_call_result_1 = 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_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_4 = Nuitka_Cell_GET(par_self);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_args_element_value_3 = Nuitka_Cell_GET(var_waiter);
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 429;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[15], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(par_timeout);
tmp_truth_name_1 = CHECK_IF_TRUE(par_timeout);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "cococc";
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_assign_source_4;
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_annotations_1 = DICT_COPY(mod_consts[16]);
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = var_waiter;
Py_INCREF(tmp_closure_1[1]);
tmp_assign_source_4 = MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__1_on_timeout(tmp_annotations_1, tmp_closure_1);
assert(var_on_timeout == NULL);
var_on_timeout = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_5;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[19]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[19]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[20]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 437;
tmp_assign_source_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[21]);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_io_loop) == NULL);
PyCell_SET(var_io_loop, tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(Nuitka_Cell_GET(var_io_loop));
tmp_called_instance_3 = Nuitka_Cell_GET(var_io_loop);
CHECK_OBJECT(par_timeout);
tmp_args_element_value_4 = par_timeout;
CHECK_OBJECT(var_on_timeout);
tmp_args_element_value_5 = var_on_timeout;
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 438;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_6 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_3,
mod_consts[22],
call_args
);
}
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_timeout_handle) == NULL);
PyCell_SET(var_timeout_handle, tmp_assign_source_6);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
struct Nuitka_CellObject *tmp_closure_2[2];
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_called_instance_4 = Nuitka_Cell_GET(var_waiter);
tmp_closure_2[0] = var_io_loop;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = var_timeout_handle;
Py_INCREF(tmp_closure_2[1]);
tmp_args_element_value_6 = MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__2_lambda(tmp_closure_2);
frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame.f_lineno = 439;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[23], tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "cococc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_781210997b4d44cc0a6a6e0e7e9fe0d2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_781210997b4d44cc0a6a6e0e7e9fe0d2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_781210997b4d44cc0a6a6e0e7e9fe0d2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_781210997b4d44cc0a6a6e0e7e9fe0d2,
type_description_1,
par_self,
par_timeout,
var_waiter,
var_on_timeout,
var_io_loop,
var_timeout_handle
);
// Release cached frame if used for exception.
if (frame_781210997b4d44cc0a6a6e0e7e9fe0d2 == cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
cache_frame_781210997b4d44cc0a6a6e0e7e9fe0d2 = NULL;
}
assertFrameObject(frame_781210997b4d44cc0a6a6e0e7e9fe0d2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(Nuitka_Cell_GET(var_waiter));
tmp_return_value = Nuitka_Cell_GET(var_waiter);
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_waiter);
Py_DECREF(var_waiter);
var_waiter = NULL;
Py_XDECREF(var_on_timeout);
var_on_timeout = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(var_waiter);
Py_DECREF(var_waiter);
var_waiter = NULL;
Py_XDECREF(var_on_timeout);
var_on_timeout = NULL;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_timeout_handle);
Py_DECREF(var_timeout_handle);
var_timeout_handle = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_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$locks$$$function__19_acquire$$$function__1_on_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.
struct Nuitka_FrameObject *frame_07093d071ae7f13044f26b396f3acd92;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_07093d071ae7f13044f26b396f3acd92 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_07093d071ae7f13044f26b396f3acd92)) {
Py_XDECREF(cache_frame_07093d071ae7f13044f26b396f3acd92);
#if _DEBUG_REFCOUNTS
if (cache_frame_07093d071ae7f13044f26b396f3acd92 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_07093d071ae7f13044f26b396f3acd92 = MAKE_FUNCTION_FRAME(codeobj_07093d071ae7f13044f26b396f3acd92, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_07093d071ae7f13044f26b396f3acd92->m_type_description == NULL);
frame_07093d071ae7f13044f26b396f3acd92 = cache_frame_07093d071ae7f13044f26b396f3acd92;
// Push the new frame as the currently active one.
pushFrameStack(frame_07093d071ae7f13044f26b396f3acd92);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_07093d071ae7f13044f26b396f3acd92) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 433;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_07093d071ae7f13044f26b396f3acd92->m_frame.f_lineno = 433;
tmp_operand_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "cc";
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 = 433;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_2;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 434;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[52]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[52]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 434;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
frame_07093d071ae7f13044f26b396f3acd92->m_frame.f_lineno = 434;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[75]);
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 = 434;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
frame_07093d071ae7f13044f26b396f3acd92->m_frame.f_lineno = 434;
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 = 434;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 435;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = Nuitka_Cell_GET(self->m_closure[0]);
frame_07093d071ae7f13044f26b396f3acd92->m_frame.f_lineno = 435;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[30]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 435;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_07093d071ae7f13044f26b396f3acd92);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_07093d071ae7f13044f26b396f3acd92);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_07093d071ae7f13044f26b396f3acd92, exception_lineno);
} else if (exception_tb->tb_frame != &frame_07093d071ae7f13044f26b396f3acd92->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_07093d071ae7f13044f26b396f3acd92, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_07093d071ae7f13044f26b396f3acd92,
type_description_1,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_07093d071ae7f13044f26b396f3acd92 == cache_frame_07093d071ae7f13044f26b396f3acd92) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_07093d071ae7f13044f26b396f3acd92);
cache_frame_07093d071ae7f13044f26b396f3acd92 = NULL;
}
assertFrameObject(frame_07093d071ae7f13044f26b396f3acd92);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__19_acquire$$$function__2_lambda(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par__ = python_pars[0];
struct Nuitka_FrameObject *frame_6bb41c946d7661e50e496a6bcaa22bbe;
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_6bb41c946d7661e50e496a6bcaa22bbe = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6bb41c946d7661e50e496a6bcaa22bbe)) {
Py_XDECREF(cache_frame_6bb41c946d7661e50e496a6bcaa22bbe);
#if _DEBUG_REFCOUNTS
if (cache_frame_6bb41c946d7661e50e496a6bcaa22bbe == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6bb41c946d7661e50e496a6bcaa22bbe = MAKE_FUNCTION_FRAME(codeobj_6bb41c946d7661e50e496a6bcaa22bbe, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6bb41c946d7661e50e496a6bcaa22bbe->m_type_description == NULL);
frame_6bb41c946d7661e50e496a6bcaa22bbe = cache_frame_6bb41c946d7661e50e496a6bcaa22bbe;
// Push the new frame as the currently active one.
pushFrameStack(frame_6bb41c946d7661e50e496a6bcaa22bbe);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6bb41c946d7661e50e496a6bcaa22bbe) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[31]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 440;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[32]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[33]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 440;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
frame_6bb41c946d7661e50e496a6bcaa22bbe->m_frame.f_lineno = 440;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6bb41c946d7661e50e496a6bcaa22bbe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6bb41c946d7661e50e496a6bcaa22bbe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6bb41c946d7661e50e496a6bcaa22bbe);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6bb41c946d7661e50e496a6bcaa22bbe, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6bb41c946d7661e50e496a6bcaa22bbe->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6bb41c946d7661e50e496a6bcaa22bbe, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6bb41c946d7661e50e496a6bcaa22bbe,
type_description_1,
par__,
self->m_closure[0],
self->m_closure[1]
);
// Release cached frame if used for exception.
if (frame_6bb41c946d7661e50e496a6bcaa22bbe == cache_frame_6bb41c946d7661e50e496a6bcaa22bbe) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6bb41c946d7661e50e496a6bcaa22bbe);
cache_frame_6bb41c946d7661e50e496a6bcaa22bbe = NULL;
}
assertFrameObject(frame_6bb41c946d7661e50e496a6bcaa22bbe);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par__);
Py_DECREF(par__);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par__);
Py_DECREF(par__);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__20___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_03fde2d0b2fa07f52e382059d5397d18;
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_03fde2d0b2fa07f52e382059d5397d18 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_03fde2d0b2fa07f52e382059d5397d18)) {
Py_XDECREF(cache_frame_03fde2d0b2fa07f52e382059d5397d18);
#if _DEBUG_REFCOUNTS
if (cache_frame_03fde2d0b2fa07f52e382059d5397d18 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_03fde2d0b2fa07f52e382059d5397d18 = MAKE_FUNCTION_FRAME(codeobj_03fde2d0b2fa07f52e382059d5397d18, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_03fde2d0b2fa07f52e382059d5397d18->m_type_description == NULL);
frame_03fde2d0b2fa07f52e382059d5397d18 = cache_frame_03fde2d0b2fa07f52e382059d5397d18;
// Push the new frame as the currently active one.
pushFrameStack(frame_03fde2d0b2fa07f52e382059d5397d18);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_03fde2d0b2fa07f52e382059d5397d18) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[76];
frame_03fde2d0b2fa07f52e382059d5397d18->m_frame.f_lineno = 445;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 445;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_03fde2d0b2fa07f52e382059d5397d18);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_03fde2d0b2fa07f52e382059d5397d18);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_03fde2d0b2fa07f52e382059d5397d18, exception_lineno);
} else if (exception_tb->tb_frame != &frame_03fde2d0b2fa07f52e382059d5397d18->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_03fde2d0b2fa07f52e382059d5397d18, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_03fde2d0b2fa07f52e382059d5397d18,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_03fde2d0b2fa07f52e382059d5397d18 == cache_frame_03fde2d0b2fa07f52e382059d5397d18) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_03fde2d0b2fa07f52e382059d5397d18);
cache_frame_03fde2d0b2fa07f52e382059d5397d18 = NULL;
}
assertFrameObject(frame_03fde2d0b2fa07f52e382059d5397d18);
// 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;
}
static PyObject *impl_tornado$locks$$$function__21___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_traceback = python_pars[3];
struct Nuitka_FrameObject *frame_8f6897f450b0c9e12528bdb5c3c22206;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_8f6897f450b0c9e12528bdb5c3c22206 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8f6897f450b0c9e12528bdb5c3c22206)) {
Py_XDECREF(cache_frame_8f6897f450b0c9e12528bdb5c3c22206);
#if _DEBUG_REFCOUNTS
if (cache_frame_8f6897f450b0c9e12528bdb5c3c22206 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8f6897f450b0c9e12528bdb5c3c22206 = MAKE_FUNCTION_FRAME(codeobj_8f6897f450b0c9e12528bdb5c3c22206, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8f6897f450b0c9e12528bdb5c3c22206->m_type_description == NULL);
frame_8f6897f450b0c9e12528bdb5c3c22206 = cache_frame_8f6897f450b0c9e12528bdb5c3c22206;
// Push the new frame as the currently active one.
pushFrameStack(frame_8f6897f450b0c9e12528bdb5c3c22206);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8f6897f450b0c9e12528bdb5c3c22206) == 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_8f6897f450b0c9e12528bdb5c3c22206->m_frame.f_lineno = 453;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[77]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8f6897f450b0c9e12528bdb5c3c22206);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8f6897f450b0c9e12528bdb5c3c22206);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8f6897f450b0c9e12528bdb5c3c22206, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8f6897f450b0c9e12528bdb5c3c22206->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8f6897f450b0c9e12528bdb5c3c22206, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8f6897f450b0c9e12528bdb5c3c22206,
type_description_1,
par_self,
par_typ,
par_value,
par_traceback
);
// Release cached frame if used for exception.
if (frame_8f6897f450b0c9e12528bdb5c3c22206 == cache_frame_8f6897f450b0c9e12528bdb5c3c22206) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8f6897f450b0c9e12528bdb5c3c22206);
cache_frame_8f6897f450b0c9e12528bdb5c3c22206 = NULL;
}
assertFrameObject(frame_8f6897f450b0c9e12528bdb5c3c22206);
// 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_traceback);
Py_DECREF(par_traceback);
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_traceback);
Py_DECREF(par_traceback);
// 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$locks$$$function__22___aenter__(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$locks$$$function__22___aenter__$$$coroutine__1___aenter__(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$locks$$$function__22___aenter__$$$coroutine__1___aenter___locals {
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;
};
static PyObject *tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter___context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter___locals *coroutine_heap = (struct tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter___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_32547da020ddbd6a909798f9144feeb3, module_tornado$locks, 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_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 456;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[29]);
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 = 456;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 456;
tmp_expression_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[78]);
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 = 456;
coroutine_heap->type_description_1 = "c";
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 = 456;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_instance_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_instance_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 = 456;
coroutine_heap->type_description_1 = "c";
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 = 456;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_await_result_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$locks$$$function__22___aenter__$$$coroutine__1___aenter__(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter___context,
module_tornado$locks,
mod_consts[79],
mod_consts[80],
codeobj_32547da020ddbd6a909798f9144feeb3,
closure,
1,
sizeof(struct tornado$locks$$$function__22___aenter__$$$coroutine__1___aenter___locals)
);
}
static PyObject *impl_tornado$locks$$$function__23___aexit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_typ = python_pars[1];
PyObject *par_value = python_pars[2];
PyObject *par_tb = python_pars[3];
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$locks$$$function__23___aexit__$$$coroutine__1___aexit__(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_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;
}
struct tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___locals {
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
PyObject *tmp_return_value;
};
static PyObject *tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___locals *coroutine_heap = (struct tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
// 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_b87573e67fdb788fe7ed512b29c8a2bd, module_tornado$locks, 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_called_instance_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[29]);
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 = 464;
coroutine_heap->type_description_1 = "cNNN";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 464;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[59]);
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 = 464;
coroutine_heap->type_description_1 = "cNNN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_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],
NULL,
NULL,
NULL
);
// 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$locks$$$function__23___aexit__$$$coroutine__1___aexit__(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___context,
module_tornado$locks,
mod_consts[81],
mod_consts[82],
codeobj_b87573e67fdb788fe7ed512b29c8a2bd,
closure,
1,
sizeof(struct tornado$locks$$$function__23___aexit__$$$coroutine__1___aexit___locals)
);
}
static PyObject *impl_tornado$locks$$$function__24___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_value = python_pars[1];
struct Nuitka_FrameObject *frame_7a984cac6b67edc4e7f91d8d86ef6a60;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60)) {
Py_XDECREF(cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60 = MAKE_FUNCTION_FRAME(codeobj_7a984cac6b67edc4e7f91d8d86ef6a60, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60->m_type_description == NULL);
frame_7a984cac6b67edc4e7f91d8d86ef6a60 = cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a984cac6b67edc4e7f91d8d86ef6a60);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a984cac6b67edc4e7f91d8d86ef6a60) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[60]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 477;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER0(moduledict_tornado$locks, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[61]);
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 = 477;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_value);
tmp_kw_call_value_0_1 = par_value;
frame_7a984cac6b67edc4e7f91d8d86ef6a60->m_frame.f_lineno = 477;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[83]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_value);
tmp_assattr_value_1 = par_value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[84], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a984cac6b67edc4e7f91d8d86ef6a60);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a984cac6b67edc4e7f91d8d86ef6a60);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a984cac6b67edc4e7f91d8d86ef6a60, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a984cac6b67edc4e7f91d8d86ef6a60->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a984cac6b67edc4e7f91d8d86ef6a60, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a984cac6b67edc4e7f91d8d86ef6a60,
type_description_1,
par_self,
par_value,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_7a984cac6b67edc4e7f91d8d86ef6a60 == cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60);
cache_frame_7a984cac6b67edc4e7f91d8d86ef6a60 = NULL;
}
assertFrameObject(frame_7a984cac6b67edc4e7f91d8d86ef6a60);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locks$$$function__25_release(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_905f8f2453e1921623d23fdff5534045;
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_905f8f2453e1921623d23fdff5534045 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_905f8f2453e1921623d23fdff5534045)) {
Py_XDECREF(cache_frame_905f8f2453e1921623d23fdff5534045);
#if _DEBUG_REFCOUNTS
if (cache_frame_905f8f2453e1921623d23fdff5534045 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_905f8f2453e1921623d23fdff5534045 = MAKE_FUNCTION_FRAME(codeobj_905f8f2453e1921623d23fdff5534045, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_905f8f2453e1921623d23fdff5534045->m_type_description == NULL);
frame_905f8f2453e1921623d23fdff5534045 = cache_frame_905f8f2453e1921623d23fdff5534045;
// Push the new frame as the currently active one.
pushFrameStack(frame_905f8f2453e1921623d23fdff5534045);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_905f8f2453e1921623d23fdff5534045) == 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_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[84]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 482;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = RICH_COMPARE_GE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "oc";
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_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[85];
frame_905f8f2453e1921623d23fdff5534045->m_frame.f_lineno = 483;
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 = 483;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oc";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[60]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 484;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$locks, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_905f8f2453e1921623d23fdff5534045->m_frame.f_lineno = 484;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[59]);
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 = 484;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_905f8f2453e1921623d23fdff5534045);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_905f8f2453e1921623d23fdff5534045);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_905f8f2453e1921623d23fdff5534045, exception_lineno);
} else if (exception_tb->tb_frame != &frame_905f8f2453e1921623d23fdff5534045->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_905f8f2453e1921623d23fdff5534045, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_905f8f2453e1921623d23fdff5534045,
type_description_1,
par_self,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_905f8f2453e1921623d23fdff5534045 == cache_frame_905f8f2453e1921623d23fdff5534045) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_905f8f2453e1921623d23fdff5534045);
cache_frame_905f8f2453e1921623d23fdff5534045 = NULL;
}
assertFrameObject(frame_905f8f2453e1921623d23fdff5534045);
// 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$locks$$$function__26___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_548808f4cb082d4c23da0113dfb088b2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_548808f4cb082d4c23da0113dfb088b2 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_548808f4cb082d4c23da0113dfb088b2)) {
Py_XDECREF(cache_frame_548808f4cb082d4c23da0113dfb088b2);
#if _DEBUG_REFCOUNTS
if (cache_frame_548808f4cb082d4c23da0113dfb088b2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_548808f4cb082d4c23da0113dfb088b2 = MAKE_FUNCTION_FRAME(codeobj_548808f4cb082d4c23da0113dfb088b2, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_548808f4cb082d4c23da0113dfb088b2->m_type_description == NULL);
frame_548808f4cb082d4c23da0113dfb088b2 = cache_frame_548808f4cb082d4c23da0113dfb088b2;
// Push the new frame as the currently active one.
pushFrameStack(frame_548808f4cb082d4c23da0113dfb088b2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_548808f4cb082d4c23da0113dfb088b2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_548808f4cb082d4c23da0113dfb088b2->m_frame.f_lineno = 525;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, &PyTuple_GET_ITEM(mod_consts[87], 0), mod_consts[83]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
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[88], 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 = 525;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_548808f4cb082d4c23da0113dfb088b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_548808f4cb082d4c23da0113dfb088b2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_548808f4cb082d4c23da0113dfb088b2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_548808f4cb082d4c23da0113dfb088b2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_548808f4cb082d4c23da0113dfb088b2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_548808f4cb082d4c23da0113dfb088b2,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_548808f4cb082d4c23da0113dfb088b2 == cache_frame_548808f4cb082d4c23da0113dfb088b2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_548808f4cb082d4c23da0113dfb088b2);
cache_frame_548808f4cb082d4c23da0113dfb088b2 = NULL;
}
assertFrameObject(frame_548808f4cb082d4c23da0113dfb088b2);
// 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$locks$$$function__27___repr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_cc19b92983f1a14102d79df3ec7a8779;
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_cc19b92983f1a14102d79df3ec7a8779 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cc19b92983f1a14102d79df3ec7a8779)) {
Py_XDECREF(cache_frame_cc19b92983f1a14102d79df3ec7a8779);
#if _DEBUG_REFCOUNTS
if (cache_frame_cc19b92983f1a14102d79df3ec7a8779 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cc19b92983f1a14102d79df3ec7a8779 = MAKE_FUNCTION_FRAME(codeobj_cc19b92983f1a14102d79df3ec7a8779, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cc19b92983f1a14102d79df3ec7a8779->m_type_description == NULL);
frame_cc19b92983f1a14102d79df3ec7a8779 = cache_frame_cc19b92983f1a14102d79df3ec7a8779;
// Push the new frame as the currently active one.
pushFrameStack(frame_cc19b92983f1a14102d79df3ec7a8779);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cc19b92983f1a14102d79df3ec7a8779) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[89];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[88]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cc19b92983f1a14102d79df3ec7a8779);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cc19b92983f1a14102d79df3ec7a8779);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cc19b92983f1a14102d79df3ec7a8779);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cc19b92983f1a14102d79df3ec7a8779, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cc19b92983f1a14102d79df3ec7a8779->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cc19b92983f1a14102d79df3ec7a8779, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cc19b92983f1a14102d79df3ec7a8779,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_cc19b92983f1a14102d79df3ec7a8779 == cache_frame_cc19b92983f1a14102d79df3ec7a8779) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cc19b92983f1a14102d79df3ec7a8779);
cache_frame_cc19b92983f1a14102d79df3ec7a8779 = NULL;
}
assertFrameObject(frame_cc19b92983f1a14102d79df3ec7a8779);
// 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$locks$$$function__28_acquire(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_d1846a0c0d7326f9221852cdff29348f;
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_d1846a0c0d7326f9221852cdff29348f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d1846a0c0d7326f9221852cdff29348f)) {
Py_XDECREF(cache_frame_d1846a0c0d7326f9221852cdff29348f);
#if _DEBUG_REFCOUNTS
if (cache_frame_d1846a0c0d7326f9221852cdff29348f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d1846a0c0d7326f9221852cdff29348f = MAKE_FUNCTION_FRAME(codeobj_d1846a0c0d7326f9221852cdff29348f, module_tornado$locks, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d1846a0c0d7326f9221852cdff29348f->m_type_description == NULL);
frame_d1846a0c0d7326f9221852cdff29348f = cache_frame_d1846a0c0d7326f9221852cdff29348f;
// Push the new frame as the currently active one.
pushFrameStack(frame_d1846a0c0d7326f9221852cdff29348f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d1846a0c0d7326f9221852cdff29348f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[88]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_timeout);
tmp_args_element_value_1 = par_timeout;
frame_d1846a0c0d7326f9221852cdff29348f->m_frame.f_lineno = 538;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[78], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1846a0c0d7326f9221852cdff29348f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1846a0c0d7326f9221852cdff29348f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1846a0c0d7326f9221852cdff29348f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d1846a0c0d7326f9221852cdff29348f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d1846a0c0d7326f9221852cdff29348f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d1846a0c0d7326f9221852cdff29348f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d1846a0c0d7326f9221852cdff29348f,
type_description_1,
par_self,
par_timeout
);
// Release cached frame if used for exception.
if (frame_d1846a0c0d7326f9221852cdff29348f == cache_frame_d1846a0c0d7326f9221852cdff29348f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d1846a0c0d7326f9221852cdff29348f);
cache_frame_d1846a0c0d7326f9221852cdff29348f = NULL;
}
assertFrameObject(frame_d1846a0c0d7326f9221852cdff29348f);
// 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_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$locks$$$function__29_release(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_c24a1fa94a14b242f1732e5c91026a46;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_c24a1fa94a14b242f1732e5c91026a46 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c24a1fa94a14b242f1732e5c91026a46)) {
Py_XDECREF(cache_frame_c24a1fa94a14b242f1732e5c91026a46);
#if _DEBUG_REFCOUNTS
if (cache_frame_c24a1fa94a14b242f1732e5c91026a46 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c24a1fa94a14b242f1732e5c91026a46 = MAKE_FUNCTION_FRAME(codeobj_c24a1fa94a14b242f1732e5c91026a46, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c24a1fa94a14b242f1732e5c91026a46->m_type_description == NULL);
frame_c24a1fa94a14b242f1732e5c91026a46 = cache_frame_c24a1fa94a14b242f1732e5c91026a46;
// Push the new frame as the currently active one.
pushFrameStack(frame_c24a1fa94a14b242f1732e5c91026a46);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c24a1fa94a14b242f1732e5c91026a46) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[88]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "o";
goto try_except_handler_1;
}
frame_c24a1fa94a14b242f1732e5c91026a46->m_frame.f_lineno = 548;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[59]);
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 = 548;
type_description_1 = "o";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_c24a1fa94a14b242f1732e5c91026a46, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_c24a1fa94a14b242f1732e5c91026a46, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[91];
frame_c24a1fa94a14b242f1732e5c91026a46->m_frame.f_lineno = 550;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 550;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto try_except_handler_2;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 547;
}
if (exception_tb && exception_tb->tb_frame == &frame_c24a1fa94a14b242f1732e5c91026a46->m_frame) frame_c24a1fa94a14b242f1732e5c91026a46->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c24a1fa94a14b242f1732e5c91026a46);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c24a1fa94a14b242f1732e5c91026a46);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c24a1fa94a14b242f1732e5c91026a46, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c24a1fa94a14b242f1732e5c91026a46->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c24a1fa94a14b242f1732e5c91026a46, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c24a1fa94a14b242f1732e5c91026a46,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_c24a1fa94a14b242f1732e5c91026a46 == cache_frame_c24a1fa94a14b242f1732e5c91026a46) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c24a1fa94a14b242f1732e5c91026a46);
cache_frame_c24a1fa94a14b242f1732e5c91026a46 = NULL;
}
assertFrameObject(frame_c24a1fa94a14b242f1732e5c91026a46);
// 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$locks$$$function__30___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_b86ef3cc25862ccc76f3cacf079a6a66;
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_b86ef3cc25862ccc76f3cacf079a6a66 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b86ef3cc25862ccc76f3cacf079a6a66)) {
Py_XDECREF(cache_frame_b86ef3cc25862ccc76f3cacf079a6a66);
#if _DEBUG_REFCOUNTS
if (cache_frame_b86ef3cc25862ccc76f3cacf079a6a66 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b86ef3cc25862ccc76f3cacf079a6a66 = MAKE_FUNCTION_FRAME(codeobj_b86ef3cc25862ccc76f3cacf079a6a66, module_tornado$locks, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b86ef3cc25862ccc76f3cacf079a6a66->m_type_description == NULL);
frame_b86ef3cc25862ccc76f3cacf079a6a66 = cache_frame_b86ef3cc25862ccc76f3cacf079a6a66;
// Push the new frame as the currently active one.
pushFrameStack(frame_b86ef3cc25862ccc76f3cacf079a6a66);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b86ef3cc25862ccc76f3cacf079a6a66) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[93];
frame_b86ef3cc25862ccc76f3cacf079a6a66->m_frame.f_lineno = 553;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 553;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b86ef3cc25862ccc76f3cacf079a6a66);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b86ef3cc25862ccc76f3cacf079a6a66);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b86ef3cc25862ccc76f3cacf079a6a66, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b86ef3cc25862ccc76f3cacf079a6a66->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b86ef3cc25862ccc76f3cacf079a6a66, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b86ef3cc25862ccc76f3cacf079a6a66,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b86ef3cc25862ccc76f3cacf079a6a66 == cache_frame_b86ef3cc25862ccc76f3cacf079a6a66) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b86ef3cc25862ccc76f3cacf079a6a66);
cache_frame_b86ef3cc25862ccc76f3cacf079a6a66 = NULL;
}
assertFrameObject(frame_b86ef3cc25862ccc76f3cacf079a6a66);
// 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;
}
static PyObject *impl_tornado$locks$$$function__31___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_6d09ab6f1e20886ac8434b24175cb1bf;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_6d09ab6f1e20886ac8434b24175cb1bf = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6d09ab6f1e20886ac8434b24175cb1bf)) {
Py_XDECREF(cache_frame_6d09ab6f1e20886ac8434b24175cb1bf);
#if _DEBUG_REFCOUNTS
if (cache_frame_6d09ab6f1e20886ac8434b24175cb1bf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6d09ab6f1e20886ac8434b24175cb1bf = MAKE_FUNCTION_FRAME(codeobj_6d09ab6f1e20886ac8434b24175cb1bf, module_tornado$locks, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6d09ab6f1e20886ac8434b24175cb1bf->m_type_description == NULL);
frame_6d09ab6f1e20886ac8434b24175cb1bf = cache_frame_6d09ab6f1e20886ac8434b24175cb1bf;
// Push the new frame as the currently active one.
pushFrameStack(frame_6d09ab6f1e20886ac8434b24175cb1bf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6d09ab6f1e20886ac8434b24175cb1bf) == 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_6d09ab6f1e20886ac8434b24175cb1bf->m_frame.f_lineno = 561;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[77]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d09ab6f1e20886ac8434b24175cb1bf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d09ab6f1e20886ac8434b24175cb1bf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6d09ab6f1e20886ac8434b24175cb1bf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6d09ab6f1e20886ac8434b24175cb1bf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6d09ab6f1e20886ac8434b24175cb1bf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6d09ab6f1e20886ac8434b24175cb1bf,
type_description_1,
par_self,
par_typ,
par_value,
par_tb
);
// Release cached frame if used for exception.
if (frame_6d09ab6f1e20886ac8434b24175cb1bf == cache_frame_6d09ab6f1e20886ac8434b24175cb1bf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6d09ab6f1e20886ac8434b24175cb1bf);
cache_frame_6d09ab6f1e20886ac8434b24175cb1bf = NULL;
}
assertFrameObject(frame_6d09ab6f1e20886ac8434b24175cb1bf);
// 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$locks$$$function__32___aenter__(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$locks$$$function__32___aenter__$$$coroutine__1___aenter__(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$locks$$$function__32___aenter__$$$coroutine__1___aenter___locals {
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;
};
static PyObject *tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter___context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter___locals *coroutine_heap = (struct tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter___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_369dfaea41af03266c7d50abd6eb31bf, module_tornado$locks, 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_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_await_result_1;
coroutine->m_frame->m_frame.f_lineno = 564;
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[29]);
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 = 564;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 564;
tmp_expression_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[78]);
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 = 564;
coroutine_heap->type_description_1 = "c";
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 = 564;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_instance_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_instance_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 = 564;
coroutine_heap->type_description_1 = "c";
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 = 564;
coroutine_heap->type_description_1 = "c";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_await_result_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$locks$$$function__32___aenter__$$$coroutine__1___aenter__(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter___context,
module_tornado$locks,
mod_consts[79],
mod_consts[94],
codeobj_369dfaea41af03266c7d50abd6eb31bf,
closure,
1,
sizeof(struct tornado$locks$$$function__32___aenter__$$$coroutine__1___aenter___locals)
);
}
static PyObject *impl_tornado$locks$$$function__33___aexit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *par_typ = python_pars[1];
PyObject *par_value = python_pars[2];
PyObject *par_tb = python_pars[3];
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$locks$$$function__33___aexit__$$$coroutine__1___aexit__(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_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;
}
struct tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___locals {
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
PyObject *tmp_return_value;
};
static PyObject *tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___locals *coroutine_heap = (struct tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
// 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_c78e36013a6340f050cb942a27a5a3f0, module_tornado$locks, 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_called_instance_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[29]);
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 = 572;
coroutine_heap->type_description_1 = "cNNN";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 572;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[59]);
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 = 572;
coroutine_heap->type_description_1 = "cNNN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_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],
NULL,
NULL,
NULL
);
// 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$locks$$$function__33___aexit__$$$coroutine__1___aexit__(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___context,
module_tornado$locks,
mod_consts[81],
mod_consts[95],
codeobj_c78e36013a6340f050cb942a27a5a3f0,
closure,
1,
sizeof(struct tornado$locks$$$function__33___aexit__$$$coroutine__1___aexit___locals)
);
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__10_set(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__10_set,
mod_consts[43],
#if PYTHON_VERSION >= 0x300
mod_consts[151],
#endif
codeobj_96fa8972b873f284e40da1bcba95cbb9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[48],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__11_clear(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__11_clear,
mod_consts[44],
#if PYTHON_VERSION >= 0x300
mod_consts[152],
#endif
codeobj_ccb602b1650425cb67f08549e90626af,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[49],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__12_wait,
mod_consts[140],
#if PYTHON_VERSION >= 0x300
mod_consts[153],
#endif
codeobj_d9f36227b148611d83d90f8e2a2c2885,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[54],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__12_wait$$$function__1_lambda,
mod_consts[24],
#if PYTHON_VERSION >= 0x300
mod_consts[51],
#endif
codeobj_726b4624c04c6d5dd85fa2e726ae6e03,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$locks,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__12_wait$$$function__2_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__12_wait$$$function__2_lambda,
mod_consts[24],
#if PYTHON_VERSION >= 0x300
mod_consts[51],
#endif
codeobj_9720bdbcedfc3a006bb74836d8dfad5b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$locks,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__13___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__13___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[156],
#endif
codeobj_03fc1a788a2c072f1f61202734a8ed3f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__14___enter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[77],
#if PYTHON_VERSION >= 0x300
mod_consts[157],
#endif
codeobj_41f0d88b5d5948308cdfd236d1ab22e6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__15___exit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__15___exit__,
mod_consts[164],
#if PYTHON_VERSION >= 0x300
mod_consts[165],
#endif
codeobj_1707c94603b57b60af7b8ee3751dacf7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__16___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__16___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[169],
#endif
codeobj_57be1666d445a63ceba4106321acc679,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__17___repr__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__17___repr__,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[170],
#endif
codeobj_048e05cc9c1e561337f023b28ecf949d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__18_release(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__18_release,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[171],
#endif
codeobj_bf001737cc64f1bc4e205c7afb115b56,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[70],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__19_acquire,
mod_consts[78],
#if PYTHON_VERSION >= 0x300
mod_consts[172],
#endif
codeobj_781210997b4d44cc0a6a6e0e7e9fe0d2,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[73],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__1_on_timeout(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__19_acquire$$$function__1_on_timeout,
mod_consts[17],
#if PYTHON_VERSION >= 0x300
mod_consts[71],
#endif
codeobj_07093d071ae7f13044f26b396f3acd92,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__19_acquire$$$function__2_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__19_acquire$$$function__2_lambda,
mod_consts[24],
#if PYTHON_VERSION >= 0x300
mod_consts[72],
#endif
codeobj_6bb41c946d7661e50e496a6bcaa22bbe,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$locks,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__1___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__1___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[128],
#endif
codeobj_60acfcf864e6fb2080eb4cf49392c67c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__20___enter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__20___enter__,
mod_consts[77],
#if PYTHON_VERSION >= 0x300
mod_consts[173],
#endif
codeobj_03fde2d0b2fa07f52e382059d5397d18,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__21___exit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__21___exit__,
mod_consts[164],
#if PYTHON_VERSION >= 0x300
mod_consts[176],
#endif
codeobj_8f6897f450b0c9e12528bdb5c3c22206,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__22___aenter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__22___aenter__,
mod_consts[79],
#if PYTHON_VERSION >= 0x300
mod_consts[80],
#endif
codeobj_32547da020ddbd6a909798f9144feeb3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__23___aexit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__23___aexit__,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[82],
#endif
codeobj_b87573e67fdb788fe7ed512b29c8a2bd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__24___init__(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__24___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[179],
#endif
codeobj_7a984cac6b67edc4e7f91d8d86ef6a60,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__25_release(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__25_release,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[180],
#endif
codeobj_905f8f2453e1921623d23fdff5534045,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[70],
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__26___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__26___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[183],
#endif
codeobj_548808f4cb082d4c23da0113dfb088b2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__27___repr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__27___repr__,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[184],
#endif
codeobj_cc19b92983f1a14102d79df3ec7a8779,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__28_acquire(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__28_acquire,
mod_consts[78],
#if PYTHON_VERSION >= 0x300
mod_consts[185],
#endif
codeobj_d1846a0c0d7326f9221852cdff29348f,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[90],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__29_release(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__29_release,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
mod_consts[186],
#endif
codeobj_c24a1fa94a14b242f1732e5c91026a46,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[92],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__2__garbage_collect(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__2__garbage_collect,
mod_consts[30],
#if PYTHON_VERSION >= 0x300
mod_consts[129],
#endif
codeobj_f5142cc6ee5d838c4c2712c2205d87d9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__30___enter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__30___enter__,
mod_consts[77],
#if PYTHON_VERSION >= 0x300
mod_consts[187],
#endif
codeobj_b86ef3cc25862ccc76f3cacf079a6a66,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__31___exit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__31___exit__,
mod_consts[164],
#if PYTHON_VERSION >= 0x300
mod_consts[188],
#endif
codeobj_6d09ab6f1e20886ac8434b24175cb1bf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__32___aenter__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__32___aenter__,
mod_consts[79],
#if PYTHON_VERSION >= 0x300
mod_consts[94],
#endif
codeobj_369dfaea41af03266c7d50abd6eb31bf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__33___aexit__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__33___aexit__,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[95],
#endif
codeobj_c78e36013a6340f050cb942a27a5a3f0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__3___repr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__3___repr__,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[135],
#endif
codeobj_0a4b3434fef47179005485474ae021b4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__4_wait,
mod_consts[140],
#if PYTHON_VERSION >= 0x300
mod_consts[141],
#endif
codeobj_2caa7132554e792ddbfa6e744b474ac5,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[26],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__1_on_timeout(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__4_wait$$$function__1_on_timeout,
mod_consts[17],
#if PYTHON_VERSION >= 0x300
mod_consts[18],
#endif
codeobj_4cb9ad23d240d1f52d6554d2e95e3aec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__4_wait$$$function__2_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__4_wait$$$function__2_lambda,
mod_consts[24],
#if PYTHON_VERSION >= 0x300
mod_consts[25],
#endif
codeobj_12d082a5747b28c41caf141213e2becc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$locks,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__5_notify(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__5_notify,
mod_consts[38],
#if PYTHON_VERSION >= 0x300
mod_consts[143],
#endif
codeobj_56ebf9621fb1e23a48da6f9feb884841,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[37],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__6_notify_all(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__6_notify_all,
mod_consts[144],
#if PYTHON_VERSION >= 0x300
mod_consts[145],
#endif
codeobj_7664199792881f395b3443fe51dc0c6f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[39],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__7___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__7___init__,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[148],
#endif
codeobj_7edcf45095aa85847a621179832a4ce5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__8___repr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__8___repr__,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[149],
#endif
codeobj_b7ecff0421439d3a29f528b831ea53d3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locks$$$function__9_is_set(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locks$$$function__9_is_set,
mod_consts[42],
#if PYTHON_VERSION >= 0x300
mod_consts[150],
#endif
codeobj_c47f0407a2ef84b192038d9cb607d10a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locks,
mod_consts[45],
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$locks[] = {
impl_tornado$locks$$$function__4_wait$$$function__1_on_timeout,
impl_tornado$locks$$$function__4_wait$$$function__2_lambda,
impl_tornado$locks$$$function__12_wait$$$function__1_lambda,
impl_tornado$locks$$$function__12_wait$$$function__2_lambda,
impl_tornado$locks$$$function__19_acquire$$$function__1_on_timeout,
impl_tornado$locks$$$function__19_acquire$$$function__2_lambda,
impl_tornado$locks$$$function__1___init__,
impl_tornado$locks$$$function__2__garbage_collect,
impl_tornado$locks$$$function__3___repr__,
impl_tornado$locks$$$function__4_wait,
impl_tornado$locks$$$function__5_notify,
impl_tornado$locks$$$function__6_notify_all,
impl_tornado$locks$$$function__7___init__,
impl_tornado$locks$$$function__8___repr__,
impl_tornado$locks$$$function__9_is_set,
impl_tornado$locks$$$function__10_set,
impl_tornado$locks$$$function__11_clear,
impl_tornado$locks$$$function__12_wait,
impl_tornado$locks$$$function__13___init__,
NULL,
impl_tornado$locks$$$function__15___exit__,
impl_tornado$locks$$$function__16___init__,
impl_tornado$locks$$$function__17___repr__,
impl_tornado$locks$$$function__18_release,
impl_tornado$locks$$$function__19_acquire,
impl_tornado$locks$$$function__20___enter__,
impl_tornado$locks$$$function__21___exit__,
impl_tornado$locks$$$function__22___aenter__,
impl_tornado$locks$$$function__23___aexit__,
impl_tornado$locks$$$function__24___init__,
impl_tornado$locks$$$function__25_release,
impl_tornado$locks$$$function__26___init__,
impl_tornado$locks$$$function__27___repr__,
impl_tornado$locks$$$function__28_acquire,
impl_tornado$locks$$$function__29_release,
impl_tornado$locks$$$function__30___enter__,
impl_tornado$locks$$$function__31___exit__,
impl_tornado$locks$$$function__32___aenter__,
impl_tornado$locks$$$function__33___aexit__,
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$locks;
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$locks) || 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$locks[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$locks,
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$locks(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.locks");
// Store the module for future use.
module_tornado$locks = 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.locks: 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.locks: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.locks: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$locks\n");
moduledict_tornado$locks = MODULE_DICT(module_tornado$locks);
#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$locks,
(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$locks,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[213]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$locks,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (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$locks,
(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$locks, (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$locks,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$locks);
// 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$locks, (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$locks, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$locks, (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$locks, (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$locks);
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$locks, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
struct Nuitka_CellObject *outline_4_var___class__ = Nuitka_Cell_Empty();
struct Nuitka_CellObject *outline_5_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_6_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__bases_orig = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__bases_orig = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_class_creation_7__bases = NULL;
PyObject *tmp_class_creation_7__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
struct Nuitka_FrameObject *frame_9702398104cb1407b67f7c2600628856;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_ace7ac312359c56208ce9a6fd6f12d9d_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *locals_tornado$locks$$$class__2_Condition_53 = NULL;
struct Nuitka_FrameObject *frame_37b41b1b77d97e58a826b8706009646a_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_37b41b1b77d97e58a826b8706009646a_3 = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *locals_tornado$locks$$$class__3_Event_158 = NULL;
struct Nuitka_FrameObject *frame_29e32e25950b2406f3835ba9bdadb6d4_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4 = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *locals_tornado$locks$$$class__4__ReleasingContextManager_258 = NULL;
struct Nuitka_FrameObject *frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 = NULL;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *locals_tornado$locks$$$class__5_Semaphore_282 = NULL;
struct Nuitka_FrameObject *frame_03673d65bc3f53f7607f0802ae1201a0_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_03673d65bc3f53f7607f0802ae1201a0_6 = NULL;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *locals_tornado$locks$$$class__6_BoundedSemaphore_467 = NULL;
struct Nuitka_FrameObject *frame_2e41d0fc74c875ee34c720484061b85e_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_2e41d0fc74c875ee34c720484061b85e_7 = NULL;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *locals_tornado$locks$$$class__7_Lock_487 = NULL;
struct Nuitka_FrameObject *frame_8111da9238ac7964f56da131be2cb089_8;
NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL;
static struct Nuitka_FrameObject *cache_frame_8111da9238ac7964f56da131be2cb089_8 = NULL;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[96], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[97];
UPDATE_STRING_DICT0(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[98], tmp_assign_source_2);
}
// Frame without reuse.
frame_9702398104cb1407b67f7c2600628856 = MAKE_MODULE_FRAME(codeobj_9702398104cb1407b67f7c2600628856, module_tornado$locks);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_9702398104cb1407b67f7c2600628856);
assert(Py_REFCNT(frame_9702398104cb1407b67f7c2600628856) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[97];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[100], 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$locks, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[101], 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$locks, (Nuitka_StringObject *)mod_consts[102], 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[0];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$locks;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[3];
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 15;
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 = 15;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[0], 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[103];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$locks;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[3];
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 16;
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 = 16;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = IMPORT_HARD_TYPES();
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[105];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$locks;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[106];
tmp_level_value_3 = mod_consts[3];
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 19;
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_7;
}
// Tried code:
{
PyObject *tmp_assign_source_8;
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_8 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$locks,
mod_consts[52],
mod_consts[3]
);
} else {
tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[52]);
}
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[52], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$locks,
mod_consts[19],
mod_consts[3]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[19]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[19], tmp_assign_source_9);
}
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_10;
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[107];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$locks;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[108];
tmp_level_value_4 = mod_consts[3];
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 20;
tmp_assign_source_10 = 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_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_10;
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_3 = tmp_import_from_2__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$locks,
mod_consts[14],
mod_consts[3]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[14]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
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_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$locks,
mod_consts[28],
mod_consts[3]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[28]);
}
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_12);
}
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_13;
tmp_assign_source_13 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_13 == NULL));
assert(tmp_import_from_3__module == NULL);
Py_INCREF(tmp_assign_source_13);
tmp_import_from_3__module = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_5 = tmp_import_from_3__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$locks,
mod_consts[109],
mod_consts[3]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[109]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_6 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$locks,
mod_consts[110],
mod_consts[3]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[110]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_7 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$locks,
mod_consts[111],
mod_consts[3]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[111]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[111], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_8 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$locks,
mod_consts[112],
mod_consts[3]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[112]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[112], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
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_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$locks,
mod_consts[113],
mod_consts[3]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[113]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[113], tmp_assign_source_18);
}
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_19;
tmp_assign_source_19 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_19 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = LIST_COPY(mod_consts[115]);
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_20);
}
// Tried code:
{
PyObject *tmp_assign_source_21;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[117];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_21 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_21;
}
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_22;
}
{
PyObject *tmp_assign_source_23;
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[118];
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[118];
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 = 31;
goto try_except_handler_4;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_1 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[3];
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 = 31;
goto try_except_handler_4;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_23 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_23;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[118];
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[118];
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 = 31;
goto try_except_handler_4;
}
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[119]);
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_24;
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[119]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
tmp_tuple_element_1 = mod_consts[120];
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_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 31;
tmp_assign_source_24 = 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_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_24;
}
{
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[121]);
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 = 31;
goto try_except_handler_4;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_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[122];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[11];
tmp_getattr_default_1 = mod_consts[123];
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 = 31;
goto try_except_handler_4;
}
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[11]);
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 = 31;
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_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 31;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_4;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_25;
}
branch_end_2:;
{
PyObject *tmp_assign_source_26;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[126];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[120];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_6;
}
if (isFrameUnusable(cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2)) {
Py_XDECREF(cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2 = MAKE_CLASS_FRAME(codeobj_ace7ac312359c56208ce9a6fd6f12d9d, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2->m_type_description == NULL);
frame_ace7ac312359c56208ce9a6fd6f12d9d_2 = cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_ace7ac312359c56208ce9a6fd6f12d9d_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ace7ac312359c56208ce9a6fd6f12d9d_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_1;
tmp_annotations_1 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__1___init__(tmp_annotations_1);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[61], 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 = 41;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_2;
tmp_annotations_2 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__2__garbage_collect(tmp_annotations_2);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[30], 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 = 45;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ace7ac312359c56208ce9a6fd6f12d9d_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_ace7ac312359c56208ce9a6fd6f12d9d_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ace7ac312359c56208ce9a6fd6f12d9d_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ace7ac312359c56208ce9a6fd6f12d9d_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ace7ac312359c56208ce9a6fd6f12d9d_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ace7ac312359c56208ce9a6fd6f12d9d_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_ace7ac312359c56208ce9a6fd6f12d9d_2 == cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2);
cache_frame_ace7ac312359c56208ce9a6fd6f12d9d_2 = NULL;
}
assertFrameObject(frame_ace7ac312359c56208ce9a6fd6f12d9d_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_6;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[117];
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 = 31;
goto try_except_handler_6;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[117];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_6;
}
branch_no_4:;
{
PyObject *tmp_assign_source_27;
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[120];
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$locks$$$class__1__TimeoutGarbageCollector_31;
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_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 31;
tmp_assign_source_27 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_6;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_27;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_26 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_26);
goto try_return_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
Py_DECREF(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31);
locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31 = NULL;
goto try_return_handler_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31);
locals_tornado$locks$$$class__1__TimeoutGarbageCollector_31 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 31;
goto try_except_handler_4;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[120], tmp_assign_source_26);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_class_creation_1__bases);
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_28;
PyObject *tmp_tuple_element_4;
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[120]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[120]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
tmp_assign_source_28 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_28, 0, tmp_tuple_element_4);
assert(tmp_class_creation_2__bases_orig == NULL);
tmp_class_creation_2__bases_orig = tmp_assign_source_28;
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_29 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
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[118];
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[118];
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 = 53;
goto try_except_handler_7;
}
tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_6 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[3];
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 = 53;
goto try_except_handler_7;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_31 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_31;
}
{
bool tmp_condition_result_9;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[118];
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[118];
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 = 53;
goto try_except_handler_7;
}
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[119]);
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_32;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_5;
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[119]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
tmp_tuple_element_5 = mod_consts[131];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_5 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 53;
tmp_assign_source_32 = 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_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_32;
}
{
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[121]);
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 = 53;
goto try_except_handler_7;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_6;
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[122];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[11];
tmp_getattr_default_2 = mod_consts[123];
tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
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_6);
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_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[11]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_6);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_7;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 53;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_33;
}
branch_end_6:;
{
PyObject *tmp_assign_source_34;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$locks$$$class__2_Condition_53 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[132];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[131];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_37b41b1b77d97e58a826b8706009646a_3)) {
Py_XDECREF(cache_frame_37b41b1b77d97e58a826b8706009646a_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_37b41b1b77d97e58a826b8706009646a_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_37b41b1b77d97e58a826b8706009646a_3 = MAKE_CLASS_FRAME(codeobj_37b41b1b77d97e58a826b8706009646a, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_37b41b1b77d97e58a826b8706009646a_3->m_type_description == NULL);
frame_37b41b1b77d97e58a826b8706009646a_3 = cache_frame_37b41b1b77d97e58a826b8706009646a_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_37b41b1b77d97e58a826b8706009646a_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_37b41b1b77d97e58a826b8706009646a_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_dict_key_1 = mod_consts[133];
tmp_dict_value_1 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[134]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_1);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_3 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__3___repr__(tmp_annotations_3);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[63], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_3;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_4;
PyObject *tmp_tuple_element_7;
tmp_defaults_1 = mod_consts[47];
tmp_dict_key_2 = mod_consts[136];
tmp_expression_value_11 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[110]);
if (tmp_expression_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_expression_value_11);
} else {
goto frame_exception_exit_3;
}
}
tmp_expression_value_12 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[109]);
if (tmp_expression_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_11);
exception_lineno = 120;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_expression_value_12);
} else {
goto frame_exception_exit_3;
}
}
tmp_tuple_element_7 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[137]);
if (tmp_tuple_element_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_7 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_tuple_element_7);
} else {
goto frame_exception_exit_3;
}
}
tmp_subscript_value_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_13;
PyTuple_SET_ITEM(tmp_subscript_value_4, 0, tmp_tuple_element_7);
tmp_expression_value_13 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[103]);
if (tmp_expression_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_2 = "o";
goto tuple_build_exception_3;
}
Py_INCREF(tmp_expression_value_13);
} else {
goto tuple_build_exception_3;
}
}
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[138]);
Py_DECREF(tmp_expression_value_13);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_2 = "o";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_subscript_value_4, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_expression_value_11);
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_4);
goto frame_exception_exit_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_subscript_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_4);
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_4);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_11);
exception_lineno = 120;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_11, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_11);
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 = 120;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_annotations_4 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_5;
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[133];
tmp_expression_value_14 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[113]);
if (tmp_expression_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[113]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[113]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_expression_value_14);
} else {
goto dict_build_exception_1;
}
}
tmp_subscript_value_5 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[139]);
if (tmp_subscript_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_5 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_subscript_value_5);
} else {
goto dict_build_exception_1;
}
}
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_14, tmp_subscript_value_5);
Py_DECREF(tmp_expression_value_14);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
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));
}
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:;
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__4_wait(tmp_defaults_1, tmp_annotations_4);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[140], 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 = 119;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
tmp_defaults_2 = mod_consts[87];
tmp_dict_key_3 = mod_consts[34];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[142]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_5 = _PyDict_NewPresized( 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[133];
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));
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__5_notify(tmp_defaults_2, tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[38], 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 = 141;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_6;
tmp_annotations_6 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__6_notify_all(tmp_annotations_6);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[144], 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 = 153;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_37b41b1b77d97e58a826b8706009646a_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_37b41b1b77d97e58a826b8706009646a_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_37b41b1b77d97e58a826b8706009646a_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_37b41b1b77d97e58a826b8706009646a_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_37b41b1b77d97e58a826b8706009646a_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_37b41b1b77d97e58a826b8706009646a_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_37b41b1b77d97e58a826b8706009646a_3 == cache_frame_37b41b1b77d97e58a826b8706009646a_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_37b41b1b77d97e58a826b8706009646a_3);
cache_frame_37b41b1b77d97e58a826b8706009646a_3 = NULL;
}
assertFrameObject(frame_37b41b1b77d97e58a826b8706009646a_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_9;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_2__bases_orig;
tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dictset_value = tmp_class_creation_2__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__2_Condition_53, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
branch_no_8:;
{
PyObject *tmp_assign_source_35;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = mod_consts[131];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_8 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_tornado$locks$$$class__2_Condition_53;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 53;
tmp_assign_source_35 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_35;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_34 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_34);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_DECREF(locals_tornado$locks$$$class__2_Condition_53);
locals_tornado$locks$$$class__2_Condition_53 = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__2_Condition_53);
locals_tornado$locks$$$class__2_Condition_53 = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto try_except_handler_8;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 53;
goto try_except_handler_7;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_34);
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
Py_DECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_2__bases);
Py_DECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_dircall_arg1_3;
tmp_dircall_arg1_3 = mod_consts[117];
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_36 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_36;
}
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
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_15;
PyObject *tmp_subscript_value_6;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[118];
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[118];
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 = 158;
goto try_except_handler_10;
}
tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_15 = tmp_class_creation_3__bases;
tmp_subscript_value_6 = mod_consts[3];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_15, tmp_subscript_value_6, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_38 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_38;
}
{
bool tmp_condition_result_15;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[118];
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[118];
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 = 158;
goto try_except_handler_10;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_16 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_16, mod_consts[119]);
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_39;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_17;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_17 = tmp_class_creation_3__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[119]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
tmp_tuple_element_9 = mod_consts[146];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_9 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 158;
tmp_assign_source_39 = 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_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_39;
}
{
bool tmp_condition_result_17;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_18;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_18 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_18, mod_consts[121]);
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 = 158;
goto try_except_handler_10;
}
tmp_condition_result_17 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_10;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
tmp_raise_type_3 = PyExc_TypeError;
tmp_mod_expr_left_3 = mod_consts[122];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[11];
tmp_getattr_default_3 = mod_consts[123];
tmp_tuple_element_10 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_10;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_19;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_19 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_19 == NULL));
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[11]);
Py_DECREF(tmp_expression_value_19);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_10);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
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 = 158;
goto try_except_handler_10;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 158;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_40;
tmp_assign_source_40 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_40;
}
branch_end_10:;
{
PyObject *tmp_assign_source_41;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$locks$$$class__3_Event_158 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[147];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[146];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4)) {
Py_XDECREF(cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4 = MAKE_CLASS_FRAME(codeobj_29e32e25950b2406f3835ba9bdadb6d4, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4->m_type_description == NULL);
frame_29e32e25950b2406f3835ba9bdadb6d4_4 = cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_29e32e25950b2406f3835ba9bdadb6d4_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29e32e25950b2406f3835ba9bdadb6d4_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_7;
tmp_annotations_7 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__7___init__(tmp_annotations_7);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[61], 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 = 198;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
tmp_dict_key_4 = mod_consts[133];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[134]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_8 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__8___repr__(tmp_annotations_8);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[63], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
tmp_dict_key_5 = mod_consts[133];
tmp_dict_value_5 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[139]);
if (tmp_dict_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_5 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_5);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_9 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__9_is_set(tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[42], 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 = 208;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_10;
tmp_annotations_10 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__10_set(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[43], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_11;
tmp_annotations_11 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__11_clear(tmp_annotations_11);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[44], 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 = 224;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_7;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_8;
PyObject *tmp_tuple_element_11;
tmp_defaults_3 = mod_consts[47];
tmp_dict_key_6 = mod_consts[136];
tmp_expression_value_20 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[110]);
if (tmp_expression_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_expression_value_20);
} else {
goto frame_exception_exit_4;
}
}
tmp_expression_value_21 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[109]);
if (tmp_expression_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_20);
exception_lineno = 232;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_expression_value_21);
} else {
goto frame_exception_exit_4;
}
}
tmp_tuple_element_11 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[137]);
if (tmp_tuple_element_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_11 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_tuple_element_11);
} else {
goto frame_exception_exit_4;
}
}
tmp_subscript_value_8 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_22;
PyTuple_SET_ITEM(tmp_subscript_value_8, 0, tmp_tuple_element_11);
tmp_expression_value_22 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[103]);
if (tmp_expression_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_2 = "o";
goto tuple_build_exception_5;
}
Py_INCREF(tmp_expression_value_22);
} else {
goto tuple_build_exception_5;
}
}
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[138]);
Py_DECREF(tmp_expression_value_22);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_2 = "o";
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_subscript_value_8, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_expression_value_20);
Py_DECREF(tmp_expression_value_21);
Py_DECREF(tmp_subscript_value_8);
goto frame_exception_exit_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_subscript_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_21);
Py_DECREF(tmp_subscript_value_8);
if (tmp_subscript_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_20);
exception_lineno = 232;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_20, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_20);
Py_DECREF(tmp_subscript_value_7);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_annotations_12 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_23;
PyObject *tmp_subscript_value_9;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[133];
tmp_expression_value_23 = PyObject_GetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[113]);
if (tmp_expression_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[113]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[113]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
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 = Py_None;
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_23, tmp_subscript_value_9);
Py_DECREF(tmp_expression_value_23);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
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_12);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__12_wait(tmp_defaults_3, tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[140], 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 = 231;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_29e32e25950b2406f3835ba9bdadb6d4_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_29e32e25950b2406f3835ba9bdadb6d4_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29e32e25950b2406f3835ba9bdadb6d4_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29e32e25950b2406f3835ba9bdadb6d4_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29e32e25950b2406f3835ba9bdadb6d4_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29e32e25950b2406f3835ba9bdadb6d4_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_29e32e25950b2406f3835ba9bdadb6d4_4 == cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4);
cache_frame_29e32e25950b2406f3835ba9bdadb6d4_4 = NULL;
}
assertFrameObject(frame_29e32e25950b2406f3835ba9bdadb6d4_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_12;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
tmp_cmp_expr_right_3 = mod_consts[117];
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 = 158;
goto try_except_handler_12;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
tmp_dictset_value = mod_consts[117];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__3_Event_158, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_12;
}
branch_no_12:;
{
PyObject *tmp_assign_source_42;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_12 = mod_consts[146];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_12 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_12);
tmp_tuple_element_12 = locals_tornado$locks$$$class__3_Event_158;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 158;
tmp_assign_source_42 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
goto try_except_handler_12;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_42;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_41 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_41);
goto try_return_handler_12;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
Py_DECREF(locals_tornado$locks$$$class__3_Event_158);
locals_tornado$locks$$$class__3_Event_158 = NULL;
goto try_return_handler_11;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__3_Event_158);
locals_tornado$locks$$$class__3_Event_158 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_11;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 158;
goto try_except_handler_10;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[146], tmp_assign_source_41);
}
goto try_end_6;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
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_43;
PyObject *tmp_dircall_arg1_4;
tmp_dircall_arg1_4 = mod_consts[117];
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_43 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_43;
}
{
PyObject *tmp_assign_source_44;
tmp_assign_source_44 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_44;
}
{
PyObject *tmp_assign_source_45;
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_24;
PyObject *tmp_subscript_value_10;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[118];
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[118];
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 = 258;
goto try_except_handler_13;
}
tmp_condition_result_20 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_24 = tmp_class_creation_4__bases;
tmp_subscript_value_10 = mod_consts[3];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_24, 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 = 258;
goto try_except_handler_13;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_45 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_45;
}
{
bool tmp_condition_result_21;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[118];
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[118];
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 = 258;
goto try_except_handler_13;
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_expression_value_25;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_25 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_25, mod_consts[119]);
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_46;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_13;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_26 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[119]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
tmp_tuple_element_13 = mod_consts[69];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_13 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 258;
tmp_assign_source_46 = 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_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_46;
}
{
bool tmp_condition_result_23;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_27 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[121]);
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 = 258;
goto try_except_handler_13;
}
tmp_condition_result_23 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_14;
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[122];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[11];
tmp_getattr_default_4 = mod_consts[123];
tmp_tuple_element_14 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_28;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_28 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_28 == NULL));
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[11]);
Py_DECREF(tmp_expression_value_28);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_14);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_13;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 258;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_15:;
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_47;
tmp_assign_source_47 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_47;
}
branch_end_14:;
{
PyObject *tmp_assign_source_48;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$locks$$$class__4__ReleasingContextManager_258 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[154];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[69];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5)) {
Py_XDECREF(cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 = MAKE_CLASS_FRAME(codeobj_1f0c6eb47031a758e30fbcd2ee3e8c3d, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5->m_type_description == NULL);
frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 = cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_dict_key_7 = mod_consts[155];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[112]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_dict_value_7 == NULL)) {
tmp_dict_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_7);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_13 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[133];
tmp_dict_value_7 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__13___init__(tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[61], 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 = 267;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_14;
tmp_annotations_14 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__14___enter__(tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[77], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 270;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_dict_key_8 = mod_consts[158];
tmp_dict_value_8 = mod_consts[159];
tmp_annotations_15 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_29;
PyObject *tmp_subscript_value_11;
PyObject *tmp_expression_value_30;
PyObject *tmp_subscript_value_12;
PyObject *tmp_expression_value_31;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[160];
tmp_expression_value_29 = PyObject_GetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[110]);
if (tmp_expression_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_29);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_11 = PyObject_GetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[161]);
if (tmp_subscript_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_11 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_11);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_29, tmp_subscript_value_11);
Py_DECREF(tmp_expression_value_29);
Py_DECREF(tmp_subscript_value_11);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[162];
tmp_expression_value_30 = PyObject_GetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[110]);
if (tmp_expression_value_30 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_30);
} else {
goto dict_build_exception_3;
}
}
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
assert(!(tmp_expression_value_31 == NULL));
tmp_subscript_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[163]);
if (tmp_subscript_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_30);
exception_lineno = 277;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_30, tmp_subscript_value_12);
Py_DECREF(tmp_expression_value_30);
Py_DECREF(tmp_subscript_value_12);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[133];
tmp_dict_value_8 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_8, tmp_dict_value_8);
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_15);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__15___exit__(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[164], 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 = 273;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_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_1f0c6eb47031a758e30fbcd2ee3e8c3d_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 == cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5);
cache_frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5 = NULL;
}
assertFrameObject(frame_1f0c6eb47031a758e30fbcd2ee3e8c3d_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_15;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_24;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_4__bases;
tmp_cmp_expr_right_4 = mod_consts[117];
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 = 258;
goto try_except_handler_15;
}
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
tmp_dictset_value = mod_consts[117];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__4__ReleasingContextManager_258, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_15;
}
branch_no_16:;
{
PyObject *tmp_assign_source_49;
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[69];
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$locks$$$class__4__ReleasingContextManager_258;
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_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 258;
tmp_assign_source_49 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
goto try_except_handler_15;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_49;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_48 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_48);
goto try_return_handler_15;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_DECREF(locals_tornado$locks$$$class__4__ReleasingContextManager_258);
locals_tornado$locks$$$class__4__ReleasingContextManager_258 = NULL;
goto try_return_handler_14;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__4__ReleasingContextManager_258);
locals_tornado$locks$$$class__4__ReleasingContextManager_258 = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto try_except_handler_14;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 258;
goto try_except_handler_13;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_48);
}
goto try_end_7;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
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_50;
PyObject *tmp_tuple_element_16;
tmp_tuple_element_16 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[120]);
if (unlikely(tmp_tuple_element_16 == NULL)) {
tmp_tuple_element_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[120]);
}
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
tmp_assign_source_50 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_50, 0, tmp_tuple_element_16);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_50;
}
{
PyObject *tmp_assign_source_51;
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_51 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_51;
}
{
PyObject *tmp_assign_source_52;
tmp_assign_source_52 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
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_32;
PyObject *tmp_subscript_value_13;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[118];
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[118];
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 = 282;
goto try_except_handler_16;
}
tmp_condition_result_26 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_32 = tmp_class_creation_5__bases;
tmp_subscript_value_13 = mod_consts[3];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_32, tmp_subscript_value_13, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_53 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_53;
}
{
bool tmp_condition_result_27;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[118];
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[118];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
branch_no_17:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_expression_value_33;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_33 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_33, mod_consts[119]);
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_54;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_34;
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_34 = tmp_class_creation_5__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[119]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
tmp_tuple_element_17 = mod_consts[166];
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_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 282;
tmp_assign_source_54 = 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_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_16;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_54;
}
{
bool tmp_condition_result_29;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_35;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_35 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_35, mod_consts[121]);
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 = 282;
goto try_except_handler_16;
}
tmp_condition_result_29 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_raise_value_5;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_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[122];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[11];
tmp_getattr_default_5 = mod_consts[123];
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 = 282;
goto try_except_handler_16;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_36;
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_36 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_36 == NULL));
tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[11]);
Py_DECREF(tmp_expression_value_36);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
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_16;
// 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 = 282;
goto try_except_handler_16;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 282;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_16;
}
branch_no_19:;
goto branch_end_18;
branch_no_18:;
{
PyObject *tmp_assign_source_55;
tmp_assign_source_55 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_55;
}
branch_end_18:;
{
PyObject *tmp_assign_source_56;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$locks$$$class__5_Semaphore_282 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[167];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[166];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
if (isFrameUnusable(cache_frame_03673d65bc3f53f7607f0802ae1201a0_6)) {
Py_XDECREF(cache_frame_03673d65bc3f53f7607f0802ae1201a0_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_03673d65bc3f53f7607f0802ae1201a0_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_03673d65bc3f53f7607f0802ae1201a0_6 = MAKE_CLASS_FRAME(codeobj_03673d65bc3f53f7607f0802ae1201a0, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_03673d65bc3f53f7607f0802ae1201a0_6->m_type_description == NULL);
frame_03673d65bc3f53f7607f0802ae1201a0_6 = cache_frame_03673d65bc3f53f7607f0802ae1201a0_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_03673d65bc3f53f7607f0802ae1201a0_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_03673d65bc3f53f7607f0802ae1201a0_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_defaults_4 = mod_consts[87];
tmp_dict_key_9 = mod_consts[168];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[142]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_6;
}
}
tmp_annotations_16 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[133];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_4);
tmp_closure_1[0] = outline_4_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__16___init__(tmp_defaults_4, tmp_annotations_16, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[61], 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 = 383;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_dict_key_10 = mod_consts[133];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[134]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_6;
}
}
tmp_annotations_17 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_closure_2[0] = outline_4_var___class__;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__17___repr__(tmp_annotations_17, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[63], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_18;
tmp_annotations_18 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__18_release(tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, 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 = 399;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_defaults_5;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
PyObject *tmp_expression_value_37;
PyObject *tmp_subscript_value_14;
PyObject *tmp_expression_value_38;
PyObject *tmp_subscript_value_15;
PyObject *tmp_tuple_element_19;
tmp_defaults_5 = mod_consts[47];
tmp_dict_key_11 = mod_consts[136];
tmp_expression_value_37 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[110]);
if (tmp_expression_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_2 = "c";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_37);
} else {
goto frame_exception_exit_6;
}
}
tmp_expression_value_38 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[109]);
if (tmp_expression_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_37);
exception_lineno = 417;
type_description_2 = "c";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_expression_value_38);
} else {
goto frame_exception_exit_6;
}
}
tmp_tuple_element_19 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[137]);
if (tmp_tuple_element_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_19 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_tuple_element_19);
} else {
goto frame_exception_exit_6;
}
}
tmp_subscript_value_15 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_39;
PyTuple_SET_ITEM(tmp_subscript_value_15, 0, tmp_tuple_element_19);
tmp_expression_value_39 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[103]);
if (tmp_expression_value_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_2 = "c";
goto tuple_build_exception_8;
}
Py_INCREF(tmp_expression_value_39);
} else {
goto tuple_build_exception_8;
}
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[138]);
Py_DECREF(tmp_expression_value_39);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_2 = "c";
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_subscript_value_15, 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_37);
Py_DECREF(tmp_expression_value_38);
Py_DECREF(tmp_subscript_value_15);
goto frame_exception_exit_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_subscript_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_38, tmp_subscript_value_15);
Py_DECREF(tmp_expression_value_38);
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_37);
exception_lineno = 417;
type_description_2 = "c";
goto frame_exception_exit_6;
}
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_37, tmp_subscript_value_14);
Py_DECREF(tmp_expression_value_37);
Py_DECREF(tmp_subscript_value_14);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_2 = "c";
goto frame_exception_exit_6;
}
tmp_annotations_19 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_16;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[133];
tmp_expression_value_40 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[113]);
if (tmp_expression_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[113]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[113]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_2 = "c";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_40);
} else {
goto dict_build_exception_4;
}
}
tmp_subscript_value_16 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[69]);
if (tmp_subscript_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_subscript_value_16 == NULL)) {
tmp_subscript_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_subscript_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_40);
exception_lineno = 418;
type_description_2 = "c";
goto dict_build_exception_4;
}
Py_INCREF(tmp_subscript_value_16);
} else {
goto dict_build_exception_4;
}
}
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_16);
Py_DECREF(tmp_expression_value_40);
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 = 418;
type_description_2 = "c";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
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_19);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__19_acquire(tmp_defaults_5, tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[78], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_20;
tmp_annotations_20 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__20___enter__(tmp_annotations_20);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[77], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_21;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
tmp_dict_key_12 = mod_consts[174];
tmp_dict_value_12 = mod_consts[159];
tmp_annotations_21 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_17;
PyObject *tmp_expression_value_42;
PyObject *tmp_subscript_value_18;
PyObject *tmp_expression_value_43;
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[168];
tmp_expression_value_41 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[110]);
if (tmp_expression_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "c";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_41);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_17 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[161]);
if (tmp_subscript_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_17 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_17);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_41, tmp_subscript_value_17);
Py_DECREF(tmp_expression_value_41);
Py_DECREF(tmp_subscript_value_17);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "c";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[175];
tmp_expression_value_42 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[110]);
if (tmp_expression_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_42 == NULL)) {
tmp_expression_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
type_description_2 = "c";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_42);
} else {
goto dict_build_exception_5;
}
}
tmp_expression_value_43 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_43 == NULL)) {
tmp_expression_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
assert(!(tmp_expression_value_43 == NULL));
tmp_subscript_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_43, mod_consts[163]);
if (tmp_subscript_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_42);
exception_lineno = 451;
type_description_2 = "c";
goto dict_build_exception_5;
}
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_42, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_42);
Py_DECREF(tmp_subscript_value_18);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
type_description_2 = "c";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[133];
tmp_dict_value_12 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_12, tmp_dict_value_12);
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_21);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__21___exit__(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[164], 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 = 447;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_22;
tmp_annotations_22 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__22___aenter__(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, 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 = 455;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[174];
tmp_dict_value_13 = mod_consts[159];
tmp_annotations_23 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_44;
PyObject *tmp_subscript_value_19;
PyObject *tmp_expression_value_45;
PyObject *tmp_subscript_value_20;
PyObject *tmp_expression_value_46;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_13, tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[168];
tmp_expression_value_44 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[110]);
if (tmp_expression_value_44 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_44 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_44 == NULL)) {
tmp_expression_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "c";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_44);
} else {
goto dict_build_exception_6;
}
}
tmp_subscript_value_19 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[161]);
if (tmp_subscript_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_19 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_19);
} else {
goto dict_build_exception_6;
}
}
tmp_dict_value_13 = LOOKUP_SUBSCRIPT(tmp_expression_value_44, tmp_subscript_value_19);
Py_DECREF(tmp_expression_value_44);
Py_DECREF(tmp_subscript_value_19);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "c";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[177];
tmp_expression_value_45 = PyObject_GetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[110]);
if (tmp_expression_value_45 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_45 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_45 == NULL)) {
tmp_expression_value_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_2 = "c";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_45);
} else {
goto dict_build_exception_6;
}
}
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
assert(!(tmp_expression_value_46 == NULL));
tmp_subscript_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[163]);
if (tmp_subscript_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_45);
exception_lineno = 462;
type_description_2 = "c";
goto dict_build_exception_6;
}
tmp_dict_value_13 = LOOKUP_SUBSCRIPT(tmp_expression_value_45, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_45);
Py_DECREF(tmp_subscript_value_20);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_2 = "c";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[133];
tmp_dict_value_13 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_13, tmp_dict_value_13);
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_23);
goto frame_exception_exit_6;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__23___aexit__(tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, 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 = 458;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_03673d65bc3f53f7607f0802ae1201a0_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_03673d65bc3f53f7607f0802ae1201a0_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_03673d65bc3f53f7607f0802ae1201a0_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_03673d65bc3f53f7607f0802ae1201a0_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_03673d65bc3f53f7607f0802ae1201a0_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_03673d65bc3f53f7607f0802ae1201a0_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_03673d65bc3f53f7607f0802ae1201a0_6 == cache_frame_03673d65bc3f53f7607f0802ae1201a0_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_03673d65bc3f53f7607f0802ae1201a0_6);
cache_frame_03673d65bc3f53f7607f0802ae1201a0_6 = NULL;
}
assertFrameObject(frame_03673d65bc3f53f7607f0802ae1201a0_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_18;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_5 = tmp_class_creation_5__bases_orig;
tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__5_Semaphore_282, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
branch_no_20:;
{
PyObject *tmp_assign_source_57;
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[166];
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$locks$$$class__5_Semaphore_282;
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_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 282;
tmp_assign_source_57 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
goto try_except_handler_18;
}
assert(Nuitka_Cell_GET(outline_4_var___class__) == NULL);
PyCell_SET(outline_4_var___class__, tmp_assign_source_57);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__));
tmp_assign_source_56 = Nuitka_Cell_GET(outline_4_var___class__);
Py_INCREF(tmp_assign_source_56);
goto try_return_handler_18;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
Py_DECREF(locals_tornado$locks$$$class__5_Semaphore_282);
locals_tornado$locks$$$class__5_Semaphore_282 = NULL;
goto try_return_handler_17;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__5_Semaphore_282);
locals_tornado$locks$$$class__5_Semaphore_282 = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto try_except_handler_17;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 282;
goto try_except_handler_16;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[166], tmp_assign_source_56);
}
goto try_end_8;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
Py_DECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_58;
PyObject *tmp_tuple_element_21;
tmp_tuple_element_21 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[166]);
if (unlikely(tmp_tuple_element_21 == NULL)) {
tmp_tuple_element_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]);
}
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
tmp_assign_source_58 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_58, 0, tmp_tuple_element_21);
assert(tmp_class_creation_6__bases_orig == NULL);
tmp_class_creation_6__bases_orig = tmp_assign_source_58;
}
{
PyObject *tmp_assign_source_59;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_59 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_59;
}
{
PyObject *tmp_assign_source_60;
tmp_assign_source_60 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
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_47;
PyObject *tmp_subscript_value_21;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[118];
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[118];
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 = 467;
goto try_except_handler_19;
}
tmp_condition_result_32 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_47 = tmp_class_creation_6__bases;
tmp_subscript_value_21 = mod_consts[3];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_47, tmp_subscript_value_21, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_12:;
condexpr_end_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_61 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_61;
}
{
bool tmp_condition_result_33;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[118];
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[118];
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 = 467;
goto try_except_handler_19;
}
branch_no_21:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_expression_value_48;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_48 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_48, mod_consts[119]);
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_62;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_49;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_22;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_49 = tmp_class_creation_6__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[119]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
tmp_tuple_element_22 = mod_consts[86];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_22);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_22 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_22);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 467;
tmp_assign_source_62 = 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_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_62;
}
{
bool tmp_condition_result_35;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_50;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_50 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_50, mod_consts[121]);
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 = 467;
goto try_except_handler_19;
}
tmp_condition_result_35 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
PyObject *tmp_raise_type_6;
PyObject *tmp_raise_value_6;
PyObject *tmp_mod_expr_left_6;
PyObject *tmp_mod_expr_right_6;
PyObject *tmp_tuple_element_23;
PyObject *tmp_getattr_target_6;
PyObject *tmp_getattr_attr_6;
PyObject *tmp_getattr_default_6;
tmp_raise_type_6 = PyExc_TypeError;
tmp_mod_expr_left_6 = mod_consts[122];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[11];
tmp_getattr_default_6 = mod_consts[123];
tmp_tuple_element_23 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_19;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_51;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_51 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_51 == NULL));
tmp_tuple_element_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_51, mod_consts[11]);
Py_DECREF(tmp_expression_value_51);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_23);
}
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_19;
// 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 = 467;
goto try_except_handler_19;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 467;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_19;
}
branch_no_23:;
goto branch_end_22;
branch_no_22:;
{
PyObject *tmp_assign_source_63;
tmp_assign_source_63 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_63;
}
branch_end_22:;
{
PyObject *tmp_assign_source_64;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_tornado$locks$$$class__6_BoundedSemaphore_467 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[178];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[86];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
if (isFrameUnusable(cache_frame_2e41d0fc74c875ee34c720484061b85e_7)) {
Py_XDECREF(cache_frame_2e41d0fc74c875ee34c720484061b85e_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_2e41d0fc74c875ee34c720484061b85e_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2e41d0fc74c875ee34c720484061b85e_7 = MAKE_CLASS_FRAME(codeobj_2e41d0fc74c875ee34c720484061b85e, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2e41d0fc74c875ee34c720484061b85e_7->m_type_description == NULL);
frame_2e41d0fc74c875ee34c720484061b85e_7 = cache_frame_2e41d0fc74c875ee34c720484061b85e_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_2e41d0fc74c875ee34c720484061b85e_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2e41d0fc74c875ee34c720484061b85e_7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_6;
PyObject *tmp_annotations_24;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
struct Nuitka_CellObject *tmp_closure_3[1];
tmp_defaults_6 = mod_consts[87];
tmp_dict_key_14 = mod_consts[168];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[142]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_7;
}
}
tmp_annotations_24 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[133];
tmp_dict_value_14 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_14, tmp_dict_value_14);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_6);
tmp_closure_3[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_3[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__24___init__(tmp_defaults_6, tmp_annotations_24, tmp_closure_3);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[61], 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 = 476;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_annotations_25;
struct Nuitka_CellObject *tmp_closure_4[1];
tmp_annotations_25 = DICT_COPY(mod_consts[16]);
tmp_closure_4[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_4[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__25_release(tmp_annotations_25, tmp_closure_4);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, 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 = 480;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2e41d0fc74c875ee34c720484061b85e_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_2e41d0fc74c875ee34c720484061b85e_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2e41d0fc74c875ee34c720484061b85e_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2e41d0fc74c875ee34c720484061b85e_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2e41d0fc74c875ee34c720484061b85e_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2e41d0fc74c875ee34c720484061b85e_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_2e41d0fc74c875ee34c720484061b85e_7 == cache_frame_2e41d0fc74c875ee34c720484061b85e_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2e41d0fc74c875ee34c720484061b85e_7);
cache_frame_2e41d0fc74c875ee34c720484061b85e_7 = NULL;
}
assertFrameObject(frame_2e41d0fc74c875ee34c720484061b85e_7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_6;
frame_no_exception_6:;
goto skip_nested_handling_6;
nested_frame_exit_6:;
goto try_except_handler_21;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_36;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_6__bases;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_cmp_expr_right_6 = tmp_class_creation_6__bases_orig;
tmp_condition_result_36 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_36 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dictset_value = tmp_class_creation_6__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__6_BoundedSemaphore_467, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
branch_no_24:;
{
PyObject *tmp_assign_source_65;
PyObject *tmp_called_value_12;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_24;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_12 = tmp_class_creation_6__metaclass;
tmp_tuple_element_24 = mod_consts[86];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_24 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_24);
tmp_tuple_element_24 = locals_tornado$locks$$$class__6_BoundedSemaphore_467;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 467;
tmp_assign_source_65 = CALL_FUNCTION(tmp_called_value_12, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
goto try_except_handler_21;
}
assert(Nuitka_Cell_GET(outline_5_var___class__) == NULL);
PyCell_SET(outline_5_var___class__, tmp_assign_source_65);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_5_var___class__));
tmp_assign_source_64 = Nuitka_Cell_GET(outline_5_var___class__);
Py_INCREF(tmp_assign_source_64);
goto try_return_handler_21;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
Py_DECREF(locals_tornado$locks$$$class__6_BoundedSemaphore_467);
locals_tornado$locks$$$class__6_BoundedSemaphore_467 = NULL;
goto try_return_handler_20;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__6_BoundedSemaphore_467);
locals_tornado$locks$$$class__6_BoundedSemaphore_467 = NULL;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto try_except_handler_20;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 467;
goto try_except_handler_19;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[86], tmp_assign_source_64);
}
goto try_end_9;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
Py_DECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_6__bases);
Py_DECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
Py_DECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
Py_DECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_6__prepared);
Py_DECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_66;
PyObject *tmp_dircall_arg1_7;
tmp_dircall_arg1_7 = mod_consts[117];
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
tmp_assign_source_66 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_66;
}
{
PyObject *tmp_assign_source_67;
tmp_assign_source_67 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_67;
}
{
PyObject *tmp_assign_source_68;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_37;
PyObject *tmp_key_value_19;
PyObject *tmp_dict_arg_value_19;
PyObject *tmp_dict_arg_value_20;
PyObject *tmp_key_value_20;
nuitka_bool tmp_condition_result_38;
int tmp_truth_name_7;
PyObject *tmp_type_arg_13;
PyObject *tmp_expression_value_52;
PyObject *tmp_subscript_value_22;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[118];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_19 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_19, tmp_key_value_19);
assert(!(tmp_res == -1));
tmp_condition_result_37 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_37 != false) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_20 = tmp_class_creation_7__class_decl_dict;
tmp_key_value_20 = mod_consts[118];
tmp_metaclass_value_7 = DICT_GET_ITEM0(tmp_dict_arg_value_20, tmp_key_value_20);
if (tmp_metaclass_value_7 == NULL) {
tmp_metaclass_value_7 = Py_None;
}
assert(!(tmp_metaclass_value_7 == NULL));
Py_INCREF(tmp_metaclass_value_7);
goto condexpr_end_13;
condexpr_false_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_7__bases);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
tmp_condition_result_38 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_52 = tmp_class_creation_7__bases;
tmp_subscript_value_22 = mod_consts[3];
tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_52, tmp_subscript_value_22, 0);
if (tmp_type_arg_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
tmp_metaclass_value_7 = BUILTIN_TYPE1(tmp_type_arg_13);
Py_DECREF(tmp_type_arg_13);
if (tmp_metaclass_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_14:;
condexpr_end_13:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_68 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_68;
}
{
bool tmp_condition_result_39;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[118];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_21 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_21, tmp_key_value_21);
assert(!(tmp_res == -1));
tmp_condition_result_39 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[118];
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 = 487;
goto try_except_handler_22;
}
branch_no_25:;
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_expression_value_53;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_53 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_53, mod_consts[119]);
tmp_condition_result_40 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
PyObject *tmp_assign_source_69;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_54;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_25;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_54 = tmp_class_creation_7__metaclass;
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[119]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
tmp_tuple_element_25 = mod_consts[181];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_25 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 487;
tmp_assign_source_69 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_69;
}
{
bool tmp_condition_result_41;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_55;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_55 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_55, mod_consts[121]);
tmp_operand_value_7 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
tmp_condition_result_41 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_41 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_raise_type_7;
PyObject *tmp_raise_value_7;
PyObject *tmp_mod_expr_left_7;
PyObject *tmp_mod_expr_right_7;
PyObject *tmp_tuple_element_26;
PyObject *tmp_getattr_target_7;
PyObject *tmp_getattr_attr_7;
PyObject *tmp_getattr_default_7;
tmp_raise_type_7 = PyExc_TypeError;
tmp_mod_expr_left_7 = mod_consts[122];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[11];
tmp_getattr_default_7 = mod_consts[123];
tmp_tuple_element_26 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_56;
PyObject *tmp_type_arg_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_26);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_14 = tmp_class_creation_7__prepared;
tmp_expression_value_56 = BUILTIN_TYPE1(tmp_type_arg_14);
assert(!(tmp_expression_value_56 == NULL));
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_56, mod_consts[11]);
Py_DECREF(tmp_expression_value_56);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_26);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_22;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_raise_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_7, tmp_mod_expr_right_7);
Py_DECREF(tmp_mod_expr_right_7);
if (tmp_raise_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_22;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 487;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_22;
}
branch_no_27:;
goto branch_end_26;
branch_no_26:;
{
PyObject *tmp_assign_source_70;
tmp_assign_source_70 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_70;
}
branch_end_26:;
{
PyObject *tmp_assign_source_71;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_tornado$locks$$$class__7_Lock_487 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[124];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[125], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[182];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[181];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
if (isFrameUnusable(cache_frame_8111da9238ac7964f56da131be2cb089_8)) {
Py_XDECREF(cache_frame_8111da9238ac7964f56da131be2cb089_8);
#if _DEBUG_REFCOUNTS
if (cache_frame_8111da9238ac7964f56da131be2cb089_8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8111da9238ac7964f56da131be2cb089_8 = MAKE_CLASS_FRAME(codeobj_8111da9238ac7964f56da131be2cb089, module_tornado$locks, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8111da9238ac7964f56da131be2cb089_8->m_type_description == NULL);
frame_8111da9238ac7964f56da131be2cb089_8 = cache_frame_8111da9238ac7964f56da131be2cb089_8;
// Push the new frame as the currently active one.
pushFrameStack(frame_8111da9238ac7964f56da131be2cb089_8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8111da9238ac7964f56da131be2cb089_8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_26;
tmp_annotations_26 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__26___init__(tmp_annotations_26);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[61], 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 = 524;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_27;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_dict_key_15 = mod_consts[133];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[134]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_8;
}
}
tmp_annotations_27 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_27, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__27___repr__(tmp_annotations_27);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[63], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_defaults_7;
PyObject *tmp_annotations_28;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
PyObject *tmp_expression_value_57;
PyObject *tmp_subscript_value_23;
PyObject *tmp_expression_value_58;
PyObject *tmp_subscript_value_24;
PyObject *tmp_tuple_element_27;
tmp_defaults_7 = mod_consts[47];
tmp_dict_key_16 = mod_consts[136];
tmp_expression_value_57 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[110]);
if (tmp_expression_value_57 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_57 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_57 == NULL)) {
tmp_expression_value_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_expression_value_57);
} else {
goto frame_exception_exit_8;
}
}
tmp_expression_value_58 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[109]);
if (tmp_expression_value_58 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_58 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_expression_value_58 == NULL)) {
tmp_expression_value_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_expression_value_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_57);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_expression_value_58);
} else {
goto frame_exception_exit_8;
}
}
tmp_tuple_element_27 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[137]);
if (tmp_tuple_element_27 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_27 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_tuple_element_27);
} else {
goto frame_exception_exit_8;
}
}
tmp_subscript_value_24 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_59;
PyTuple_SET_ITEM(tmp_subscript_value_24, 0, tmp_tuple_element_27);
tmp_expression_value_59 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[103]);
if (tmp_expression_value_59 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_59 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_expression_value_59 == NULL)) {
tmp_expression_value_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_expression_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto tuple_build_exception_11;
}
Py_INCREF(tmp_expression_value_59);
} else {
goto tuple_build_exception_11;
}
}
tmp_tuple_element_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_59, mod_consts[138]);
Py_DECREF(tmp_expression_value_59);
if (tmp_tuple_element_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_subscript_value_24, 1, tmp_tuple_element_27);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_expression_value_57);
Py_DECREF(tmp_expression_value_58);
Py_DECREF(tmp_subscript_value_24);
goto frame_exception_exit_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_subscript_value_23 = LOOKUP_SUBSCRIPT(tmp_expression_value_58, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_58);
Py_DECREF(tmp_subscript_value_24);
if (tmp_subscript_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_57);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_57, tmp_subscript_value_23);
Py_DECREF(tmp_expression_value_57);
Py_DECREF(tmp_subscript_value_23);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_annotations_28 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_60;
PyObject *tmp_subscript_value_25;
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[133];
tmp_expression_value_60 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[113]);
if (tmp_expression_value_60 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_60 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[113]);
if (unlikely(tmp_expression_value_60 == NULL)) {
tmp_expression_value_60 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[113]);
}
if (tmp_expression_value_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_60);
} else {
goto dict_build_exception_7;
}
}
tmp_subscript_value_25 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[69]);
if (tmp_subscript_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_subscript_value_25 == NULL)) {
tmp_subscript_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_subscript_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_60);
exception_lineno = 532;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_subscript_value_25);
} else {
goto dict_build_exception_7;
}
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_60, tmp_subscript_value_25);
Py_DECREF(tmp_expression_value_60);
Py_DECREF(tmp_subscript_value_25);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_28, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
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_28);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__28_acquire(tmp_defaults_7, tmp_annotations_28);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[78], 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 = 530;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_29;
tmp_annotations_29 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__29_release(tmp_annotations_29);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[59], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_30;
tmp_annotations_30 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__30___enter__(tmp_annotations_30);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[77], 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 = 552;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_31;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
tmp_dict_key_17 = mod_consts[174];
tmp_dict_value_17 = mod_consts[159];
tmp_annotations_31 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_61;
PyObject *tmp_subscript_value_26;
PyObject *tmp_expression_value_62;
PyObject *tmp_subscript_value_27;
PyObject *tmp_expression_value_63;
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[168];
tmp_expression_value_61 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[110]);
if (tmp_expression_value_61 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_61 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_61 == NULL)) {
tmp_expression_value_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_61);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_26 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[161]);
if (tmp_subscript_value_26 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_26 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_26);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_61, tmp_subscript_value_26);
Py_DECREF(tmp_expression_value_61);
Py_DECREF(tmp_subscript_value_26);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 558;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[177];
tmp_expression_value_62 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[110]);
if (tmp_expression_value_62 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_62 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_62 == NULL)) {
tmp_expression_value_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_62);
} else {
goto dict_build_exception_8;
}
}
tmp_expression_value_63 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_63 == NULL)) {
tmp_expression_value_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
assert(!(tmp_expression_value_63 == NULL));
tmp_subscript_value_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_63, mod_consts[163]);
if (tmp_subscript_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_62);
exception_lineno = 559;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_62, tmp_subscript_value_27);
Py_DECREF(tmp_expression_value_62);
Py_DECREF(tmp_subscript_value_27);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[133];
tmp_dict_value_17 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_31, tmp_dict_key_17, tmp_dict_value_17);
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_31);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__31___exit__(tmp_annotations_31);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[164], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_32;
tmp_annotations_32 = DICT_COPY(mod_consts[16]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__32___aenter__(tmp_annotations_32);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, 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 = 563;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_33;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
tmp_dict_key_18 = mod_consts[174];
tmp_dict_value_18 = mod_consts[159];
tmp_annotations_33 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_64;
PyObject *tmp_subscript_value_28;
PyObject *tmp_expression_value_65;
PyObject *tmp_subscript_value_29;
PyObject *tmp_expression_value_66;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_18, tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[168];
tmp_expression_value_64 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[110]);
if (tmp_expression_value_64 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_64 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_64 == NULL)) {
tmp_expression_value_64 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_64);
} else {
goto dict_build_exception_9;
}
}
tmp_subscript_value_28 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[161]);
if (tmp_subscript_value_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_28 = PyExc_BaseException;
Py_INCREF(tmp_subscript_value_28);
} else {
goto dict_build_exception_9;
}
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_64, tmp_subscript_value_28);
Py_DECREF(tmp_expression_value_64);
Py_DECREF(tmp_subscript_value_28);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
type_description_2 = "o";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[177];
tmp_expression_value_65 = PyObject_GetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[110]);
if (tmp_expression_value_65 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_65 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_65 == NULL)) {
tmp_expression_value_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_expression_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_65);
} else {
goto dict_build_exception_9;
}
}
tmp_expression_value_66 = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_66 == NULL)) {
tmp_expression_value_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
assert(!(tmp_expression_value_66 == NULL));
tmp_subscript_value_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_66, mod_consts[163]);
if (tmp_subscript_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_65);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_9;
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_65, tmp_subscript_value_29);
Py_DECREF(tmp_expression_value_65);
Py_DECREF(tmp_subscript_value_29);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[133];
tmp_dict_value_18 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_33, tmp_dict_key_18, tmp_dict_value_18);
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_33);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
tmp_dictset_value = MAKE_FUNCTION_tornado$locks$$$function__33___aexit__(tmp_annotations_33);
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, 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 = 566;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8111da9238ac7964f56da131be2cb089_8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8111da9238ac7964f56da131be2cb089_8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8111da9238ac7964f56da131be2cb089_8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8111da9238ac7964f56da131be2cb089_8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8111da9238ac7964f56da131be2cb089_8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8111da9238ac7964f56da131be2cb089_8,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_8111da9238ac7964f56da131be2cb089_8 == cache_frame_8111da9238ac7964f56da131be2cb089_8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8111da9238ac7964f56da131be2cb089_8);
cache_frame_8111da9238ac7964f56da131be2cb089_8 = NULL;
}
assertFrameObject(frame_8111da9238ac7964f56da131be2cb089_8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_7;
frame_no_exception_7:;
goto skip_nested_handling_7;
nested_frame_exit_7:;
goto try_except_handler_24;
skip_nested_handling_7:;
{
nuitka_bool tmp_condition_result_42;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_7__bases;
tmp_cmp_expr_right_7 = mod_consts[117];
tmp_condition_result_42 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_42 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
tmp_dictset_value = mod_consts[117];
tmp_res = PyObject_SetItem(locals_tornado$locks$$$class__7_Lock_487, mod_consts[130], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
branch_no_28:;
{
PyObject *tmp_assign_source_72;
PyObject *tmp_called_value_14;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_28;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_14 = tmp_class_creation_7__metaclass;
tmp_tuple_element_28 = mod_consts[181];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_28);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_28 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_28);
tmp_tuple_element_28 = locals_tornado$locks$$$class__7_Lock_487;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_28);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_9702398104cb1407b67f7c2600628856->m_frame.f_lineno = 487;
tmp_assign_source_72 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
goto try_except_handler_24;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_72;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_71 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_71);
goto try_return_handler_24;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_24:;
Py_DECREF(locals_tornado$locks$$$class__7_Lock_487);
locals_tornado$locks$$$class__7_Lock_487 = NULL;
goto try_return_handler_23;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locks$$$class__7_Lock_487);
locals_tornado$locks$$$class__7_Lock_487 = NULL;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto try_except_handler_23;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
CHECK_OBJECT(outline_6_var___class__);
Py_DECREF(outline_6_var___class__);
outline_6_var___class__ = NULL;
goto outline_result_7;
// Exception handler code:
try_except_handler_23:;
exception_keeper_type_23 = exception_type;
exception_keeper_value_23 = exception_value;
exception_keeper_tb_23 = exception_tb;
exception_keeper_lineno_23 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_23;
exception_value = exception_keeper_value_23;
exception_tb = exception_keeper_tb_23;
exception_lineno = exception_keeper_lineno_23;
goto outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 487;
goto try_except_handler_22;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_tornado$locks, (Nuitka_StringObject *)mod_consts[181], tmp_assign_source_71);
}
goto try_end_10;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_24 = exception_type;
exception_keeper_value_24 = exception_value;
exception_keeper_tb_24 = exception_tb;
exception_keeper_lineno_24 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
Py_XDECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
Py_XDECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_9702398104cb1407b67f7c2600628856);
#endif
popFrameStack();
goto frame_no_exception_8;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9702398104cb1407b67f7c2600628856);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9702398104cb1407b67f7c2600628856, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9702398104cb1407b67f7c2600628856->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9702398104cb1407b67f7c2600628856, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_8:;
CHECK_OBJECT(tmp_class_creation_7__bases);
Py_DECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
Py_DECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
Py_DECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_7__prepared);
Py_DECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.locks", false);
Py_INCREF(module_tornado$locks);
return module_tornado$locks;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locks, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$locks", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}