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.locale'
* 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$locale" 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$locale;
PyDictObject *moduledict_tornado$locale;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[300];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[300];
#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.locale"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 300; 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$locale(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 300; 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_7709623d6232e6851575ef83eb7d46b0;
static PyCodeObject *codeobj_b59b2b38698687d7336c250ee0d99fdd;
static PyCodeObject *codeobj_3825881aa4ee264ee9468b6a6c445ced;
static PyCodeObject *codeobj_31afb687956a20c6feb6bfbb1c46a365;
static PyCodeObject *codeobj_768f15e871139ef879f601f123e0a925;
static PyCodeObject *codeobj_6d9e74e25a2c66390d8910a48a578785;
static PyCodeObject *codeobj_4be9b85766caeb253017d982788efab3;
static PyCodeObject *codeobj_170fbfd893343d0a965c23a7d35596e4;
static PyCodeObject *codeobj_0581ba1b1ed6c77b6fa7a635f02267b6;
static PyCodeObject *codeobj_0dd60a3e8716aa87ddb253bd24847a05;
static PyCodeObject *codeobj_442452f8b6255d3938cbec98256cebd9;
static PyCodeObject *codeobj_2f0dce0c55f6209cb6fee268d41173ad;
static PyCodeObject *codeobj_b7e8497857379ab0056f63683cb15af3;
static PyCodeObject *codeobj_254a886e81b9dbced64a621363103e38;
static PyCodeObject *codeobj_bbbd3a8506577607c978a561699a0c9c;
static PyCodeObject *codeobj_6d4de3bce40fd856f10af56850e15a02;
static PyCodeObject *codeobj_105dfb44627e23e31254c5215ae9ff93;
static PyCodeObject *codeobj_337a622de80a28eef68d88899f7c72b0;
static PyCodeObject *codeobj_faba87b8e165a6ab5f4f847791d2a96e;
static PyCodeObject *codeobj_118c4f53eab4f99b5a76565d688d8773;
static PyCodeObject *codeobj_047998f789b5db2ba2dd3f5559edea87;
static PyCodeObject *codeobj_811788c5fab62c0a3b38604c212b7a7a;
static PyCodeObject *codeobj_5cc0e5aab2ea36fa2f244bbb72748031;
static PyCodeObject *codeobj_c9dd05bc32edf79d77d81634a685407f;
static PyCodeObject *codeobj_838a299ee25ed1d910a69f3cf9aaf571;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[198]; CHECK_OBJECT(module_filename_obj);
codeobj_7709623d6232e6851575ef83eb7d46b0 = MAKE_CODE_OBJECT(module_filename_obj, 158, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[280], mod_consts[280], mod_consts[281], NULL, 1, 0, 0);
codeobj_b59b2b38698687d7336c250ee0d99fdd = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[282], mod_consts[282], NULL, NULL, 0, 0, 0);
codeobj_3825881aa4ee264ee9468b6a6c445ced = MAKE_CODE_OBJECT(module_filename_obj, 479, CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[283], NULL, 0, 0, 0);
codeobj_31afb687956a20c6feb6bfbb1c46a365 = MAKE_CODE_OBJECT(module_filename_obj, 515, CO_NOFREE, mod_consts[79], mod_consts[79], mod_consts[283], NULL, 0, 0, 0);
codeobj_768f15e871139ef879f601f123e0a925 = MAKE_CODE_OBJECT(module_filename_obj, 224, CO_NOFREE, mod_consts[0], mod_consts[0], mod_consts[283], NULL, 0, 0, 0);
codeobj_6d9e74e25a2c66390d8910a48a578785 = MAKE_CODE_OBJECT(module_filename_obj, 269, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[187], mod_consts[187], mod_consts[284], NULL, 2, 0, 0);
codeobj_4be9b85766caeb253017d982788efab3 = MAKE_CODE_OBJECT(module_filename_obj, 482, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[187], mod_consts[187], mod_consts[285], mod_consts[283], 3, 0, 0);
codeobj_170fbfd893343d0a965c23a7d35596e4 = MAKE_CODE_OBJECT(module_filename_obj, 518, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[187], mod_consts[187], mod_consts[285], mod_consts[283], 3, 0, 0);
codeobj_0581ba1b1ed6c77b6fa7a635f02267b6 = MAKE_CODE_OBJECT(module_filename_obj, 328, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[259], mod_consts[259], mod_consts[286], NULL, 6, 0, 0);
codeobj_0dd60a3e8716aa87ddb253bd24847a05 = MAKE_CODE_OBJECT(module_filename_obj, 428, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[263], mod_consts[263], mod_consts[287], NULL, 4, 0, 0);
codeobj_442452f8b6255d3938cbec98256cebd9 = MAKE_CODE_OBJECT(module_filename_obj, 467, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[268], mod_consts[268], mod_consts[288], NULL, 2, 0, 0);
codeobj_2f0dce0c55f6209cb6fee268d41173ad = MAKE_CODE_OBJECT(module_filename_obj, 252, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[75], mod_consts[75], mod_consts[289], NULL, 2, 0, 0);
codeobj_b7e8497857379ab0056f63683cb15af3 = MAKE_CODE_OBJECT(module_filename_obj, 62, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[75], mod_consts[75], mod_consts[290], NULL, 0, 0, 0);
codeobj_254a886e81b9dbced64a621363103e38 = MAKE_CODE_OBJECT(module_filename_obj, 234, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[1], mod_consts[1], mod_consts[291], NULL, 1, 0, 0);
codeobj_bbbd3a8506577607c978a561699a0c9c = MAKE_CODE_OBJECT(module_filename_obj, 219, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[225], mod_consts[225], NULL, NULL, 0, 0, 0);
codeobj_6d4de3bce40fd856f10af56850e15a02 = MAKE_CODE_OBJECT(module_filename_obj, 450, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[265], mod_consts[265], mod_consts[292], NULL, 2, 0, 0);
codeobj_105dfb44627e23e31254c5215ae9ff93 = MAKE_CODE_OBJECT(module_filename_obj, 177, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[224], mod_consts[224], mod_consts[293], NULL, 2, 0, 0);
codeobj_337a622de80a28eef68d88899f7c72b0 = MAKE_CODE_OBJECT(module_filename_obj, 90, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[222], mod_consts[222], mod_consts[294], NULL, 2, 0, 0);
codeobj_faba87b8e165a6ab5f4f847791d2a96e = MAKE_CODE_OBJECT(module_filename_obj, 319, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[295], NULL, 5, 0, 0);
codeobj_118c4f53eab4f99b5a76565d688d8773 = MAKE_CODE_OBJECT(module_filename_obj, 503, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[295], NULL, 5, 0, 0);
codeobj_047998f789b5db2ba2dd3f5559edea87 = MAKE_CODE_OBJECT(module_filename_obj, 537, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[296], NULL, 5, 0, 0);
codeobj_811788c5fab62c0a3b38604c212b7a7a = MAKE_CODE_OBJECT(module_filename_obj, 76, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[219], mod_consts[219], mod_consts[297], NULL, 1, 0, 0);
codeobj_5cc0e5aab2ea36fa2f244bbb72748031 = MAKE_CODE_OBJECT(module_filename_obj, 304, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[88], mod_consts[88], mod_consts[298], NULL, 4, 0, 0);
codeobj_c9dd05bc32edf79d77d81634a685407f = MAKE_CODE_OBJECT(module_filename_obj, 525, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[88], mod_consts[88], mod_consts[298], NULL, 4, 0, 0);
codeobj_838a299ee25ed1d910a69f3cf9aaf571 = MAKE_CODE_OBJECT(module_filename_obj, 486, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[88], mod_consts[88], mod_consts[299], NULL, 4, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__2_complex_call_helper_star_list(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__10_pgettext(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__11_format_date(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__12_format_day(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__13_list(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__14_friendly_number(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__15___init__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__16_translate(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__17_pgettext(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__18___init__(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__19_translate(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__1_get(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__20_pgettext(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__2_set_default_locale(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__3_load_translations(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__4_load_gettext_translations(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__5_get_supported_locales(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__6_get_closest(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__7_get(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__8___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__9_translate(PyObject *defaults, PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$locale$$$function__1_get(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_locale_codes = python_pars[0];
struct Nuitka_FrameObject *frame_b7e8497857379ab0056f63683cb15af3;
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_b7e8497857379ab0056f63683cb15af3 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b7e8497857379ab0056f63683cb15af3)) {
Py_XDECREF(cache_frame_b7e8497857379ab0056f63683cb15af3);
#if _DEBUG_REFCOUNTS
if (cache_frame_b7e8497857379ab0056f63683cb15af3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b7e8497857379ab0056f63683cb15af3 = MAKE_FUNCTION_FRAME(codeobj_b7e8497857379ab0056f63683cb15af3, module_tornado$locale, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b7e8497857379ab0056f63683cb15af3->m_type_description == NULL);
frame_b7e8497857379ab0056f63683cb15af3 = cache_frame_b7e8497857379ab0056f63683cb15af3;
// Push the new frame as the currently active one.
pushFrameStack(frame_b7e8497857379ab0056f63683cb15af3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b7e8497857379ab0056f63683cb15af3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_dircall_arg2_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_locale_codes);
tmp_dircall_arg2_1 = par_locale_codes;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_return_value = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7e8497857379ab0056f63683cb15af3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7e8497857379ab0056f63683cb15af3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b7e8497857379ab0056f63683cb15af3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b7e8497857379ab0056f63683cb15af3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b7e8497857379ab0056f63683cb15af3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b7e8497857379ab0056f63683cb15af3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b7e8497857379ab0056f63683cb15af3,
type_description_1,
par_locale_codes
);
// Release cached frame if used for exception.
if (frame_b7e8497857379ab0056f63683cb15af3 == cache_frame_b7e8497857379ab0056f63683cb15af3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b7e8497857379ab0056f63683cb15af3);
cache_frame_b7e8497857379ab0056f63683cb15af3 = NULL;
}
assertFrameObject(frame_b7e8497857379ab0056f63683cb15af3);
// 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_locale_codes);
Py_DECREF(par_locale_codes);
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_locale_codes);
Py_DECREF(par_locale_codes);
// 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$locale$$$function__2_set_default_locale(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_code = python_pars[0];
struct Nuitka_FrameObject *frame_811788c5fab62c0a3b38604c212b7a7a;
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_811788c5fab62c0a3b38604c212b7a7a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
{
PyObject *tmp_assign_source_1;
CHECK_OBJECT(par_code);
tmp_assign_source_1 = par_code;
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_1);
}
if (isFrameUnusable(cache_frame_811788c5fab62c0a3b38604c212b7a7a)) {
Py_XDECREF(cache_frame_811788c5fab62c0a3b38604c212b7a7a);
#if _DEBUG_REFCOUNTS
if (cache_frame_811788c5fab62c0a3b38604c212b7a7a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_811788c5fab62c0a3b38604c212b7a7a = MAKE_FUNCTION_FRAME(codeobj_811788c5fab62c0a3b38604c212b7a7a, module_tornado$locale, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_811788c5fab62c0a3b38604c212b7a7a->m_type_description == NULL);
frame_811788c5fab62c0a3b38604c212b7a7a = cache_frame_811788c5fab62c0a3b38604c212b7a7a;
// Push the new frame as the currently active one.
pushFrameStack(frame_811788c5fab62c0a3b38604c212b7a7a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_811788c5fab62c0a3b38604c212b7a7a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_frozenset_arg_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_list_element_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_811788c5fab62c0a3b38604c212b7a7a->m_frame.f_lineno = 87;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_list_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_list_element_1 == NULL)) {
tmp_list_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_add_expr_right_1, 0, tmp_list_element_1);
tmp_frozenset_arg_1 = BINARY_OPERATION_ADD_OBJECT_LIST_LIST(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
assert(!(tmp_frozenset_arg_1 == NULL));
tmp_assign_source_2 = PyFrozenSet_New(tmp_frozenset_arg_1);
Py_DECREF(tmp_frozenset_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "o";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_811788c5fab62c0a3b38604c212b7a7a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_811788c5fab62c0a3b38604c212b7a7a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_811788c5fab62c0a3b38604c212b7a7a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_811788c5fab62c0a3b38604c212b7a7a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_811788c5fab62c0a3b38604c212b7a7a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_811788c5fab62c0a3b38604c212b7a7a,
type_description_1,
par_code
);
// Release cached frame if used for exception.
if (frame_811788c5fab62c0a3b38604c212b7a7a == cache_frame_811788c5fab62c0a3b38604c212b7a7a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_811788c5fab62c0a3b38604c212b7a7a);
cache_frame_811788c5fab62c0a3b38604c212b7a7a = NULL;
}
assertFrameObject(frame_811788c5fab62c0a3b38604c212b7a7a);
// 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_code);
Py_DECREF(par_code);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locale$$$function__3_load_translations(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_directory = python_pars[0];
PyObject *par_encoding = python_pars[1];
PyObject *var_path = NULL;
PyObject *var_locale = NULL;
PyObject *var_extension = NULL;
PyObject *var_full_path = NULL;
PyObject *var_bf = NULL;
PyObject *var_data = NULL;
PyObject *var_f = NULL;
PyObject *var_i = NULL;
PyObject *var_row = NULL;
PyObject *var_english = NULL;
PyObject *var_translation = NULL;
PyObject *var_plural = NULL;
PyObject *outline_0_var_c = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__iter_value = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
PyObject *tmp_with_2__enter = NULL;
PyObject *tmp_with_2__exit = NULL;
nuitka_bool tmp_with_2__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_2__source = NULL;
struct Nuitka_FrameObject *frame_337a622de80a28eef68d88899f7c72b0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
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 *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
struct Nuitka_FrameObject *frame_7709623d6232e6851575ef83eb7d46b0_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
static struct Nuitka_FrameObject *cache_frame_7709623d6232e6851575ef83eb7d46b0_2 = 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 *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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
static struct Nuitka_FrameObject *cache_frame_337a622de80a28eef68d88899f7c72b0 = NULL;
PyObject *tmp_return_value = 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;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_1);
}
// Tried code:
if (isFrameUnusable(cache_frame_337a622de80a28eef68d88899f7c72b0)) {
Py_XDECREF(cache_frame_337a622de80a28eef68d88899f7c72b0);
#if _DEBUG_REFCOUNTS
if (cache_frame_337a622de80a28eef68d88899f7c72b0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_337a622de80a28eef68d88899f7c72b0 = MAKE_FUNCTION_FRAME(codeobj_337a622de80a28eef68d88899f7c72b0, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_337a622de80a28eef68d88899f7c72b0->m_type_description == NULL);
frame_337a622de80a28eef68d88899f7c72b0 = cache_frame_337a622de80a28eef68d88899f7c72b0;
// Push the new frame as the currently active one.
pushFrameStack(frame_337a622de80a28eef68d88899f7c72b0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_337a622de80a28eef68d88899f7c72b0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(par_directory);
tmp_args_element_value_1 = par_directory;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 128;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[9], tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
exception_lineno = 128;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_path;
var_path = tmp_assign_source_4;
Py_INCREF(var_path);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_path);
tmp_expression_value_1 = var_path;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[10]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 129;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[11]);
Py_DECREF(tmp_called_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_start_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_path);
tmp_expression_value_2 = var_path;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[12]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 131;
tmp_iter_arg_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[13]);
Py_DECREF(tmp_called_value_2);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
tmp_assign_source_5 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_6 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 131;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 131;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
exception_lineno = 131;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooo";
exception_lineno = 131;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_locale;
var_locale = tmp_assign_source_8;
Py_INCREF(var_locale);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_9 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_extension;
var_extension = tmp_assign_source_9;
Py_INCREF(var_extension);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = mod_consts[17];
CHECK_OBJECT(var_locale);
tmp_args_element_value_3 = var_locale;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 132;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_operand_value_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[16],
call_args
);
}
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooooooooooooo";
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 = 132;
type_description_1 = "oooooooooooooo";
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_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[19]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_4 = mod_consts[20];
CHECK_OBJECT(var_locale);
tmp_args_element_value_5 = var_locale;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 136;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[21]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 136;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[22]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 136;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
if (par_directory == NULL) {
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 136;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_7 = par_directory;
CHECK_OBJECT(var_path);
tmp_args_element_value_8 = var_path;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 136;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_args_element_value_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 136;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 133;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
goto loop_start_1;
branch_no_2:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[21]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[22]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
if (par_directory == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 139;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_9 = par_directory;
CHECK_OBJECT(var_path);
tmp_args_element_value_10 = var_path;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 139;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_full_path;
var_full_path = tmp_assign_source_10;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
if (par_encoding == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[24]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 140;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_1 = par_encoding;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_full_path);
tmp_open_filename_1 = var_full_path;
tmp_open_mode_1 = mod_consts[25];
tmp_assign_source_11 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_with_1__source;
tmp_with_1__source = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_8 = tmp_with_1__source;
tmp_called_value_6 = LOOKUP_SPECIAL(tmp_expression_value_8, mod_consts[26]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 142;
tmp_assign_source_12 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_with_1__enter;
tmp_with_1__enter = tmp_assign_source_12;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_9 = tmp_with_1__source;
tmp_assign_source_13 = LOOKUP_SPECIAL(tmp_expression_value_9, mod_consts[27]);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_with_1__exit;
tmp_with_1__exit = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_assign_source_14;
tmp_assign_source_14 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_14;
}
{
PyObject *tmp_assign_source_15;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_15 = tmp_with_1__enter;
{
PyObject *old = var_bf;
var_bf = tmp_assign_source_15;
Py_INCREF(var_bf);
Py_XDECREF(old);
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var_bf);
tmp_expression_value_10 = var_bf;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[28]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[30]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
tmp_args_element_value_11 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 143;
tmp_assign_source_16 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_11);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_11);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
{
PyObject *old = var_data;
var_data = tmp_assign_source_16;
Py_XDECREF(old);
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_337a622de80a28eef68d88899f7c72b0, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_337a622de80a28eef68d88899f7c72b0, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
nuitka_bool tmp_assign_source_17;
tmp_assign_source_17 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_17;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_args_element_value_14;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_8 = tmp_with_1__exit;
tmp_args_element_value_12 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_13 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_14 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 143;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13, tmp_args_element_value_14};
tmp_operand_value_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_8, call_args);
}
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 143;
}
if (exception_tb && exception_tb->tb_frame == &frame_337a622de80a28eef68d88899f7c72b0->m_frame) frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
branch_no_5:;
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 142;
}
if (exception_tb && exception_tb->tb_frame == &frame_337a622de80a28eef68d88899f7c72b0->m_frame) frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
branch_end_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// 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_6;
// End of try:
try_end_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
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;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_9;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_9 = tmp_with_1__exit;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 143;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_9, mod_consts[31]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_5);
Py_XDECREF(exception_keeper_value_5);
Py_XDECREF(exception_keeper_tb_5);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_6:;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_5;
// End of try:
try_end_5:;
{
bool tmp_condition_result_7;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_7 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_value_10;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_10 = tmp_with_1__exit;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 143;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_10, mod_consts[31]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_7:;
goto try_end_6;
// Exception handler code:
try_except_handler_5:;
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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_2;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
{
bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_12;
if (var_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_5 = var_data;
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[30]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_13;
PyTuple_SET_ITEM(tmp_cmp_expr_right_5, 0, tmp_tuple_element_1);
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[33]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_5, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_5);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
Py_DECREF(tmp_cmp_expr_right_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_8 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_18;
tmp_assign_source_18 = mod_consts[34];
{
PyObject *old = par_encoding;
par_encoding = tmp_assign_source_18;
Py_INCREF(par_encoding);
Py_XDECREF(old);
}
}
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = mod_consts[35];
{
PyObject *old = par_encoding;
par_encoding = tmp_assign_source_19;
Py_INCREF(par_encoding);
Py_XDECREF(old);
}
}
branch_end_8:;
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_open_filename_2;
PyObject *tmp_open_encoding_1;
CHECK_OBJECT(var_full_path);
tmp_open_filename_2 = var_full_path;
if (par_encoding == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[24]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 153;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
tmp_open_encoding_1 = par_encoding;
tmp_assign_source_20 = BUILTIN_OPEN(tmp_open_filename_2, NULL, NULL, tmp_open_encoding_1, NULL, NULL, NULL, NULL);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
{
PyObject *old = tmp_with_2__source;
tmp_with_2__source = tmp_assign_source_20;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(tmp_with_2__source);
tmp_expression_value_14 = tmp_with_2__source;
tmp_called_value_11 = LOOKUP_SPECIAL(tmp_expression_value_14, mod_consts[26]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 153;
tmp_assign_source_21 = CALL_FUNCTION_NO_ARGS(tmp_called_value_11);
Py_DECREF(tmp_called_value_11);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
{
PyObject *old = tmp_with_2__enter;
tmp_with_2__enter = tmp_assign_source_21;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(tmp_with_2__source);
tmp_expression_value_15 = tmp_with_2__source;
tmp_assign_source_22 = LOOKUP_SPECIAL(tmp_expression_value_15, mod_consts[27]);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
{
PyObject *old = tmp_with_2__exit;
tmp_with_2__exit = tmp_assign_source_22;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_assign_source_23;
tmp_assign_source_23 = NUITKA_BOOL_TRUE;
tmp_with_2__indicator = tmp_assign_source_23;
}
{
PyObject *tmp_assign_source_24;
CHECK_OBJECT(tmp_with_2__enter);
tmp_assign_source_24 = tmp_with_2__enter;
{
PyObject *old = var_f;
var_f = tmp_assign_source_24;
Py_INCREF(var_f);
Py_XDECREF(old);
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_ass_subvalue_1 = MAKE_DICT_EMPTY();
tmp_ass_subscribed_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_ass_subscribed_1 == NULL)) {
tmp_ass_subscribed_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 154;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_locale);
tmp_ass_subscript_1 = var_locale;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_iter_arg_3;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_15;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_16;
tmp_called_value_12 = (PyObject *)&PyEnum_Type;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_f);
tmp_args_element_value_16 = var_f;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 155;
tmp_args_element_value_15 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[37], tmp_args_element_value_16);
if (tmp_args_element_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 155;
tmp_iter_arg_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_15);
Py_DECREF(tmp_args_element_value_15);
if (tmp_iter_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_assign_source_25 = MAKE_ITERATOR(tmp_iter_arg_3);
Py_DECREF(tmp_iter_arg_3);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
{
PyObject *old = tmp_for_loop_2__for_iterator;
tmp_for_loop_2__for_iterator = tmp_assign_source_25;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_26;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_26 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_26 == 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 = "oooooooooooooo";
exception_lineno = 155;
goto try_except_handler_12;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_26;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_27;
PyObject *tmp_iter_arg_4;
CHECK_OBJECT(tmp_for_loop_2__iter_value);
tmp_iter_arg_4 = tmp_for_loop_2__iter_value;
tmp_assign_source_27 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_4);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_13;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_27;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_28;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_28 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_28 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 155;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_28;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_29 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_29 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 155;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_29;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
exception_lineno = 155;
goto try_except_handler_14;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooo";
exception_lineno = 155;
goto try_except_handler_14;
}
}
goto try_end_7;
// Exception handler code:
try_except_handler_14:;
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;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = 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_13;
// End of try:
try_end_7:;
goto try_end_8;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_12;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_30;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_30 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_i;
var_i = tmp_assign_source_30;
Py_INCREF(var_i);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_31;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_31 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_row;
var_row = tmp_assign_source_31;
Py_INCREF(var_row);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
bool tmp_condition_result_9;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_operand_value_4;
PyObject *tmp_cmp_expr_left_6;
nuitka_digit tmp_cmp_expr_right_6;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_row);
tmp_operand_value_4 = var_row;
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 = 156;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_or_left_value_1 = (tmp_res == 0) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(var_row);
tmp_len_arg_2 = var_row;
tmp_cmp_expr_left_6 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_cmp_expr_right_6 = 2;
tmp_or_right_value_1 = RICH_COMPARE_LT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_left_6);
tmp_condition_result_9 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_9 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
goto loop_start_2;
branch_no_9:;
{
PyObject *tmp_assign_source_32;
// Tried code:
{
PyObject *tmp_assign_source_33;
PyObject *tmp_iter_arg_5;
if (var_row == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[38]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 158;
type_description_1 = "oooooooooooooo";
goto try_except_handler_15;
}
tmp_iter_arg_5 = var_row;
tmp_assign_source_33 = MAKE_ITERATOR(tmp_iter_arg_5);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "oooooooooooooo";
goto try_except_handler_15;
}
{
PyObject *old = tmp_listcomp_1__$0;
tmp_listcomp_1__$0 = tmp_assign_source_33;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_LIST_EMPTY(0);
{
PyObject *old = tmp_listcomp_1__contraction;
tmp_listcomp_1__contraction = tmp_assign_source_34;
Py_XDECREF(old);
}
}
if (isFrameUnusable(cache_frame_7709623d6232e6851575ef83eb7d46b0_2)) {
Py_XDECREF(cache_frame_7709623d6232e6851575ef83eb7d46b0_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_7709623d6232e6851575ef83eb7d46b0_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7709623d6232e6851575ef83eb7d46b0_2 = MAKE_FUNCTION_FRAME(codeobj_7709623d6232e6851575ef83eb7d46b0, module_tornado$locale, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7709623d6232e6851575ef83eb7d46b0_2->m_type_description == NULL);
frame_7709623d6232e6851575ef83eb7d46b0_2 = cache_frame_7709623d6232e6851575ef83eb7d46b0_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_7709623d6232e6851575ef83eb7d46b0_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7709623d6232e6851575ef83eb7d46b0_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_3:;
{
PyObject *tmp_next_source_3;
PyObject *tmp_assign_source_35;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_3 = tmp_listcomp_1__$0;
tmp_assign_source_35 = ITERATOR_NEXT(tmp_next_source_3);
if (tmp_assign_source_35 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_3;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "o";
exception_lineno = 158;
goto try_except_handler_16;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_35;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_36;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_36 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_c;
outline_0_var_c = tmp_assign_source_36;
Py_INCREF(outline_0_var_c);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_16;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_17;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[39]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[39]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
CHECK_OBJECT(outline_0_var_c);
tmp_args_element_value_17 = outline_0_var_c;
frame_7709623d6232e6851575ef83eb7d46b0_2->m_frame.f_lineno = 158;
tmp_expression_value_16 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[40], tmp_args_element_value_17);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[41]);
Py_DECREF(tmp_expression_value_16);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
frame_7709623d6232e6851575ef83eb7d46b0_2->m_frame.f_lineno = 158;
tmp_append_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_13);
Py_DECREF(tmp_called_value_13);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_2 = "o";
goto try_except_handler_16;
}
goto loop_start_3;
loop_end_3:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assign_source_32 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_assign_source_32);
goto try_return_handler_16;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_16:;
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;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_7709623d6232e6851575ef83eb7d46b0_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7709623d6232e6851575ef83eb7d46b0_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_15;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7709623d6232e6851575ef83eb7d46b0_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7709623d6232e6851575ef83eb7d46b0_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7709623d6232e6851575ef83eb7d46b0_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7709623d6232e6851575ef83eb7d46b0_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7709623d6232e6851575ef83eb7d46b0_2,
type_description_2,
outline_0_var_c
);
// Release cached frame if used for exception.
if (frame_7709623d6232e6851575ef83eb7d46b0_2 == cache_frame_7709623d6232e6851575ef83eb7d46b0_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7709623d6232e6851575ef83eb7d46b0_2);
cache_frame_7709623d6232e6851575ef83eb7d46b0_2 = NULL;
}
assertFrameObject(frame_7709623d6232e6851575ef83eb7d46b0_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
type_description_1 = "oooooooooooooo";
goto try_except_handler_15;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_XDECREF(outline_0_var_c);
outline_0_var_c = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(outline_0_var_c);
outline_0_var_c = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 158;
goto try_except_handler_12;
outline_result_1:;
{
PyObject *old = var_row;
var_row = tmp_assign_source_32;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_iter_arg_6;
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_row);
tmp_expression_value_17 = var_row;
tmp_subscript_value_1 = mod_consts[42];
tmp_iter_arg_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_17, tmp_subscript_value_1);
if (tmp_iter_arg_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oooooooooooooo";
goto try_except_handler_17;
}
tmp_assign_source_37 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_6);
Py_DECREF(tmp_iter_arg_6);
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oooooooooooooo";
goto try_except_handler_17;
}
{
PyObject *old = tmp_tuple_unpack_3__source_iter;
tmp_tuple_unpack_3__source_iter = tmp_assign_source_37;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_38;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_38 = UNPACK_NEXT(tmp_unpack_5, 0, 2);
if (tmp_assign_source_38 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 159;
goto try_except_handler_18;
}
{
PyObject *old = tmp_tuple_unpack_3__element_1;
tmp_tuple_unpack_3__element_1 = tmp_assign_source_38;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_39 = UNPACK_NEXT(tmp_unpack_6, 1, 2);
if (tmp_assign_source_39 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 159;
goto try_except_handler_18;
}
{
PyObject *old = tmp_tuple_unpack_3__element_2;
tmp_tuple_unpack_3__element_2 = tmp_assign_source_39;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_3;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
exception_lineno = 159;
goto try_except_handler_18;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooo";
exception_lineno = 159;
goto try_except_handler_18;
}
}
goto try_end_9;
// Exception handler code:
try_except_handler_18:;
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;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_17;
// End of try:
try_end_9:;
goto try_end_10;
// Exception handler code:
try_except_handler_17:;
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_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_12;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
{
PyObject *tmp_assign_source_40;
CHECK_OBJECT(tmp_tuple_unpack_3__element_1);
tmp_assign_source_40 = tmp_tuple_unpack_3__element_1;
{
PyObject *old = var_english;
var_english = tmp_assign_source_40;
Py_INCREF(var_english);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
{
PyObject *tmp_assign_source_41;
CHECK_OBJECT(tmp_tuple_unpack_3__element_2);
tmp_assign_source_41 = tmp_tuple_unpack_3__element_2;
{
PyObject *old = var_translation;
var_translation = tmp_assign_source_41;
Py_INCREF(var_translation);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_7;
nuitka_digit tmp_cmp_expr_right_7;
PyObject *tmp_len_arg_3;
CHECK_OBJECT(var_row);
tmp_len_arg_3 = var_row;
tmp_cmp_expr_left_7 = BUILTIN_LEN(tmp_len_arg_3);
if (tmp_cmp_expr_left_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 160;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_cmp_expr_right_7 = 2;
tmp_condition_result_10 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_left_7);
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_42;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_expression_value_18;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_row);
tmp_expression_value_18 = var_row;
tmp_subscript_value_2 = mod_consts[43];
tmp_or_left_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_18, tmp_subscript_value_2, 2);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 161;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
tmp_or_right_value_2 = mod_consts[44];
Py_INCREF(tmp_or_right_value_2);
tmp_assign_source_42 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_assign_source_42 = tmp_or_left_value_2;
or_end_2:;
{
PyObject *old = var_plural;
var_plural = tmp_assign_source_42;
Py_XDECREF(old);
}
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_43;
tmp_assign_source_43 = mod_consts[44];
{
PyObject *old = var_plural;
var_plural = tmp_assign_source_43;
Py_INCREF(var_plural);
Py_XDECREF(old);
}
}
branch_end_10:;
{
bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(var_plural);
tmp_cmp_expr_left_8 = var_plural;
tmp_cmp_expr_right_8 = mod_consts[45];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_8, tmp_cmp_expr_left_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_19;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_18;
PyObject *tmp_args_element_value_19;
PyObject *tmp_args_element_value_20;
PyObject *tmp_args_element_value_21;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[19]);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_args_element_value_18 = mod_consts[46];
CHECK_OBJECT(var_plural);
tmp_args_element_value_19 = var_plural;
if (var_path == NULL) {
Py_DECREF(tmp_called_value_14);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 168;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_args_element_value_20 = var_path;
CHECK_OBJECT(var_i);
tmp_add_expr_left_1 = var_i;
tmp_add_expr_right_1 = mod_consts[47];
tmp_args_element_value_21 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_args_element_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_14);
exception_lineno = 169;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 165;
{
PyObject *call_args[] = {tmp_args_element_value_18, tmp_args_element_value_19, tmp_args_element_value_20, tmp_args_element_value_21};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_14, call_args);
}
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_element_value_21);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
Py_DECREF(tmp_call_result_4);
}
goto loop_start_2;
branch_no_11:;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_called_value_15;
PyObject *tmp_expression_value_20;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_3;
PyObject *tmp_args_element_value_22;
PyObject *tmp_args_element_value_23;
PyObject *tmp_ass_subscript_2;
CHECK_OBJECT(var_translation);
tmp_ass_subvalue_2 = var_translation;
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
CHECK_OBJECT(var_locale);
tmp_subscript_value_3 = var_locale;
tmp_expression_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_3);
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
tmp_called_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[48]);
Py_DECREF(tmp_expression_value_20);
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
CHECK_OBJECT(var_plural);
tmp_args_element_value_22 = var_plural;
tmp_args_element_value_23 = MAKE_DICT_EMPTY();
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 172;
{
PyObject *call_args[] = {tmp_args_element_value_22, tmp_args_element_value_23};
tmp_ass_subscribed_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_15, call_args);
}
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_element_value_23);
if (tmp_ass_subscribed_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
CHECK_OBJECT(var_english);
tmp_ass_subscript_2 = var_english;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
Py_DECREF(tmp_ass_subscribed_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
goto loop_start_2;
loop_end_2:;
goto try_end_11;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = 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_11;
// End of try:
try_end_11:;
Py_XDECREF(tmp_for_loop_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = NULL;
goto try_end_12;
// Exception handler code:
try_except_handler_11:;
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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_14 == NULL) {
exception_keeper_tb_14 = MAKE_TRACEBACK(frame_337a622de80a28eef68d88899f7c72b0, exception_keeper_lineno_14);
} else if (exception_keeper_lineno_14 != 0) {
exception_keeper_tb_14 = ADD_TRACEBACK(exception_keeper_tb_14, frame_337a622de80a28eef68d88899f7c72b0, exception_keeper_lineno_14);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_14, &exception_keeper_value_14, &exception_keeper_tb_14);
// Tried code:
{
bool tmp_condition_result_12;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
tmp_cmp_expr_left_9 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_9 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
assert(!(tmp_res == -1));
tmp_condition_result_12 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
nuitka_bool tmp_assign_source_44;
tmp_assign_source_44 = NUITKA_BOOL_FALSE;
tmp_with_2__indicator = tmp_assign_source_44;
}
{
bool tmp_condition_result_13;
PyObject *tmp_operand_value_5;
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_24;
PyObject *tmp_args_element_value_25;
PyObject *tmp_args_element_value_26;
CHECK_OBJECT(tmp_with_2__exit);
tmp_called_value_16 = tmp_with_2__exit;
tmp_args_element_value_24 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_25 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_26 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 155;
{
PyObject *call_args[] = {tmp_args_element_value_24, tmp_args_element_value_25, tmp_args_element_value_26};
tmp_operand_value_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_16, call_args);
}
if (tmp_operand_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_19;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
Py_DECREF(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_19;
}
tmp_condition_result_13 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 155;
}
if (exception_tb && exception_tb->tb_frame == &frame_337a622de80a28eef68d88899f7c72b0->m_frame) frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_19;
branch_no_13:;
goto branch_end_12;
branch_no_12:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 153;
}
if (exception_tb && exception_tb->tb_frame == &frame_337a622de80a28eef68d88899f7c72b0->m_frame) frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_19;
branch_end_12:;
goto try_end_13;
// Exception handler code:
try_except_handler_19:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto try_except_handler_10;
// End of try:
try_end_13:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_12;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_12:;
goto try_end_14;
// Exception handler code:
try_except_handler_10:;
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;
{
bool tmp_condition_result_14;
nuitka_bool tmp_cmp_expr_left_10;
nuitka_bool tmp_cmp_expr_right_10;
assert(tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_10 = tmp_with_2__indicator;
tmp_cmp_expr_right_10 = NUITKA_BOOL_TRUE;
tmp_condition_result_14 = (tmp_cmp_expr_left_10 == tmp_cmp_expr_right_10) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_called_value_17;
PyObject *tmp_call_result_5;
CHECK_OBJECT(tmp_with_2__exit);
tmp_called_value_17 = tmp_with_2__exit;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 155;
tmp_call_result_5 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_17, mod_consts[31]);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_16);
Py_XDECREF(exception_keeper_value_16);
Py_XDECREF(exception_keeper_tb_16);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_14:;
// 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_9;
// End of try:
try_end_14:;
{
bool tmp_condition_result_15;
nuitka_bool tmp_cmp_expr_left_11;
nuitka_bool tmp_cmp_expr_right_11;
assert(tmp_with_2__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_11 = tmp_with_2__indicator;
tmp_cmp_expr_right_11 = NUITKA_BOOL_TRUE;
tmp_condition_result_15 = (tmp_cmp_expr_left_11 == tmp_cmp_expr_right_11) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_called_value_18;
PyObject *tmp_call_result_6;
CHECK_OBJECT(tmp_with_2__exit);
tmp_called_value_18 = tmp_with_2__exit;
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 155;
tmp_call_result_6 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_18, mod_consts[31]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_15:;
goto try_end_15;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_2__source);
tmp_with_2__source = NULL;
Py_XDECREF(tmp_with_2__enter);
tmp_with_2__enter = NULL;
Py_XDECREF(tmp_with_2__exit);
tmp_with_2__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto try_except_handler_2;
// End of try:
try_end_15:;
CHECK_OBJECT(tmp_with_2__source);
Py_DECREF(tmp_with_2__source);
tmp_with_2__source = NULL;
CHECK_OBJECT(tmp_with_2__enter);
Py_DECREF(tmp_with_2__enter);
tmp_with_2__enter = NULL;
Py_XDECREF(tmp_with_2__exit);
tmp_with_2__exit = NULL;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_16;
// Exception handler code:
try_except_handler_2:;
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_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_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_16:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_assign_source_45;
PyObject *tmp_frozenset_arg_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_22;
PyObject *tmp_list_element_1;
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[5]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 173;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_19);
Py_DECREF(tmp_called_value_19);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_2 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_list_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_list_element_1 == NULL)) {
tmp_list_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_2);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_2 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_add_expr_right_2, 0, tmp_list_element_1);
tmp_frozenset_arg_1 = BINARY_OPERATION_ADD_OBJECT_LIST_LIST(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
Py_DECREF(tmp_add_expr_right_2);
assert(!(tmp_frozenset_arg_1 == NULL));
tmp_assign_source_45 = PyFrozenSet_New(tmp_frozenset_arg_1);
Py_DECREF(tmp_frozenset_arg_1);
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_45);
}
{
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_23;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_27;
PyObject *tmp_args_element_value_28;
PyObject *tmp_called_value_21;
PyObject *tmp_args_element_value_29;
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[49]);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_27 = mod_consts[50];
tmp_called_value_21 = LOOKUP_BUILTIN(mod_consts[51]);
assert(tmp_called_value_21 != NULL);
tmp_args_element_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_args_element_value_29 == NULL)) {
tmp_args_element_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_args_element_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_20);
exception_lineno = 174;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 174;
tmp_args_element_value_28 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_29);
if (tmp_args_element_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_20);
exception_lineno = 174;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_337a622de80a28eef68d88899f7c72b0->m_frame.f_lineno = 174;
{
PyObject *call_args[] = {tmp_args_element_value_27, tmp_args_element_value_28};
tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_20, call_args);
}
Py_DECREF(tmp_called_value_20);
Py_DECREF(tmp_args_element_value_28);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_337a622de80a28eef68d88899f7c72b0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_337a622de80a28eef68d88899f7c72b0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_337a622de80a28eef68d88899f7c72b0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_337a622de80a28eef68d88899f7c72b0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_337a622de80a28eef68d88899f7c72b0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_337a622de80a28eef68d88899f7c72b0,
type_description_1,
par_directory,
par_encoding,
var_path,
var_locale,
var_extension,
var_full_path,
var_bf,
var_data,
var_f,
var_i,
var_row,
var_english,
var_translation,
var_plural
);
// Release cached frame if used for exception.
if (frame_337a622de80a28eef68d88899f7c72b0 == cache_frame_337a622de80a28eef68d88899f7c72b0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_337a622de80a28eef68d88899f7c72b0);
cache_frame_337a622de80a28eef68d88899f7c72b0 = NULL;
}
assertFrameObject(frame_337a622de80a28eef68d88899f7c72b0);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_encoding);
par_encoding = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_locale);
var_locale = NULL;
Py_XDECREF(var_extension);
var_extension = NULL;
Py_XDECREF(var_full_path);
var_full_path = NULL;
Py_XDECREF(var_bf);
var_bf = NULL;
Py_XDECREF(var_data);
var_data = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_i);
var_i = NULL;
Py_XDECREF(var_row);
var_row = NULL;
Py_XDECREF(var_english);
var_english = NULL;
Py_XDECREF(var_translation);
var_translation = NULL;
Py_XDECREF(var_plural);
var_plural = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_encoding);
par_encoding = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_locale);
var_locale = NULL;
Py_XDECREF(var_extension);
var_extension = NULL;
Py_XDECREF(var_full_path);
var_full_path = NULL;
Py_XDECREF(var_bf);
var_bf = NULL;
Py_XDECREF(var_data);
var_data = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_i);
var_i = NULL;
Py_XDECREF(var_row);
var_row = NULL;
Py_XDECREF(var_english);
var_english = NULL;
Py_XDECREF(var_translation);
var_translation = NULL;
Py_XDECREF(var_plural);
var_plural = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_directory);
Py_DECREF(par_directory);
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_directory);
Py_DECREF(par_directory);
// 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$locale$$$function__4_load_gettext_translations(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_directory = python_pars[0];
PyObject *par_domain = python_pars[1];
PyObject *var_filename = NULL;
PyObject *var_lang = NULL;
PyObject *var_e = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_105dfb44627e23e31254c5215ae9ff93;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_105dfb44627e23e31254c5215ae9ff93 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_1);
}
// Tried code:
if (isFrameUnusable(cache_frame_105dfb44627e23e31254c5215ae9ff93)) {
Py_XDECREF(cache_frame_105dfb44627e23e31254c5215ae9ff93);
#if _DEBUG_REFCOUNTS
if (cache_frame_105dfb44627e23e31254c5215ae9ff93 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_105dfb44627e23e31254c5215ae9ff93 = MAKE_FUNCTION_FRAME(codeobj_105dfb44627e23e31254c5215ae9ff93, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_105dfb44627e23e31254c5215ae9ff93->m_type_description == NULL);
frame_105dfb44627e23e31254c5215ae9ff93 = cache_frame_105dfb44627e23e31254c5215ae9ff93;
// Push the new frame as the currently active one.
pushFrameStack(frame_105dfb44627e23e31254c5215ae9ff93);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_105dfb44627e23e31254c5215ae9ff93) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[53]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = IMPORT_HARD_POSIXPATH();
assert(!(tmp_expression_value_2 == NULL));
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[22]);
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 = 204;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_directory);
tmp_args_element_value_2 = par_directory;
tmp_args_element_value_3 = mod_consts[54];
tmp_args_element_value_4 = mod_consts[55];
CHECK_OBJECT(par_domain);
tmp_add_expr_left_1 = par_domain;
tmp_add_expr_right_1 = mod_consts[56];
tmp_args_element_value_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 204;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 204;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_5);
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 = 204;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 203;
tmp_iter_arg_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_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 203;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_filename;
var_filename = tmp_assign_source_4;
Py_INCREF(var_filename);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_8;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[21]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[57]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[21]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[58]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[21]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_filename);
tmp_args_element_value_8 = var_filename;
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 206;
tmp_args_element_value_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[58], tmp_args_element_value_8);
Py_DECREF(tmp_called_instance_1);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 206;
tmp_args_element_value_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_7);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 206;
tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_6);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_lang;
var_lang = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_list_element_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[60]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
if (par_domain == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 209;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_kw_call_arg_value_0_1 = par_domain;
if (par_directory == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 209;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_kw_call_arg_value_1_1 = par_directory;
CHECK_OBJECT(var_lang);
tmp_list_element_1 = var_lang;
tmp_kw_call_dict_value_0_1 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_kw_call_dict_value_0_1, 0, tmp_list_element_1);
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 208;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_5, args, kw_values, mod_consts[62]);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_ass_subscribed_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_ass_subscribed_1 == NULL)) {
tmp_ass_subscribed_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 208;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_lang);
tmp_ass_subscript_1 = var_lang;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_105dfb44627e23e31254c5215ae9ff93, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_105dfb44627e23e31254c5215ae9ff93, 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_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = EXC_VALUE(PyThreadState_GET());
{
PyObject *old = var_e;
var_e = tmp_assign_source_6;
Py_INCREF(var_e);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_unicode_arg_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[19]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_args_element_value_9 = mod_consts[63];
CHECK_OBJECT(var_lang);
tmp_args_element_value_10 = var_lang;
CHECK_OBJECT(var_e);
tmp_unicode_arg_1 = var_e;
tmp_args_element_value_11 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 212;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 212;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10, tmp_args_element_value_11};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_1);
}
goto try_continue_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_4;
// try continue handler code:
try_continue_handler_5:;
Py_XDECREF(var_e);
var_e = NULL;
goto try_continue_handler_4;
// End of try:
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 207;
}
if (exception_tb && exception_tb->tb_frame == &frame_105dfb44627e23e31254c5215ae9ff93->m_frame) frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_4;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_2;
// try continue handler code:
try_continue_handler_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_frozenset_arg_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_10;
PyObject *tmp_list_element_2;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[5]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 214;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_7);
Py_DECREF(tmp_called_value_7);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_2 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_list_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_list_element_2 == NULL)) {
tmp_list_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_2);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_2 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_add_expr_right_2, 0, tmp_list_element_2);
tmp_frozenset_arg_1 = BINARY_OPERATION_ADD_OBJECT_LIST_LIST(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
Py_DECREF(tmp_add_expr_right_2);
assert(!(tmp_frozenset_arg_1 == NULL));
tmp_assign_source_7 = PyFrozenSet_New(tmp_frozenset_arg_1);
Py_DECREF(tmp_frozenset_arg_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = Py_True;
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_8);
}
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_called_value_9;
PyObject *tmp_args_element_value_14;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[49]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = mod_consts[50];
tmp_called_value_9 = LOOKUP_BUILTIN(mod_consts[51]);
assert(tmp_called_value_9 != NULL);
tmp_args_element_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_args_element_value_14 == NULL)) {
tmp_args_element_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_args_element_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 216;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 216;
tmp_args_element_value_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_14);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 216;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_105dfb44627e23e31254c5215ae9ff93->m_frame.f_lineno = 216;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_105dfb44627e23e31254c5215ae9ff93);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_105dfb44627e23e31254c5215ae9ff93);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_105dfb44627e23e31254c5215ae9ff93, exception_lineno);
} else if (exception_tb->tb_frame != &frame_105dfb44627e23e31254c5215ae9ff93->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_105dfb44627e23e31254c5215ae9ff93, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_105dfb44627e23e31254c5215ae9ff93,
type_description_1,
par_directory,
par_domain,
var_filename,
var_lang,
var_e
);
// Release cached frame if used for exception.
if (frame_105dfb44627e23e31254c5215ae9ff93 == cache_frame_105dfb44627e23e31254c5215ae9ff93) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_105dfb44627e23e31254c5215ae9ff93);
cache_frame_105dfb44627e23e31254c5215ae9ff93 = NULL;
}
assertFrameObject(frame_105dfb44627e23e31254c5215ae9ff93);
// 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_filename);
var_filename = NULL;
Py_XDECREF(var_lang);
var_lang = NULL;
Py_XDECREF(var_e);
var_e = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_filename);
var_filename = NULL;
Py_XDECREF(var_lang);
var_lang = NULL;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_directory);
Py_DECREF(par_directory);
CHECK_OBJECT(par_domain);
Py_DECREF(par_domain);
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_directory);
Py_DECREF(par_directory);
CHECK_OBJECT(par_domain);
Py_DECREF(par_domain);
// 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$locale$$$function__5_get_supported_locales(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_bbbd3a8506577607c978a561699a0c9c;
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_bbbd3a8506577607c978a561699a0c9c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bbbd3a8506577607c978a561699a0c9c)) {
Py_XDECREF(cache_frame_bbbd3a8506577607c978a561699a0c9c);
#if _DEBUG_REFCOUNTS
if (cache_frame_bbbd3a8506577607c978a561699a0c9c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bbbd3a8506577607c978a561699a0c9c = MAKE_FUNCTION_FRAME(codeobj_bbbd3a8506577607c978a561699a0c9c, module_tornado$locale, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bbbd3a8506577607c978a561699a0c9c->m_type_description == NULL);
frame_bbbd3a8506577607c978a561699a0c9c = cache_frame_bbbd3a8506577607c978a561699a0c9c;
// Push the new frame as the currently active one.
pushFrameStack(frame_bbbd3a8506577607c978a561699a0c9c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bbbd3a8506577607c978a561699a0c9c) == 2); // Frame stack
// Framed code:
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bbbd3a8506577607c978a561699a0c9c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bbbd3a8506577607c978a561699a0c9c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bbbd3a8506577607c978a561699a0c9c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bbbd3a8506577607c978a561699a0c9c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bbbd3a8506577607c978a561699a0c9c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bbbd3a8506577607c978a561699a0c9c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bbbd3a8506577607c978a561699a0c9c,
type_description_1
);
// Release cached frame if used for exception.
if (frame_bbbd3a8506577607c978a561699a0c9c == cache_frame_bbbd3a8506577607c978a561699a0c9c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bbbd3a8506577607c978a561699a0c9c);
cache_frame_bbbd3a8506577607c978a561699a0c9c = NULL;
}
assertFrameObject(frame_bbbd3a8506577607c978a561699a0c9c);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locale$$$function__6_get_closest(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_cls = python_pars[0];
PyObject *par_locale_codes = python_pars[1];
PyObject *var_code = NULL;
PyObject *var_parts = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_254a886e81b9dbced64a621363103e38;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_254a886e81b9dbced64a621363103e38 = 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_254a886e81b9dbced64a621363103e38)) {
Py_XDECREF(cache_frame_254a886e81b9dbced64a621363103e38);
#if _DEBUG_REFCOUNTS
if (cache_frame_254a886e81b9dbced64a621363103e38 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_254a886e81b9dbced64a621363103e38 = MAKE_FUNCTION_FRAME(codeobj_254a886e81b9dbced64a621363103e38, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_254a886e81b9dbced64a621363103e38->m_type_description == NULL);
frame_254a886e81b9dbced64a621363103e38 = cache_frame_254a886e81b9dbced64a621363103e38;
// Push the new frame as the currently active one.
pushFrameStack(frame_254a886e81b9dbced64a621363103e38);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_254a886e81b9dbced64a621363103e38) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_locale_codes);
tmp_iter_arg_1 = par_locale_codes;
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 236;
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_code;
var_code = tmp_assign_source_3;
Py_INCREF(var_code);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_code);
tmp_operand_value_1 = var_code;
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 = 237;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_start_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_code);
tmp_expression_value_1 = var_code;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[67]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 239;
tmp_assign_source_4 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[68]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_code;
assert(old != NULL);
var_code = tmp_assign_source_4;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_code);
tmp_expression_value_2 = var_code;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[12]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 240;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[69]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_parts;
var_parts = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_parts);
tmp_len_arg_1 = var_parts;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = 2;
tmp_condition_result_2 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto loop_start_1;
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_parts);
tmp_len_arg_2 = var_parts;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_2 = 2;
tmp_condition_result_3 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_parts);
tmp_expression_value_4 = var_parts;
tmp_subscript_value_1 = mod_consts[70];
tmp_expression_value_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[71]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 244;
tmp_add_expr_left_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_add_expr_right_2 = mod_consts[72];
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_parts);
tmp_expression_value_6 = var_parts;
tmp_subscript_value_2 = mod_consts[47];
tmp_expression_value_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_2, 1);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[73]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 244;
tmp_add_expr_right_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_6 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_code;
assert(old != NULL);
var_code = tmp_assign_source_6;
Py_DECREF(old);
}
}
branch_no_3:;
branch_end_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
if (var_code == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 245;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_3 = var_code;
tmp_cmp_expr_right_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_cmp_expr_right_3 == NULL)) {
tmp_cmp_expr_right_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_cls);
tmp_expression_value_7 = par_cls;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[75]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (var_code == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 246;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = var_code;
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 246;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_5);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto try_return_handler_2;
}
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(var_parts);
tmp_expression_value_9 = var_parts;
tmp_subscript_value_3 = mod_consts[70];
tmp_expression_value_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_9, tmp_subscript_value_3, 0);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[71]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 247;
tmp_cmp_expr_left_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_cmp_expr_right_4 == NULL)) {
tmp_cmp_expr_right_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 247;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_4;
CHECK_OBJECT(par_cls);
tmp_expression_value_10 = par_cls;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[75]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_parts);
tmp_expression_value_12 = var_parts;
tmp_subscript_value_4 = mod_consts[70];
tmp_expression_value_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_12, tmp_subscript_value_4, 0);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 248;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[71]);
Py_DECREF(tmp_expression_value_11);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 248;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 248;
tmp_args_element_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_8);
Py_DECREF(tmp_called_value_8);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 248;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 248;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto try_return_handler_2;
}
branch_no_5:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_cls);
tmp_expression_value_13 = par_cls;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[75]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 249;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_254a886e81b9dbced64a621363103e38->m_frame.f_lineno = 249;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_9);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_254a886e81b9dbced64a621363103e38);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_254a886e81b9dbced64a621363103e38);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_254a886e81b9dbced64a621363103e38);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_254a886e81b9dbced64a621363103e38, exception_lineno);
} else if (exception_tb->tb_frame != &frame_254a886e81b9dbced64a621363103e38->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_254a886e81b9dbced64a621363103e38, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_254a886e81b9dbced64a621363103e38,
type_description_1,
par_cls,
par_locale_codes,
var_code,
var_parts
);
// Release cached frame if used for exception.
if (frame_254a886e81b9dbced64a621363103e38 == cache_frame_254a886e81b9dbced64a621363103e38) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_254a886e81b9dbced64a621363103e38);
cache_frame_254a886e81b9dbced64a621363103e38 = NULL;
}
assertFrameObject(frame_254a886e81b9dbced64a621363103e38);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_code);
var_code = NULL;
Py_XDECREF(var_parts);
var_parts = 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_code);
var_code = NULL;
Py_XDECREF(var_parts);
var_parts = 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_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_locale_codes);
Py_DECREF(par_locale_codes);
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_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_locale_codes);
Py_DECREF(par_locale_codes);
// 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$locale$$$function__7_get(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_cls = python_pars[0];
PyObject *par_code = python_pars[1];
PyObject *var_translations = NULL;
PyObject *var_locale = NULL;
struct Nuitka_FrameObject *frame_2f0dce0c55f6209cb6fee268d41173ad;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_2f0dce0c55f6209cb6fee268d41173ad = 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_2f0dce0c55f6209cb6fee268d41173ad)) {
Py_XDECREF(cache_frame_2f0dce0c55f6209cb6fee268d41173ad);
#if _DEBUG_REFCOUNTS
if (cache_frame_2f0dce0c55f6209cb6fee268d41173ad == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2f0dce0c55f6209cb6fee268d41173ad = MAKE_FUNCTION_FRAME(codeobj_2f0dce0c55f6209cb6fee268d41173ad, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2f0dce0c55f6209cb6fee268d41173ad->m_type_description == NULL);
frame_2f0dce0c55f6209cb6fee268d41173ad = cache_frame_2f0dce0c55f6209cb6fee268d41173ad;
// Push the new frame as the currently active one.
pushFrameStack(frame_2f0dce0c55f6209cb6fee268d41173ad);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2f0dce0c55f6209cb6fee268d41173ad) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_code);
tmp_cmp_expr_left_1 = par_code;
CHECK_OBJECT(par_cls);
tmp_expression_value_1 = par_cls;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[77]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_code);
tmp_cmp_expr_left_2 = par_code;
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 258;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[75]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_1 = par_code;
tmp_args_element_value_2 = Py_None;
frame_2f0dce0c55f6209cb6fee268d41173ad->m_frame.f_lineno = 259;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_translations == NULL);
var_translations = tmp_assign_source_1;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_translations);
tmp_cmp_expr_left_3 = var_translations;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 261;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_3 = par_code;
tmp_args_element_value_4 = MAKE_DICT_EMPTY();
frame_2f0dce0c55f6209cb6fee268d41173ad->m_frame.f_lineno = 261;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 261;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_locale == NULL);
var_locale = tmp_assign_source_2;
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_mvar_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_5 = par_code;
CHECK_OBJECT(var_translations);
tmp_args_element_value_6 = var_translations;
frame_2f0dce0c55f6209cb6fee268d41173ad->m_frame.f_lineno = 263;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_locale == NULL);
var_locale = tmp_assign_source_3;
}
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_7 = par_code;
CHECK_OBJECT(var_translations);
tmp_args_element_value_8 = var_translations;
frame_2f0dce0c55f6209cb6fee268d41173ad->m_frame.f_lineno = 265;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_locale == NULL);
var_locale = tmp_assign_source_4;
}
branch_end_4:;
branch_end_3:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_locale);
tmp_ass_subvalue_1 = var_locale;
CHECK_OBJECT(par_cls);
tmp_expression_value_3 = par_cls;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[77]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_ass_subscript_1 = par_code;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
{
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_cls);
tmp_expression_value_5 = par_cls;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[77]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_code == NULL) {
Py_DECREF(tmp_expression_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 267;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = par_code;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f0dce0c55f6209cb6fee268d41173ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f0dce0c55f6209cb6fee268d41173ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f0dce0c55f6209cb6fee268d41173ad);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2f0dce0c55f6209cb6fee268d41173ad, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2f0dce0c55f6209cb6fee268d41173ad->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2f0dce0c55f6209cb6fee268d41173ad, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2f0dce0c55f6209cb6fee268d41173ad,
type_description_1,
par_cls,
par_code,
var_translations,
var_locale
);
// Release cached frame if used for exception.
if (frame_2f0dce0c55f6209cb6fee268d41173ad == cache_frame_2f0dce0c55f6209cb6fee268d41173ad) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2f0dce0c55f6209cb6fee268d41173ad);
cache_frame_2f0dce0c55f6209cb6fee268d41173ad = NULL;
}
assertFrameObject(frame_2f0dce0c55f6209cb6fee268d41173ad);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_translations);
var_translations = NULL;
Py_XDECREF(var_locale);
var_locale = 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_translations);
var_translations = NULL;
Py_XDECREF(var_locale);
var_locale = 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_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locale$$$function__8___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_code = python_pars[1];
PyObject *var_prefix = NULL;
PyObject *var__ = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_6d9e74e25a2c66390d8910a48a578785;
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;
static struct Nuitka_FrameObject *cache_frame_6d9e74e25a2c66390d8910a48a578785 = 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_6d9e74e25a2c66390d8910a48a578785)) {
Py_XDECREF(cache_frame_6d9e74e25a2c66390d8910a48a578785);
#if _DEBUG_REFCOUNTS
if (cache_frame_6d9e74e25a2c66390d8910a48a578785 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6d9e74e25a2c66390d8910a48a578785 = MAKE_FUNCTION_FRAME(codeobj_6d9e74e25a2c66390d8910a48a578785, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6d9e74e25a2c66390d8910a48a578785->m_type_description == NULL);
frame_6d9e74e25a2c66390d8910a48a578785 = cache_frame_6d9e74e25a2c66390d8910a48a578785;
// Push the new frame as the currently active one.
pushFrameStack(frame_6d9e74e25a2c66390d8910a48a578785);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6d9e74e25a2c66390d8910a48a578785) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_code);
tmp_assattr_value_1 = par_code;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[74], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 270;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[81]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[81]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[75]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_1 = par_code;
tmp_args_element_value_2 = MAKE_DICT_EMPTY();
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 271;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_expression_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[75]);
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 = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 271;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[82]);
Py_DECREF(tmp_called_value_1);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[83], 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 = 271;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[84], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
tmp_iter_arg_1 = mod_consts[85];
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 273;
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_prefix;
var_prefix = tmp_assign_source_3;
Py_INCREF(var_prefix);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
int tmp_truth_name_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 274;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[87]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_prefix);
tmp_args_element_value_3 = var_prefix;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 274;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto try_except_handler_2;
}
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 = 274;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_True;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 275;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[84], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
type_description_1 = "oooo";
goto try_except_handler_2;
}
}
goto loop_end_1;
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_5;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 279;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_self;
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[88]);
if (tmp_assign_source_4 == 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;
}
assert(var__ == NULL);
var__ = tmp_assign_source_4;
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_list_element_1;
PyObject *tmp_called_value_4;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(var__);
tmp_called_value_4 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 281;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[89]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 281;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_5 = MAKE_LIST_EMPTY(12);
{
PyObject *tmp_called_value_5;
PyObject *tmp_called_value_6;
PyObject *tmp_called_value_7;
PyObject *tmp_called_value_8;
PyObject *tmp_called_value_9;
PyObject *tmp_called_value_10;
PyObject *tmp_called_value_11;
PyObject *tmp_called_value_12;
PyObject *tmp_called_value_13;
PyObject *tmp_called_value_14;
PyObject *tmp_called_value_15;
PyList_SET_ITEM(tmp_assattr_value_5, 0, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_5 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 282;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[90]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 1, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_6 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 283;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[91]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 283;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 2, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_7 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 284;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_7, mod_consts[92]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 3, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_8 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 285;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_8, mod_consts[93]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 4, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_9 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 286;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_9, mod_consts[94]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 286;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 5, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_10 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 287;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_10, mod_consts[95]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 287;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 6, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_11 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 288;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_11, mod_consts[96]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 288;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 7, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_12 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 289;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_12, mod_consts[97]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 8, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_13 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 290;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_13, mod_consts[98]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 290;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 9, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_14 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 291;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_14, mod_consts[99]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 10, tmp_list_element_1);
CHECK_OBJECT(var__);
tmp_called_value_15 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 292;
tmp_list_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_15, mod_consts[100]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_assattr_value_5, 11, tmp_list_element_1);
}
goto list_build_noexception_1;
// Exception handling pass through code for list_build:
list_build_exception_1:;
Py_DECREF(tmp_assattr_value_5);
goto frame_exception_exit_1;
// Finished with no exception for list_build:
list_build_noexception_1:;
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 280;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[101], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_list_element_2;
PyObject *tmp_called_value_16;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(var__);
tmp_called_value_16 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 295;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_16, mod_consts[102]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_6 = MAKE_LIST_EMPTY(7);
{
PyObject *tmp_called_value_17;
PyObject *tmp_called_value_18;
PyObject *tmp_called_value_19;
PyObject *tmp_called_value_20;
PyObject *tmp_called_value_21;
PyObject *tmp_called_value_22;
PyList_SET_ITEM(tmp_assattr_value_6, 0, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_17 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 296;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_17, mod_consts[103]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 1, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_18 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 297;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_18, mod_consts[104]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 2, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_19 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 298;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_19, mod_consts[105]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 3, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_20 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 299;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_20, mod_consts[106]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 4, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_21 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 300;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_21, mod_consts[107]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 5, tmp_list_element_2);
CHECK_OBJECT(var__);
tmp_called_value_22 = var__;
frame_6d9e74e25a2c66390d8910a48a578785->m_frame.f_lineno = 301;
tmp_list_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_22, mod_consts[108]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "oooo";
goto list_build_exception_2;
}
PyList_SET_ITEM(tmp_assattr_value_6, 6, tmp_list_element_2);
}
goto list_build_noexception_2;
// Exception handling pass through code for list_build:
list_build_exception_2:;
Py_DECREF(tmp_assattr_value_6);
goto frame_exception_exit_1;
// Finished with no exception for list_build:
list_build_noexception_2:;
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 294;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[109], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d9e74e25a2c66390d8910a48a578785);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d9e74e25a2c66390d8910a48a578785);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6d9e74e25a2c66390d8910a48a578785, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6d9e74e25a2c66390d8910a48a578785->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6d9e74e25a2c66390d8910a48a578785, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6d9e74e25a2c66390d8910a48a578785,
type_description_1,
par_self,
par_code,
var_prefix,
var__
);
// Release cached frame if used for exception.
if (frame_6d9e74e25a2c66390d8910a48a578785 == cache_frame_6d9e74e25a2c66390d8910a48a578785) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6d9e74e25a2c66390d8910a48a578785);
cache_frame_6d9e74e25a2c66390d8910a48a578785 = NULL;
}
assertFrameObject(frame_6d9e74e25a2c66390d8910a48a578785);
// 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_prefix);
var_prefix = NULL;
CHECK_OBJECT(var__);
Py_DECREF(var__);
var__ = 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_prefix);
var_prefix = NULL;
Py_XDECREF(var__);
var__ = 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_code);
Py_DECREF(par_code);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$locale$$$function__9_translate(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_message = python_pars[1];
PyObject *par_plural_message = python_pars[2];
PyObject *par_count = python_pars[3];
struct Nuitka_FrameObject *frame_5cc0e5aab2ea36fa2f244bbb72748031;
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_5cc0e5aab2ea36fa2f244bbb72748031 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_5cc0e5aab2ea36fa2f244bbb72748031)) {
Py_XDECREF(cache_frame_5cc0e5aab2ea36fa2f244bbb72748031);
#if _DEBUG_REFCOUNTS
if (cache_frame_5cc0e5aab2ea36fa2f244bbb72748031 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5cc0e5aab2ea36fa2f244bbb72748031 = MAKE_FUNCTION_FRAME(codeobj_5cc0e5aab2ea36fa2f244bbb72748031, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5cc0e5aab2ea36fa2f244bbb72748031->m_type_description == NULL);
frame_5cc0e5aab2ea36fa2f244bbb72748031 = cache_frame_5cc0e5aab2ea36fa2f244bbb72748031;
// Push the new frame as the currently active one.
pushFrameStack(frame_5cc0e5aab2ea36fa2f244bbb72748031);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5cc0e5aab2ea36fa2f244bbb72748031) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_5cc0e5aab2ea36fa2f244bbb72748031->m_frame.f_lineno = 317;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 317;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5cc0e5aab2ea36fa2f244bbb72748031);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5cc0e5aab2ea36fa2f244bbb72748031);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5cc0e5aab2ea36fa2f244bbb72748031, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5cc0e5aab2ea36fa2f244bbb72748031->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5cc0e5aab2ea36fa2f244bbb72748031, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5cc0e5aab2ea36fa2f244bbb72748031,
type_description_1,
par_self,
par_message,
par_plural_message,
par_count
);
// Release cached frame if used for exception.
if (frame_5cc0e5aab2ea36fa2f244bbb72748031 == cache_frame_5cc0e5aab2ea36fa2f244bbb72748031) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5cc0e5aab2ea36fa2f244bbb72748031);
cache_frame_5cc0e5aab2ea36fa2f244bbb72748031 = NULL;
}
assertFrameObject(frame_5cc0e5aab2ea36fa2f244bbb72748031);
// 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_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$locale$$$function__10_pgettext(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_context = python_pars[1];
PyObject *par_message = python_pars[2];
PyObject *par_plural_message = python_pars[3];
PyObject *par_count = python_pars[4];
struct Nuitka_FrameObject *frame_faba87b8e165a6ab5f4f847791d2a96e;
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_faba87b8e165a6ab5f4f847791d2a96e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_faba87b8e165a6ab5f4f847791d2a96e)) {
Py_XDECREF(cache_frame_faba87b8e165a6ab5f4f847791d2a96e);
#if _DEBUG_REFCOUNTS
if (cache_frame_faba87b8e165a6ab5f4f847791d2a96e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_faba87b8e165a6ab5f4f847791d2a96e = MAKE_FUNCTION_FRAME(codeobj_faba87b8e165a6ab5f4f847791d2a96e, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_faba87b8e165a6ab5f4f847791d2a96e->m_type_description == NULL);
frame_faba87b8e165a6ab5f4f847791d2a96e = cache_frame_faba87b8e165a6ab5f4f847791d2a96e;
// Push the new frame as the currently active one.
pushFrameStack(frame_faba87b8e165a6ab5f4f847791d2a96e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_faba87b8e165a6ab5f4f847791d2a96e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_faba87b8e165a6ab5f4f847791d2a96e->m_frame.f_lineno = 326;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 326;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_faba87b8e165a6ab5f4f847791d2a96e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_faba87b8e165a6ab5f4f847791d2a96e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_faba87b8e165a6ab5f4f847791d2a96e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_faba87b8e165a6ab5f4f847791d2a96e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_faba87b8e165a6ab5f4f847791d2a96e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_faba87b8e165a6ab5f4f847791d2a96e,
type_description_1,
par_self,
par_context,
par_message,
par_plural_message,
par_count
);
// Release cached frame if used for exception.
if (frame_faba87b8e165a6ab5f4f847791d2a96e == cache_frame_faba87b8e165a6ab5f4f847791d2a96e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_faba87b8e165a6ab5f4f847791d2a96e);
cache_frame_faba87b8e165a6ab5f4f847791d2a96e = NULL;
}
assertFrameObject(frame_faba87b8e165a6ab5f4f847791d2a96e);
// 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_context);
Py_DECREF(par_context);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$locale$$$function__11_format_date(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_date = python_pars[1];
PyObject *par_gmt_offset = python_pars[2];
PyObject *par_relative = python_pars[3];
PyObject *par_shorter = python_pars[4];
PyObject *par_full_format = python_pars[5];
PyObject *var_now = NULL;
PyObject *var_local_date = NULL;
PyObject *var_local_now = NULL;
PyObject *var_local_yesterday = NULL;
PyObject *var_difference = NULL;
PyObject *var_seconds = NULL;
PyObject *var_days = NULL;
PyObject *var__ = NULL;
PyObject *var_format = NULL;
PyObject *var_minutes = NULL;
PyObject *var_hours = NULL;
nuitka_bool var_tfhour_clock = NUITKA_BOOL_UNASSIGNED;
PyObject *var_str_time = NULL;
struct Nuitka_FrameObject *frame_0581ba1b1ed6c77b6fa7a635f02267b6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6 = 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_0581ba1b1ed6c77b6fa7a635f02267b6)) {
Py_XDECREF(cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6);
#if _DEBUG_REFCOUNTS
if (cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6 = MAKE_FUNCTION_FRAME(codeobj_0581ba1b1ed6c77b6fa7a635f02267b6, module_tornado$locale, sizeof(nuitka_bool)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_type_description == NULL);
frame_0581ba1b1ed6c77b6fa7a635f02267b6 = cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6;
// Push the new frame as the currently active one.
pushFrameStack(frame_0581ba1b1ed6c77b6fa7a635f02267b6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0581ba1b1ed6c77b6fa7a635f02267b6) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_date);
tmp_isinstance_inst_1 = par_date;
tmp_isinstance_cls_1 = mod_consts[111];
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[112]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_date);
tmp_args_element_value_1 = par_date;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 348;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[113], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_date;
assert(old != NULL);
par_date = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 349;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[112]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 349;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 349;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[114]);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 349;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_now == NULL);
var_now = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_date);
tmp_cmp_expr_left_1 = par_date;
CHECK_OBJECT(var_now);
tmp_cmp_expr_right_1 = var_now;
tmp_condition_result_2 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
CHECK_OBJECT(par_relative);
tmp_truth_name_1 = CHECK_IF_TRUE(par_relative);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_date);
tmp_sub_expr_left_1 = par_date;
CHECK_OBJECT(var_now);
tmp_sub_expr_right_1 = var_now;
tmp_expression_value_3 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[115]);
Py_DECREF(tmp_expression_value_3);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[116];
tmp_and_right_value_1 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
if (var_now == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[117]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 355;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = var_now;
{
PyObject *old = par_date;
par_date = tmp_assign_source_3;
Py_INCREF(par_date);
Py_XDECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = Py_True;
{
PyObject *old = par_full_format;
assert(old != NULL);
par_full_format = tmp_assign_source_4;
Py_INCREF(par_full_format);
Py_DECREF(old);
}
}
branch_end_3:;
branch_no_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_sub_expr_left_2;
PyObject *tmp_sub_expr_right_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_0_1;
if (par_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 359;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_2 = par_date;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[119]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_gmt_offset);
tmp_kw_call_value_0_1 = par_gmt_offset;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 359;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_sub_expr_right_2 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[120]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_sub_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_2, tmp_sub_expr_right_2);
Py_DECREF(tmp_sub_expr_right_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_local_date == NULL);
var_local_date = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_sub_expr_left_3;
PyObject *tmp_sub_expr_right_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_value_0_2;
if (var_now == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[117]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 360;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_3 = var_now;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[119]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_gmt_offset);
tmp_kw_call_value_0_2 = par_gmt_offset;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 360;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_2};
tmp_sub_expr_right_3 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, kw_values, mod_consts[120]);
}
Py_DECREF(tmp_called_value_2);
if (tmp_sub_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_6 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_3, tmp_sub_expr_right_3);
Py_DECREF(tmp_sub_expr_right_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_local_now == NULL);
var_local_now = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_sub_expr_left_4;
PyObject *tmp_sub_expr_right_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_local_now);
tmp_sub_expr_left_4 = var_local_now;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[119]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 361;
tmp_sub_expr_right_4 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, &PyTuple_GET_ITEM(mod_consts[121], 0), mod_consts[122]);
Py_DECREF(tmp_called_value_3);
if (tmp_sub_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_7 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_4, tmp_sub_expr_right_4);
Py_DECREF(tmp_sub_expr_right_4);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_local_yesterday == NULL);
var_local_yesterday = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_sub_expr_left_5;
PyObject *tmp_sub_expr_right_5;
if (var_now == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[117]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 362;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_5 = var_now;
if (par_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 362;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_5 = par_date;
tmp_assign_source_8 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_5, tmp_sub_expr_right_5);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_difference == NULL);
var_difference = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_difference);
tmp_expression_value_7 = var_difference;
tmp_assign_source_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[115]);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_seconds == NULL);
var_seconds = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_difference);
tmp_expression_value_8 = var_difference;
tmp_assign_source_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[123]);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_days == NULL);
var_days = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_assign_source_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[88]);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 366;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var__ == NULL);
var__ = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = Py_None;
assert(var_format == NULL);
Py_INCREF(tmp_assign_source_12);
var_format = tmp_assign_source_12;
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_full_format);
tmp_operand_value_1 = par_full_format;
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 = 368;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
nuitka_bool tmp_condition_result_5;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
int tmp_truth_name_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_relative);
tmp_truth_name_2 = CHECK_IF_TRUE(par_relative);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(var_days);
tmp_cmp_expr_left_3 = var_days;
tmp_cmp_expr_right_3 = mod_consts[70];
tmp_and_right_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_and_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_5 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_seconds);
tmp_cmp_expr_left_4 = var_seconds;
tmp_cmp_expr_right_4 = mod_consts[124];
tmp_condition_result_6 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
CHECK_OBJECT(var__);
tmp_called_value_4 = var__;
tmp_args_element_value_2 = mod_consts[125];
tmp_args_element_value_3 = mod_consts[126];
CHECK_OBJECT(var_seconds);
tmp_args_element_value_4 = var_seconds;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 371;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_mod_expr_left_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_mod_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[115];
CHECK_OBJECT(var_seconds);
tmp_dict_value_1 = var_seconds;
tmp_mod_expr_right_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(var_seconds);
tmp_cmp_expr_left_5 = var_seconds;
tmp_cmp_expr_right_5 = mod_consts[127];
tmp_condition_result_7 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_truediv_expr_left_1;
PyObject *tmp_truediv_expr_right_1;
tmp_called_value_5 = LOOKUP_BUILTIN(mod_consts[128]);
assert(tmp_called_value_5 != NULL);
CHECK_OBJECT(var_seconds);
tmp_truediv_expr_left_1 = var_seconds;
tmp_truediv_expr_right_1 = mod_consts[129];
tmp_args_element_value_5 = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_FLOAT(tmp_truediv_expr_left_1, tmp_truediv_expr_right_1);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 376;
tmp_assign_source_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_minutes == NULL);
var_minutes = tmp_assign_source_13;
}
{
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
CHECK_OBJECT(var__);
tmp_called_value_6 = var__;
tmp_args_element_value_6 = mod_consts[130];
tmp_args_element_value_7 = mod_consts[131];
CHECK_OBJECT(var_minutes);
tmp_args_element_value_8 = var_minutes;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 377;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_mod_expr_left_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
if (tmp_mod_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_dict_key_2 = mod_consts[132];
CHECK_OBJECT(var_minutes);
tmp_dict_value_2 = var_minutes;
tmp_mod_expr_right_2 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_mod_expr_right_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_left_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_7:;
{
PyObject *tmp_assign_source_14;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_9;
PyObject *tmp_truediv_expr_left_2;
PyObject *tmp_truediv_expr_right_2;
tmp_called_value_7 = LOOKUP_BUILTIN(mod_consts[128]);
assert(tmp_called_value_7 != NULL);
CHECK_OBJECT(var_seconds);
tmp_truediv_expr_left_2 = var_seconds;
tmp_truediv_expr_right_2 = mod_consts[133];
tmp_args_element_value_9 = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_FLOAT(tmp_truediv_expr_left_2, tmp_truediv_expr_right_2);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 381;
tmp_assign_source_14 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_9);
Py_DECREF(tmp_args_element_value_9);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_hours == NULL);
var_hours = tmp_assign_source_14;
}
{
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
CHECK_OBJECT(var__);
tmp_called_value_8 = var__;
tmp_args_element_value_10 = mod_consts[134];
tmp_args_element_value_11 = mod_consts[135];
CHECK_OBJECT(var_hours);
tmp_args_element_value_12 = var_hours;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 382;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11, tmp_args_element_value_12};
tmp_mod_expr_left_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_8, call_args);
}
if (tmp_mod_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_dict_key_3 = mod_consts[136];
CHECK_OBJECT(var_hours);
tmp_dict_value_3 = var_hours;
tmp_mod_expr_right_3 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_mod_expr_right_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_left_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(var_days);
tmp_cmp_expr_left_6 = var_days;
tmp_cmp_expr_right_6 = mod_consts[70];
tmp_condition_result_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_9;
CHECK_OBJECT(var__);
tmp_called_value_9 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 385;
tmp_assign_source_15 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_9, mod_consts[137]);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_format;
assert(old != NULL);
var_format = tmp_assign_source_15;
Py_DECREF(old);
}
}
goto branch_end_8;
branch_no_8:;
{
nuitka_bool tmp_condition_result_9;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
int tmp_and_left_truth_4;
nuitka_bool tmp_and_left_value_4;
nuitka_bool tmp_and_right_value_4;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
int tmp_truth_name_3;
CHECK_OBJECT(var_days);
tmp_cmp_expr_left_7 = var_days;
tmp_cmp_expr_right_7 = mod_consts[47];
tmp_and_left_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_and_left_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(var_local_date);
tmp_expression_value_10 = var_local_date;
tmp_cmp_expr_left_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[138]);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_local_yesterday);
tmp_expression_value_11 = var_local_yesterday;
tmp_cmp_expr_right_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[138]);
if (tmp_cmp_expr_right_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_8);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
Py_DECREF(tmp_cmp_expr_left_8);
Py_DECREF(tmp_cmp_expr_right_8);
if (tmp_and_left_value_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
CHECK_OBJECT(par_relative);
tmp_truth_name_3 = CHECK_IF_TRUE(par_relative);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 386;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_and_right_value_4 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_condition_result_9 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_9 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_16;
nuitka_bool tmp_condition_result_10;
int tmp_truth_name_4;
PyObject *tmp_called_value_10;
PyObject *tmp_called_value_11;
CHECK_OBJECT(par_shorter);
tmp_truth_name_4 = CHECK_IF_TRUE(par_shorter);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(var__);
tmp_called_value_10 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 387;
tmp_assign_source_16 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_10, mod_consts[139]);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(var__);
tmp_called_value_11 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 387;
tmp_assign_source_16 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_11, mod_consts[140]);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
condexpr_end_1:;
{
PyObject *old = var_format;
assert(old != NULL);
var_format = tmp_assign_source_16;
Py_DECREF(old);
}
}
goto branch_end_9;
branch_no_9:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(var_days);
tmp_cmp_expr_left_9 = var_days;
tmp_cmp_expr_right_9 = mod_consts[141];
tmp_condition_result_11 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_11 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_17;
nuitka_bool tmp_condition_result_12;
int tmp_truth_name_5;
PyObject *tmp_called_value_12;
PyObject *tmp_called_value_13;
CHECK_OBJECT(par_shorter);
tmp_truth_name_5 = CHECK_IF_TRUE(par_shorter);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_12 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(var__);
tmp_called_value_12 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 389;
tmp_assign_source_17 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_12, mod_consts[142]);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto condexpr_end_2;
condexpr_false_2:;
CHECK_OBJECT(var__);
tmp_called_value_13 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 389;
tmp_assign_source_17 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_13, mod_consts[143]);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
condexpr_end_2:;
{
PyObject *old = var_format;
assert(old != NULL);
var_format = tmp_assign_source_17;
Py_DECREF(old);
}
}
goto branch_end_10;
branch_no_10:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(var_days);
tmp_cmp_expr_left_10 = var_days;
tmp_cmp_expr_right_10 = mod_consts[144];
tmp_condition_result_13 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_18;
nuitka_bool tmp_condition_result_14;
int tmp_truth_name_6;
PyObject *tmp_called_value_14;
PyObject *tmp_called_value_15;
CHECK_OBJECT(par_shorter);
tmp_truth_name_6 = CHECK_IF_TRUE(par_shorter);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_14 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(var__);
tmp_called_value_14 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 392;
tmp_assign_source_18 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_14, mod_consts[145]);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(var__);
tmp_called_value_15 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 394;
tmp_assign_source_18 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_15, mod_consts[146]);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
condexpr_end_3:;
{
PyObject *old = var_format;
assert(old != NULL);
var_format = tmp_assign_source_18;
Py_DECREF(old);
}
}
branch_no_11:;
branch_end_10:;
branch_end_9:;
branch_end_8:;
branch_no_4:;
{
bool tmp_condition_result_15;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(var_format);
tmp_cmp_expr_left_11 = var_format;
tmp_cmp_expr_right_11 = Py_None;
tmp_condition_result_15 = (tmp_cmp_expr_left_11 == tmp_cmp_expr_right_11) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_assign_source_19;
nuitka_bool tmp_condition_result_16;
int tmp_truth_name_7;
PyObject *tmp_called_value_16;
PyObject *tmp_called_value_17;
CHECK_OBJECT(par_shorter);
tmp_truth_name_7 = CHECK_IF_TRUE(par_shorter);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_16 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
if (var__ == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 399;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_value_16 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 399;
tmp_assign_source_19 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_16, mod_consts[147]);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto condexpr_end_4;
condexpr_false_4:;
if (var__ == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 401;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_called_value_17 = var__;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 401;
tmp_assign_source_19 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_17, mod_consts[148]);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
condexpr_end_4:;
{
PyObject *old = var_format;
assert(old != NULL);
var_format = tmp_assign_source_19;
Py_DECREF(old);
}
}
branch_no_12:;
{
nuitka_bool tmp_assign_source_20;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_cmp_expr_left_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[74]);
if (tmp_cmp_expr_left_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_12 = mod_consts[149];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_12, tmp_cmp_expr_left_12);
Py_DECREF(tmp_cmp_expr_left_12);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_20 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
var_tfhour_clock = tmp_assign_source_20;
}
{
bool tmp_condition_result_17;
assert(var_tfhour_clock != NUITKA_BOOL_UNASSIGNED);
tmp_condition_result_17 = var_tfhour_clock == NUITKA_BOOL_TRUE;
if (tmp_condition_result_17 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_13;
tmp_mod_expr_left_4 = mod_consts[150];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 406;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = var_local_date;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[152]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_1);
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 406;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_1;
}
tmp_expression_value_14 = var_local_date;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[153]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_4);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_assign_source_21 = 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_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_str_time == NULL);
var_str_time = tmp_assign_source_21;
}
goto branch_end_13;
branch_no_13:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_cmp_expr_left_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[74]);
if (tmp_cmp_expr_left_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_13 = mod_consts[154];
tmp_condition_result_18 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
Py_DECREF(tmp_cmp_expr_left_13);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_assign_source_22;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_1;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
PyObject *tmp_expression_value_17;
tmp_mod_expr_left_5 = mod_consts[155];
tmp_expression_value_16 = mod_consts[156];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 409;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_17 = var_local_date;
tmp_cmp_expr_left_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[152]);
if (tmp_cmp_expr_left_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_14 = mod_consts[157];
tmp_subscript_value_1 = RICH_COMPARE_GE_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_14, tmp_cmp_expr_right_14);
Py_DECREF(tmp_cmp_expr_left_14);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_tuple_element_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(3);
{
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_mod_expr_left_6;
PyObject *tmp_mod_expr_right_6;
PyObject *tmp_expression_value_18;
PyObject *tmp_expression_value_19;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_2);
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 410;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
tmp_expression_value_18 = var_local_date;
tmp_mod_expr_left_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[152]);
if (tmp_mod_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
tmp_mod_expr_right_6 = mod_consts[157];
tmp_or_left_value_1 = BINARY_OPERATION_MOD_OBJECT_OBJECT_LONG(tmp_mod_expr_left_6, tmp_mod_expr_right_6);
Py_DECREF(tmp_mod_expr_left_6);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 410;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
tmp_or_right_value_1 = mod_consts[157];
Py_INCREF(tmp_or_right_value_1);
tmp_tuple_element_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_tuple_element_2 = tmp_or_left_value_1;
or_end_1:;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_2);
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 411;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
tmp_expression_value_19 = var_local_date;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[153]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 2, tmp_tuple_element_2);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_5);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_assign_source_22 = 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_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_str_time == NULL);
var_str_time = tmp_assign_source_22;
}
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_mod_expr_left_7;
PyObject *tmp_mod_expr_right_7;
PyObject *tmp_tuple_element_3;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_mod_expr_left_8;
PyObject *tmp_mod_expr_right_8;
PyObject *tmp_expression_value_20;
tmp_mod_expr_left_7 = mod_consts[158];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 415;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_20 = var_local_date;
tmp_mod_expr_left_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[152]);
if (tmp_mod_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_8 = mod_consts[157];
tmp_or_left_value_2 = BINARY_OPERATION_MOD_OBJECT_OBJECT_LONG(tmp_mod_expr_left_8, tmp_mod_expr_right_8);
Py_DECREF(tmp_mod_expr_left_8);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 415;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
tmp_or_right_value_2 = mod_consts[157];
Py_INCREF(tmp_or_right_value_2);
tmp_tuple_element_3 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_tuple_element_3 = tmp_or_left_value_2;
or_end_2:;
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_21;
PyObject *tmp_expression_value_22;
PyObject *tmp_subscript_value_2;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
PyObject *tmp_expression_value_23;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_3);
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 416;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
tmp_expression_value_21 = var_local_date;
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[153]);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_3);
tmp_expression_value_22 = mod_consts[159];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 417;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
tmp_expression_value_23 = var_local_date;
tmp_cmp_expr_left_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[152]);
if (tmp_cmp_expr_left_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
tmp_cmp_expr_right_15 = mod_consts[157];
tmp_subscript_value_2 = RICH_COMPARE_GE_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_15, tmp_cmp_expr_right_15);
Py_DECREF(tmp_cmp_expr_left_15);
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
tmp_tuple_element_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_22, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_2);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "ooooooooooooooooobo";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 2, tmp_tuple_element_3);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_7);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_assign_source_23 = 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_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
assert(var_str_time == NULL);
var_str_time = tmp_assign_source_23;
}
branch_end_14:;
branch_end_13:;
{
PyObject *tmp_mod_expr_left_9;
PyObject *tmp_mod_expr_right_9;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_24;
PyObject *tmp_expression_value_25;
PyObject *tmp_subscript_value_3;
PyObject *tmp_sub_expr_left_6;
PyObject *tmp_sub_expr_right_6;
PyObject *tmp_expression_value_26;
CHECK_OBJECT(var_format);
tmp_mod_expr_left_9 = var_format;
tmp_dict_key_4 = mod_consts[160];
CHECK_OBJECT(par_self);
tmp_expression_value_25 = par_self;
tmp_expression_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[101]);
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
if (var_local_date == NULL) {
Py_DECREF(tmp_expression_value_24);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 421;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_26 = var_local_date;
tmp_sub_expr_left_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[161]);
if (tmp_sub_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_24);
exception_lineno = 421;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_6 = mod_consts[47];
tmp_subscript_value_3 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_6, tmp_sub_expr_right_6);
Py_DECREF(tmp_sub_expr_left_6);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_24);
exception_lineno = 421;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_24, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_24);
Py_DECREF(tmp_subscript_value_3);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_9 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_27;
PyObject *tmp_expression_value_28;
PyObject *tmp_subscript_value_4;
PyObject *tmp_called_instance_3;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_expression_value_29;
PyObject *tmp_unicode_arg_2;
PyObject *tmp_expression_value_30;
tmp_res = PyDict_SetItem(tmp_mod_expr_right_9, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[162];
CHECK_OBJECT(par_self);
tmp_expression_value_28 = par_self;
tmp_expression_value_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[109]);
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
if (var_local_date == NULL) {
Py_DECREF(tmp_expression_value_27);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 422;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_called_instance_3 = var_local_date;
frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame.f_lineno = 422;
tmp_subscript_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[162]);
if (tmp_subscript_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_27);
exception_lineno = 422;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_27, tmp_subscript_value_4);
Py_DECREF(tmp_expression_value_27);
Py_DECREF(tmp_subscript_value_4);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_9, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[138];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 423;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_expression_value_29 = var_local_date;
tmp_unicode_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[138]);
if (tmp_unicode_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_dict_value_4 = PyObject_Unicode(tmp_unicode_arg_1);
Py_DECREF(tmp_unicode_arg_1);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_9, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[163];
if (var_local_date == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[151]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 424;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_expression_value_30 = var_local_date;
tmp_unicode_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[163]);
if (tmp_unicode_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_dict_value_4 = PyObject_Unicode(tmp_unicode_arg_2);
Py_DECREF(tmp_unicode_arg_2);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "ooooooooooooooooobo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_9, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[164];
CHECK_OBJECT(var_str_time);
tmp_dict_value_4 = var_str_time;
tmp_res = PyDict_SetItem(tmp_mod_expr_right_9, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_9);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_9, tmp_mod_expr_right_9);
Py_DECREF(tmp_mod_expr_right_9);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "ooooooooooooooooobo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0581ba1b1ed6c77b6fa7a635f02267b6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0581ba1b1ed6c77b6fa7a635f02267b6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0581ba1b1ed6c77b6fa7a635f02267b6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0581ba1b1ed6c77b6fa7a635f02267b6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0581ba1b1ed6c77b6fa7a635f02267b6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0581ba1b1ed6c77b6fa7a635f02267b6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0581ba1b1ed6c77b6fa7a635f02267b6,
type_description_1,
par_self,
par_date,
par_gmt_offset,
par_relative,
par_shorter,
par_full_format,
var_now,
var_local_date,
var_local_now,
var_local_yesterday,
var_difference,
var_seconds,
var_days,
var__,
var_format,
var_minutes,
var_hours,
(int)var_tfhour_clock,
var_str_time
);
// Release cached frame if used for exception.
if (frame_0581ba1b1ed6c77b6fa7a635f02267b6 == cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6);
cache_frame_0581ba1b1ed6c77b6fa7a635f02267b6 = NULL;
}
assertFrameObject(frame_0581ba1b1ed6c77b6fa7a635f02267b6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_date);
par_date = NULL;
CHECK_OBJECT(par_full_format);
Py_DECREF(par_full_format);
par_full_format = NULL;
Py_XDECREF(var_now);
var_now = NULL;
Py_XDECREF(var_local_date);
var_local_date = NULL;
CHECK_OBJECT(var_local_now);
Py_DECREF(var_local_now);
var_local_now = NULL;
Py_XDECREF(var_local_yesterday);
var_local_yesterday = NULL;
CHECK_OBJECT(var_difference);
Py_DECREF(var_difference);
var_difference = NULL;
Py_XDECREF(var_seconds);
var_seconds = NULL;
CHECK_OBJECT(var_days);
Py_DECREF(var_days);
var_days = NULL;
Py_XDECREF(var__);
var__ = NULL;
Py_XDECREF(var_format);
var_format = NULL;
Py_XDECREF(var_minutes);
var_minutes = NULL;
Py_XDECREF(var_hours);
var_hours = NULL;
var_tfhour_clock = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_str_time);
var_str_time = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_date);
par_date = NULL;
CHECK_OBJECT(par_full_format);
Py_DECREF(par_full_format);
par_full_format = NULL;
Py_XDECREF(var_now);
var_now = NULL;
Py_XDECREF(var_local_date);
var_local_date = NULL;
Py_XDECREF(var_local_now);
var_local_now = NULL;
Py_XDECREF(var_local_yesterday);
var_local_yesterday = NULL;
Py_XDECREF(var_difference);
var_difference = NULL;
Py_XDECREF(var_seconds);
var_seconds = NULL;
Py_XDECREF(var_days);
var_days = NULL;
Py_XDECREF(var__);
var__ = NULL;
Py_XDECREF(var_format);
var_format = NULL;
Py_XDECREF(var_minutes);
var_minutes = NULL;
Py_XDECREF(var_hours);
var_hours = NULL;
var_tfhour_clock = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_str_time);
var_str_time = 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_gmt_offset);
Py_DECREF(par_gmt_offset);
CHECK_OBJECT(par_relative);
Py_DECREF(par_relative);
CHECK_OBJECT(par_shorter);
Py_DECREF(par_shorter);
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_gmt_offset);
Py_DECREF(par_gmt_offset);
CHECK_OBJECT(par_relative);
Py_DECREF(par_relative);
CHECK_OBJECT(par_shorter);
Py_DECREF(par_shorter);
// 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$locale$$$function__12_format_day(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_date = python_pars[1];
PyObject *par_gmt_offset = python_pars[2];
PyObject *par_dow = python_pars[3];
PyObject *var_local_date = NULL;
PyObject *var__ = NULL;
struct Nuitka_FrameObject *frame_0dd60a3e8716aa87ddb253bd24847a05;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_0dd60a3e8716aa87ddb253bd24847a05 = 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_0dd60a3e8716aa87ddb253bd24847a05)) {
Py_XDECREF(cache_frame_0dd60a3e8716aa87ddb253bd24847a05);
#if _DEBUG_REFCOUNTS
if (cache_frame_0dd60a3e8716aa87ddb253bd24847a05 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0dd60a3e8716aa87ddb253bd24847a05 = MAKE_FUNCTION_FRAME(codeobj_0dd60a3e8716aa87ddb253bd24847a05, module_tornado$locale, 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_0dd60a3e8716aa87ddb253bd24847a05->m_type_description == NULL);
frame_0dd60a3e8716aa87ddb253bd24847a05 = cache_frame_0dd60a3e8716aa87ddb253bd24847a05;
// Push the new frame as the currently active one.
pushFrameStack(frame_0dd60a3e8716aa87ddb253bd24847a05);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0dd60a3e8716aa87ddb253bd24847a05) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_value_0_1;
CHECK_OBJECT(par_date);
tmp_sub_expr_left_1 = par_date;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 436;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[119]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 436;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_gmt_offset);
tmp_kw_call_value_0_1 = par_gmt_offset;
frame_0dd60a3e8716aa87ddb253bd24847a05->m_frame.f_lineno = 436;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_sub_expr_right_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[120]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_sub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 436;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 436;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_local_date == NULL);
var_local_date = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[88]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 437;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var__ == NULL);
var__ = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_dow);
tmp_truth_name_1 = CHECK_IF_TRUE(par_dow);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "oooooo";
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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_called_value_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
PyObject *tmp_sub_expr_left_2;
PyObject *tmp_sub_expr_right_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var__);
tmp_called_value_2 = var__;
frame_0dd60a3e8716aa87ddb253bd24847a05->m_frame.f_lineno = 439;
tmp_mod_expr_left_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[166]);
if (tmp_mod_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[160];
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[101]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
exception_lineno = 440;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_local_date);
tmp_expression_value_5 = var_local_date;
tmp_sub_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[161]);
if (tmp_sub_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_expression_value_3);
exception_lineno = 440;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_2 = mod_consts[47];
tmp_subscript_value_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_2, tmp_sub_expr_right_2);
Py_DECREF(tmp_sub_expr_left_2);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_expression_value_3);
exception_lineno = 440;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_3);
Py_DECREF(tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
exception_lineno = 440;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_expression_value_8;
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[162];
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[109]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
CHECK_OBJECT(var_local_date);
tmp_called_instance_1 = var_local_date;
frame_0dd60a3e8716aa87ddb253bd24847a05->m_frame.f_lineno = 441;
tmp_subscript_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[162]);
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_6);
exception_lineno = 441;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_6);
Py_DECREF(tmp_subscript_value_2);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[138];
CHECK_OBJECT(var_local_date);
tmp_expression_value_8 = var_local_date;
tmp_unicode_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[138]);
if (tmp_unicode_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = PyObject_Unicode(tmp_unicode_arg_1);
Py_DECREF(tmp_unicode_arg_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_called_value_3;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_3;
PyObject *tmp_sub_expr_left_3;
PyObject *tmp_sub_expr_right_3;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var__);
tmp_called_value_3 = var__;
frame_0dd60a3e8716aa87ddb253bd24847a05->m_frame.f_lineno = 445;
tmp_mod_expr_left_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[145]);
if (tmp_mod_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_dict_key_2 = mod_consts[160];
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[101]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_2);
exception_lineno = 446;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_local_date);
tmp_expression_value_11 = var_local_date;
tmp_sub_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[161]);
if (tmp_sub_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_2);
Py_DECREF(tmp_expression_value_9);
exception_lineno = 446;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_3 = mod_consts[47];
tmp_subscript_value_3 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_3, tmp_sub_expr_right_3);
Py_DECREF(tmp_sub_expr_left_3);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_2);
Py_DECREF(tmp_expression_value_9);
exception_lineno = 446;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_9);
Py_DECREF(tmp_subscript_value_3);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_2);
exception_lineno = 446;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_unicode_arg_2;
PyObject *tmp_expression_value_12;
tmp_res = PyDict_SetItem(tmp_mod_expr_right_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[138];
CHECK_OBJECT(var_local_date);
tmp_expression_value_12 = var_local_date;
tmp_unicode_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[138]);
if (tmp_unicode_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooooo";
goto dict_build_exception_2;
}
tmp_dict_value_2 = PyObject_Unicode(tmp_unicode_arg_2);
Py_DECREF(tmp_unicode_arg_2);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooooo";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_mod_expr_left_2);
Py_DECREF(tmp_mod_expr_right_2);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_left_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0dd60a3e8716aa87ddb253bd24847a05);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0dd60a3e8716aa87ddb253bd24847a05);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0dd60a3e8716aa87ddb253bd24847a05);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0dd60a3e8716aa87ddb253bd24847a05, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0dd60a3e8716aa87ddb253bd24847a05->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0dd60a3e8716aa87ddb253bd24847a05, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0dd60a3e8716aa87ddb253bd24847a05,
type_description_1,
par_self,
par_date,
par_gmt_offset,
par_dow,
var_local_date,
var__
);
// Release cached frame if used for exception.
if (frame_0dd60a3e8716aa87ddb253bd24847a05 == cache_frame_0dd60a3e8716aa87ddb253bd24847a05) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0dd60a3e8716aa87ddb253bd24847a05);
cache_frame_0dd60a3e8716aa87ddb253bd24847a05 = NULL;
}
assertFrameObject(frame_0dd60a3e8716aa87ddb253bd24847a05);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_local_date);
var_local_date = NULL;
Py_XDECREF(var__);
var__ = 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_local_date);
var_local_date = NULL;
Py_XDECREF(var__);
var__ = 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_date);
Py_DECREF(par_date);
CHECK_OBJECT(par_gmt_offset);
Py_DECREF(par_gmt_offset);
CHECK_OBJECT(par_dow);
Py_DECREF(par_dow);
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_date);
Py_DECREF(par_date);
CHECK_OBJECT(par_gmt_offset);
Py_DECREF(par_gmt_offset);
CHECK_OBJECT(par_dow);
Py_DECREF(par_dow);
// 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$locale$$$function__13_list(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_parts = python_pars[1];
PyObject *var__ = NULL;
PyObject *var_comma = NULL;
struct Nuitka_FrameObject *frame_6d4de3bce40fd856f10af56850e15a02;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_6d4de3bce40fd856f10af56850e15a02 = 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_6d4de3bce40fd856f10af56850e15a02)) {
Py_XDECREF(cache_frame_6d4de3bce40fd856f10af56850e15a02);
#if _DEBUG_REFCOUNTS
if (cache_frame_6d4de3bce40fd856f10af56850e15a02 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6d4de3bce40fd856f10af56850e15a02 = MAKE_FUNCTION_FRAME(codeobj_6d4de3bce40fd856f10af56850e15a02, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6d4de3bce40fd856f10af56850e15a02->m_type_description == NULL);
frame_6d4de3bce40fd856f10af56850e15a02 = cache_frame_6d4de3bce40fd856f10af56850e15a02;
// Push the new frame as the currently active one.
pushFrameStack(frame_6d4de3bce40fd856f10af56850e15a02);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6d4de3bce40fd856f10af56850e15a02) == 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[88]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 456;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var__ == NULL);
var__ = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(par_parts);
tmp_len_arg_1 = par_parts;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = mod_consts[168];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(par_parts);
tmp_len_arg_2 = par_parts;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = 1;
tmp_condition_result_2 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_parts);
tmp_expression_value_2 = par_parts;
tmp_subscript_value_1 = mod_consts[70];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 0);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_2;
nuitka_bool tmp_condition_result_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[87]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_6d4de3bce40fd856f10af56850e15a02->m_frame.f_lineno = 461;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[169]);
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 = 461;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 461;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_assign_source_2 = mod_consts[170];
goto condexpr_end_1;
condexpr_false_1:;
tmp_assign_source_2 = mod_consts[171];
condexpr_end_1:;
assert(var_comma == NULL);
Py_INCREF(tmp_assign_source_2);
var_comma = tmp_assign_source_2;
}
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_called_value_2;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var__);
tmp_called_value_2 = var__;
frame_6d4de3bce40fd856f10af56850e15a02->m_frame.f_lineno = 462;
tmp_mod_expr_left_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[172]);
if (tmp_mod_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[173];
CHECK_OBJECT(var_comma);
tmp_str_arg_value_1 = var_comma;
CHECK_OBJECT(par_parts);
tmp_expression_value_5 = par_parts;
tmp_subscript_value_2 = mod_consts[174];
tmp_iterable_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_2);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
exception_lineno = 463;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_mod_expr_left_1);
exception_lineno = 463;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_3;
PyObject *tmp_sub_expr_left_1;
nuitka_digit tmp_sub_expr_right_1;
PyObject *tmp_len_arg_3;
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[175];
CHECK_OBJECT(par_parts);
tmp_expression_value_6 = par_parts;
CHECK_OBJECT(par_parts);
tmp_len_arg_3 = par_parts;
tmp_sub_expr_left_1 = BUILTIN_LEN(tmp_len_arg_3);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "oooo";
goto dict_build_exception_1;
}
tmp_sub_expr_right_1 = 1;
tmp_subscript_value_3 = BINARY_OPERATION_SUB_OBJECT_LONG_DIGIT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
assert(!(tmp_subscript_value_3 == NULL));
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "oooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_mod_expr_right_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d4de3bce40fd856f10af56850e15a02);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d4de3bce40fd856f10af56850e15a02);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6d4de3bce40fd856f10af56850e15a02);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6d4de3bce40fd856f10af56850e15a02, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6d4de3bce40fd856f10af56850e15a02->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6d4de3bce40fd856f10af56850e15a02, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6d4de3bce40fd856f10af56850e15a02,
type_description_1,
par_self,
par_parts,
var__,
var_comma
);
// Release cached frame if used for exception.
if (frame_6d4de3bce40fd856f10af56850e15a02 == cache_frame_6d4de3bce40fd856f10af56850e15a02) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6d4de3bce40fd856f10af56850e15a02);
cache_frame_6d4de3bce40fd856f10af56850e15a02 = NULL;
}
assertFrameObject(frame_6d4de3bce40fd856f10af56850e15a02);
// 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__);
Py_DECREF(var__);
var__ = NULL;
Py_XDECREF(var_comma);
var_comma = 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__);
var__ = NULL;
Py_XDECREF(var_comma);
var_comma = 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_parts);
Py_DECREF(par_parts);
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_parts);
Py_DECREF(par_parts);
// 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$locale$$$function__14_friendly_number(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_value = python_pars[1];
PyObject *var_s = NULL;
PyObject *var_parts = NULL;
struct Nuitka_FrameObject *frame_442452f8b6255d3938cbec98256cebd9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_442452f8b6255d3938cbec98256cebd9 = 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_442452f8b6255d3938cbec98256cebd9)) {
Py_XDECREF(cache_frame_442452f8b6255d3938cbec98256cebd9);
#if _DEBUG_REFCOUNTS
if (cache_frame_442452f8b6255d3938cbec98256cebd9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_442452f8b6255d3938cbec98256cebd9 = MAKE_FUNCTION_FRAME(codeobj_442452f8b6255d3938cbec98256cebd9, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_442452f8b6255d3938cbec98256cebd9->m_type_description == NULL);
frame_442452f8b6255d3938cbec98256cebd9 = cache_frame_442452f8b6255d3938cbec98256cebd9;
// Push the new frame as the currently active one.
pushFrameStack(frame_442452f8b6255d3938cbec98256cebd9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_442452f8b6255d3938cbec98256cebd9) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[177];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 469;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_unicode_arg_1;
CHECK_OBJECT(par_value);
tmp_unicode_arg_1 = par_value;
tmp_return_value = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_unicode_arg_2;
CHECK_OBJECT(par_value);
tmp_unicode_arg_2 = par_value;
tmp_assign_source_1 = PyObject_Unicode(tmp_unicode_arg_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_s == NULL);
var_s = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_parts == NULL);
var_parts = tmp_assign_source_2;
}
loop_start_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
if (var_s == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[178]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 473;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = var_s;
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 = 473;
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:;
goto loop_end_1;
branch_no_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
if (var_parts == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[179]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 474;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = var_parts;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[180]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (var_s == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[178]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 474;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = var_s;
tmp_subscript_value_1 = mod_consts[181];
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 474;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_442452f8b6255d3938cbec98256cebd9->m_frame.f_lineno = 474;
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 = 474;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
if (var_s == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[178]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 475;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = var_s;
tmp_subscript_value_2 = mod_consts[182];
tmp_assign_source_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_s;
var_s = tmp_assign_source_3;
Py_XDECREF(old);
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 473;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
tmp_str_arg_value_1 = mod_consts[183];
tmp_called_value_2 = (PyObject *)&PyReversed_Type;
if (var_parts == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[179]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 476;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = var_parts;
frame_442452f8b6255d3938cbec98256cebd9->m_frame.f_lineno = 476;
tmp_iterable_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_442452f8b6255d3938cbec98256cebd9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_442452f8b6255d3938cbec98256cebd9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_442452f8b6255d3938cbec98256cebd9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_442452f8b6255d3938cbec98256cebd9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_442452f8b6255d3938cbec98256cebd9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_442452f8b6255d3938cbec98256cebd9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_442452f8b6255d3938cbec98256cebd9,
type_description_1,
par_self,
par_value,
var_s,
var_parts
);
// Release cached frame if used for exception.
if (frame_442452f8b6255d3938cbec98256cebd9 == cache_frame_442452f8b6255d3938cbec98256cebd9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_442452f8b6255d3938cbec98256cebd9);
cache_frame_442452f8b6255d3938cbec98256cebd9 = NULL;
}
assertFrameObject(frame_442452f8b6255d3938cbec98256cebd9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_s);
var_s = NULL;
Py_XDECREF(var_parts);
var_parts = 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_s);
var_s = NULL;
Py_XDECREF(var_parts);
var_parts = 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_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$locale$$$function__15___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_code = python_pars[1];
PyObject *par_translations = python_pars[2];
struct Nuitka_FrameObject *frame_4be9b85766caeb253017d982788efab3;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_4be9b85766caeb253017d982788efab3 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4be9b85766caeb253017d982788efab3)) {
Py_XDECREF(cache_frame_4be9b85766caeb253017d982788efab3);
#if _DEBUG_REFCOUNTS
if (cache_frame_4be9b85766caeb253017d982788efab3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4be9b85766caeb253017d982788efab3 = MAKE_FUNCTION_FRAME(codeobj_4be9b85766caeb253017d982788efab3, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4be9b85766caeb253017d982788efab3->m_type_description == NULL);
frame_4be9b85766caeb253017d982788efab3 = cache_frame_4be9b85766caeb253017d982788efab3;
// Push the new frame as the currently active one.
pushFrameStack(frame_4be9b85766caeb253017d982788efab3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4be9b85766caeb253017d982788efab3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_translations);
tmp_assattr_value_1 = par_translations;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[185], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[186]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 484;
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$locale, 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 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_1 = par_code;
frame_4be9b85766caeb253017d982788efab3->m_frame.f_lineno = 484;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[187], 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 = 484;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4be9b85766caeb253017d982788efab3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4be9b85766caeb253017d982788efab3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4be9b85766caeb253017d982788efab3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4be9b85766caeb253017d982788efab3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4be9b85766caeb253017d982788efab3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4be9b85766caeb253017d982788efab3,
type_description_1,
par_self,
par_code,
par_translations,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_4be9b85766caeb253017d982788efab3 == cache_frame_4be9b85766caeb253017d982788efab3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4be9b85766caeb253017d982788efab3);
cache_frame_4be9b85766caeb253017d982788efab3 = NULL;
}
assertFrameObject(frame_4be9b85766caeb253017d982788efab3);
// 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_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_translations);
Py_DECREF(par_translations);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_translations);
Py_DECREF(par_translations);
// 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$locale$$$function__16_translate(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_message = python_pars[1];
PyObject *par_plural_message = python_pars[2];
PyObject *par_count = python_pars[3];
PyObject *var_message_dict = NULL;
struct Nuitka_FrameObject *frame_838a299ee25ed1d910a69f3cf9aaf571;
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_838a299ee25ed1d910a69f3cf9aaf571 = 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_838a299ee25ed1d910a69f3cf9aaf571)) {
Py_XDECREF(cache_frame_838a299ee25ed1d910a69f3cf9aaf571);
#if _DEBUG_REFCOUNTS
if (cache_frame_838a299ee25ed1d910a69f3cf9aaf571 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_838a299ee25ed1d910a69f3cf9aaf571 = MAKE_FUNCTION_FRAME(codeobj_838a299ee25ed1d910a69f3cf9aaf571, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_838a299ee25ed1d910a69f3cf9aaf571->m_type_description == NULL);
frame_838a299ee25ed1d910a69f3cf9aaf571 = cache_frame_838a299ee25ed1d910a69f3cf9aaf571;
// Push the new frame as the currently active one.
pushFrameStack(frame_838a299ee25ed1d910a69f3cf9aaf571);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_838a299ee25ed1d910a69f3cf9aaf571) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_plural_message);
tmp_cmp_expr_left_1 = par_plural_message;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_count);
tmp_cmp_expr_left_2 = par_count;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 493;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_count);
tmp_cmp_expr_left_3 = par_count;
tmp_cmp_expr_right_3 = mod_consts[47];
tmp_condition_result_3 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 494;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_1;
CHECK_OBJECT(par_plural_message);
tmp_assign_source_1 = par_plural_message;
{
PyObject *old = par_message;
assert(old != NULL);
par_message = tmp_assign_source_1;
Py_INCREF(par_message);
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_arg_element_1;
PyObject *tmp_call_arg_element_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[185]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[75]);
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 = 496;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_1 = mod_consts[188];
tmp_call_arg_element_2 = MAKE_DICT_EMPTY();
frame_838a299ee25ed1d910a69f3cf9aaf571->m_frame.f_lineno = 496;
{
PyObject *call_args[] = {tmp_call_arg_element_1, tmp_call_arg_element_2};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_call_arg_element_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_message_dict == NULL);
var_message_dict = tmp_assign_source_2;
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_arg_element_3;
PyObject *tmp_call_arg_element_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[185]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[75]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_3 = mod_consts[189];
tmp_call_arg_element_4 = MAKE_DICT_EMPTY();
frame_838a299ee25ed1d910a69f3cf9aaf571->m_frame.f_lineno = 498;
{
PyObject *call_args[] = {tmp_call_arg_element_3, tmp_call_arg_element_4};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_call_arg_element_4);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_message_dict == NULL);
var_message_dict = tmp_assign_source_3;
}
branch_end_3:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_arg_element_5;
PyObject *tmp_call_arg_element_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[185]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[75]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_5 = mod_consts[44];
tmp_call_arg_element_6 = MAKE_DICT_EMPTY();
frame_838a299ee25ed1d910a69f3cf9aaf571->m_frame.f_lineno = 500;
{
PyObject *call_args[] = {tmp_call_arg_element_5, tmp_call_arg_element_6};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_call_arg_element_6);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_message_dict == NULL);
var_message_dict = tmp_assign_source_4;
}
branch_end_1:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_message_dict);
tmp_expression_value_7 = var_message_dict;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[75]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_message);
tmp_args_element_value_1 = par_message;
CHECK_OBJECT(par_message);
tmp_args_element_value_2 = par_message;
frame_838a299ee25ed1d910a69f3cf9aaf571->m_frame.f_lineno = 501;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_838a299ee25ed1d910a69f3cf9aaf571);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_838a299ee25ed1d910a69f3cf9aaf571);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_838a299ee25ed1d910a69f3cf9aaf571);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_838a299ee25ed1d910a69f3cf9aaf571, exception_lineno);
} else if (exception_tb->tb_frame != &frame_838a299ee25ed1d910a69f3cf9aaf571->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_838a299ee25ed1d910a69f3cf9aaf571, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_838a299ee25ed1d910a69f3cf9aaf571,
type_description_1,
par_self,
par_message,
par_plural_message,
par_count,
var_message_dict
);
// Release cached frame if used for exception.
if (frame_838a299ee25ed1d910a69f3cf9aaf571 == cache_frame_838a299ee25ed1d910a69f3cf9aaf571) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_838a299ee25ed1d910a69f3cf9aaf571);
cache_frame_838a299ee25ed1d910a69f3cf9aaf571 = NULL;
}
assertFrameObject(frame_838a299ee25ed1d910a69f3cf9aaf571);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
par_message = NULL;
CHECK_OBJECT(var_message_dict);
Py_DECREF(var_message_dict);
var_message_dict = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_message);
par_message = NULL;
Py_XDECREF(var_message_dict);
var_message_dict = 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_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
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_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
// 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$locale$$$function__17_pgettext(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_context = python_pars[1];
PyObject *par_message = python_pars[2];
PyObject *par_plural_message = python_pars[3];
PyObject *par_count = python_pars[4];
struct Nuitka_FrameObject *frame_118c4f53eab4f99b5a76565d688d8773;
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_118c4f53eab4f99b5a76565d688d8773 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_118c4f53eab4f99b5a76565d688d8773)) {
Py_XDECREF(cache_frame_118c4f53eab4f99b5a76565d688d8773);
#if _DEBUG_REFCOUNTS
if (cache_frame_118c4f53eab4f99b5a76565d688d8773 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_118c4f53eab4f99b5a76565d688d8773 = MAKE_FUNCTION_FRAME(codeobj_118c4f53eab4f99b5a76565d688d8773, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_118c4f53eab4f99b5a76565d688d8773->m_type_description == NULL);
frame_118c4f53eab4f99b5a76565d688d8773 = cache_frame_118c4f53eab4f99b5a76565d688d8773;
// Push the new frame as the currently active one.
pushFrameStack(frame_118c4f53eab4f99b5a76565d688d8773);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_118c4f53eab4f99b5a76565d688d8773) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[185]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 510;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 510;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_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;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_118c4f53eab4f99b5a76565d688d8773->m_frame.f_lineno = 511;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[190],
PyTuple_GET_ITEM(mod_consts[191], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[88]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 512;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_message);
tmp_args_element_value_1 = par_message;
CHECK_OBJECT(par_plural_message);
tmp_args_element_value_2 = par_plural_message;
CHECK_OBJECT(par_count);
tmp_args_element_value_3 = par_count;
frame_118c4f53eab4f99b5a76565d688d8773->m_frame.f_lineno = 512;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
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 = 512;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_118c4f53eab4f99b5a76565d688d8773);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_118c4f53eab4f99b5a76565d688d8773);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_118c4f53eab4f99b5a76565d688d8773);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_118c4f53eab4f99b5a76565d688d8773, exception_lineno);
} else if (exception_tb->tb_frame != &frame_118c4f53eab4f99b5a76565d688d8773->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_118c4f53eab4f99b5a76565d688d8773, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_118c4f53eab4f99b5a76565d688d8773,
type_description_1,
par_self,
par_context,
par_message,
par_plural_message,
par_count
);
// Release cached frame if used for exception.
if (frame_118c4f53eab4f99b5a76565d688d8773 == cache_frame_118c4f53eab4f99b5a76565d688d8773) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_118c4f53eab4f99b5a76565d688d8773);
cache_frame_118c4f53eab4f99b5a76565d688d8773 = NULL;
}
assertFrameObject(frame_118c4f53eab4f99b5a76565d688d8773);
// 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_context);
Py_DECREF(par_context);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
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_context);
Py_DECREF(par_context);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
// 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$locale$$$function__18___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_code = python_pars[1];
PyObject *par_translations = python_pars[2];
struct Nuitka_FrameObject *frame_170fbfd893343d0a965c23a7d35596e4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_170fbfd893343d0a965c23a7d35596e4 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_170fbfd893343d0a965c23a7d35596e4)) {
Py_XDECREF(cache_frame_170fbfd893343d0a965c23a7d35596e4);
#if _DEBUG_REFCOUNTS
if (cache_frame_170fbfd893343d0a965c23a7d35596e4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_170fbfd893343d0a965c23a7d35596e4 = MAKE_FUNCTION_FRAME(codeobj_170fbfd893343d0a965c23a7d35596e4, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_170fbfd893343d0a965c23a7d35596e4->m_type_description == NULL);
frame_170fbfd893343d0a965c23a7d35596e4 = cache_frame_170fbfd893343d0a965c23a7d35596e4;
// Push the new frame as the currently active one.
pushFrameStack(frame_170fbfd893343d0a965c23a7d35596e4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_170fbfd893343d0a965c23a7d35596e4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_translations);
tmp_expression_value_1 = par_translations;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[192]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[192], 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 = 519;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_translations);
tmp_expression_value_2 = par_translations;
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[59]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[59], 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 = 520;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[186]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 523;
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$locale, 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 = 523;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_code);
tmp_args_element_value_1 = par_code;
frame_170fbfd893343d0a965c23a7d35596e4->m_frame.f_lineno = 523;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[187], 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 = 523;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_170fbfd893343d0a965c23a7d35596e4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_170fbfd893343d0a965c23a7d35596e4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_170fbfd893343d0a965c23a7d35596e4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_170fbfd893343d0a965c23a7d35596e4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_170fbfd893343d0a965c23a7d35596e4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_170fbfd893343d0a965c23a7d35596e4,
type_description_1,
par_self,
par_code,
par_translations,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_170fbfd893343d0a965c23a7d35596e4 == cache_frame_170fbfd893343d0a965c23a7d35596e4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_170fbfd893343d0a965c23a7d35596e4);
cache_frame_170fbfd893343d0a965c23a7d35596e4 = NULL;
}
assertFrameObject(frame_170fbfd893343d0a965c23a7d35596e4);
// 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_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_translations);
Py_DECREF(par_translations);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_code);
Py_DECREF(par_code);
CHECK_OBJECT(par_translations);
Py_DECREF(par_translations);
// 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$locale$$$function__19_translate(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_message = python_pars[1];
PyObject *par_plural_message = python_pars[2];
PyObject *par_count = python_pars[3];
struct Nuitka_FrameObject *frame_c9dd05bc32edf79d77d81634a685407f;
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_c9dd05bc32edf79d77d81634a685407f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c9dd05bc32edf79d77d81634a685407f)) {
Py_XDECREF(cache_frame_c9dd05bc32edf79d77d81634a685407f);
#if _DEBUG_REFCOUNTS
if (cache_frame_c9dd05bc32edf79d77d81634a685407f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c9dd05bc32edf79d77d81634a685407f = MAKE_FUNCTION_FRAME(codeobj_c9dd05bc32edf79d77d81634a685407f, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c9dd05bc32edf79d77d81634a685407f->m_type_description == NULL);
frame_c9dd05bc32edf79d77d81634a685407f = cache_frame_c9dd05bc32edf79d77d81634a685407f;
// Push the new frame as the currently active one.
pushFrameStack(frame_c9dd05bc32edf79d77d81634a685407f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c9dd05bc32edf79d77d81634a685407f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_plural_message);
tmp_cmp_expr_left_1 = par_plural_message;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_count);
tmp_cmp_expr_left_2 = par_count;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 532;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_message);
tmp_args_element_value_1 = par_message;
CHECK_OBJECT(par_plural_message);
tmp_args_element_value_2 = par_plural_message;
CHECK_OBJECT(par_count);
tmp_args_element_value_3 = par_count;
frame_c9dd05bc32edf79d77d81634a685407f->m_frame.f_lineno = 533;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[192],
call_args
);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 533;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_message);
tmp_args_element_value_4 = par_message;
frame_c9dd05bc32edf79d77d81634a685407f->m_frame.f_lineno = 535;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[59], tmp_args_element_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c9dd05bc32edf79d77d81634a685407f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c9dd05bc32edf79d77d81634a685407f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c9dd05bc32edf79d77d81634a685407f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c9dd05bc32edf79d77d81634a685407f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c9dd05bc32edf79d77d81634a685407f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c9dd05bc32edf79d77d81634a685407f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c9dd05bc32edf79d77d81634a685407f,
type_description_1,
par_self,
par_message,
par_plural_message,
par_count
);
// Release cached frame if used for exception.
if (frame_c9dd05bc32edf79d77d81634a685407f == cache_frame_c9dd05bc32edf79d77d81634a685407f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c9dd05bc32edf79d77d81634a685407f);
cache_frame_c9dd05bc32edf79d77d81634a685407f = NULL;
}
assertFrameObject(frame_c9dd05bc32edf79d77d81634a685407f);
// 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_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
// 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$locale$$$function__20_pgettext(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_context = python_pars[1];
PyObject *par_message = python_pars[2];
PyObject *par_plural_message = python_pars[3];
PyObject *par_count = python_pars[4];
PyObject *var_msgs_with_ctxt = NULL;
PyObject *var_result = NULL;
PyObject *var_msg_with_ctxt = NULL;
struct Nuitka_FrameObject *frame_047998f789b5db2ba2dd3f5559edea87;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_047998f789b5db2ba2dd3f5559edea87 = 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_047998f789b5db2ba2dd3f5559edea87)) {
Py_XDECREF(cache_frame_047998f789b5db2ba2dd3f5559edea87);
#if _DEBUG_REFCOUNTS
if (cache_frame_047998f789b5db2ba2dd3f5559edea87 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_047998f789b5db2ba2dd3f5559edea87 = MAKE_FUNCTION_FRAME(codeobj_047998f789b5db2ba2dd3f5559edea87, module_tornado$locale, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_047998f789b5db2ba2dd3f5559edea87->m_type_description == NULL);
frame_047998f789b5db2ba2dd3f5559edea87 = cache_frame_047998f789b5db2ba2dd3f5559edea87;
// Push the new frame as the currently active one.
pushFrameStack(frame_047998f789b5db2ba2dd3f5559edea87);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_047998f789b5db2ba2dd3f5559edea87) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_plural_message);
tmp_cmp_expr_left_1 = par_plural_message;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_count);
tmp_cmp_expr_left_2 = par_count;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 564;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
tmp_mod_expr_left_1 = mod_consts[193];
CHECK_OBJECT(par_context);
tmp_tuple_element_2 = par_context;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[194]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 566;
type_description_1 = "oooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
CHECK_OBJECT(par_message);
tmp_tuple_element_2 = par_message;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 2, 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 frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_tuple_element_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_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 566;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_3;
PyTuple_SET_ITEM(tmp_assign_source_1, 0, tmp_tuple_element_1);
tmp_mod_expr_left_2 = mod_consts[193];
CHECK_OBJECT(par_context);
tmp_tuple_element_3 = par_context;
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194]);
if (unlikely(tmp_tuple_element_3 == NULL)) {
tmp_tuple_element_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[194]);
}
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "oooooooo";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_3);
CHECK_OBJECT(par_plural_message);
tmp_tuple_element_3 = par_plural_message;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 2, tmp_tuple_element_3);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_2);
goto tuple_build_exception_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_tuple_element_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "oooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_assign_source_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_count);
tmp_tuple_element_1 = par_count;
PyTuple_SET_ITEM0(tmp_assign_source_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_assign_source_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
assert(var_msgs_with_ctxt == NULL);
var_msgs_with_ctxt = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_dircall_arg2_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[192]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_msgs_with_ctxt);
tmp_dircall_arg2_1 = var_msgs_with_ctxt;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_assign_source_2 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_result == NULL);
var_result = tmp_assign_source_2;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194]);
if (unlikely(tmp_cmp_expr_left_3 == NULL)) {
tmp_cmp_expr_left_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[194]);
}
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_result);
tmp_cmp_expr_right_3 = var_result;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_message);
tmp_args_element_value_1 = par_message;
CHECK_OBJECT(par_plural_message);
tmp_args_element_value_2 = par_plural_message;
CHECK_OBJECT(par_count);
tmp_args_element_value_3 = par_count;
frame_047998f789b5db2ba2dd3f5559edea87->m_frame.f_lineno = 573;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_3 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[192],
call_args
);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_result;
assert(old != NULL);
var_result = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_3:;
CHECK_OBJECT(var_result);
tmp_return_value = var_result;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_4;
tmp_mod_expr_left_3 = mod_consts[193];
CHECK_OBJECT(par_context);
tmp_tuple_element_4 = par_context;
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[194]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 576;
type_description_1 = "oooooooo";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 1, tmp_tuple_element_4);
CHECK_OBJECT(par_message);
tmp_tuple_element_4 = par_message;
PyTuple_SET_ITEM0(tmp_mod_expr_right_3, 2, tmp_tuple_element_4);
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 frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_assign_source_4 = 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_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 576;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_msg_with_ctxt == NULL);
var_msg_with_ctxt = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(var_msg_with_ctxt);
tmp_args_element_value_4 = var_msg_with_ctxt;
frame_047998f789b5db2ba2dd3f5559edea87->m_frame.f_lineno = 577;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[59], tmp_args_element_value_4);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_result == NULL);
var_result = tmp_assign_source_5;
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194]);
if (unlikely(tmp_cmp_expr_left_4 == NULL)) {
tmp_cmp_expr_left_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[194]);
}
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_result);
tmp_cmp_expr_right_4 = var_result;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(par_message);
tmp_assign_source_6 = par_message;
{
PyObject *old = var_result;
assert(old != NULL);
var_result = tmp_assign_source_6;
Py_INCREF(var_result);
Py_DECREF(old);
}
}
branch_no_4:;
CHECK_OBJECT(var_result);
tmp_return_value = var_result;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_047998f789b5db2ba2dd3f5559edea87);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_047998f789b5db2ba2dd3f5559edea87);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_047998f789b5db2ba2dd3f5559edea87);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_047998f789b5db2ba2dd3f5559edea87, exception_lineno);
} else if (exception_tb->tb_frame != &frame_047998f789b5db2ba2dd3f5559edea87->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_047998f789b5db2ba2dd3f5559edea87, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_047998f789b5db2ba2dd3f5559edea87,
type_description_1,
par_self,
par_context,
par_message,
par_plural_message,
par_count,
var_msgs_with_ctxt,
var_result,
var_msg_with_ctxt
);
// Release cached frame if used for exception.
if (frame_047998f789b5db2ba2dd3f5559edea87 == cache_frame_047998f789b5db2ba2dd3f5559edea87) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_047998f789b5db2ba2dd3f5559edea87);
cache_frame_047998f789b5db2ba2dd3f5559edea87 = NULL;
}
assertFrameObject(frame_047998f789b5db2ba2dd3f5559edea87);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_msgs_with_ctxt);
var_msgs_with_ctxt = NULL;
CHECK_OBJECT(var_result);
Py_DECREF(var_result);
var_result = NULL;
Py_XDECREF(var_msg_with_ctxt);
var_msg_with_ctxt = 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_msgs_with_ctxt);
var_msgs_with_ctxt = NULL;
Py_XDECREF(var_result);
var_result = NULL;
Py_XDECREF(var_msg_with_ctxt);
var_msg_with_ctxt = 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_context);
Py_DECREF(par_context);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
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_context);
Py_DECREF(par_context);
CHECK_OBJECT(par_message);
Py_DECREF(par_message);
CHECK_OBJECT(par_plural_message);
Py_DECREF(par_plural_message);
CHECK_OBJECT(par_count);
Py_DECREF(par_count);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__10_pgettext(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__10_pgettext,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[251],
#endif
codeobj_faba87b8e165a6ab5f4f847791d2a96e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__11_format_date(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__11_format_date,
mod_consts[259],
#if PYTHON_VERSION >= 0x300
mod_consts[260],
#endif
codeobj_0581ba1b1ed6c77b6fa7a635f02267b6,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[165],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__12_format_day(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__12_format_day,
mod_consts[263],
#if PYTHON_VERSION >= 0x300
mod_consts[264],
#endif
codeobj_0dd60a3e8716aa87ddb253bd24847a05,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[167],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__13_list(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__13_list,
mod_consts[265],
#if PYTHON_VERSION >= 0x300
mod_consts[266],
#endif
codeobj_6d4de3bce40fd856f10af56850e15a02,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[176],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__14_friendly_number(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__14_friendly_number,
mod_consts[268],
#if PYTHON_VERSION >= 0x300
mod_consts[269],
#endif
codeobj_442452f8b6255d3938cbec98256cebd9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[184],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__15___init__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__15___init__,
mod_consts[187],
#if PYTHON_VERSION >= 0x300
mod_consts[272],
#endif
codeobj_4be9b85766caeb253017d982788efab3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__16_translate(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__16_translate,
mod_consts[88],
#if PYTHON_VERSION >= 0x300
mod_consts[273],
#endif
codeobj_838a299ee25ed1d910a69f3cf9aaf571,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__17_pgettext(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__17_pgettext,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[274],
#endif
codeobj_118c4f53eab4f99b5a76565d688d8773,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__18___init__(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__18___init__,
mod_consts[187],
#if PYTHON_VERSION >= 0x300
mod_consts[277],
#endif
codeobj_170fbfd893343d0a965c23a7d35596e4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__19_translate(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__19_translate,
mod_consts[88],
#if PYTHON_VERSION >= 0x300
mod_consts[278],
#endif
codeobj_c9dd05bc32edf79d77d81634a685407f,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__1_get(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__1_get,
mod_consts[75],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b7e8497857379ab0056f63683cb15af3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[2],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__20_pgettext(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__20_pgettext,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[279],
#endif
codeobj_047998f789b5db2ba2dd3f5559edea87,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[195],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__2_set_default_locale(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__2_set_default_locale,
mod_consts[219],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_811788c5fab62c0a3b38604c212b7a7a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[7],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__3_load_translations(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__3_load_translations,
mod_consts[222],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_337a622de80a28eef68d88899f7c72b0,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[52],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__4_load_gettext_translations(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__4_load_gettext_translations,
mod_consts[224],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_105dfb44627e23e31254c5215ae9ff93,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[65],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__5_get_supported_locales(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__5_get_supported_locales,
mod_consts[225],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_bbbd3a8506577607c978a561699a0c9c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[66],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__6_get_closest(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__6_get_closest,
mod_consts[1],
#if PYTHON_VERSION >= 0x300
mod_consts[240],
#endif
codeobj_254a886e81b9dbced64a621363103e38,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[76],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__7_get(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__7_get,
mod_consts[75],
#if PYTHON_VERSION >= 0x300
mod_consts[241],
#endif
codeobj_2f0dce0c55f6209cb6fee268d41173ad,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[80],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__8___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__8___init__,
mod_consts[187],
#if PYTHON_VERSION >= 0x300
mod_consts[242],
#endif
codeobj_6d9e74e25a2c66390d8910a48a578785,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$locale$$$function__9_translate(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$locale$$$function__9_translate,
mod_consts[88],
#if PYTHON_VERSION >= 0x300
mod_consts[248],
#endif
codeobj_5cc0e5aab2ea36fa2f244bbb72748031,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$locale,
mod_consts[110],
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$locale[] = {
impl_tornado$locale$$$function__1_get,
impl_tornado$locale$$$function__2_set_default_locale,
impl_tornado$locale$$$function__3_load_translations,
impl_tornado$locale$$$function__4_load_gettext_translations,
impl_tornado$locale$$$function__5_get_supported_locales,
impl_tornado$locale$$$function__6_get_closest,
impl_tornado$locale$$$function__7_get,
impl_tornado$locale$$$function__8___init__,
impl_tornado$locale$$$function__9_translate,
impl_tornado$locale$$$function__10_pgettext,
impl_tornado$locale$$$function__11_format_date,
impl_tornado$locale$$$function__12_format_day,
impl_tornado$locale$$$function__13_list,
impl_tornado$locale$$$function__14_friendly_number,
impl_tornado$locale$$$function__15___init__,
impl_tornado$locale$$$function__16_translate,
impl_tornado$locale$$$function__17_pgettext,
impl_tornado$locale$$$function__18___init__,
impl_tornado$locale$$$function__19_translate,
impl_tornado$locale$$$function__20_pgettext,
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$locale;
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$locale) || 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$locale[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$locale,
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$locale(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.locale");
// Store the module for future use.
module_tornado$locale = 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.locale: 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.locale: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.locale: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$locale\n");
moduledict_tornado$locale = MODULE_DICT(module_tornado$locale);
#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$locale,
(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$locale,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[168]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$locale,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (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$locale,
(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$locale, (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$locale,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$locale);
// 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$locale, (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$locale, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$locale, (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$locale, (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$locale);
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$locale, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
struct Nuitka_CellObject *outline_1_var___class__ = Nuitka_Cell_Empty();
struct Nuitka_CellObject *outline_2_var___class__ = Nuitka_Cell_Empty();
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__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_b59b2b38698687d7336c250ee0d99fdd;
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;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$locale$$$class__1_Locale_224 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_768f15e871139ef879f601f123e0a925_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_768f15e871139ef879f601f123e0a925_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *locals_tornado$locale$$$class__2_CSVLocale_479 = NULL;
struct Nuitka_FrameObject *frame_3825881aa4ee264ee9468b6a6c445ced_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_3825881aa4ee264ee9468b6a6c445ced_3 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_tornado$locale$$$class__3_GettextLocale_515 = NULL;
struct Nuitka_FrameObject *frame_31afb687956a20c6feb6bfbb1c46a365_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_31afb687956a20c6feb6bfbb1c46a365_4 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[196];
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[198];
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[199], tmp_assign_source_2);
}
// Frame without reuse.
frame_b59b2b38698687d7336c250ee0d99fdd = MAKE_MODULE_FRAME(codeobj_b59b2b38698687d7336c250ee0d99fdd, module_tornado$locale);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_b59b2b38698687d7336c250ee0d99fdd);
assert(Py_REFCNT(frame_b59b2b38698687d7336c250ee0d99fdd) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[198];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[200]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[200]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[201], 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$locale, (Nuitka_StringObject *)mod_consts[200]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[200]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[202], 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$locale, (Nuitka_StringObject *)mod_consts[203], 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[29];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 40;
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 = 40;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[29], 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[36];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 41;
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 = 41;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[112];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 42;
tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
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[59];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 43;
tmp_assign_source_7 = 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_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[53];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 44;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 44;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_9 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_name_value_6;
PyObject *tmp_globals_arg_value_6;
PyObject *tmp_locals_arg_value_6;
PyObject *tmp_fromlist_value_6;
PyObject *tmp_level_value_6;
tmp_name_value_6 = mod_consts[15];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 46;
tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[204];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[205];
tmp_level_value_7 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 48;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$locale,
mod_consts[39],
mod_consts[70]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[39]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[39], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[206];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[207];
tmp_level_value_8 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 49;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$locale,
mod_consts[18],
mod_consts[70]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[18]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[18], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[208];
tmp_globals_arg_value_9 = (PyObject *)moduledict_tornado$locale;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[209];
tmp_level_value_9 = mod_consts[70];
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 51;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$locale,
mod_consts[81],
mod_consts[70]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[81]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[81], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
tmp_assign_source_14 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_14 == NULL));
assert(tmp_import_from_1__module == NULL);
Py_INCREF(tmp_assign_source_14);
tmp_import_from_1__module = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$locale,
mod_consts[210],
mod_consts[70]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[210]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[210], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$locale,
mod_consts[211],
mod_consts[70]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[211]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[211], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$locale,
mod_consts[212],
mod_consts[70]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[212]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[212], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_7 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$locale,
mod_consts[213],
mod_consts[70]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[213]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[213], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_8 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$locale,
mod_consts[214],
mod_consts[70]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[214]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214], tmp_assign_source_19);
}
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_20;
tmp_assign_source_20 = mod_consts[215];
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = MAKE_DICT_EMPTY();
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_frozenset_arg_1;
PyObject *tmp_list_element_1;
tmp_list_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_list_element_1 == NULL)) {
tmp_list_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_list_element_1 == NULL));
tmp_frozenset_arg_1 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_frozenset_arg_1, 0, tmp_list_element_1);
tmp_assign_source_22 = PyFrozenSet_New(tmp_frozenset_arg_1);
Py_DECREF(tmp_frozenset_arg_1);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = Py_False;
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = mod_consts[216];
UPDATE_STRING_DICT0(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[194], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_annotations_1;
tmp_annotations_1 = DICT_COPY(mod_consts[217]);
tmp_assign_source_25 = MAKE_FUNCTION_tornado$locale$$$function__1_get(tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[75], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_annotations_2;
tmp_annotations_2 = DICT_COPY(mod_consts[218]);
tmp_assign_source_26 = MAKE_FUNCTION_tornado$locale$$$function__2_set_default_locale(tmp_annotations_2);
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[219], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_defaults_1 = mod_consts[220];
tmp_dict_key_1 = mod_consts[23];
tmp_dict_value_1 = (PyObject *)&PyUnicode_Type;
tmp_annotations_3 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[24];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_subscript_value_1 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
goto dict_build_exception_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_dict_key_1 = mod_consts[221];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_annotations_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
Py_INCREF(tmp_defaults_1);
tmp_assign_source_27 = MAKE_FUNCTION_tornado$locale$$$function__3_load_translations(tmp_defaults_1, tmp_annotations_3);
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[222], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_annotations_4;
tmp_annotations_4 = DICT_COPY(mod_consts[223]);
tmp_assign_source_28 = MAKE_FUNCTION_tornado$locale$$$function__4_load_gettext_translations(tmp_annotations_4);
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[224], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
tmp_dict_key_2 = mod_consts[221];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[210]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[210]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 219;
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_2);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 219;
goto frame_exception_exit_1;
}
tmp_annotations_5 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_assign_source_29 = MAKE_FUNCTION_tornado$locale$$$function__5_get_supported_locales(tmp_annotations_5);
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[225], tmp_assign_source_29);
}
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[226];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_30 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[227];
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[227];
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 = 224;
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_3 = tmp_class_creation_1__bases;
tmp_subscript_value_3 = mod_consts[70];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_3, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_32 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_32;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[227];
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[227];
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 = 224;
goto try_except_handler_2;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_4 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[228]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
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_5 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[228]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
tmp_tuple_element_1 = mod_consts[0];
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_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 224;
tmp_assign_source_33 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_33;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_6 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_6, mod_consts[229]);
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 = 224;
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[230];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[231];
tmp_getattr_default_1 = mod_consts[232];
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 = 224;
goto try_except_handler_2;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_7;
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_7 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_7 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[231]);
Py_DECREF(tmp_expression_value_7);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 224;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_2;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_34;
}
branch_end_2:;
{
PyObject *tmp_assign_source_35;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$locale$$$class__1_Locale_224 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[233];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[234], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
tmp_dictset_value = mod_consts[235];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[197], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
tmp_dictset_value = mod_consts[0];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[236], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
if (isFrameUnusable(cache_frame_768f15e871139ef879f601f123e0a925_2)) {
Py_XDECREF(cache_frame_768f15e871139ef879f601f123e0a925_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_768f15e871139ef879f601f123e0a925_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_768f15e871139ef879f601f123e0a925_2 = MAKE_CLASS_FRAME(codeobj_768f15e871139ef879f601f123e0a925, module_tornado$locale, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_768f15e871139ef879f601f123e0a925_2->m_type_description == NULL);
frame_768f15e871139ef879f601f123e0a925_2 = cache_frame_768f15e871139ef879f601f123e0a925_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_768f15e871139ef879f601f123e0a925_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_768f15e871139ef879f601f123e0a925_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_DICT_EMPTY();
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, 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 = 231;
type_description_2 = "o";
goto frame_exception_exit_2;
}
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_classmethod_arg_1;
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$locale$$$class__1_Locale_224, mod_consts[237]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_6 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_called_value_2 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[237]);
if (unlikely(tmp_called_value_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[237]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 233;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dict_key_3 = mod_consts[238];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_6 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[221];
tmp_dict_value_3 = mod_consts[0];
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$locale$$$function__6_get_closest(tmp_annotations_6);
frame_768f15e871139ef879f601f123e0a925_2->m_frame.f_lineno = 233;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_dict_key_4 = mod_consts[238];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
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_2;
}
}
tmp_annotations_7 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[221];
tmp_dict_value_4 = mod_consts[0];
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_classmethod_arg_1 = MAKE_FUNCTION_tornado$locale$$$function__6_get_closest(tmp_annotations_7);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_3:;
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[1], 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 = 234;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_classmethod_arg_2;
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$locale$$$class__1_Locale_224, mod_consts[237]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_7 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
tmp_called_value_3 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[237]);
if (unlikely(tmp_called_value_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[237]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 251;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dict_key_5 = mod_consts[74];
tmp_dict_value_5 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_5 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_5);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_8 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[221];
tmp_dict_value_5 = mod_consts[0];
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_5, tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$locale$$$function__7_get(tmp_annotations_8);
frame_768f15e871139ef879f601f123e0a925_2->m_frame.f_lineno = 251;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_dict_key_6 = mod_consts[74];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_9 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[221];
tmp_dict_value_6 = mod_consts[0];
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_6, tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_classmethod_arg_2 = MAKE_FUNCTION_tornado$locale$$$function__7_get(tmp_annotations_9);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_2);
Py_DECREF(tmp_classmethod_arg_2);
assert(!(tmp_dictset_value == NULL));
condexpr_end_4:;
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[75], 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 = 252;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_10;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_dict_key_7 = mod_consts[74];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_7);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_10 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[221];
tmp_dict_value_7 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__8___init__(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[187], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_defaults_2 = mod_consts[243];
tmp_dict_key_8 = mod_consts[244];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_11 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_5;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[245];
tmp_expression_value_8 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[214]);
if (tmp_expression_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_8);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_4 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_subscript_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_4 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_4);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_4);
Py_DECREF(tmp_expression_value_8);
Py_DECREF(tmp_subscript_value_4);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[246];
tmp_expression_value_9 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[214]);
if (tmp_expression_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_expression_value_9);
} else {
goto dict_build_exception_2;
}
}
tmp_subscript_value_5 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_subscript_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_5 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_5);
} else {
goto dict_build_exception_2;
}
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_5);
Py_DECREF(tmp_expression_value_9);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "o";
goto dict_build_exception_2;
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[221];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto dict_build_exception_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_11);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__9_translate(tmp_defaults_2, tmp_annotations_11);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[88], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 304;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_defaults_3 = mod_consts[243];
tmp_dict_key_9 = mod_consts[249];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_12 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_6;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_7;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[244];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto dict_build_exception_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[245];
tmp_expression_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[214]);
if (tmp_expression_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 323;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_10);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_6 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_subscript_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_6 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_6);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_10, tmp_subscript_value_6);
Py_DECREF(tmp_expression_value_10);
Py_DECREF(tmp_subscript_value_6);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 323;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[246];
tmp_expression_value_11 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[214]);
if (tmp_expression_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_2 = "o";
goto dict_build_exception_3;
}
Py_INCREF(tmp_expression_value_11);
} else {
goto dict_build_exception_3;
}
}
tmp_subscript_value_7 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_subscript_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_7 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_7);
} else {
goto dict_build_exception_3;
}
}
tmp_dict_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_11, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_11);
Py_DECREF(tmp_subscript_value_7);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_2 = "o";
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[221];
tmp_dict_value_9 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_9);
} else {
goto dict_build_exception_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_annotations_12);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__10_pgettext(tmp_defaults_3, tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[250], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_4;
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_8;
PyObject *tmp_tuple_element_3;
tmp_defaults_4 = mod_consts[252];
tmp_dict_key_10 = mod_consts[118];
tmp_expression_value_12 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[212]);
if (tmp_expression_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[212]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_12);
} else {
goto frame_exception_exit_2;
}
}
tmp_tuple_element_3 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_tuple_element_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_3 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_3);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_8 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_13;
PyTuple_SET_ITEM(tmp_subscript_value_8, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[253]);
if (tmp_tuple_element_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_3 = (PyObject *)&PyFloat_Type;
Py_INCREF(tmp_tuple_element_3);
} else {
goto tuple_build_exception_2;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_8, 1, tmp_tuple_element_3);
tmp_expression_value_13 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[112]);
if (tmp_expression_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto tuple_build_exception_2;
}
Py_INCREF(tmp_expression_value_13);
} else {
goto tuple_build_exception_2;
}
}
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[112]);
Py_DECREF(tmp_expression_value_13);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_subscript_value_8, 2, tmp_tuple_element_3);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_8);
goto frame_exception_exit_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_12);
Py_DECREF(tmp_subscript_value_8);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_13 = _PyDict_NewPresized( 6 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[254];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[255];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[256]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[257];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[256]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[258];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[256]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[221];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
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_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__11_format_date(tmp_defaults_4, tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[259], 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 = 328;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_5;
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
PyObject *tmp_expression_value_14;
tmp_defaults_5 = mod_consts[261];
tmp_dict_key_11 = mod_consts[118];
tmp_expression_value_14 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[112]);
if (tmp_expression_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_14);
} else {
goto frame_exception_exit_2;
}
}
tmp_dict_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[112]);
Py_DECREF(tmp_expression_value_14);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_14 = _PyDict_NewPresized( 4 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[254];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[262];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[256]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[221];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[256]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__12_format_day(tmp_defaults_5, tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[263], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
tmp_dict_key_12 = mod_consts[179];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[211]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[211]);
if (unlikely(tmp_dict_value_12 == NULL)) {
tmp_dict_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[211]);
}
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[221];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__13_list(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[265], 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 = 450;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[267];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[247]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_16 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[221];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[239]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__14_friendly_number(tmp_annotations_16);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[268], 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 = 467;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_768f15e871139ef879f601f123e0a925_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_768f15e871139ef879f601f123e0a925_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_768f15e871139ef879f601f123e0a925_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_768f15e871139ef879f601f123e0a925_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_768f15e871139ef879f601f123e0a925_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_768f15e871139ef879f601f123e0a925_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_768f15e871139ef879f601f123e0a925_2 == cache_frame_768f15e871139ef879f601f123e0a925_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_768f15e871139ef879f601f123e0a925_2);
cache_frame_768f15e871139ef879f601f123e0a925_2 = NULL;
}
assertFrameObject(frame_768f15e871139ef879f601f123e0a925_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_4;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_8;
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[226];
tmp_condition_result_8 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[226];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__1_Locale_224, mod_consts[270], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
branch_no_4:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_4 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = mod_consts[0];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_4 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_tornado$locale$$$class__1_Locale_224;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 224;
tmp_assign_source_36 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto try_except_handler_4;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_36;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_35 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_35);
goto try_return_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
Py_DECREF(locals_tornado$locale$$$class__1_Locale_224);
locals_tornado$locale$$$class__1_Locale_224 = NULL;
goto try_return_handler_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locale$$$class__1_Locale_224);
locals_tornado$locale$$$class__1_Locale_224 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 224;
goto try_except_handler_2;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_35);
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_tuple_element_5;
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
tmp_assign_source_37 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_37, 0, tmp_tuple_element_5);
assert(tmp_class_creation_2__bases_orig == NULL);
tmp_class_creation_2__bases_orig = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
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_38 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
tmp_assign_source_39 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_39;
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_9;
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_10;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_9;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[227];
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_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
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[227];
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_5;
condexpr_false_5:;
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 = 479;
goto try_except_handler_5;
}
tmp_condition_result_10 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_15 = tmp_class_creation_2__bases;
tmp_subscript_value_9 = mod_consts[70];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_15, tmp_subscript_value_9, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
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 = 479;
goto try_except_handler_5;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_40 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_40;
}
{
bool tmp_condition_result_11;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[227];
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_11 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_11 != 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[227];
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 = 479;
goto try_except_handler_5;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_16 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_16, mod_consts[228]);
tmp_condition_result_12 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_41;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_17;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_17 = tmp_class_creation_2__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[228]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
tmp_tuple_element_6 = mod_consts[78];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 479;
tmp_assign_source_41 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_41;
}
{
bool tmp_condition_result_13;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_18;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_18 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_18, mod_consts[229]);
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 = 479;
goto try_except_handler_5;
}
tmp_condition_result_13 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[230];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[231];
tmp_getattr_default_2 = mod_consts[232];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_5;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_19;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_19 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_19 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[231]);
Py_DECREF(tmp_expression_value_19);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 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_mod_expr_right_2);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
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 = 479;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 479;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_5;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_42;
}
branch_end_6:;
{
PyObject *tmp_assign_source_43;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$locale$$$class__2_CSVLocale_479 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[233];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[234], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
tmp_dictset_value = mod_consts[271];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[197], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
tmp_dictset_value = mod_consts[78];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[236], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
if (isFrameUnusable(cache_frame_3825881aa4ee264ee9468b6a6c445ced_3)) {
Py_XDECREF(cache_frame_3825881aa4ee264ee9468b6a6c445ced_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_3825881aa4ee264ee9468b6a6c445ced_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3825881aa4ee264ee9468b6a6c445ced_3 = MAKE_CLASS_FRAME(codeobj_3825881aa4ee264ee9468b6a6c445ced, module_tornado$locale, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3825881aa4ee264ee9468b6a6c445ced_3->m_type_description == NULL);
frame_3825881aa4ee264ee9468b6a6c445ced_3 = cache_frame_3825881aa4ee264ee9468b6a6c445ced_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_3825881aa4ee264ee9468b6a6c445ced_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3825881aa4ee264ee9468b6a6c445ced_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_dict_key_14 = mod_consts[74];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_17 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_10;
PyObject *tmp_tuple_element_8;
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[185];
tmp_expression_value_20 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[213]);
if (tmp_expression_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[213]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[213]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_2 = "c";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_20);
} else {
goto dict_build_exception_4;
}
}
tmp_tuple_element_8 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_8);
} else {
goto dict_build_exception_4;
}
}
tmp_subscript_value_10 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_11;
PyObject *tmp_tuple_element_9;
PyTuple_SET_ITEM(tmp_subscript_value_10, 0, tmp_tuple_element_8);
tmp_expression_value_21 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[213]);
if (tmp_expression_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[213]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[213]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_2 = "c";
goto tuple_build_exception_4;
}
Py_INCREF(tmp_expression_value_21);
} else {
goto tuple_build_exception_4;
}
}
tmp_tuple_element_9 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_tuple_element_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_9);
} else {
goto tuple_build_exception_4;
}
}
tmp_subscript_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_11, 0, tmp_tuple_element_9);
tmp_tuple_element_9 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_tuple_element_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_9 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_9);
} else {
goto tuple_build_exception_4;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_11, 1, tmp_tuple_element_9);
tmp_tuple_element_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_11);
Py_DECREF(tmp_expression_value_21);
Py_DECREF(tmp_subscript_value_11);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_2 = "c";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_subscript_value_10, 1, tmp_tuple_element_8);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_expression_value_20);
Py_DECREF(tmp_subscript_value_10);
goto dict_build_exception_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_dict_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_20, tmp_subscript_value_10);
Py_DECREF(tmp_expression_value_20);
Py_DECREF(tmp_subscript_value_10);
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_2 = "c";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[221];
tmp_dict_value_14 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
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_17);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
tmp_closure_1[0] = outline_1_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__15___init__(tmp_annotations_17, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[187], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_2 = "c";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_6;
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_defaults_6 = mod_consts[243];
tmp_dict_key_15 = mod_consts[244];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
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_3;
}
}
tmp_annotations_18 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_22;
PyObject *tmp_subscript_value_12;
PyObject *tmp_expression_value_23;
PyObject *tmp_subscript_value_13;
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[245];
tmp_expression_value_22 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[214]);
if (tmp_expression_value_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_2 = "c";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_22);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_12 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_subscript_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_12 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_12);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_22, tmp_subscript_value_12);
Py_DECREF(tmp_expression_value_22);
Py_DECREF(tmp_subscript_value_12);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_2 = "c";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[246];
tmp_expression_value_23 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[214]);
if (tmp_expression_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
type_description_2 = "c";
goto dict_build_exception_5;
}
Py_INCREF(tmp_expression_value_23);
} else {
goto dict_build_exception_5;
}
}
tmp_subscript_value_13 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[247]);
if (tmp_subscript_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_13 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_13);
} else {
goto dict_build_exception_5;
}
}
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_23, tmp_subscript_value_13);
Py_DECREF(tmp_expression_value_23);
Py_DECREF(tmp_subscript_value_13);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
type_description_2 = "c";
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[221];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
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 dict_build_exception_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
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_18);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
Py_INCREF(tmp_defaults_6);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__16_translate(tmp_defaults_6, tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[88], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_2 = "c";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_7;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
tmp_defaults_7 = mod_consts[243];
tmp_dict_key_16 = mod_consts[249];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_19 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_14;
PyObject *tmp_expression_value_25;
PyObject *tmp_subscript_value_15;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[244];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[245];
tmp_expression_value_24 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[214]);
if (tmp_expression_value_24 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_2 = "c";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_24);
} else {
goto dict_build_exception_6;
}
}
tmp_subscript_value_14 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_subscript_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_14);
} else {
goto dict_build_exception_6;
}
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_24, tmp_subscript_value_14);
Py_DECREF(tmp_expression_value_24);
Py_DECREF(tmp_subscript_value_14);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_2 = "c";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[246];
tmp_expression_value_25 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[214]);
if (tmp_expression_value_25 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_2 = "c";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_25);
} else {
goto dict_build_exception_6;
}
}
tmp_subscript_value_15 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[247]);
if (tmp_subscript_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_15 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_15);
} else {
goto dict_build_exception_6;
}
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_25, tmp_subscript_value_15);
Py_DECREF(tmp_expression_value_25);
Py_DECREF(tmp_subscript_value_15);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_2 = "c";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[221];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[239]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_6;
// Exception handling pass through code for dict_build:
dict_build_exception_6:;
Py_DECREF(tmp_annotations_19);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__17_pgettext(tmp_defaults_7, tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__2_CSVLocale_479, mod_consts[250], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_2 = "c";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3825881aa4ee264ee9468b6a6c445ced_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_3825881aa4ee264ee9468b6a6c445ced_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3825881aa4ee264ee9468b6a6c445ced_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3825881aa4ee264ee9468b6a6c445ced_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3825881aa4ee264ee9468b6a6c445ced_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3825881aa4ee264ee9468b6a6c445ced_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_3825881aa4ee264ee9468b6a6c445ced_3 == cache_frame_3825881aa4ee264ee9468b6a6c445ced_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3825881aa4ee264ee9468b6a6c445ced_3);
cache_frame_3825881aa4ee264ee9468b6a6c445ced_3 = NULL;
}
assertFrameObject(frame_3825881aa4ee264ee9468b6a6c445ced_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_7;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_14;
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_14 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_14 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
if (tmp_condition_result_14 == 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$locale$$$class__2_CSVLocale_479, mod_consts[270], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
branch_no_8:;
{
PyObject *tmp_assign_source_44;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_6 = tmp_class_creation_2__metaclass;
tmp_tuple_element_10 = mod_consts[78];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_10 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_10);
tmp_tuple_element_10 = locals_tornado$locale$$$class__2_CSVLocale_479;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 479;
tmp_assign_source_44 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 479;
goto try_except_handler_7;
}
assert(Nuitka_Cell_GET(outline_1_var___class__) == NULL);
PyCell_SET(outline_1_var___class__, tmp_assign_source_44);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_1_var___class__));
tmp_assign_source_43 = Nuitka_Cell_GET(outline_1_var___class__);
Py_INCREF(tmp_assign_source_43);
goto try_return_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
Py_DECREF(locals_tornado$locale$$$class__2_CSVLocale_479);
locals_tornado$locale$$$class__2_CSVLocale_479 = NULL;
goto try_return_handler_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locale$$$class__2_CSVLocale_479);
locals_tornado$locale$$$class__2_CSVLocale_479 = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 479;
goto try_except_handler_5;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[78], tmp_assign_source_43);
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_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_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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_45;
PyObject *tmp_tuple_element_11;
tmp_tuple_element_11 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_tuple_element_11 == NULL)) {
tmp_tuple_element_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
tmp_assign_source_45 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_45, 0, tmp_tuple_element_11);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_45;
}
{
PyObject *tmp_assign_source_46;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_46 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_46;
}
{
PyObject *tmp_assign_source_47;
tmp_assign_source_47 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_47;
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_15;
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_16;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_26;
PyObject *tmp_subscript_value_16;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[227];
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_15 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
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[227];
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_7;
condexpr_false_7:;
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 = 515;
goto try_except_handler_8;
}
tmp_condition_result_16 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_26 = tmp_class_creation_3__bases;
tmp_subscript_value_16 = mod_consts[70];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_26, tmp_subscript_value_16, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
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 = 515;
goto try_except_handler_8;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_48 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_48;
}
{
bool tmp_condition_result_17;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[227];
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_17 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_17 != 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[227];
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 = 515;
goto try_except_handler_8;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_27 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[228]);
tmp_condition_result_18 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_49;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_28;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_28 = tmp_class_creation_3__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[228]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
tmp_tuple_element_12 = mod_consts[79];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 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_5, 1, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 515;
tmp_assign_source_49 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_49;
}
{
bool tmp_condition_result_19;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_29;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_29 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_29, mod_consts[229]);
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 = 515;
goto try_except_handler_8;
}
tmp_condition_result_19 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_19 != 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_13;
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[230];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[231];
tmp_getattr_default_3 = mod_consts[232];
tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_30;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_30 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_30 == NULL));
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[231]);
Py_DECREF(tmp_expression_value_30);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_13);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 515;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_8;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_50;
tmp_assign_source_50 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_50;
}
branch_end_10:;
{
PyObject *tmp_assign_source_51;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$locale$$$class__3_GettextLocale_515 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[233];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[234], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
tmp_dictset_value = mod_consts[275];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[197], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
tmp_dictset_value = mod_consts[79];
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[236], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
if (isFrameUnusable(cache_frame_31afb687956a20c6feb6bfbb1c46a365_4)) {
Py_XDECREF(cache_frame_31afb687956a20c6feb6bfbb1c46a365_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_31afb687956a20c6feb6bfbb1c46a365_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_31afb687956a20c6feb6bfbb1c46a365_4 = MAKE_CLASS_FRAME(codeobj_31afb687956a20c6feb6bfbb1c46a365, module_tornado$locale, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_31afb687956a20c6feb6bfbb1c46a365_4->m_type_description == NULL);
frame_31afb687956a20c6feb6bfbb1c46a365_4 = cache_frame_31afb687956a20c6feb6bfbb1c46a365_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_31afb687956a20c6feb6bfbb1c46a365_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_31afb687956a20c6feb6bfbb1c46a365_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_20;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_dict_key_17 = mod_consts[74];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_20 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_31;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[185];
tmp_expression_value_31 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[59]);
if (tmp_expression_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_2 = "c";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_31);
} else {
goto dict_build_exception_7;
}
}
tmp_dict_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[276]);
Py_DECREF(tmp_expression_value_31);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_2 = "c";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[221];
tmp_dict_value_17 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_7;
// Exception handling pass through code for dict_build:
dict_build_exception_7:;
Py_DECREF(tmp_annotations_20);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_closure_2[0] = outline_2_var___class__;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__18___init__(tmp_annotations_20, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[187], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_8;
PyObject *tmp_annotations_21;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
tmp_defaults_8 = mod_consts[243];
tmp_dict_key_18 = mod_consts[244];
tmp_dict_value_18 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_18 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_18);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_21 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_17;
PyObject *tmp_expression_value_33;
PyObject *tmp_subscript_value_18;
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[245];
tmp_expression_value_32 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[214]);
if (tmp_expression_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "c";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_32);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_17 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_subscript_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_17 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_17);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_32, tmp_subscript_value_17);
Py_DECREF(tmp_expression_value_32);
Py_DECREF(tmp_subscript_value_17);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_2 = "c";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[246];
tmp_expression_value_33 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[214]);
if (tmp_expression_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_2 = "c";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_33);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_18 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[247]);
if (tmp_subscript_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_18 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_18);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_33, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_33);
Py_DECREF(tmp_subscript_value_18);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_2 = "c";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[221];
tmp_dict_value_18 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_18 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_18);
} else {
goto dict_build_exception_8;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_8;
// Exception handling pass through code for dict_build:
dict_build_exception_8:;
Py_DECREF(tmp_annotations_21);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
Py_INCREF(tmp_defaults_8);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__19_translate(tmp_defaults_8, tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[88], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_9;
PyObject *tmp_annotations_22;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
tmp_defaults_9 = mod_consts[243];
tmp_dict_key_19 = mod_consts[249];
tmp_dict_value_19 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_19 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_19);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_22 = _PyDict_NewPresized( 5 );
{
PyObject *tmp_expression_value_34;
PyObject *tmp_subscript_value_19;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_20;
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[244];
tmp_dict_value_19 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_19 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_19);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[245];
tmp_expression_value_34 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[214]);
if (tmp_expression_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_34);
} else {
goto dict_build_exception_9;
}
}
tmp_subscript_value_19 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_subscript_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_19 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_19);
} else {
goto dict_build_exception_9;
}
}
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_34, tmp_subscript_value_19);
Py_DECREF(tmp_expression_value_34);
Py_DECREF(tmp_subscript_value_19);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_2 = "c";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[246];
tmp_expression_value_35 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[214]);
if (tmp_expression_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_35 == NULL)) {
tmp_expression_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_35);
} else {
goto dict_build_exception_9;
}
}
tmp_subscript_value_20 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[247]);
if (tmp_subscript_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_20 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_subscript_value_20);
} else {
goto dict_build_exception_9;
}
}
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_35, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_35);
Py_DECREF(tmp_subscript_value_20);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_2 = "c";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[221];
tmp_dict_value_19 = PyObject_GetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[239]);
if (tmp_dict_value_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_19 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_19);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_22, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_9;
// Exception handling pass through code for dict_build:
dict_build_exception_9:;
Py_DECREF(tmp_annotations_22);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
Py_INCREF(tmp_defaults_9);
tmp_dictset_value = MAKE_FUNCTION_tornado$locale$$$function__20_pgettext(tmp_defaults_9, tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[250], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 537;
type_description_2 = "c";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_31afb687956a20c6feb6bfbb1c46a365_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_31afb687956a20c6feb6bfbb1c46a365_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_31afb687956a20c6feb6bfbb1c46a365_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_31afb687956a20c6feb6bfbb1c46a365_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_31afb687956a20c6feb6bfbb1c46a365_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_31afb687956a20c6feb6bfbb1c46a365_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_31afb687956a20c6feb6bfbb1c46a365_4 == cache_frame_31afb687956a20c6feb6bfbb1c46a365_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_31afb687956a20c6feb6bfbb1c46a365_4);
cache_frame_31afb687956a20c6feb6bfbb1c46a365_4 = NULL;
}
assertFrameObject(frame_31afb687956a20c6feb6bfbb1c46a365_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_10;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_3__bases_orig;
tmp_condition_result_20 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_20 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$locale$$$class__3_GettextLocale_515, mod_consts[270], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
branch_no_12:;
{
PyObject *tmp_assign_source_52;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_8 = tmp_class_creation_3__metaclass;
tmp_tuple_element_14 = mod_consts[79];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_14 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_14);
tmp_tuple_element_14 = locals_tornado$locale$$$class__3_GettextLocale_515;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_b59b2b38698687d7336c250ee0d99fdd->m_frame.f_lineno = 515;
tmp_assign_source_52 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
goto try_except_handler_10;
}
assert(Nuitka_Cell_GET(outline_2_var___class__) == NULL);
PyCell_SET(outline_2_var___class__, tmp_assign_source_52);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_2_var___class__));
tmp_assign_source_51 = Nuitka_Cell_GET(outline_2_var___class__);
Py_INCREF(tmp_assign_source_51);
goto try_return_handler_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
Py_DECREF(locals_tornado$locale$$$class__3_GettextLocale_515);
locals_tornado$locale$$$class__3_GettextLocale_515 = NULL;
goto try_return_handler_9;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$locale$$$class__3_GettextLocale_515);
locals_tornado$locale$$$class__3_GettextLocale_515 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 515;
goto try_except_handler_8;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$locale, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_51);
}
goto try_end_4;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_b59b2b38698687d7336c250ee0d99fdd);
#endif
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b59b2b38698687d7336c250ee0d99fdd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b59b2b38698687d7336c250ee0d99fdd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b59b2b38698687d7336c250ee0d99fdd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b59b2b38698687d7336c250ee0d99fdd, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_4:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.locale", false);
Py_INCREF(module_tornado$locale);
return module_tornado$locale;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$locale, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$locale", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}