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 'colorama.ansitowin32'
* 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_colorama$ansitowin32" 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_colorama$ansitowin32;
PyDictObject *moduledict_colorama$ansitowin32;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[176];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[176];
#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("colorama.ansitowin32"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 176; 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_colorama$ansitowin32(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 176; 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_253b4a170dfce8c47cd8e307e3548046;
static PyCodeObject *codeobj_fa6ad4c5db235ed5561b02048c95e4a0;
static PyCodeObject *codeobj_56e5b7542cd987f07f7dd433f1380871;
static PyCodeObject *codeobj_ce531e0c422af90266d2e9864b060e78;
static PyCodeObject *codeobj_42b6bbbea328da27a6ae51dd9637456c;
static PyCodeObject *codeobj_6722b1dda0bb23301d78fc4fc469c77f;
static PyCodeObject *codeobj_cca95eb02e30ef3d0d653b334cbb0ccc;
static PyCodeObject *codeobj_83100689eebcff229ed7ea7983084dae;
static PyCodeObject *codeobj_2514e197a4519c4077addc7050c346a7;
static PyCodeObject *codeobj_f96692b28463bb6b851b0234d2d70b78;
static PyCodeObject *codeobj_0520198b291ebac578c899b250b45316;
static PyCodeObject *codeobj_29a0e2ccc355991552444c0c4dc7760d;
static PyCodeObject *codeobj_d085993adb77354e46759b5f7f8f30fb;
static PyCodeObject *codeobj_b5048b677ef23008715639a6accda937;
static PyCodeObject *codeobj_02eb44a1f120226156568f452b247664;
static PyCodeObject *codeobj_84a116dff4c9411461500b3c55c89617;
static PyCodeObject *codeobj_5af4b2acbe25d220b37c135ca4f3a5d3;
static PyCodeObject *codeobj_919c511422b931598b73c3235d422272;
static PyCodeObject *codeobj_66fd9f709bd79d56b5b0de62f4fe6026;
static PyCodeObject *codeobj_ec58e9a1cd91b75d1ab0a4fb920ac246;
static PyCodeObject *codeobj_8006fae5839151c9fa5b5d1471adebfa;
static PyCodeObject *codeobj_979b9b4805d6fc3c69563c31a225e6a5;
static PyCodeObject *codeobj_2dc2a259629bc6690181d3131a2cf4bf;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[103]; CHECK_OBJECT(module_filename_obj);
codeobj_253b4a170dfce8c47cd8e307e3548046 = MAKE_CODE_OBJECT(module_filename_obj, 207, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[83], mod_consts[83], mod_consts[158], NULL, 1, 0, 0);
codeobj_fa6ad4c5db235ed5561b02048c95e4a0 = MAKE_CODE_OBJECT(module_filename_obj, 212, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[83], mod_consts[83], mod_consts[158], NULL, 1, 0, 0);
codeobj_56e5b7542cd987f07f7dd433f1380871 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[159], mod_consts[159], NULL, NULL, 0, 0, 0);
codeobj_ce531e0c422af90266d2e9864b060e78 = MAKE_CODE_OBJECT(module_filename_obj, 64, CO_NOFREE, mod_consts[140], mod_consts[140], mod_consts[160], NULL, 0, 0, 0);
codeobj_42b6bbbea328da27a6ae51dd9637456c = MAKE_CODE_OBJECT(module_filename_obj, 16, CO_NOFREE, mod_consts[15], mod_consts[15], mod_consts[160], NULL, 0, 0, 0);
codeobj_6722b1dda0bb23301d78fc4fc469c77f = MAKE_CODE_OBJECT(module_filename_obj, 31, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[2], mod_consts[2], mod_consts[161], NULL, 1, 0, 0);
codeobj_cca95eb02e30ef3d0d653b334cbb0ccc = MAKE_CODE_OBJECT(module_filename_obj, 37, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[3], mod_consts[3], mod_consts[161], NULL, 1, 0, 0);
codeobj_83100689eebcff229ed7ea7983084dae = MAKE_CODE_OBJECT(module_filename_obj, 28, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[131], mod_consts[131], mod_consts[162], NULL, 2, 0, 0);
codeobj_2514e197a4519c4077addc7050c346a7 = MAKE_CODE_OBJECT(module_filename_obj, 73, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[163], NULL, 5, 0, 0);
codeobj_f96692b28463bb6b851b0234d2d70b78 = MAKE_CODE_OBJECT(module_filename_obj, 22, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[164], NULL, 3, 0, 0);
codeobj_0520198b291ebac578c899b250b45316 = MAKE_CODE_OBJECT(module_filename_obj, 223, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[165], NULL, 3, 0, 0);
codeobj_29a0e2ccc355991552444c0c4dc7760d = MAKE_CODE_OBJECT(module_filename_obj, 56, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[12], mod_consts[12], mod_consts[166], NULL, 1, 0, 0);
codeobj_d085993adb77354e46759b5f7f8f30fb = MAKE_CODE_OBJECT(module_filename_obj, 199, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[70], mod_consts[70], mod_consts[167], NULL, 3, 0, 0);
codeobj_b5048b677ef23008715639a6accda937 = MAKE_CODE_OBJECT(module_filename_obj, 245, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[168], NULL, 2, 0, 0);
codeobj_02eb44a1f120226156568f452b247664 = MAKE_CODE_OBJECT(module_filename_obj, 205, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[73], mod_consts[73], mod_consts[169], NULL, 3, 0, 0);
codeobj_84a116dff4c9411461500b3c55c89617 = MAKE_CODE_OBJECT(module_filename_obj, 116, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[19], mod_consts[19], mod_consts[170], NULL, 1, 0, 0);
codeobj_5af4b2acbe25d220b37c135ca4f3a5d3 = MAKE_CODE_OBJECT(module_filename_obj, 43, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[171], NULL, 1, 0, 0);
codeobj_919c511422b931598b73c3235d422272 = MAKE_CODE_OBJECT(module_filename_obj, 170, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[26], mod_consts[26], mod_consts[170], NULL, 1, 0, 0);
codeobj_66fd9f709bd79d56b5b0de62f4fe6026 = MAKE_CODE_OBJECT(module_filename_obj, 106, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[147], mod_consts[147], mod_consts[170], NULL, 1, 0, 0);
codeobj_ec58e9a1cd91b75d1ab0a4fb920ac246 = MAKE_CODE_OBJECT(module_filename_obj, 40, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[4], mod_consts[4], mod_consts[172], NULL, 2, 0, 0);
codeobj_8006fae5839151c9fa5b5d1471adebfa = MAKE_CODE_OBJECT(module_filename_obj, 160, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[4], mod_consts[4], mod_consts[172], NULL, 2, 0, 0);
codeobj_979b9b4805d6fc3c69563c31a225e6a5 = MAKE_CODE_OBJECT(module_filename_obj, 177, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[55], mod_consts[55], mod_consts[173], NULL, 2, 0, 0);
codeobj_2dc2a259629bc6690181d3131a2cf4bf = MAKE_CODE_OBJECT(module_filename_obj, 193, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[67], mod_consts[67], mod_consts[174], NULL, 4, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__4_complex_call_helper_star_list_star_dict(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__2_complex_call_helper_star_list(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__10_get_win32_calls();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__11_write();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__12_reset_all();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__13_write_and_convert();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__14_write_plain_text();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__15_convert_ansi();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__16_extract_params();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__17_call_win32();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__18_convert_osc();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__1___init__();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__2___getattr__();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__3___enter__();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__4___exit__();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__5_write();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__6_isatty();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__7_closed();
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__8___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__9_should_wrap();
// The module function definitions.
static PyObject *impl_colorama$ansitowin32$$$function__1___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_wrapped = python_pars[1];
PyObject *par_converter = python_pars[2];
struct Nuitka_FrameObject *frame_f96692b28463bb6b851b0234d2d70b78;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_f96692b28463bb6b851b0234d2d70b78 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f96692b28463bb6b851b0234d2d70b78)) {
Py_XDECREF(cache_frame_f96692b28463bb6b851b0234d2d70b78);
#if _DEBUG_REFCOUNTS
if (cache_frame_f96692b28463bb6b851b0234d2d70b78 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f96692b28463bb6b851b0234d2d70b78 = MAKE_FUNCTION_FRAME(codeobj_f96692b28463bb6b851b0234d2d70b78, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f96692b28463bb6b851b0234d2d70b78->m_type_description == NULL);
frame_f96692b28463bb6b851b0234d2d70b78 = cache_frame_f96692b28463bb6b851b0234d2d70b78;
// Push the new frame as the currently active one.
pushFrameStack(frame_f96692b28463bb6b851b0234d2d70b78);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f96692b28463bb6b851b0234d2d70b78) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_wrapped);
tmp_assattr_value_1 = par_wrapped;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_converter);
tmp_assattr_value_2 = par_converter;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f96692b28463bb6b851b0234d2d70b78);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f96692b28463bb6b851b0234d2d70b78);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f96692b28463bb6b851b0234d2d70b78, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f96692b28463bb6b851b0234d2d70b78->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f96692b28463bb6b851b0234d2d70b78, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f96692b28463bb6b851b0234d2d70b78,
type_description_1,
par_self,
par_wrapped,
par_converter
);
// Release cached frame if used for exception.
if (frame_f96692b28463bb6b851b0234d2d70b78 == cache_frame_f96692b28463bb6b851b0234d2d70b78) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f96692b28463bb6b851b0234d2d70b78);
cache_frame_f96692b28463bb6b851b0234d2d70b78 = NULL;
}
assertFrameObject(frame_f96692b28463bb6b851b0234d2d70b78);
// 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_wrapped);
Py_DECREF(par_wrapped);
CHECK_OBJECT(par_converter);
Py_DECREF(par_converter);
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_wrapped);
Py_DECREF(par_wrapped);
CHECK_OBJECT(par_converter);
Py_DECREF(par_converter);
// 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_colorama$ansitowin32$$$function__2___getattr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_83100689eebcff229ed7ea7983084dae;
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_83100689eebcff229ed7ea7983084dae = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_83100689eebcff229ed7ea7983084dae)) {
Py_XDECREF(cache_frame_83100689eebcff229ed7ea7983084dae);
#if _DEBUG_REFCOUNTS
if (cache_frame_83100689eebcff229ed7ea7983084dae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_83100689eebcff229ed7ea7983084dae = MAKE_FUNCTION_FRAME(codeobj_83100689eebcff229ed7ea7983084dae, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_83100689eebcff229ed7ea7983084dae->m_type_description == NULL);
frame_83100689eebcff229ed7ea7983084dae = cache_frame_83100689eebcff229ed7ea7983084dae;
// Push the new frame as the currently active one.
pushFrameStack(frame_83100689eebcff229ed7ea7983084dae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_83100689eebcff229ed7ea7983084dae) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_getattr_attr_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[0]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_getattr_attr_1 = par_name;
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
Py_DECREF(tmp_getattr_target_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_83100689eebcff229ed7ea7983084dae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_83100689eebcff229ed7ea7983084dae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_83100689eebcff229ed7ea7983084dae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_83100689eebcff229ed7ea7983084dae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_83100689eebcff229ed7ea7983084dae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_83100689eebcff229ed7ea7983084dae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_83100689eebcff229ed7ea7983084dae,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_83100689eebcff229ed7ea7983084dae == cache_frame_83100689eebcff229ed7ea7983084dae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_83100689eebcff229ed7ea7983084dae);
cache_frame_83100689eebcff229ed7ea7983084dae = NULL;
}
assertFrameObject(frame_83100689eebcff229ed7ea7983084dae);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__3___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
struct Nuitka_FrameObject *frame_6722b1dda0bb23301d78fc4fc469c77f;
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_6722b1dda0bb23301d78fc4fc469c77f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6722b1dda0bb23301d78fc4fc469c77f)) {
Py_XDECREF(cache_frame_6722b1dda0bb23301d78fc4fc469c77f);
#if _DEBUG_REFCOUNTS
if (cache_frame_6722b1dda0bb23301d78fc4fc469c77f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6722b1dda0bb23301d78fc4fc469c77f = MAKE_FUNCTION_FRAME(codeobj_6722b1dda0bb23301d78fc4fc469c77f, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6722b1dda0bb23301d78fc4fc469c77f->m_type_description == NULL);
frame_6722b1dda0bb23301d78fc4fc469c77f = cache_frame_6722b1dda0bb23301d78fc4fc469c77f;
// Push the new frame as the currently active one.
pushFrameStack(frame_6722b1dda0bb23301d78fc4fc469c77f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6722b1dda0bb23301d78fc4fc469c77f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]);
Py_DECREF(tmp_expression_value_1);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6722b1dda0bb23301d78fc4fc469c77f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6722b1dda0bb23301d78fc4fc469c77f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6722b1dda0bb23301d78fc4fc469c77f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6722b1dda0bb23301d78fc4fc469c77f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6722b1dda0bb23301d78fc4fc469c77f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6722b1dda0bb23301d78fc4fc469c77f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6722b1dda0bb23301d78fc4fc469c77f,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame if used for exception.
if (frame_6722b1dda0bb23301d78fc4fc469c77f == cache_frame_6722b1dda0bb23301d78fc4fc469c77f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6722b1dda0bb23301d78fc4fc469c77f);
cache_frame_6722b1dda0bb23301d78fc4fc469c77f = NULL;
}
assertFrameObject(frame_6722b1dda0bb23301d78fc4fc469c77f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__4___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
struct Nuitka_FrameObject *frame_cca95eb02e30ef3d0d653b334cbb0ccc;
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_cca95eb02e30ef3d0d653b334cbb0ccc = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc)) {
Py_XDECREF(cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc);
#if _DEBUG_REFCOUNTS
if (cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc = MAKE_FUNCTION_FRAME(codeobj_cca95eb02e30ef3d0d653b334cbb0ccc, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc->m_type_description == NULL);
frame_cca95eb02e30ef3d0d653b334cbb0ccc = cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc;
// Push the new frame as the currently active one.
pushFrameStack(frame_cca95eb02e30ef3d0d653b334cbb0ccc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cca95eb02e30ef3d0d653b334cbb0ccc) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[3]);
Py_DECREF(tmp_expression_value_1);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cca95eb02e30ef3d0d653b334cbb0ccc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cca95eb02e30ef3d0d653b334cbb0ccc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cca95eb02e30ef3d0d653b334cbb0ccc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cca95eb02e30ef3d0d653b334cbb0ccc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cca95eb02e30ef3d0d653b334cbb0ccc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cca95eb02e30ef3d0d653b334cbb0ccc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cca95eb02e30ef3d0d653b334cbb0ccc,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame if used for exception.
if (frame_cca95eb02e30ef3d0d653b334cbb0ccc == cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc);
cache_frame_cca95eb02e30ef3d0d653b334cbb0ccc = NULL;
}
assertFrameObject(frame_cca95eb02e30ef3d0d653b334cbb0ccc);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__5_write(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_text = python_pars[1];
struct Nuitka_FrameObject *frame_ec58e9a1cd91b75d1ab0a4fb920ac246;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246)) {
Py_XDECREF(cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
#if _DEBUG_REFCOUNTS
if (cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246 = MAKE_FUNCTION_FRAME(codeobj_ec58e9a1cd91b75d1ab0a4fb920ac246, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246->m_type_description == NULL);
frame_ec58e9a1cd91b75d1ab0a4fb920ac246 = cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246;
// Push the new frame as the currently active one.
pushFrameStack(frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ec58e9a1cd91b75d1ab0a4fb920ac246) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_text);
tmp_args_element_value_1 = par_text;
frame_ec58e9a1cd91b75d1ab0a4fb920ac246->m_frame.f_lineno = 41;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], 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 = 41;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ec58e9a1cd91b75d1ab0a4fb920ac246, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ec58e9a1cd91b75d1ab0a4fb920ac246->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ec58e9a1cd91b75d1ab0a4fb920ac246, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ec58e9a1cd91b75d1ab0a4fb920ac246,
type_description_1,
par_self,
par_text
);
// Release cached frame if used for exception.
if (frame_ec58e9a1cd91b75d1ab0a4fb920ac246 == cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
cache_frame_ec58e9a1cd91b75d1ab0a4fb920ac246 = NULL;
}
assertFrameObject(frame_ec58e9a1cd91b75d1ab0a4fb920ac246);
// 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_text);
Py_DECREF(par_text);
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_text);
Py_DECREF(par_text);
// 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_colorama$ansitowin32$$$function__6_isatty(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_stream = NULL;
PyObject *var_stream_isatty = NULL;
struct Nuitka_FrameObject *frame_5af4b2acbe25d220b37c135ca4f3a5d3;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3 = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3)) {
Py_XDECREF(cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3);
#if _DEBUG_REFCOUNTS
if (cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3 = MAKE_FUNCTION_FRAME(codeobj_5af4b2acbe25d220b37c135ca4f3a5d3, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3->m_type_description == NULL);
frame_5af4b2acbe25d220b37c135ca4f3a5d3 = cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3;
// Push the new frame as the currently active one.
pushFrameStack(frame_5af4b2acbe25d220b37c135ca4f3a5d3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5af4b2acbe25d220b37c135ca4f3a5d3) == 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[0]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 44;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_stream == NULL);
var_stream = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
tmp_cmp_expr_left_1 = mod_consts[5];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[7]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
type_description_1 = "ooo";
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 = 45;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_stream);
tmp_cmp_expr_left_2 = var_stream;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_stream);
tmp_cmp_expr_left_3 = var_stream;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
assert(!(tmp_expression_value_3 == NULL));
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[9]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_right_3);
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_stream);
tmp_cmp_expr_left_4 = var_stream;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
assert(!(tmp_expression_value_4 == NULL));
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[10]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
Py_DECREF(tmp_cmp_expr_right_4);
tmp_and_right_value_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_and_right_value_1 = tmp_or_left_value_1;
or_end_1:;
tmp_condition_result_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_2 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_stream);
tmp_expression_value_5 = var_stream;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[11]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_stream_isatty == NULL);
var_stream_isatty = tmp_assign_source_2;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_5af4b2acbe25d220b37c135ca4f3a5d3, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_5af4b2acbe25d220b37c135ca4f3a5d3, 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_3;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_5 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 48;
}
if (exception_tb && exception_tb->tb_frame == &frame_5af4b2acbe25d220b37c135ca4f3a5d3->m_frame) frame_5af4b2acbe25d220b37c135ca4f3a5d3->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
{
PyObject *tmp_called_value_1;
CHECK_OBJECT(var_stream_isatty);
tmp_called_value_1 = var_stream_isatty;
frame_5af4b2acbe25d220b37c135ca4f3a5d3->m_frame.f_lineno = 53;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5af4b2acbe25d220b37c135ca4f3a5d3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5af4b2acbe25d220b37c135ca4f3a5d3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5af4b2acbe25d220b37c135ca4f3a5d3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5af4b2acbe25d220b37c135ca4f3a5d3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5af4b2acbe25d220b37c135ca4f3a5d3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5af4b2acbe25d220b37c135ca4f3a5d3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5af4b2acbe25d220b37c135ca4f3a5d3,
type_description_1,
par_self,
var_stream,
var_stream_isatty
);
// Release cached frame if used for exception.
if (frame_5af4b2acbe25d220b37c135ca4f3a5d3 == cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3);
cache_frame_5af4b2acbe25d220b37c135ca4f3a5d3 = NULL;
}
assertFrameObject(frame_5af4b2acbe25d220b37c135ca4f3a5d3);
// 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_stream);
Py_DECREF(var_stream);
var_stream = NULL;
Py_XDECREF(var_stream_isatty);
var_stream_isatty = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_stream);
var_stream = NULL;
Py_XDECREF(var_stream_isatty);
var_stream_isatty = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__7_closed(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_stream = NULL;
struct Nuitka_FrameObject *frame_29a0e2ccc355991552444c0c4dc7760d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_29a0e2ccc355991552444c0c4dc7760d = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_29a0e2ccc355991552444c0c4dc7760d)) {
Py_XDECREF(cache_frame_29a0e2ccc355991552444c0c4dc7760d);
#if _DEBUG_REFCOUNTS
if (cache_frame_29a0e2ccc355991552444c0c4dc7760d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29a0e2ccc355991552444c0c4dc7760d = MAKE_FUNCTION_FRAME(codeobj_29a0e2ccc355991552444c0c4dc7760d, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29a0e2ccc355991552444c0c4dc7760d->m_type_description == NULL);
frame_29a0e2ccc355991552444c0c4dc7760d = cache_frame_29a0e2ccc355991552444c0c4dc7760d;
// Push the new frame as the currently active one.
pushFrameStack(frame_29a0e2ccc355991552444c0c4dc7760d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29a0e2ccc355991552444c0c4dc7760d) == 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[0]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_stream == NULL);
var_stream = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_stream);
tmp_expression_value_2 = var_stream;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[12]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
type_description_1 = "oo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_29a0e2ccc355991552444c0c4dc7760d, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_29a0e2ccc355991552444c0c4dc7760d, 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_AttributeError;
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:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 58;
}
if (exception_tb && exception_tb->tb_frame == &frame_29a0e2ccc355991552444c0c4dc7760d->m_frame) frame_29a0e2ccc355991552444c0c4dc7760d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_29a0e2ccc355991552444c0c4dc7760d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29a0e2ccc355991552444c0c4dc7760d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29a0e2ccc355991552444c0c4dc7760d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29a0e2ccc355991552444c0c4dc7760d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29a0e2ccc355991552444c0c4dc7760d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29a0e2ccc355991552444c0c4dc7760d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29a0e2ccc355991552444c0c4dc7760d,
type_description_1,
par_self,
var_stream
);
// Release cached frame if used for exception.
if (frame_29a0e2ccc355991552444c0c4dc7760d == cache_frame_29a0e2ccc355991552444c0c4dc7760d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29a0e2ccc355991552444c0c4dc7760d);
cache_frame_29a0e2ccc355991552444c0c4dc7760d = NULL;
}
assertFrameObject(frame_29a0e2ccc355991552444c0c4dc7760d);
// 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_stream);
Py_DECREF(var_stream);
var_stream = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_stream);
var_stream = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$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_wrapped = python_pars[1];
PyObject *par_convert = python_pars[2];
PyObject *par_strip = python_pars[3];
PyObject *par_autoreset = python_pars[4];
struct Nuitka_FrameObject *frame_2514e197a4519c4077addc7050c346a7;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_2514e197a4519c4077addc7050c346a7 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_2514e197a4519c4077addc7050c346a7)) {
Py_XDECREF(cache_frame_2514e197a4519c4077addc7050c346a7);
#if _DEBUG_REFCOUNTS
if (cache_frame_2514e197a4519c4077addc7050c346a7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2514e197a4519c4077addc7050c346a7 = MAKE_FUNCTION_FRAME(codeobj_2514e197a4519c4077addc7050c346a7, module_colorama$ansitowin32, 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_2514e197a4519c4077addc7050c346a7->m_type_description == NULL);
frame_2514e197a4519c4077addc7050c346a7 = cache_frame_2514e197a4519c4077addc7050c346a7;
// Push the new frame as the currently active one.
pushFrameStack(frame_2514e197a4519c4077addc7050c346a7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2514e197a4519c4077addc7050c346a7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_wrapped);
tmp_assattr_value_1 = par_wrapped;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[13], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_autoreset);
tmp_assattr_value_2 = par_autoreset;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[14], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_wrapped);
tmp_args_element_value_1 = par_wrapped;
CHECK_OBJECT(par_self);
tmp_args_element_value_2 = par_self;
frame_2514e197a4519c4077addc7050c346a7->m_frame.f_lineno = 81;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assattr_value_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[16], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_strip);
tmp_cmp_expr_left_1 = par_strip;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[16]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[12]);
Py_DECREF(tmp_expression_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[16]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
frame_2514e197a4519c4077addc7050c346a7->m_frame.f_lineno = 92;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
Py_DECREF(tmp_called_instance_1);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? Py_True : Py_False;
tmp_assign_source_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_assign_source_1 = tmp_and_left_value_1;
and_end_1:;
{
PyObject *old = par_strip;
assert(old != NULL);
par_strip = tmp_assign_source_1;
Py_INCREF(par_strip);
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_strip);
tmp_assattr_value_4 = par_strip;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[17], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_convert);
tmp_cmp_expr_left_2 = par_convert;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_False;
{
PyObject *old = par_convert;
assert(old != NULL);
par_convert = tmp_assign_source_2;
Py_INCREF(par_convert);
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_convert);
tmp_assattr_value_5 = par_convert;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[18], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_called_instance_2;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_2514e197a4519c4077addc7050c346a7->m_frame.f_lineno = 101;
tmp_assattr_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[19]);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[20], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Nuitka_SysGetObject("stderr");
assert(!(tmp_cmp_expr_right_3 == NULL));
tmp_assattr_value_7 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? Py_True : Py_False;
Py_DECREF(tmp_cmp_expr_left_3);
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[21], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "oooooNN";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2514e197a4519c4077addc7050c346a7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2514e197a4519c4077addc7050c346a7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2514e197a4519c4077addc7050c346a7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2514e197a4519c4077addc7050c346a7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2514e197a4519c4077addc7050c346a7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2514e197a4519c4077addc7050c346a7,
type_description_1,
par_self,
par_wrapped,
par_convert,
par_strip,
par_autoreset,
NULL,
NULL
);
// Release cached frame if used for exception.
if (frame_2514e197a4519c4077addc7050c346a7 == cache_frame_2514e197a4519c4077addc7050c346a7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2514e197a4519c4077addc7050c346a7);
cache_frame_2514e197a4519c4077addc7050c346a7 = NULL;
}
assertFrameObject(frame_2514e197a4519c4077addc7050c346a7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_convert);
Py_DECREF(par_convert);
par_convert = NULL;
CHECK_OBJECT(par_strip);
Py_DECREF(par_strip);
par_strip = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_convert);
Py_DECREF(par_convert);
par_convert = NULL;
CHECK_OBJECT(par_strip);
Py_DECREF(par_strip);
par_strip = 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_wrapped);
Py_DECREF(par_wrapped);
CHECK_OBJECT(par_autoreset);
Py_DECREF(par_autoreset);
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_wrapped);
Py_DECREF(par_wrapped);
CHECK_OBJECT(par_autoreset);
Py_DECREF(par_autoreset);
// 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_colorama$ansitowin32$$$function__9_should_wrap(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_66fd9f709bd79d56b5b0de62f4fe6026;
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_66fd9f709bd79d56b5b0de62f4fe6026 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_66fd9f709bd79d56b5b0de62f4fe6026)) {
Py_XDECREF(cache_frame_66fd9f709bd79d56b5b0de62f4fe6026);
#if _DEBUG_REFCOUNTS
if (cache_frame_66fd9f709bd79d56b5b0de62f4fe6026 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_66fd9f709bd79d56b5b0de62f4fe6026 = MAKE_FUNCTION_FRAME(codeobj_66fd9f709bd79d56b5b0de62f4fe6026, module_colorama$ansitowin32, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_66fd9f709bd79d56b5b0de62f4fe6026->m_type_description == NULL);
frame_66fd9f709bd79d56b5b0de62f4fe6026 = cache_frame_66fd9f709bd79d56b5b0de62f4fe6026;
// Push the new frame as the currently active one.
pushFrameStack(frame_66fd9f709bd79d56b5b0de62f4fe6026);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_66fd9f709bd79d56b5b0de62f4fe6026) == 2); // Frame stack
// Framed code:
{
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[18]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
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 = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
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);
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_or_left_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "o";
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 = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_or_right_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[14]);
if (tmp_or_right_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_or_right_value_1 = tmp_or_left_value_2;
or_end_2:;
tmp_return_value = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_return_value = tmp_or_left_value_1;
or_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_66fd9f709bd79d56b5b0de62f4fe6026);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_66fd9f709bd79d56b5b0de62f4fe6026);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_66fd9f709bd79d56b5b0de62f4fe6026);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_66fd9f709bd79d56b5b0de62f4fe6026, exception_lineno);
} else if (exception_tb->tb_frame != &frame_66fd9f709bd79d56b5b0de62f4fe6026->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_66fd9f709bd79d56b5b0de62f4fe6026, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_66fd9f709bd79d56b5b0de62f4fe6026,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_66fd9f709bd79d56b5b0de62f4fe6026 == cache_frame_66fd9f709bd79d56b5b0de62f4fe6026) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_66fd9f709bd79d56b5b0de62f4fe6026);
cache_frame_66fd9f709bd79d56b5b0de62f4fe6026 = NULL;
}
assertFrameObject(frame_66fd9f709bd79d56b5b0de62f4fe6026);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__10_get_win32_calls(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_84a116dff4c9411461500b3c55c89617;
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_84a116dff4c9411461500b3c55c89617 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_84a116dff4c9411461500b3c55c89617)) {
Py_XDECREF(cache_frame_84a116dff4c9411461500b3c55c89617);
#if _DEBUG_REFCOUNTS
if (cache_frame_84a116dff4c9411461500b3c55c89617 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_84a116dff4c9411461500b3c55c89617 = MAKE_FUNCTION_FRAME(codeobj_84a116dff4c9411461500b3c55c89617, module_colorama$ansitowin32, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_84a116dff4c9411461500b3c55c89617->m_type_description == NULL);
frame_84a116dff4c9411461500b3c55c89617 = cache_frame_84a116dff4c9411461500b3c55c89617;
// Push the new frame as the currently active one.
pushFrameStack(frame_84a116dff4c9411461500b3c55c89617);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_84a116dff4c9411461500b3c55c89617) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[18]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_mvar_value_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[25]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 119;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[26]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 119;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_1);
tmp_return_value = _PyDict_NewPresized( 38 );
{
PyObject *tmp_expression_value_4;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_tuple_element_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_10;
PyObject *tmp_tuple_element_4;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_13;
PyObject *tmp_tuple_element_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_16;
PyObject *tmp_tuple_element_6;
PyObject *tmp_expression_value_17;
PyObject *tmp_expression_value_19;
PyObject *tmp_tuple_element_7;
PyObject *tmp_expression_value_20;
PyObject *tmp_expression_value_22;
PyObject *tmp_tuple_element_8;
PyObject *tmp_expression_value_23;
PyObject *tmp_expression_value_25;
PyObject *tmp_tuple_element_9;
PyObject *tmp_expression_value_26;
PyObject *tmp_expression_value_28;
PyObject *tmp_tuple_element_10;
PyObject *tmp_expression_value_29;
PyObject *tmp_expression_value_31;
PyObject *tmp_tuple_element_11;
PyObject *tmp_expression_value_32;
PyObject *tmp_expression_value_34;
PyObject *tmp_tuple_element_12;
PyObject *tmp_expression_value_35;
PyObject *tmp_expression_value_37;
PyObject *tmp_tuple_element_13;
PyObject *tmp_expression_value_38;
PyObject *tmp_expression_value_39;
PyObject *tmp_tuple_element_14;
PyObject *tmp_expression_value_40;
PyObject *tmp_expression_value_42;
PyObject *tmp_tuple_element_15;
PyObject *tmp_expression_value_43;
PyObject *tmp_expression_value_45;
PyObject *tmp_tuple_element_16;
PyObject *tmp_expression_value_46;
PyObject *tmp_expression_value_48;
PyObject *tmp_tuple_element_17;
PyObject *tmp_expression_value_49;
PyObject *tmp_expression_value_51;
PyObject *tmp_tuple_element_18;
PyObject *tmp_expression_value_52;
PyObject *tmp_expression_value_54;
PyObject *tmp_tuple_element_19;
PyObject *tmp_expression_value_55;
PyObject *tmp_expression_value_57;
PyObject *tmp_tuple_element_20;
PyObject *tmp_expression_value_58;
PyObject *tmp_expression_value_60;
PyObject *tmp_tuple_element_21;
PyObject *tmp_expression_value_61;
PyObject *tmp_expression_value_63;
PyObject *tmp_tuple_element_22;
PyObject *tmp_expression_value_64;
PyObject *tmp_expression_value_66;
PyObject *tmp_tuple_element_23;
PyObject *tmp_expression_value_67;
PyObject *tmp_expression_value_69;
PyObject *tmp_tuple_element_24;
PyObject *tmp_expression_value_70;
PyObject *tmp_expression_value_72;
PyObject *tmp_tuple_element_25;
PyObject *tmp_expression_value_73;
PyObject *tmp_expression_value_75;
PyObject *tmp_tuple_element_26;
PyObject *tmp_expression_value_76;
PyObject *tmp_expression_value_78;
PyObject *tmp_tuple_element_27;
PyObject *tmp_expression_value_79;
PyObject *tmp_expression_value_81;
PyObject *tmp_tuple_element_28;
PyObject *tmp_expression_value_82;
PyObject *tmp_expression_value_84;
PyObject *tmp_tuple_element_29;
PyObject *tmp_expression_value_85;
PyObject *tmp_expression_value_87;
PyObject *tmp_tuple_element_30;
PyObject *tmp_expression_value_88;
PyObject *tmp_expression_value_89;
PyObject *tmp_tuple_element_31;
PyObject *tmp_expression_value_90;
PyObject *tmp_expression_value_92;
PyObject *tmp_tuple_element_32;
PyObject *tmp_expression_value_93;
PyObject *tmp_expression_value_95;
PyObject *tmp_tuple_element_33;
PyObject *tmp_expression_value_96;
PyObject *tmp_expression_value_98;
PyObject *tmp_tuple_element_34;
PyObject *tmp_expression_value_99;
PyObject *tmp_expression_value_101;
PyObject *tmp_tuple_element_35;
PyObject *tmp_expression_value_102;
PyObject *tmp_expression_value_104;
PyObject *tmp_tuple_element_36;
PyObject *tmp_expression_value_105;
PyObject *tmp_expression_value_107;
PyObject *tmp_tuple_element_37;
PyObject *tmp_expression_value_108;
PyObject *tmp_expression_value_110;
PyObject *tmp_tuple_element_38;
PyObject *tmp_expression_value_111;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[27]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 120;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[28]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 120;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_6;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_2);
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "o";
goto tuple_build_exception_1;
}
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[27]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_dict_value_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_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[30]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 121;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[28]);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 121;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_9;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_3);
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "o";
goto tuple_build_exception_2;
}
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[31]);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "o";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_3);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[31]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 122;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[28]);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 122;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_12;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_4);
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (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 = 122;
type_description_1 = "o";
goto tuple_build_exception_3;
}
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[31]);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_4);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[33]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 123;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[34]);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 123;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_15;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_5);
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "o";
goto tuple_build_exception_4;
}
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[33]);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "o";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_5);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[36]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 124;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[34]);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 124;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_18;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_6);
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "o";
goto tuple_build_exception_5;
}
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[36]);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "o";
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_6);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[37]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 125;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[34]);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 125;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_21;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_7);
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "o";
goto tuple_build_exception_6;
}
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[37]);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "o";
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[38]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 126;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[34]);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 126;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_24;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_8);
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "o";
goto tuple_build_exception_7;
}
tmp_tuple_element_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[38]);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "o";
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_8);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[39]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 127;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[34]);
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 127;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_27;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_9);
tmp_expression_value_27 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_27 == NULL)) {
tmp_expression_value_27 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto tuple_build_exception_8;
}
tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[39]);
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_9);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_28 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_28 == NULL)) {
tmp_expression_value_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[40]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 128;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[34]);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 128;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_30;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_10);
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "o";
goto tuple_build_exception_9;
}
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[40]);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "o";
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_10);
}
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[41]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 129;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[34]);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 129;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_33;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_11);
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "o";
goto tuple_build_exception_10;
}
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[41]);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "o";
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[42]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_35 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_35 == NULL)) {
tmp_expression_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 130;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_35, mod_consts[34]);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 130;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_36;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_12);
tmp_expression_value_36 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_36 == NULL)) {
tmp_expression_value_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "o";
goto tuple_build_exception_11;
}
tmp_tuple_element_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[43]);
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "o";
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_12);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[44]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 131;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[34]);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 131;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_13);
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[45]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 132;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_40, mod_consts[34]);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 132;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_41;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_14);
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "o";
goto tuple_build_exception_12;
}
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_41, mod_consts[33]);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "o";
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_14);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_42 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_42 == NULL)) {
tmp_expression_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_42, mod_consts[46]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_43 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_43 == NULL)) {
tmp_expression_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 133;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_43, mod_consts[34]);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 133;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_44;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_15);
tmp_expression_value_44 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_44 == NULL)) {
tmp_expression_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "o";
goto tuple_build_exception_13;
}
tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[36]);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "o";
goto tuple_build_exception_13;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_15);
tmp_tuple_element_15 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_15);
}
goto tuple_build_noexception_13;
// Exception handling pass through code for tuple_build:
tuple_build_exception_13:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_13:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_45 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_45 == NULL)) {
tmp_expression_value_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_45, mod_consts[47]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 134;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[34]);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 134;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_47;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_16);
tmp_expression_value_47 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_47 == NULL)) {
tmp_expression_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto tuple_build_exception_14;
}
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[37]);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto tuple_build_exception_14;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_16);
tmp_tuple_element_16 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_16);
}
goto tuple_build_noexception_14;
// Exception handling pass through code for tuple_build:
tuple_build_exception_14:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_14:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[48]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_49 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_49 == NULL)) {
tmp_expression_value_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 135;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[34]);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 135;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_50;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_17);
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto tuple_build_exception_15;
}
tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_50, mod_consts[38]);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto tuple_build_exception_15;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_17);
tmp_tuple_element_17 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_17);
}
goto tuple_build_noexception_15;
// Exception handling pass through code for tuple_build:
tuple_build_exception_15:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_15:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_51 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_51 == NULL)) {
tmp_expression_value_51 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_51, mod_consts[49]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_52 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_52 == NULL)) {
tmp_expression_value_52 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 136;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_52, mod_consts[34]);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 136;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_53;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_18);
tmp_expression_value_53 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_53 == NULL)) {
tmp_expression_value_53 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "o";
goto tuple_build_exception_16;
}
tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_53, mod_consts[39]);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "o";
goto tuple_build_exception_16;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_18);
tmp_tuple_element_18 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_18);
}
goto tuple_build_noexception_16;
// Exception handling pass through code for tuple_build:
tuple_build_exception_16:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_16:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_54 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_54 == NULL)) {
tmp_expression_value_54 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[50]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_55 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_55 == NULL)) {
tmp_expression_value_55 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 137;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_55, mod_consts[34]);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 137;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_56;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_19);
tmp_expression_value_56 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_56 == NULL)) {
tmp_expression_value_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "o";
goto tuple_build_exception_17;
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_56, mod_consts[40]);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "o";
goto tuple_build_exception_17;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_19);
tmp_tuple_element_19 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_19);
}
goto tuple_build_noexception_17;
// Exception handling pass through code for tuple_build:
tuple_build_exception_17:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_17:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_57 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_57 == NULL)) {
tmp_expression_value_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_57, mod_consts[51]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_58 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_58 == NULL)) {
tmp_expression_value_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 138;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_58, mod_consts[34]);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 138;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_59;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_20);
tmp_expression_value_59 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_59 == NULL)) {
tmp_expression_value_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "o";
goto tuple_build_exception_18;
}
tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_59, mod_consts[41]);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "o";
goto tuple_build_exception_18;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_20);
tmp_tuple_element_20 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_20);
}
goto tuple_build_noexception_18;
// Exception handling pass through code for tuple_build:
tuple_build_exception_18:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_18:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_60 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_expression_value_60 == NULL)) {
tmp_expression_value_60 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_expression_value_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_60, mod_consts[52]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_61 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_61 == NULL)) {
tmp_expression_value_61 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 139;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_61, mod_consts[34]);
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 139;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_62;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_21);
tmp_expression_value_62 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_62 == NULL)) {
tmp_expression_value_62 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "o";
goto tuple_build_exception_19;
}
tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_62, mod_consts[43]);
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "o";
goto tuple_build_exception_19;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_21);
tmp_tuple_element_21 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_21);
}
goto tuple_build_noexception_19;
// Exception handling pass through code for tuple_build:
tuple_build_exception_19:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_19:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_63 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_63 == NULL)) {
tmp_expression_value_63 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_63, mod_consts[33]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_64 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_64 == NULL)) {
tmp_expression_value_64 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 140;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_64, mod_consts[54]);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 140;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_65;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_22);
tmp_expression_value_65 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_65 == NULL)) {
tmp_expression_value_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "o";
goto tuple_build_exception_20;
}
tmp_tuple_element_22 = LOOKUP_ATTRIBUTE(tmp_expression_value_65, mod_consts[33]);
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "o";
goto tuple_build_exception_20;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_22);
}
goto tuple_build_noexception_20;
// Exception handling pass through code for tuple_build:
tuple_build_exception_20:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_20:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_66 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_66 == NULL)) {
tmp_expression_value_66 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_66, mod_consts[36]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_67 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_67 == NULL)) {
tmp_expression_value_67 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 141;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_67, mod_consts[54]);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 141;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_68;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_23);
tmp_expression_value_68 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_68 == NULL)) {
tmp_expression_value_68 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto tuple_build_exception_21;
}
tmp_tuple_element_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_68, mod_consts[36]);
if (tmp_tuple_element_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto tuple_build_exception_21;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_23);
}
goto tuple_build_noexception_21;
// Exception handling pass through code for tuple_build:
tuple_build_exception_21:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_21:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_69 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_69 == NULL)) {
tmp_expression_value_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_69, mod_consts[37]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_70 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_70 == NULL)) {
tmp_expression_value_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 142;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_70, mod_consts[54]);
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 142;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_71;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_24);
tmp_expression_value_71 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_71 == NULL)) {
tmp_expression_value_71 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto tuple_build_exception_22;
}
tmp_tuple_element_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_71, mod_consts[37]);
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto tuple_build_exception_22;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_24);
}
goto tuple_build_noexception_22;
// Exception handling pass through code for tuple_build:
tuple_build_exception_22:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_22:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_72 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_72 == NULL)) {
tmp_expression_value_72 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_72, mod_consts[38]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_73 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_73 == NULL)) {
tmp_expression_value_73 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 143;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_73, mod_consts[54]);
if (tmp_tuple_element_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 143;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_74;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_25);
tmp_expression_value_74 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_74 == NULL)) {
tmp_expression_value_74 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto tuple_build_exception_23;
}
tmp_tuple_element_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_74, mod_consts[38]);
if (tmp_tuple_element_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto tuple_build_exception_23;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_25);
}
goto tuple_build_noexception_23;
// Exception handling pass through code for tuple_build:
tuple_build_exception_23:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_23:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_75 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_75 == NULL)) {
tmp_expression_value_75 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_75, mod_consts[39]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_76 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_76 == NULL)) {
tmp_expression_value_76 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 144;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_76, mod_consts[54]);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 144;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_77;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_26);
tmp_expression_value_77 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_77 == NULL)) {
tmp_expression_value_77 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto tuple_build_exception_24;
}
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_77, mod_consts[39]);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto tuple_build_exception_24;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_26);
}
goto tuple_build_noexception_24;
// Exception handling pass through code for tuple_build:
tuple_build_exception_24:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_24:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_78 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_78 == NULL)) {
tmp_expression_value_78 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_78 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_78, mod_consts[40]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_79 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_79 == NULL)) {
tmp_expression_value_79 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 145;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_79, mod_consts[54]);
if (tmp_tuple_element_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 145;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_80;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_27);
tmp_expression_value_80 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_80 == NULL)) {
tmp_expression_value_80 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto tuple_build_exception_25;
}
tmp_tuple_element_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_80, mod_consts[40]);
if (tmp_tuple_element_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto tuple_build_exception_25;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_27);
}
goto tuple_build_noexception_25;
// Exception handling pass through code for tuple_build:
tuple_build_exception_25:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_25:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_81 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_81 == NULL)) {
tmp_expression_value_81 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_81 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_81, mod_consts[41]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_82 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_82 == NULL)) {
tmp_expression_value_82 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 146;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_82, mod_consts[54]);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 146;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_83;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_28);
tmp_expression_value_83 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_83 == NULL)) {
tmp_expression_value_83 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_83 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto tuple_build_exception_26;
}
tmp_tuple_element_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_83, mod_consts[41]);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto tuple_build_exception_26;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_28);
}
goto tuple_build_noexception_26;
// Exception handling pass through code for tuple_build:
tuple_build_exception_26:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_26:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_84 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_84 == NULL)) {
tmp_expression_value_84 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_84, mod_consts[42]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_85 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_85 == NULL)) {
tmp_expression_value_85 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 147;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_85, mod_consts[54]);
if (tmp_tuple_element_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 147;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_86;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_29);
tmp_expression_value_86 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_86 == NULL)) {
tmp_expression_value_86 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_86 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto tuple_build_exception_27;
}
tmp_tuple_element_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_86, mod_consts[43]);
if (tmp_tuple_element_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto tuple_build_exception_27;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_29);
}
goto tuple_build_noexception_27;
// Exception handling pass through code for tuple_build:
tuple_build_exception_27:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_27:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_87 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_87 == NULL)) {
tmp_expression_value_87 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_87 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_87, mod_consts[44]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_88 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_88 == NULL)) {
tmp_expression_value_88 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_88 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 148;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_30 = LOOKUP_ATTRIBUTE(tmp_expression_value_88, mod_consts[54]);
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 148;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_30);
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_89 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_89 == NULL)) {
tmp_expression_value_89 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_89 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_89, mod_consts[45]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_90 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_90 == NULL)) {
tmp_expression_value_90 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_90 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 149;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_31 = LOOKUP_ATTRIBUTE(tmp_expression_value_90, mod_consts[54]);
if (tmp_tuple_element_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 149;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_91;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_31);
tmp_expression_value_91 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_91 == NULL)) {
tmp_expression_value_91 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_91 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto tuple_build_exception_28;
}
tmp_tuple_element_31 = LOOKUP_ATTRIBUTE(tmp_expression_value_91, mod_consts[33]);
if (tmp_tuple_element_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto tuple_build_exception_28;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_31);
tmp_tuple_element_31 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_31);
}
goto tuple_build_noexception_28;
// Exception handling pass through code for tuple_build:
tuple_build_exception_28:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_28:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_92 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_92 == NULL)) {
tmp_expression_value_92 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_92, mod_consts[46]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_93 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_93 == NULL)) {
tmp_expression_value_93 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 150;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_93, mod_consts[54]);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 150;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_94;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_32);
tmp_expression_value_94 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_94 == NULL)) {
tmp_expression_value_94 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto tuple_build_exception_29;
}
tmp_tuple_element_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_94, mod_consts[36]);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto tuple_build_exception_29;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_32);
tmp_tuple_element_32 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_32);
}
goto tuple_build_noexception_29;
// Exception handling pass through code for tuple_build:
tuple_build_exception_29:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_29:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_95 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_95 == NULL)) {
tmp_expression_value_95 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_95, mod_consts[47]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_96 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_96 == NULL)) {
tmp_expression_value_96 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 151;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_33 = LOOKUP_ATTRIBUTE(tmp_expression_value_96, mod_consts[54]);
if (tmp_tuple_element_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 151;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_97;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_33);
tmp_expression_value_97 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_97 == NULL)) {
tmp_expression_value_97 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_97 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "o";
goto tuple_build_exception_30;
}
tmp_tuple_element_33 = LOOKUP_ATTRIBUTE(tmp_expression_value_97, mod_consts[37]);
if (tmp_tuple_element_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "o";
goto tuple_build_exception_30;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_33);
tmp_tuple_element_33 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_33);
}
goto tuple_build_noexception_30;
// Exception handling pass through code for tuple_build:
tuple_build_exception_30:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_30:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_98 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_98 == NULL)) {
tmp_expression_value_98 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_98 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_98, mod_consts[48]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_99 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_99 == NULL)) {
tmp_expression_value_99 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_99 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 152;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_99, mod_consts[54]);
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 152;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_100;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_34);
tmp_expression_value_100 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_100 == NULL)) {
tmp_expression_value_100 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_100 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto tuple_build_exception_31;
}
tmp_tuple_element_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_100, mod_consts[38]);
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto tuple_build_exception_31;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_34);
tmp_tuple_element_34 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_34);
}
goto tuple_build_noexception_31;
// Exception handling pass through code for tuple_build:
tuple_build_exception_31:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_31:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_101 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_101 == NULL)) {
tmp_expression_value_101 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_101 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_101, mod_consts[49]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_102 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_102 == NULL)) {
tmp_expression_value_102 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_102 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 153;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_35 = LOOKUP_ATTRIBUTE(tmp_expression_value_102, mod_consts[54]);
if (tmp_tuple_element_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 153;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_103;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_35);
tmp_expression_value_103 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_103 == NULL)) {
tmp_expression_value_103 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_103 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "o";
goto tuple_build_exception_32;
}
tmp_tuple_element_35 = LOOKUP_ATTRIBUTE(tmp_expression_value_103, mod_consts[39]);
if (tmp_tuple_element_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "o";
goto tuple_build_exception_32;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_35);
tmp_tuple_element_35 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_35);
}
goto tuple_build_noexception_32;
// Exception handling pass through code for tuple_build:
tuple_build_exception_32:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_32:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_104 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_104 == NULL)) {
tmp_expression_value_104 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_104, mod_consts[50]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_105 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_105 == NULL)) {
tmp_expression_value_105 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_105 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 154;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_36 = LOOKUP_ATTRIBUTE(tmp_expression_value_105, mod_consts[54]);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 154;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_106;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_36);
tmp_expression_value_106 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_106 == NULL)) {
tmp_expression_value_106 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_106 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "o";
goto tuple_build_exception_33;
}
tmp_tuple_element_36 = LOOKUP_ATTRIBUTE(tmp_expression_value_106, mod_consts[40]);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "o";
goto tuple_build_exception_33;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_36);
tmp_tuple_element_36 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_36);
}
goto tuple_build_noexception_33;
// Exception handling pass through code for tuple_build:
tuple_build_exception_33:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_33:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_107 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_107 == NULL)) {
tmp_expression_value_107 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_107 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_107, mod_consts[51]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_108 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_108 == NULL)) {
tmp_expression_value_108 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_108 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 155;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_37 = LOOKUP_ATTRIBUTE(tmp_expression_value_108, mod_consts[54]);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 155;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_109;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_37);
tmp_expression_value_109 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_109 == NULL)) {
tmp_expression_value_109 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_109 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto tuple_build_exception_34;
}
tmp_tuple_element_37 = LOOKUP_ATTRIBUTE(tmp_expression_value_109, mod_consts[41]);
if (tmp_tuple_element_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto tuple_build_exception_34;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_37);
tmp_tuple_element_37 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_37);
}
goto tuple_build_noexception_34;
// Exception handling pass through code for tuple_build:
tuple_build_exception_34:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_34:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_110 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_110 == NULL)) {
tmp_expression_value_110 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_110 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_key_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_110, mod_consts[52]);
if (tmp_dict_key_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_expression_value_111 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_111 == NULL)) {
tmp_expression_value_111 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_111 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 156;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_tuple_element_38 = LOOKUP_ATTRIBUTE(tmp_expression_value_111, mod_consts[54]);
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dict_key_1);
exception_lineno = 156;
type_description_1 = "o";
goto dict_build_exception_1;
}
tmp_dict_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_112;
PyTuple_SET_ITEM(tmp_dict_value_1, 0, tmp_tuple_element_38);
tmp_expression_value_112 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_expression_value_112 == NULL)) {
tmp_expression_value_112 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_expression_value_112 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "o";
goto tuple_build_exception_35;
}
tmp_tuple_element_38 = LOOKUP_ATTRIBUTE(tmp_expression_value_112, mod_consts[43]);
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "o";
goto tuple_build_exception_35;
}
PyTuple_SET_ITEM(tmp_dict_value_1, 1, tmp_tuple_element_38);
tmp_tuple_element_38 = Py_True;
PyTuple_SET_ITEM0(tmp_dict_value_1, 2, tmp_tuple_element_38);
}
goto tuple_build_noexception_35;
// Exception handling pass through code for tuple_build:
tuple_build_exception_35:;
Py_DECREF(tmp_dict_key_1);
Py_DECREF(tmp_dict_value_1);
goto dict_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_35:;
tmp_res = PyDict_SetItem(tmp_return_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
Py_DECREF(tmp_dict_key_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "o";
goto dict_build_exception_1;
}
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_return_value);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
goto frame_return_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_84a116dff4c9411461500b3c55c89617);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_84a116dff4c9411461500b3c55c89617);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_84a116dff4c9411461500b3c55c89617);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_84a116dff4c9411461500b3c55c89617, exception_lineno);
} else if (exception_tb->tb_frame != &frame_84a116dff4c9411461500b3c55c89617->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_84a116dff4c9411461500b3c55c89617, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_84a116dff4c9411461500b3c55c89617,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_84a116dff4c9411461500b3c55c89617 == cache_frame_84a116dff4c9411461500b3c55c89617) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_84a116dff4c9411461500b3c55c89617);
cache_frame_84a116dff4c9411461500b3c55c89617 = NULL;
}
assertFrameObject(frame_84a116dff4c9411461500b3c55c89617);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = MAKE_DICT_EMPTY();
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__11_write(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_text = python_pars[1];
struct Nuitka_FrameObject *frame_8006fae5839151c9fa5b5d1471adebfa;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_8006fae5839151c9fa5b5d1471adebfa = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8006fae5839151c9fa5b5d1471adebfa)) {
Py_XDECREF(cache_frame_8006fae5839151c9fa5b5d1471adebfa);
#if _DEBUG_REFCOUNTS
if (cache_frame_8006fae5839151c9fa5b5d1471adebfa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8006fae5839151c9fa5b5d1471adebfa = MAKE_FUNCTION_FRAME(codeobj_8006fae5839151c9fa5b5d1471adebfa, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8006fae5839151c9fa5b5d1471adebfa->m_type_description == NULL);
frame_8006fae5839151c9fa5b5d1471adebfa = cache_frame_8006fae5839151c9fa5b5d1471adebfa;
// Push the new frame as the currently active one.
pushFrameStack(frame_8006fae5839151c9fa5b5d1471adebfa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8006fae5839151c9fa5b5d1471adebfa) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[17]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 161;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[18]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 161;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_text);
tmp_args_element_value_1 = par_text;
frame_8006fae5839151c9fa5b5d1471adebfa->m_frame.f_lineno = 162;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[55], 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 = 162;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[13]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_text);
tmp_args_element_value_2 = par_text;
frame_8006fae5839151c9fa5b5d1471adebfa->m_frame.f_lineno = 164;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[4], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_8006fae5839151c9fa5b5d1471adebfa->m_frame.f_lineno = 165;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[56]);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_end_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_3;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[14]);
if (tmp_attribute_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_attribute_value_3);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_3);
exception_lineno = 166;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_3);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_4;
CHECK_OBJECT(par_self);
tmp_called_instance_4 = par_self;
frame_8006fae5839151c9fa5b5d1471adebfa->m_frame.f_lineno = 167;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[26]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8006fae5839151c9fa5b5d1471adebfa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8006fae5839151c9fa5b5d1471adebfa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8006fae5839151c9fa5b5d1471adebfa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8006fae5839151c9fa5b5d1471adebfa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8006fae5839151c9fa5b5d1471adebfa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8006fae5839151c9fa5b5d1471adebfa,
type_description_1,
par_self,
par_text
);
// Release cached frame if used for exception.
if (frame_8006fae5839151c9fa5b5d1471adebfa == cache_frame_8006fae5839151c9fa5b5d1471adebfa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8006fae5839151c9fa5b5d1471adebfa);
cache_frame_8006fae5839151c9fa5b5d1471adebfa = NULL;
}
assertFrameObject(frame_8006fae5839151c9fa5b5d1471adebfa);
// 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_text);
Py_DECREF(par_text);
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_text);
Py_DECREF(par_text);
// 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_colorama$ansitowin32$$$function__12_reset_all(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_919c511422b931598b73c3235d422272;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_919c511422b931598b73c3235d422272 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_919c511422b931598b73c3235d422272)) {
Py_XDECREF(cache_frame_919c511422b931598b73c3235d422272);
#if _DEBUG_REFCOUNTS
if (cache_frame_919c511422b931598b73c3235d422272 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_919c511422b931598b73c3235d422272 = MAKE_FUNCTION_FRAME(codeobj_919c511422b931598b73c3235d422272, module_colorama$ansitowin32, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_919c511422b931598b73c3235d422272->m_type_description == NULL);
frame_919c511422b931598b73c3235d422272 = cache_frame_919c511422b931598b73c3235d422272;
// Push the new frame as the currently active one.
pushFrameStack(frame_919c511422b931598b73c3235d422272);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_919c511422b931598b73c3235d422272) == 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[18]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 171;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_919c511422b931598b73c3235d422272->m_frame.f_lineno = 172;
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[57],
&PyTuple_GET_ITEM(mod_consts[58], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[16]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[12]);
Py_DECREF(tmp_expression_value_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_2 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[13]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[4]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 174;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[25]);
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 = 174;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_919c511422b931598b73c3235d422272->m_frame.f_lineno = 174;
tmp_call_result_2 = 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_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_919c511422b931598b73c3235d422272);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_919c511422b931598b73c3235d422272);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_919c511422b931598b73c3235d422272, exception_lineno);
} else if (exception_tb->tb_frame != &frame_919c511422b931598b73c3235d422272->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_919c511422b931598b73c3235d422272, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_919c511422b931598b73c3235d422272,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_919c511422b931598b73c3235d422272 == cache_frame_919c511422b931598b73c3235d422272) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_919c511422b931598b73c3235d422272);
cache_frame_919c511422b931598b73c3235d422272 = NULL;
}
assertFrameObject(frame_919c511422b931598b73c3235d422272);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__13_write_and_convert(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_text = python_pars[1];
PyObject *var_cursor = NULL;
PyObject *var_match = NULL;
PyObject *var_start = NULL;
PyObject *var_end = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = 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;
struct Nuitka_FrameObject *frame_979b9b4805d6fc3c69563c31a225e6a5;
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_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;
static struct Nuitka_FrameObject *cache_frame_979b9b4805d6fc3c69563c31a225e6a5 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[60];
assert(var_cursor == NULL);
Py_INCREF(tmp_assign_source_1);
var_cursor = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_979b9b4805d6fc3c69563c31a225e6a5)) {
Py_XDECREF(cache_frame_979b9b4805d6fc3c69563c31a225e6a5);
#if _DEBUG_REFCOUNTS
if (cache_frame_979b9b4805d6fc3c69563c31a225e6a5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_979b9b4805d6fc3c69563c31a225e6a5 = MAKE_FUNCTION_FRAME(codeobj_979b9b4805d6fc3c69563c31a225e6a5, module_colorama$ansitowin32, 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_979b9b4805d6fc3c69563c31a225e6a5->m_type_description == NULL);
frame_979b9b4805d6fc3c69563c31a225e6a5 = cache_frame_979b9b4805d6fc3c69563c31a225e6a5;
// Push the new frame as the currently active one.
pushFrameStack(frame_979b9b4805d6fc3c69563c31a225e6a5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_979b9b4805d6fc3c69563c31a225e6a5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_text);
tmp_args_element_value_1 = par_text;
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 184;
tmp_assign_source_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[61], tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_text;
assert(old != NULL);
par_text = tmp_assign_source_2;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[62]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_text);
tmp_args_element_value_2 = par_text;
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 185;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[63], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 185;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_match;
var_match = tmp_assign_source_5;
Py_INCREF(var_match);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_match);
tmp_called_instance_3 = var_match;
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 186;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[64]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_assign_source_6 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_6;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 186;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 186;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_8;
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 = "oooooo";
exception_lineno = 186;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[65];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooo";
exception_lineno = 186;
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_9;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_9 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_start;
var_start = tmp_assign_source_9;
Py_INCREF(var_start);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_10 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_end;
var_end = tmp_assign_source_10;
Py_INCREF(var_end);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 187;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[67]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (par_text == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 187;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = par_text;
if (var_cursor == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[69]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 187;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_4 = var_cursor;
CHECK_OBJECT(var_start);
tmp_args_element_value_5 = var_start;
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 187;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 188;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = par_self;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[70]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_match);
tmp_called_instance_4 = var_match;
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 188;
tmp_dircall_arg2_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[71]);
if (tmp_dircall_arg2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
exception_lineno = 188;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_call_result_2 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(var_end);
tmp_assign_source_11 = var_end;
{
PyObject *old = var_cursor;
var_cursor = tmp_assign_source_11;
Py_INCREF(var_cursor);
Py_XDECREF(old);
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_len_arg_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[67]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_text == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = par_text;
if (var_cursor == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[69]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = var_cursor;
if (par_text == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = par_text;
tmp_args_element_value_8 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame.f_lineno = 190;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_979b9b4805d6fc3c69563c31a225e6a5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_979b9b4805d6fc3c69563c31a225e6a5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_979b9b4805d6fc3c69563c31a225e6a5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_979b9b4805d6fc3c69563c31a225e6a5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_979b9b4805d6fc3c69563c31a225e6a5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_979b9b4805d6fc3c69563c31a225e6a5,
type_description_1,
par_self,
par_text,
var_cursor,
var_match,
var_start,
var_end
);
// Release cached frame if used for exception.
if (frame_979b9b4805d6fc3c69563c31a225e6a5 == cache_frame_979b9b4805d6fc3c69563c31a225e6a5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_979b9b4805d6fc3c69563c31a225e6a5);
cache_frame_979b9b4805d6fc3c69563c31a225e6a5 = NULL;
}
assertFrameObject(frame_979b9b4805d6fc3c69563c31a225e6a5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_text);
par_text = NULL;
Py_XDECREF(var_cursor);
var_cursor = NULL;
Py_XDECREF(var_match);
var_match = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_end);
var_end = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_text);
par_text = NULL;
Py_XDECREF(var_cursor);
var_cursor = NULL;
Py_XDECREF(var_match);
var_match = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_end);
var_end = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__14_write_plain_text(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_text = python_pars[1];
PyObject *par_start = python_pars[2];
PyObject *par_end = python_pars[3];
struct Nuitka_FrameObject *frame_2dc2a259629bc6690181d3131a2cf4bf;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_2dc2a259629bc6690181d3131a2cf4bf = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2dc2a259629bc6690181d3131a2cf4bf)) {
Py_XDECREF(cache_frame_2dc2a259629bc6690181d3131a2cf4bf);
#if _DEBUG_REFCOUNTS
if (cache_frame_2dc2a259629bc6690181d3131a2cf4bf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2dc2a259629bc6690181d3131a2cf4bf = MAKE_FUNCTION_FRAME(codeobj_2dc2a259629bc6690181d3131a2cf4bf, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2dc2a259629bc6690181d3131a2cf4bf->m_type_description == NULL);
frame_2dc2a259629bc6690181d3131a2cf4bf = cache_frame_2dc2a259629bc6690181d3131a2cf4bf;
// Push the new frame as the currently active one.
pushFrameStack(frame_2dc2a259629bc6690181d3131a2cf4bf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2dc2a259629bc6690181d3131a2cf4bf) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_start);
tmp_cmp_expr_left_1 = par_start;
CHECK_OBJECT(par_end);
tmp_cmp_expr_right_1 = par_end;
tmp_condition_result_1 = RICH_COMPARE_LT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[13]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
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 = 195;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_text);
tmp_expression_value_3 = par_text;
CHECK_OBJECT(par_start);
tmp_start_value_1 = par_start;
CHECK_OBJECT(par_end);
tmp_stop_value_1 = par_end;
tmp_subscript_value_1 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(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 = 195;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2dc2a259629bc6690181d3131a2cf4bf->m_frame.f_lineno = 195;
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 = 195;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 196;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2dc2a259629bc6690181d3131a2cf4bf->m_frame.f_lineno = 196;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[56]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 196;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2dc2a259629bc6690181d3131a2cf4bf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2dc2a259629bc6690181d3131a2cf4bf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2dc2a259629bc6690181d3131a2cf4bf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2dc2a259629bc6690181d3131a2cf4bf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2dc2a259629bc6690181d3131a2cf4bf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2dc2a259629bc6690181d3131a2cf4bf,
type_description_1,
par_self,
par_text,
par_start,
par_end
);
// Release cached frame if used for exception.
if (frame_2dc2a259629bc6690181d3131a2cf4bf == cache_frame_2dc2a259629bc6690181d3131a2cf4bf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2dc2a259629bc6690181d3131a2cf4bf);
cache_frame_2dc2a259629bc6690181d3131a2cf4bf = NULL;
}
assertFrameObject(frame_2dc2a259629bc6690181d3131a2cf4bf);
// 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_text);
Py_DECREF(par_text);
CHECK_OBJECT(par_start);
Py_DECREF(par_start);
CHECK_OBJECT(par_end);
Py_DECREF(par_end);
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_text);
Py_DECREF(par_text);
CHECK_OBJECT(par_start);
Py_DECREF(par_start);
CHECK_OBJECT(par_end);
Py_DECREF(par_end);
// 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_colorama$ansitowin32$$$function__15_convert_ansi(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_paramstring = python_pars[1];
PyObject *par_command = python_pars[2];
PyObject *var_params = NULL;
struct Nuitka_FrameObject *frame_d085993adb77354e46759b5f7f8f30fb;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_d085993adb77354e46759b5f7f8f30fb = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_d085993adb77354e46759b5f7f8f30fb)) {
Py_XDECREF(cache_frame_d085993adb77354e46759b5f7f8f30fb);
#if _DEBUG_REFCOUNTS
if (cache_frame_d085993adb77354e46759b5f7f8f30fb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d085993adb77354e46759b5f7f8f30fb = MAKE_FUNCTION_FRAME(codeobj_d085993adb77354e46759b5f7f8f30fb, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d085993adb77354e46759b5f7f8f30fb->m_type_description == NULL);
frame_d085993adb77354e46759b5f7f8f30fb = cache_frame_d085993adb77354e46759b5f7f8f30fb;
// Push the new frame as the currently active one.
pushFrameStack(frame_d085993adb77354e46759b5f7f8f30fb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d085993adb77354e46759b5f7f8f30fb) == 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[18]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 200;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_command);
tmp_args_element_value_1 = par_command;
CHECK_OBJECT(par_paramstring);
tmp_args_element_value_2 = par_paramstring;
frame_d085993adb77354e46759b5f7f8f30fb->m_frame.f_lineno = 201;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[73],
call_args
);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_command);
tmp_args_element_value_3 = par_command;
CHECK_OBJECT(var_params);
tmp_args_element_value_4 = var_params;
frame_d085993adb77354e46759b5f7f8f30fb->m_frame.f_lineno = 202;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[57],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d085993adb77354e46759b5f7f8f30fb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d085993adb77354e46759b5f7f8f30fb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d085993adb77354e46759b5f7f8f30fb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d085993adb77354e46759b5f7f8f30fb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d085993adb77354e46759b5f7f8f30fb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d085993adb77354e46759b5f7f8f30fb,
type_description_1,
par_self,
par_paramstring,
par_command,
var_params
);
// Release cached frame if used for exception.
if (frame_d085993adb77354e46759b5f7f8f30fb == cache_frame_d085993adb77354e46759b5f7f8f30fb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d085993adb77354e46759b5f7f8f30fb);
cache_frame_d085993adb77354e46759b5f7f8f30fb = NULL;
}
assertFrameObject(frame_d085993adb77354e46759b5f7f8f30fb);
// 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_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_params);
var_params = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_paramstring);
Py_DECREF(par_paramstring);
CHECK_OBJECT(par_command);
Py_DECREF(par_command);
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_paramstring);
Py_DECREF(par_paramstring);
CHECK_OBJECT(par_command);
Py_DECREF(par_command);
// 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_colorama$ansitowin32$$$function__16_extract_params(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_command = python_pars[1];
PyObject *par_paramstring = python_pars[2];
PyObject *var_params = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_genexpr_2__$0 = NULL;
struct Nuitka_FrameObject *frame_02eb44a1f120226156568f452b247664;
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_02eb44a1f120226156568f452b247664 = 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_02eb44a1f120226156568f452b247664)) {
Py_XDECREF(cache_frame_02eb44a1f120226156568f452b247664);
#if _DEBUG_REFCOUNTS
if (cache_frame_02eb44a1f120226156568f452b247664 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_02eb44a1f120226156568f452b247664 = MAKE_FUNCTION_FRAME(codeobj_02eb44a1f120226156568f452b247664, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_02eb44a1f120226156568f452b247664->m_type_description == NULL);
frame_02eb44a1f120226156568f452b247664 = cache_frame_02eb44a1f120226156568f452b247664;
// Push the new frame as the currently active one.
pushFrameStack(frame_02eb44a1f120226156568f452b247664);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_02eb44a1f120226156568f452b247664) == 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_command);
tmp_cmp_expr_left_1 = par_command;
tmp_cmp_expr_right_1 = mod_consts[74];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_tuple_arg_1;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_paramstring);
tmp_expression_value_1 = par_paramstring;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[75]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_02eb44a1f120226156568f452b247664->m_frame.f_lineno = 207;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[76]);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
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 = 207;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_2;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_tuple_arg_1 = MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr(tmp_closure_1);
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_genexpr_1__$0);
Py_DECREF(tmp_genexpr_1__$0);
tmp_genexpr_1__$0 = NULL;
goto outline_result_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_assign_source_1 = PySequence_Tuple(tmp_tuple_arg_1);
Py_DECREF(tmp_tuple_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_1;
}
loop_start_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 208;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = var_params;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = 2;
tmp_condition_result_2 = RICH_COMPARE_GE_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:;
goto loop_end_1;
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 210;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = var_params;
tmp_add_expr_right_1 = mod_consts[78];
tmp_assign_source_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_TUPLE(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_params;
var_params = 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 = 208;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_tuple_arg_2;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_paramstring);
tmp_expression_value_2 = par_paramstring;
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 = 212;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_02eb44a1f120226156568f452b247664->m_frame.f_lineno = 212;
tmp_iter_arg_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[76]);
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 = 212;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_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 = 212;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_2__$0 == NULL);
tmp_genexpr_2__$0 = tmp_assign_source_5;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_closure_2[0] = Nuitka_Cell_New0(tmp_genexpr_2__$0);
tmp_tuple_arg_2 = MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr(tmp_closure_2);
goto try_return_handler_3;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_genexpr_2__$0);
Py_DECREF(tmp_genexpr_2__$0);
tmp_genexpr_2__$0 = NULL;
goto outline_result_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_2:;
tmp_assign_source_4 = PySequence_Tuple(tmp_tuple_arg_2);
Py_DECREF(tmp_tuple_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_4;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
nuitka_digit tmp_cmp_expr_right_3;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_params);
tmp_len_arg_2 = var_params;
tmp_cmp_expr_left_3 = BUILTIN_LEN(tmp_len_arg_2);
assert(!(tmp_cmp_expr_left_3 == NULL));
tmp_cmp_expr_right_3 = 0;
tmp_condition_result_3 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_4 = par_command;
tmp_cmp_expr_right_4 = mod_consts[79];
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 = 215;
type_description_1 = "oooo";
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;
tmp_assign_source_6 = mod_consts[80];
{
PyObject *old = var_params;
assert(old != NULL);
var_params = tmp_assign_source_6;
Py_INCREF(var_params);
Py_DECREF(old);
}
}
goto branch_end_4;
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_5 = par_command;
tmp_cmp_expr_right_5 = mod_consts[81];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
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_assign_source_7;
tmp_assign_source_7 = mod_consts[78];
{
PyObject *old = var_params;
assert(old != NULL);
var_params = tmp_assign_source_7;
Py_INCREF(var_params);
Py_DECREF(old);
}
}
branch_no_5:;
branch_end_4:;
branch_no_3:;
branch_end_1:;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 220;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_params;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02eb44a1f120226156568f452b247664);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02eb44a1f120226156568f452b247664);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02eb44a1f120226156568f452b247664);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_02eb44a1f120226156568f452b247664, exception_lineno);
} else if (exception_tb->tb_frame != &frame_02eb44a1f120226156568f452b247664->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_02eb44a1f120226156568f452b247664, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_02eb44a1f120226156568f452b247664,
type_description_1,
par_self,
par_command,
par_paramstring,
var_params
);
// Release cached frame if used for exception.
if (frame_02eb44a1f120226156568f452b247664 == cache_frame_02eb44a1f120226156568f452b247664) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_02eb44a1f120226156568f452b247664);
cache_frame_02eb44a1f120226156568f452b247664 = NULL;
}
assertFrameObject(frame_02eb44a1f120226156568f452b247664);
// 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_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_params);
var_params = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_command);
Py_DECREF(par_command);
CHECK_OBJECT(par_paramstring);
Py_DECREF(par_paramstring);
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_command);
Py_DECREF(par_command);
CHECK_OBJECT(par_paramstring);
Py_DECREF(par_paramstring);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_locals {
PyObject *var_p;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_locals *generator_heap = (struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_p = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_253b4a170dfce8c47cd8e307e3548046, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "No";
generator_heap->exception_lineno = 207;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_p;
generator_heap->var_p = tmp_assign_source_2;
Py_INCREF(generator_heap->var_p);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_int_arg_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_p);
tmp_len_arg_1 = generator_heap->var_p;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 207;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_NE_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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(generator_heap->var_p);
tmp_int_arg_1 = generator_heap->var_p;
tmp_expression_value_1 = PyNumber_Int(tmp_int_arg_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 207;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_expression_value_1 = mod_consts[82];
Py_INCREF(tmp_expression_value_1);
condexpr_end_1:;
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(bool), &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(nuitka_digit), &tmp_len_arg_1, sizeof(PyObject *), &tmp_int_arg_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(bool), &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(nuitka_digit), &tmp_len_arg_1, sizeof(PyObject *), &tmp_int_arg_1, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 207;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 207;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_p
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_p);
generator_heap->var_p = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_p);
generator_heap->var_p = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_context,
module_colorama$ansitowin32,
mod_consts[83],
#if PYTHON_VERSION >= 0x350
mod_consts[84],
#endif
codeobj_253b4a170dfce8c47cd8e307e3548046,
closure,
1,
sizeof(struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__1_genexpr_locals)
);
}
struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_locals {
PyObject *var_p;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_locals *generator_heap = (struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_p = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_fa6ad4c5db235ed5561b02048c95e4a0, module_colorama$ansitowin32, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "No";
generator_heap->exception_lineno = 212;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_p;
generator_heap->var_p = tmp_assign_source_2;
Py_INCREF(generator_heap->var_p);
Py_XDECREF(old);
}
}
{
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(generator_heap->var_p);
tmp_len_arg_1 = generator_heap->var_p;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 212;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_NE_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:;
{
PyObject *tmp_expression_value_1;
PyObject *tmp_int_arg_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_p);
tmp_int_arg_1 = generator_heap->var_p;
tmp_expression_value_1 = PyNumber_Int(tmp_int_arg_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 212;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_int_arg_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_int_arg_1, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 212;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 212;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_p
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_p);
generator_heap->var_p = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_p);
generator_heap->var_p = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_context,
module_colorama$ansitowin32,
mod_consts[83],
#if PYTHON_VERSION >= 0x350
mod_consts[84],
#endif
codeobj_fa6ad4c5db235ed5561b02048c95e4a0,
closure,
1,
sizeof(struct colorama$ansitowin32$$$function__16_extract_params$$$genexpr__2_genexpr_locals)
);
}
static PyObject *impl_colorama$ansitowin32$$$function__17_call_win32(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_command = python_pars[1];
PyObject *par_params = python_pars[2];
PyObject *var_param = NULL;
PyObject *var_func_args = NULL;
PyObject *var_func = NULL;
PyObject *var_args = NULL;
PyObject *var_kwargs = NULL;
PyObject *var_n = NULL;
PyObject *var_x = NULL;
PyObject *var_y = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = 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;
struct Nuitka_FrameObject *frame_0520198b291ebac578c899b250b45316;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_iterator_attempt;
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;
static struct Nuitka_FrameObject *cache_frame_0520198b291ebac578c899b250b45316 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_0520198b291ebac578c899b250b45316)) {
Py_XDECREF(cache_frame_0520198b291ebac578c899b250b45316);
#if _DEBUG_REFCOUNTS
if (cache_frame_0520198b291ebac578c899b250b45316 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0520198b291ebac578c899b250b45316 = MAKE_FUNCTION_FRAME(codeobj_0520198b291ebac578c899b250b45316, module_colorama$ansitowin32, 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_0520198b291ebac578c899b250b45316->m_type_description == NULL);
frame_0520198b291ebac578c899b250b45316 = cache_frame_0520198b291ebac578c899b250b45316;
// Push the new frame as the currently active one.
pushFrameStack(frame_0520198b291ebac578c899b250b45316);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0520198b291ebac578c899b250b45316) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_1 = par_command;
tmp_cmp_expr_right_1 = mod_consts[85];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_params);
tmp_iter_arg_1 = par_params;
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 = 225;
type_description_1 = "ooooooooooo";
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 = "ooooooooooo";
exception_lineno = 225;
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_param;
var_param = tmp_assign_source_3;
Py_INCREF(var_param);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_param);
tmp_cmp_expr_left_2 = var_param;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 226;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[20]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 227;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[20]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_param);
tmp_subscript_value_1 = var_param;
tmp_assign_source_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_func_args;
var_func_args = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_func_args);
tmp_expression_value_4 = var_func_args;
tmp_subscript_value_2 = mod_consts[60];
tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_2, 0);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_func;
var_func = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(var_func_args);
tmp_expression_value_5 = var_func_args;
tmp_subscript_value_3 = mod_consts[86];
tmp_assign_source_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_args;
var_args = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_6;
tmp_dict_key_1 = mod_consts[21];
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 230;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[21]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 230;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_7 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_assign_source_7, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
{
PyObject *old = var_kwargs;
var_kwargs = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_func);
tmp_dircall_arg1_1 = var_func;
CHECK_OBJECT(var_args);
tmp_dircall_arg2_1 = var_args;
CHECK_OBJECT(var_kwargs);
tmp_dircall_arg3_1 = var_kwargs;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_call_result_1 = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "ooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "ooooooooooo";
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;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_3 = par_command;
tmp_cmp_expr_right_3 = mod_consts[87];
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 = 232;
type_description_1 = "ooooooooooo";
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_called_value_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_4;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_9;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[88]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_params);
tmp_expression_value_8 = par_params;
tmp_subscript_value_4 = mod_consts[60];
tmp_kw_call_arg_value_0_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_8, tmp_subscript_value_4, 0);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 233;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[21]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 233;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
frame_0520198b291ebac578c899b250b45316->m_frame.f_lineno = 233;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[89]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
goto branch_end_3;
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_4 = par_command;
tmp_cmp_expr_right_4 = mod_consts[90];
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 = 234;
type_description_1 = "ooooooooooo";
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_called_value_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_3;
PyObject *tmp_kw_call_arg_value_0_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_5;
PyObject *tmp_kw_call_dict_value_0_2;
PyObject *tmp_expression_value_12;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[91]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_params);
tmp_expression_value_11 = par_params;
tmp_subscript_value_5 = mod_consts[60];
tmp_kw_call_arg_value_0_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, tmp_subscript_value_5, 0);
if (tmp_kw_call_arg_value_0_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 235;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_kw_call_dict_value_0_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[21]);
if (tmp_kw_call_dict_value_0_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_2);
exception_lineno = 235;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
frame_0520198b291ebac578c899b250b45316->m_frame.f_lineno = 235;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_2};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_2};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[89]);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_2);
Py_DECREF(tmp_kw_call_dict_value_0_2);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
goto branch_end_4;
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_5 = par_command;
tmp_cmp_expr_right_5 = mod_consts[74];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
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_3;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_4;
PyObject *tmp_kw_call_arg_value_0_3;
PyObject *tmp_kw_call_dict_value_0_3;
PyObject *tmp_expression_value_14;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[92]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_params);
tmp_kw_call_arg_value_0_3 = par_params;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_kw_call_dict_value_0_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[21]);
if (tmp_kw_call_dict_value_0_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 237;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
frame_0520198b291ebac578c899b250b45316->m_frame.f_lineno = 237;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_3};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_3};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_3, args, kw_values, mod_consts[89]);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_kw_call_dict_value_0_3);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_5;
branch_no_5:;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(par_command);
tmp_cmp_expr_left_6 = par_command;
tmp_cmp_expr_right_6 = mod_consts[81];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_6, tmp_cmp_expr_left_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_6;
CHECK_OBJECT(par_params);
tmp_expression_value_15 = par_params;
tmp_subscript_value_6 = mod_consts[60];
tmp_assign_source_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_15, tmp_subscript_value_6, 0);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
assert(var_n == NULL);
var_n = tmp_assign_source_8;
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_iter_arg_2;
PyObject *tmp_expression_value_16;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_subscript_value_7;
tmp_dict_key_2 = mod_consts[93];
tmp_tuple_element_1 = mod_consts[60];
tmp_dict_value_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_operand_value_1;
PyTuple_SET_ITEM0(tmp_dict_value_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_n);
tmp_operand_value_1 = var_n;
tmp_tuple_element_1 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "ooooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_dict_value_2, 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_dict_value_2);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_expression_value_16 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_tuple_element_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_operand_value_2;
tmp_res = PyDict_SetItem(tmp_expression_value_16, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[94];
tmp_tuple_element_2 = mod_consts[60];
tmp_dict_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_dict_value_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_n);
tmp_tuple_element_2 = var_n;
PyTuple_SET_ITEM0(tmp_dict_value_2, 1, tmp_tuple_element_2);
tmp_res = PyDict_SetItem(tmp_expression_value_16, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[95];
CHECK_OBJECT(var_n);
tmp_tuple_element_3 = var_n;
tmp_dict_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_dict_value_2, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = mod_consts[60];
PyTuple_SET_ITEM0(tmp_dict_value_2, 1, tmp_tuple_element_3);
tmp_res = PyDict_SetItem(tmp_expression_value_16, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[96];
CHECK_OBJECT(var_n);
tmp_operand_value_2 = var_n;
tmp_tuple_element_4 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_value_2);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "ooooooooooo";
goto dict_build_exception_1;
}
tmp_dict_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_dict_value_2, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = mod_consts[60];
PyTuple_SET_ITEM0(tmp_dict_value_2, 1, tmp_tuple_element_4);
tmp_res = PyDict_SetItem(tmp_expression_value_16, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_expression_value_16);
goto try_except_handler_3;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
CHECK_OBJECT(par_command);
tmp_subscript_value_7 = par_command;
tmp_iter_arg_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_16);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "ooooooooooo";
goto try_except_handler_3;
}
tmp_assign_source_9 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "ooooooooooo";
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_9;
}
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_10 == 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 = "ooooooooooo";
exception_lineno = 241;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_11 == 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 = "ooooooooooo";
exception_lineno = 241;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_11;
}
{
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 = "ooooooooooo";
exception_lineno = 241;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[65];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooo";
exception_lineno = 241;
goto try_except_handler_4;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_12 = tmp_tuple_unpack_1__element_1;
assert(var_x == NULL);
Py_INCREF(tmp_assign_source_12);
var_x = tmp_assign_source_12;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_2;
assert(var_y == NULL);
Py_INCREF(tmp_assign_source_13);
var_y = tmp_assign_source_13;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_17;
PyObject *tmp_call_result_5;
PyObject *tmp_kw_call_arg_value_0_4;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_4;
PyObject *tmp_expression_value_18;
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[97]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_x);
tmp_kw_call_arg_value_0_4 = var_x;
CHECK_OBJECT(var_y);
tmp_kw_call_arg_value_1_1 = var_y;
CHECK_OBJECT(par_self);
tmp_expression_value_18 = par_self;
tmp_kw_call_dict_value_0_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[21]);
if (tmp_kw_call_dict_value_0_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 242;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
frame_0520198b291ebac578c899b250b45316->m_frame.f_lineno = 242;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_4, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_4};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_4, args, kw_values, mod_consts[89]);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_kw_call_dict_value_0_4);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_6:;
branch_end_5:;
branch_end_4:;
branch_end_3:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0520198b291ebac578c899b250b45316);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0520198b291ebac578c899b250b45316);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0520198b291ebac578c899b250b45316, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0520198b291ebac578c899b250b45316->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0520198b291ebac578c899b250b45316, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0520198b291ebac578c899b250b45316,
type_description_1,
par_self,
par_command,
par_params,
var_param,
var_func_args,
var_func,
var_args,
var_kwargs,
var_n,
var_x,
var_y
);
// Release cached frame if used for exception.
if (frame_0520198b291ebac578c899b250b45316 == cache_frame_0520198b291ebac578c899b250b45316) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0520198b291ebac578c899b250b45316);
cache_frame_0520198b291ebac578c899b250b45316 = NULL;
}
assertFrameObject(frame_0520198b291ebac578c899b250b45316);
// 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_param);
var_param = NULL;
Py_XDECREF(var_func_args);
var_func_args = NULL;
Py_XDECREF(var_func);
var_func = NULL;
Py_XDECREF(var_args);
var_args = NULL;
Py_XDECREF(var_kwargs);
var_kwargs = NULL;
Py_XDECREF(var_n);
var_n = NULL;
Py_XDECREF(var_x);
var_x = NULL;
Py_XDECREF(var_y);
var_y = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_param);
var_param = NULL;
Py_XDECREF(var_func_args);
var_func_args = NULL;
Py_XDECREF(var_func);
var_func = NULL;
Py_XDECREF(var_args);
var_args = NULL;
Py_XDECREF(var_kwargs);
var_kwargs = NULL;
Py_XDECREF(var_n);
var_n = NULL;
Py_XDECREF(var_x);
var_x = NULL;
Py_XDECREF(var_y);
var_y = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_command);
Py_DECREF(par_command);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_command);
Py_DECREF(par_command);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_colorama$ansitowin32$$$function__18_convert_osc(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_text = python_pars[1];
PyObject *var_match = NULL;
PyObject *var_start = NULL;
PyObject *var_end = NULL;
PyObject *var_paramstring = NULL;
PyObject *var_command = NULL;
PyObject *var_params = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = 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;
struct Nuitka_FrameObject *frame_b5048b677ef23008715639a6accda937;
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_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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_b5048b677ef23008715639a6accda937 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_b5048b677ef23008715639a6accda937)) {
Py_XDECREF(cache_frame_b5048b677ef23008715639a6accda937);
#if _DEBUG_REFCOUNTS
if (cache_frame_b5048b677ef23008715639a6accda937 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b5048b677ef23008715639a6accda937 = MAKE_FUNCTION_FRAME(codeobj_b5048b677ef23008715639a6accda937, module_colorama$ansitowin32, 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_b5048b677ef23008715639a6accda937->m_type_description == NULL);
frame_b5048b677ef23008715639a6accda937 = cache_frame_b5048b677ef23008715639a6accda937;
// Push the new frame as the currently active one.
pushFrameStack(frame_b5048b677ef23008715639a6accda937);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b5048b677ef23008715639a6accda937) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[98]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_text);
tmp_args_element_value_1 = par_text;
frame_b5048b677ef23008715639a6accda937->m_frame.f_lineno = 246;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[63], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooooo";
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 = "oooooooo";
exception_lineno = 246;
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_match;
var_match = tmp_assign_source_3;
Py_INCREF(var_match);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_match);
tmp_called_instance_2 = var_match;
frame_b5048b677ef23008715639a6accda937->m_frame.f_lineno = 247;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[64]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_5 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooo";
exception_lineno = 247;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "oooooooo";
exception_lineno = 247;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
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 = "oooooooo";
exception_lineno = 247;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[65];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooo";
exception_lineno = 247;
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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_start;
var_start = tmp_assign_source_7;
Py_INCREF(var_start);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_end;
var_end = tmp_assign_source_8;
Py_INCREF(var_end);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_stop_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_2;
if (par_text == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 248;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_text;
CHECK_OBJECT(var_start);
tmp_stop_value_1 = var_start;
tmp_subscript_value_1 = MAKE_SLICEOBJ1(tmp_stop_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_add_expr_left_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
if (par_text == NULL) {
Py_DECREF(tmp_add_expr_left_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 248;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = par_text;
CHECK_OBJECT(var_end);
tmp_start_value_1 = var_end;
tmp_stop_value_2 = Py_None;
tmp_subscript_value_2 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_2);
assert(!(tmp_subscript_value_2 == NULL));
tmp_add_expr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_2);
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 = 248;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_assign_source_9 = 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_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = par_text;
par_text = tmp_assign_source_9;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_3;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_match);
tmp_called_instance_3 = var_match;
frame_b5048b677ef23008715639a6accda937->m_frame.f_lineno = 249;
tmp_iter_arg_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[71]);
if (tmp_iter_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooo";
goto try_except_handler_5;
}
tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3);
Py_DECREF(tmp_iter_arg_3);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_11 == 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 = "oooooooo";
exception_lineno = 249;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_12 == 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 = "oooooooo";
exception_lineno = 249;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_12;
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 = "oooooooo";
exception_lineno = 249;
goto try_except_handler_6;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[65];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooo";
exception_lineno = 249;
goto try_except_handler_6;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_5;
// End of try:
try_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
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_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_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// End of try:
try_end_4:;
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_13;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_13 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_paramstring;
var_paramstring = tmp_assign_source_13;
Py_INCREF(var_paramstring);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_14 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_command;
var_command = tmp_assign_source_14;
Py_INCREF(var_command);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_command);
tmp_cmp_expr_left_1 = var_command;
tmp_cmp_expr_right_1 = mod_consts[99];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_paramstring);
tmp_expression_value_4 = var_paramstring;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[75]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
frame_b5048b677ef23008715639a6accda937->m_frame.f_lineno = 251;
tmp_assign_source_15 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[76]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_params;
var_params = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(var_params);
tmp_expression_value_5 = var_params;
tmp_subscript_value_3 = mod_consts[60];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_3, 0);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 255;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_2 = mod_consts[100];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 255;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_4;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[101]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_params);
tmp_expression_value_7 = var_params;
tmp_subscript_value_4 = mod_consts[82];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_7, tmp_subscript_value_4, 1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 256;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
frame_b5048b677ef23008715639a6accda937->m_frame.f_lineno = 256;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_5;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (par_text == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 257;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = par_text;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5048b677ef23008715639a6accda937);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5048b677ef23008715639a6accda937);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5048b677ef23008715639a6accda937);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b5048b677ef23008715639a6accda937, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b5048b677ef23008715639a6accda937->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b5048b677ef23008715639a6accda937, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b5048b677ef23008715639a6accda937,
type_description_1,
par_self,
par_text,
var_match,
var_start,
var_end,
var_paramstring,
var_command,
var_params
);
// Release cached frame if used for exception.
if (frame_b5048b677ef23008715639a6accda937 == cache_frame_b5048b677ef23008715639a6accda937) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b5048b677ef23008715639a6accda937);
cache_frame_b5048b677ef23008715639a6accda937 = NULL;
}
assertFrameObject(frame_b5048b677ef23008715639a6accda937);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_text);
par_text = NULL;
Py_XDECREF(var_match);
var_match = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_end);
var_end = NULL;
Py_XDECREF(var_paramstring);
var_paramstring = NULL;
Py_XDECREF(var_command);
var_command = NULL;
Py_XDECREF(var_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_text);
par_text = NULL;
Py_XDECREF(var_match);
var_match = NULL;
Py_XDECREF(var_start);
var_start = NULL;
Py_XDECREF(var_end);
var_end = NULL;
Py_XDECREF(var_paramstring);
var_paramstring = NULL;
Py_XDECREF(var_command);
var_command = NULL;
Py_XDECREF(var_params);
var_params = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__10_get_win32_calls() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__10_get_win32_calls,
mod_consts[19],
#if PYTHON_VERSION >= 0x300
mod_consts[149],
#endif
codeobj_84a116dff4c9411461500b3c55c89617,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__11_write() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__11_write,
mod_consts[4],
#if PYTHON_VERSION >= 0x300
mod_consts[150],
#endif
codeobj_8006fae5839151c9fa5b5d1471adebfa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__12_reset_all() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__12_reset_all,
mod_consts[26],
#if PYTHON_VERSION >= 0x300
mod_consts[151],
#endif
codeobj_919c511422b931598b73c3235d422272,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__13_write_and_convert() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__13_write_and_convert,
mod_consts[55],
#if PYTHON_VERSION >= 0x300
mod_consts[152],
#endif
codeobj_979b9b4805d6fc3c69563c31a225e6a5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
mod_consts[72],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__14_write_plain_text() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__14_write_plain_text,
mod_consts[67],
#if PYTHON_VERSION >= 0x300
mod_consts[153],
#endif
codeobj_2dc2a259629bc6690181d3131a2cf4bf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__15_convert_ansi() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__15_convert_ansi,
mod_consts[70],
#if PYTHON_VERSION >= 0x300
mod_consts[154],
#endif
codeobj_d085993adb77354e46759b5f7f8f30fb,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__16_extract_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__16_extract_params,
mod_consts[73],
#if PYTHON_VERSION >= 0x300
mod_consts[155],
#endif
codeobj_02eb44a1f120226156568f452b247664,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__17_call_win32() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__17_call_win32,
mod_consts[57],
#if PYTHON_VERSION >= 0x300
mod_consts[156],
#endif
codeobj_0520198b291ebac578c899b250b45316,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__18_convert_osc() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__18_convert_osc,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
mod_consts[157],
#endif
codeobj_b5048b677ef23008715639a6accda937,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__1___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__1___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[130],
#endif
codeobj_f96692b28463bb6b851b0234d2d70b78,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__2___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__2___getattr__,
mod_consts[131],
#if PYTHON_VERSION >= 0x300
mod_consts[132],
#endif
codeobj_83100689eebcff229ed7ea7983084dae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__3___enter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__3___enter__,
mod_consts[2],
#if PYTHON_VERSION >= 0x300
mod_consts[133],
#endif
codeobj_6722b1dda0bb23301d78fc4fc469c77f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__4___exit__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__4___exit__,
mod_consts[3],
#if PYTHON_VERSION >= 0x300
mod_consts[134],
#endif
codeobj_cca95eb02e30ef3d0d653b334cbb0ccc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__5_write() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__5_write,
mod_consts[4],
#if PYTHON_VERSION >= 0x300
mod_consts[135],
#endif
codeobj_ec58e9a1cd91b75d1ab0a4fb920ac246,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__6_isatty() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__6_isatty,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[136],
#endif
codeobj_5af4b2acbe25d220b37c135ca4f3a5d3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__7_closed() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__7_closed,
mod_consts[12],
#if PYTHON_VERSION >= 0x300
mod_consts[138],
#endif
codeobj_29a0e2ccc355991552444c0c4dc7760d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__8___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__8___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[146],
#endif
codeobj_2514e197a4519c4077addc7050c346a7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_colorama$ansitowin32$$$function__9_should_wrap() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_colorama$ansitowin32$$$function__9_should_wrap,
mod_consts[147],
#if PYTHON_VERSION >= 0x300
mod_consts[148],
#endif
codeobj_66fd9f709bd79d56b5b0de62f4fe6026,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_colorama$ansitowin32,
mod_consts[22],
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_colorama$ansitowin32[] = {
impl_colorama$ansitowin32$$$function__1___init__,
impl_colorama$ansitowin32$$$function__2___getattr__,
impl_colorama$ansitowin32$$$function__3___enter__,
impl_colorama$ansitowin32$$$function__4___exit__,
impl_colorama$ansitowin32$$$function__5_write,
impl_colorama$ansitowin32$$$function__6_isatty,
impl_colorama$ansitowin32$$$function__7_closed,
impl_colorama$ansitowin32$$$function__8___init__,
impl_colorama$ansitowin32$$$function__9_should_wrap,
impl_colorama$ansitowin32$$$function__10_get_win32_calls,
impl_colorama$ansitowin32$$$function__11_write,
impl_colorama$ansitowin32$$$function__12_reset_all,
impl_colorama$ansitowin32$$$function__13_write_and_convert,
impl_colorama$ansitowin32$$$function__14_write_plain_text,
impl_colorama$ansitowin32$$$function__15_convert_ansi,
impl_colorama$ansitowin32$$$function__16_extract_params,
impl_colorama$ansitowin32$$$function__17_call_win32,
impl_colorama$ansitowin32$$$function__18_convert_osc,
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_colorama$ansitowin32;
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_colorama$ansitowin32) || 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_colorama$ansitowin32[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_colorama$ansitowin32,
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_colorama$ansitowin32(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("colorama.ansitowin32");
// Store the module for future use.
module_colorama$ansitowin32 = 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("colorama.ansitowin32: 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("colorama.ansitowin32: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("colorama.ansitowin32: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initcolorama$ansitowin32\n");
moduledict_colorama$ansitowin32 = MODULE_DICT(module_colorama$ansitowin32);
#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_colorama$ansitowin32,
(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_colorama$ansitowin32,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[175]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_colorama$ansitowin32,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (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_colorama$ansitowin32,
(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_colorama$ansitowin32, (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_colorama$ansitowin32,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_colorama$ansitowin32);
// 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_colorama$ansitowin32, (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_colorama$ansitowin32, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (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_colorama$ansitowin32, (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_colorama$ansitowin32);
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_colorama$ansitowin32, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
struct Nuitka_FrameObject *frame_56e5b7542cd987f07f7dd433f1380871;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_colorama$ansitowin32$$$class__1_StreamWrapper_16 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_42b6bbbea328da27a6ae51dd9637456c_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_42b6bbbea328da27a6ae51dd9637456c_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64 = NULL;
struct Nuitka_FrameObject *frame_ce531e0c422af90266d2e9864b060e78_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_ce531e0c422af90266d2e9864b060e78_3 = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[103];
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_2);
}
// Frame without reuse.
frame_56e5b7542cd987f07f7dd433f1380871 = MAKE_MODULE_FRAME(codeobj_56e5b7542cd987f07f7dd433f1380871, module_colorama$ansitowin32);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_56e5b7542cd987f07f7dd433f1380871);
assert(Py_REFCNT(frame_56e5b7542cd987f07f7dd433f1380871) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[103];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[106], 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_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[107], 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_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[108], 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[109];
tmp_globals_arg_value_1 = (PyObject *)moduledict_colorama$ansitowin32;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[60];
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 2;
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 = 2;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
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[110];
tmp_globals_arg_value_2 = (PyObject *)moduledict_colorama$ansitowin32;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[111];
tmp_level_value_2 = mod_consts[82];
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 6;
tmp_assign_source_7 = 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_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_7;
}
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_1 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_8 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[32],
mod_consts[60]
);
} else {
tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[32]);
}
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[32], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_2 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[53],
mod_consts[60]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[53]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_3 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[24],
mod_consts[60]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[24]);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
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_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[59],
mod_consts[60]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[59]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_11);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_name_value_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[23];
tmp_globals_arg_value_3 = (PyObject *)moduledict_colorama$ansitowin32;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[112];
tmp_level_value_3 = mod_consts[82];
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 7;
tmp_assign_source_12 = 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_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_5 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[113],
mod_consts[60]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[113]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[113], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_6 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[35],
mod_consts[60]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[35]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[35], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_7 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[29],
mod_consts[60]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[29]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_15);
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_16;
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[114];
tmp_globals_arg_value_4 = (PyObject *)moduledict_colorama$ansitowin32;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[115];
tmp_level_value_4 = mod_consts[82];
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 8;
tmp_assign_source_16 = 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_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 8;
goto frame_exception_exit_1;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_16;
}
// Tried code:
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_8 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[116],
mod_consts[60]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[116]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 8;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_9 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_colorama$ansitowin32,
mod_consts[117],
mod_consts[60]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[117]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 8;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[117], tmp_assign_source_18);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = Py_None;
UPDATE_STRING_DICT0(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23], tmp_assign_source_19);
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[116]);
if (unlikely(tmp_cmp_expr_left_1 == NULL)) {
tmp_cmp_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]);
}
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[113]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[113]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 13;
goto frame_exception_exit_1;
}
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 13;
tmp_assign_source_20 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 13;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[23], tmp_assign_source_20);
}
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_21;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[118];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_21 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_21;
}
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_22;
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_2;
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_3;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[119];
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_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != 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[119];
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 = 16;
goto try_except_handler_4;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_1 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[60];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_23 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_23;
}
{
bool tmp_condition_result_4;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[119];
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_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 16;
goto try_except_handler_4;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_2, mod_consts[120]);
tmp_condition_result_5 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_3 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[120]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_tuple_element_1 = mod_consts[15];
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_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 16;
tmp_assign_source_24 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_24;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_4 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[121]);
tmp_operand_value_1 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[122];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[123];
tmp_getattr_default_1 = mod_consts[124];
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 = 16;
goto try_except_handler_4;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_5 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_5 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[123]);
Py_DECREF(tmp_expression_value_5);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 16;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_4;
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_25;
}
branch_end_3:;
{
PyObject *tmp_assign_source_26;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_colorama$ansitowin32$$$class__1_StreamWrapper_16 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[125];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[126], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[127];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[102], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[15];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[128], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
if (isFrameUnusable(cache_frame_42b6bbbea328da27a6ae51dd9637456c_2)) {
Py_XDECREF(cache_frame_42b6bbbea328da27a6ae51dd9637456c_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_42b6bbbea328da27a6ae51dd9637456c_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_42b6bbbea328da27a6ae51dd9637456c_2 = MAKE_CLASS_FRAME(codeobj_42b6bbbea328da27a6ae51dd9637456c, module_colorama$ansitowin32, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_42b6bbbea328da27a6ae51dd9637456c_2->m_type_description == NULL);
frame_42b6bbbea328da27a6ae51dd9637456c_2 = cache_frame_42b6bbbea328da27a6ae51dd9637456c_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_42b6bbbea328da27a6ae51dd9637456c_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_42b6bbbea328da27a6ae51dd9637456c_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__1___init__();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[129], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__2___getattr__();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[131], 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 = 28;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__3___enter__();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[2], 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 = 31;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__4___exit__();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[3], 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 = 37;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__5_write();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[4], 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 = 40;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__6_isatty();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[11], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
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_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_2;
tmp_res = MAPPING_HAS_ITEM(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[137]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
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_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_called_value_3 = PyObject_GetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[137]);
if (unlikely(tmp_called_value_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[137]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 55;
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 = 55;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_value_1 = MAKE_FUNCTION_colorama$ansitowin32$$$function__7_closed();
frame_42b6bbbea328da27a6ae51dd9637456c_2->m_frame.f_lineno = 55;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_3);
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 = 55;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_called_value_4 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_2 = MAKE_FUNCTION_colorama$ansitowin32$$$function__7_closed();
frame_42b6bbbea328da27a6ae51dd9637456c_2->m_frame.f_lineno = 55;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
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 = 55;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[12], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_42b6bbbea328da27a6ae51dd9637456c_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_42b6bbbea328da27a6ae51dd9637456c_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_42b6bbbea328da27a6ae51dd9637456c_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_42b6bbbea328da27a6ae51dd9637456c_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_42b6bbbea328da27a6ae51dd9637456c_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_42b6bbbea328da27a6ae51dd9637456c_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_42b6bbbea328da27a6ae51dd9637456c_2 == cache_frame_42b6bbbea328da27a6ae51dd9637456c_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_42b6bbbea328da27a6ae51dd9637456c_2);
cache_frame_42b6bbbea328da27a6ae51dd9637456c_2 = NULL;
}
assertFrameObject(frame_42b6bbbea328da27a6ae51dd9637456c_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_6;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_2 = mod_consts[118];
tmp_condition_result_8 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
tmp_dictset_value = mod_consts[118];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16, mod_consts[139], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
branch_no_5:;
{
PyObject *tmp_assign_source_27;
PyObject *tmp_called_value_5;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_5 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = mod_consts[15];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_3);
tmp_tuple_element_3 = locals_colorama$ansitowin32$$$class__1_StreamWrapper_16;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 16;
tmp_assign_source_27 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto try_except_handler_6;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_27;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_26 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_26);
goto try_return_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
Py_DECREF(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16);
locals_colorama$ansitowin32$$$class__1_StreamWrapper_16 = NULL;
goto try_return_handler_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_colorama$ansitowin32$$$class__1_StreamWrapper_16);
locals_colorama$ansitowin32$$$class__1_StreamWrapper_16 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 16;
goto try_except_handler_4;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_26);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_28;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[118];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_28 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_28;
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
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_6;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[119];
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_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
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[119];
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_4;
condexpr_false_4:;
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 = 64;
goto try_except_handler_7;
}
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_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_6 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[60];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_2, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_5:;
condexpr_end_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_30 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_30;
}
{
bool tmp_condition_result_11;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[119];
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_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 64;
goto try_except_handler_7;
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_7 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[120]);
tmp_condition_result_12 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_31;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_8 = tmp_class_creation_2__metaclass;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[120]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
tmp_tuple_element_4 = mod_consts[140];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_4 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 64;
tmp_assign_source_31 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_31;
}
{
bool tmp_condition_result_13;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_9 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[121]);
tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
tmp_condition_result_13 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_5;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[122];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[123];
tmp_getattr_default_2 = mod_consts[124];
tmp_tuple_element_5 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_10;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_10 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_10 == NULL));
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[123]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_5);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 64;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_8:;
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_32;
}
branch_end_7:;
{
PyObject *tmp_assign_source_33;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[125];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[126], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[141];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[102], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[140];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[128], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_ce531e0c422af90266d2e9864b060e78_3)) {
Py_XDECREF(cache_frame_ce531e0c422af90266d2e9864b060e78_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_ce531e0c422af90266d2e9864b060e78_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ce531e0c422af90266d2e9864b060e78_3 = MAKE_CLASS_FRAME(codeobj_ce531e0c422af90266d2e9864b060e78, module_colorama$ansitowin32, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ce531e0c422af90266d2e9864b060e78_3->m_type_description == NULL);
frame_ce531e0c422af90266d2e9864b060e78_3 = cache_frame_ce531e0c422af90266d2e9864b060e78_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_ce531e0c422af90266d2e9864b060e78_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ce531e0c422af90266d2e9864b060e78_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = PyObject_GetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[109]);
if (tmp_called_instance_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_called_instance_1);
} else {
goto frame_exception_exit_3;
}
}
frame_ce531e0c422af90266d2e9864b060e78_3->m_frame.f_lineno = 70;
tmp_dictset_value = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[142],
PyTuple_GET_ITEM(mod_consts[143], 0)
);
Py_DECREF(tmp_called_instance_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[62], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = PyObject_GetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[109]);
if (tmp_called_instance_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_called_instance_2);
} else {
goto frame_exception_exit_3;
}
}
frame_ce531e0c422af90266d2e9864b060e78_3->m_frame.f_lineno = 71;
tmp_dictset_value = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[142],
PyTuple_GET_ITEM(mod_consts[144], 0)
);
Py_DECREF(tmp_called_instance_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[98], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[145];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__8___init__(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[129], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__9_should_wrap();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[147], 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 = 106;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__10_get_win32_calls();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[19], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__11_write();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[4], 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 = 160;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__12_reset_all();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[26], 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 = 170;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__13_write_and_convert();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[55], 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 = 177;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__14_write_plain_text();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[67], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__15_convert_ansi();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[70], 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 = 199;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__16_extract_params();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[73], 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 = 205;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__17_call_win32();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[57], 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 = 223;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_colorama$ansitowin32$$$function__18_convert_osc();
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[61], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_2 = "o";
goto frame_exception_exit_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce531e0c422af90266d2e9864b060e78_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_ce531e0c422af90266d2e9864b060e78_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ce531e0c422af90266d2e9864b060e78_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ce531e0c422af90266d2e9864b060e78_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ce531e0c422af90266d2e9864b060e78_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ce531e0c422af90266d2e9864b060e78_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_ce531e0c422af90266d2e9864b060e78_3 == cache_frame_ce531e0c422af90266d2e9864b060e78_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ce531e0c422af90266d2e9864b060e78_3);
cache_frame_ce531e0c422af90266d2e9864b060e78_3 = NULL;
}
assertFrameObject(frame_ce531e0c422af90266d2e9864b060e78_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_9;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_3 = mod_consts[118];
tmp_condition_result_14 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_14 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
tmp_dictset_value = mod_consts[118];
tmp_res = PyObject_SetItem(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64, mod_consts[139], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
branch_no_9:;
{
PyObject *tmp_assign_source_34;
PyObject *tmp_called_value_7;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_7 = tmp_class_creation_2__metaclass;
tmp_tuple_element_6 = mod_consts[140];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_6);
tmp_tuple_element_6 = locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_56e5b7542cd987f07f7dd433f1380871->m_frame.f_lineno = 64;
tmp_assign_source_34 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_9;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_34;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_33 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_33);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_DECREF(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64);
locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64 = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64);
locals_colorama$ansitowin32$$$class__2_AnsiToWin32_64 = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto try_except_handler_8;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 64;
goto try_except_handler_7;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)mod_consts[140], tmp_assign_source_33);
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_56e5b7542cd987f07f7dd433f1380871);
#endif
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_56e5b7542cd987f07f7dd433f1380871);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_56e5b7542cd987f07f7dd433f1380871, exception_lineno);
} else if (exception_tb->tb_frame != &frame_56e5b7542cd987f07f7dd433f1380871->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_56e5b7542cd987f07f7dd433f1380871, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_3:;
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;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("colorama.ansitowin32", false);
Py_INCREF(module_colorama$ansitowin32);
return module_colorama$ansitowin32;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_colorama$ansitowin32, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("colorama$ansitowin32", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}