/* Generated code for Python source for module 'chardet.enums' * created by Nuitka version 0.6.0 * * This code is in part copyright 2018 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 "__helpers.h" /* The _module_chardet$enums 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_chardet$enums; PyDictObject *moduledict_chardet$enums; /* The module constants used, if any. */ static PyObject *const_str_digest_eef8ed19c16e6b3b967e17f92add1dd7; extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain_KOREAN; extern PyObject *const_str_plain___name__; extern PyObject *const_str_plain_FOUND_IT; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_plain_POSITIVE; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_object; extern PyObject *const_str_plain___file__; extern PyObject *const_tuple_str_plain_cls_tuple; extern PyObject *const_str_plain_ESC_ASCII; extern PyObject *const_int_pos_31; extern PyObject *const_str_plain_NON_CJK; static PyObject *const_str_plain_CHINESE; extern PyObject *const_str_plain_classmethod; extern PyObject *const_str_plain_cls; extern PyObject *const_str_plain_HIGH_BYTE; static PyObject *const_str_digest_cd727468734a1d77dcf2d33ea839b46b; extern PyObject *const_str_plain_NOT_ME; extern PyObject *const_str_plain_DETECTING; static PyObject *const_str_plain_CHINESE_TRADITIONAL; extern PyObject *const_int_pos_16; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_JAPANESE; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_plain_UNDEFINED; extern PyObject *const_str_plain___qualname__; extern PyObject *const_str_plain_CONTROL; extern PyObject *const_int_pos_8; extern PyObject *const_tuple_empty; extern PyObject *const_str_plain_ALL; static PyObject *const_str_plain_SYMBOL; static PyObject *const_str_digest_0213e3456d9f6d138721ce37121c1f8f; extern PyObject *const_str_plain___getitem__; static PyObject *const_str_plain_LINE_BREAK; extern PyObject *const_str_plain_LanguageFilter; static PyObject *const_str_digest_d16fbe5758eea1815c00a6c660e1daf6; static PyObject *const_str_plain_LIKELY; static PyObject *const_str_digest_ecd7372b14e0b0cc37708f8b12420fd8; extern PyObject *const_int_0; extern PyObject *const_str_plain_ProbingState; static PyObject *const_str_plain_NEGATIVE; static PyObject *const_str_digest_f64d3f73eff3fe980804a0d841500c6e; extern PyObject *const_str_plain_CHINESE_SIMPLIFIED; static PyObject *const_str_digest_5517dbdf6557c45bfac2455906b23af1; static PyObject *const_str_digest_f22edc6fac7f679922e5fcfb1432e6e0; extern PyObject *const_int_pos_254; static PyObject *const_str_plain_DIGIT; static PyObject *const_str_plain_CJK; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_int_pos_4; extern PyObject *const_str_plain_SequenceLikelihood; extern PyObject *const_str_plain_type; static PyObject *const_str_digest_0055937e3eb29683aba8a5fc2c136750; static PyObject *const_str_digest_239014aee1c7949c808ea84b8c922593; static PyObject *const_str_digest_9b462c898561b4163b6753d931cc3330; extern PyObject *const_str_plain_PURE_ASCII; extern PyObject *const_int_pos_252; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain___class__; extern PyObject *const_int_pos_253; extern PyObject *const_str_plain_get_num_categories; extern PyObject *const_str_plain_CharacterCategory; extern PyObject *const_tuple_type_object_tuple; extern PyObject *const_str_plain___module__; extern PyObject *const_int_pos_1; static PyObject *const_str_plain_UNLIKELY; extern PyObject *const_str_plain_InputState; extern PyObject *const_str_plain_ITS_ME; static PyObject *const_int_pos_251; extern PyObject *const_str_plain___prepare__; extern PyObject *const_int_pos_3; extern PyObject *const_str_plain_ERROR; static PyObject *const_str_digest_4e116fb585130928e45ab0202605154a; extern PyObject *const_int_pos_255; extern PyObject *const_str_plain_MachineState; extern PyObject *const_str_plain_START; extern PyObject *const_int_pos_2; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_digest_eef8ed19c16e6b3b967e17f92add1dd7 = UNSTREAM_STRING( &constant_bin[ 171586 ], 22, 0 ); const_str_plain_CHINESE = UNSTREAM_STRING( &constant_bin[ 171608 ], 7, 1 ); const_str_digest_cd727468734a1d77dcf2d33ea839b46b = UNSTREAM_STRING( &constant_bin[ 171615 ], 114, 0 ); const_str_plain_CHINESE_TRADITIONAL = UNSTREAM_STRING( &constant_bin[ 171729 ], 19, 1 ); const_str_plain_UNDEFINED = UNSTREAM_STRING( &constant_bin[ 171748 ], 9, 1 ); const_str_plain_SYMBOL = UNSTREAM_STRING( &constant_bin[ 171757 ], 6, 1 ); const_str_digest_0213e3456d9f6d138721ce37121c1f8f = UNSTREAM_STRING( &constant_bin[ 171763 ], 184, 0 ); const_str_plain_LINE_BREAK = UNSTREAM_STRING( &constant_bin[ 171947 ], 10, 1 ); const_str_digest_d16fbe5758eea1815c00a6c660e1daf6 = UNSTREAM_STRING( &constant_bin[ 171957 ], 71, 0 ); const_str_plain_LIKELY = UNSTREAM_STRING( &constant_bin[ 172028 ], 6, 1 ); const_str_digest_ecd7372b14e0b0cc37708f8b12420fd8 = UNSTREAM_STRING( &constant_bin[ 172034 ], 88, 0 ); const_str_plain_NEGATIVE = UNSTREAM_STRING( &constant_bin[ 172122 ], 8, 1 ); const_str_digest_f64d3f73eff3fe980804a0d841500c6e = UNSTREAM_STRING( &constant_bin[ 172130 ], 106, 0 ); const_str_digest_5517dbdf6557c45bfac2455906b23af1 = UNSTREAM_STRING( &constant_bin[ 171594 ], 13, 0 ); const_str_digest_f22edc6fac7f679922e5fcfb1432e6e0 = UNSTREAM_STRING( &constant_bin[ 172236 ], 83, 0 ); const_str_plain_DIGIT = UNSTREAM_STRING( &constant_bin[ 172319 ], 5, 1 ); const_str_plain_CJK = UNSTREAM_STRING( &constant_bin[ 172324 ], 3, 1 ); const_str_digest_0055937e3eb29683aba8a5fc2c136750 = UNSTREAM_STRING( &constant_bin[ 172327 ], 49, 0 ); const_str_digest_239014aee1c7949c808ea84b8c922593 = UNSTREAM_STRING( &constant_bin[ 172376 ], 37, 0 ); const_str_digest_9b462c898561b4163b6753d931cc3330 = UNSTREAM_STRING( &constant_bin[ 172413 ], 58, 0 ); const_str_plain_UNLIKELY = UNSTREAM_STRING( &constant_bin[ 172471 ], 8, 1 ); const_int_pos_251 = PyLong_FromUnsignedLong( 251ul ); const_str_digest_4e116fb585130928e45ab0202605154a = UNSTREAM_STRING( &constant_bin[ 172479 ], 78, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_chardet$enums( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_59456f7b60d8ef7c9cfd65be78a4cf7d; static PyCodeObject *codeobj_98de91ad01e2b3fe7a099bb16cbbf23c; static PyCodeObject *codeobj_da05f1efe9e43b6e24f0d751bf3e3299; static PyCodeObject *codeobj_888f9f8035093ec6b66cfb031ab92a35; static PyCodeObject *codeobj_2e06786152b190df756c3ede0d148f76; static PyCodeObject *codeobj_02624c16762bf37914a8293a11e9c4fa; static PyCodeObject *codeobj_e1ddcc78ebca49f1b9a3d1fc17d024db; static PyCodeObject *codeobj_b7856c48694c540667907cb60d931673; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_0055937e3eb29683aba8a5fc2c136750; codeobj_59456f7b60d8ef7c9cfd65be78a4cf7d = MAKE_CODEOBJ( module_filename_obj, const_str_digest_eef8ed19c16e6b3b967e17f92add1dd7, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_98de91ad01e2b3fe7a099bb16cbbf23c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CharacterCategory, 65, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_da05f1efe9e43b6e24f0d751bf3e3299 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_InputState, 8, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_888f9f8035093ec6b66cfb031ab92a35 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_LanguageFilter, 17, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_2e06786152b190df756c3ede0d148f76 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_MachineState, 41, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_02624c16762bf37914a8293a11e9c4fa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ProbingState, 32, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_e1ddcc78ebca49f1b9a3d1fc17d024db = MAKE_CODEOBJ( module_filename_obj, const_str_plain_SequenceLikelihood, 50, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_b7856c48694c540667907cb60d931673 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_num_categories, 59, const_tuple_str_plain_cls_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_chardet$enums$$$function_1_get_num_categories( ); // The module function definitions. static PyObject *impl_chardet$enums$$$function_1_get_num_categories( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[ 0 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = const_int_pos_4; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums$$$function_1_get_num_categories ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_cls ); Py_DECREF( par_cls ); par_cls = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_cls ); Py_DECREF( par_cls ); par_cls = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums$$$function_1_get_num_categories ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *MAKE_FUNCTION_chardet$enums$$$function_1_get_num_categories( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$enums$$$function_1_get_num_categories, const_str_plain_get_num_categories, #if PYTHON_VERSION >= 300 const_str_digest_239014aee1c7949c808ea84b8c922593, #endif codeobj_b7856c48694c540667907cb60d931673, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$enums, const_str_digest_9b462c898561b4163b6753d931cc3330, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_chardet$enums = { PyModuleDef_HEAD_INIT, "chardet.enums", /* m_name */ NULL, /* m_doc */ -1, /* m_size */ NULL, /* m_methods */ NULL, /* m_reload */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ }; #endif extern PyObject *const_str_plain___package__; #if PYTHON_VERSION >= 300 extern PyObject *const_str_dot; extern PyObject *const_str_plain___loader__; extern PyObject *metapath_based_loader; #endif #if PYTHON_VERSION >= 340 extern PyObject *const_str_plain___spec__; extern PyObject *const_str_plain__initializing; #endif extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); #if PYTHON_VERSION >= 350 extern void _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 extern void _initCompiledAsyncgenTypes(); #endif // The exported interface to CPython. On import of the module, this function // gets called. It has to have an exact function name, in cases it's a shared // library export. This is hidden behind the MOD_INIT_DECL. MOD_INIT_DECL( chardet$enums ) { #if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300 static bool _init_done = false; // Modules might be imported repeatedly, which is to be ignored. if ( _init_done ) { return MOD_RETURN_VALUE( module_chardet$enums ); } else { _init_done = true; } #endif #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION >= 350 _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 _initCompiledAsyncgenTypes(); #endif #if PYTHON_VERSION < 300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE puts("chardet.enums: Calling setupMetaPathBasedLoader()."); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE puts("chardet.enums: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("chardet.enums: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initchardet$enums" ); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. #if PYTHON_VERSION < 300 module_chardet$enums = Py_InitModule4( "chardet.enums", // Module Name NULL, // No methods initially, all are added // dynamically in actual module code only. NULL, // No "__doc__" is initially set, as it could // not contain NUL this way, added early in // actual code. NULL, // No self for modules, we don't use it. PYTHON_API_VERSION ); #else module_chardet$enums = PyModule_Create( &mdef_chardet$enums ); #endif moduledict_chardet$enums = MODULE_DICT( module_chardet$enums ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$enums, (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_chardet$enums, (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_chardet$enums, (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_chardet$enums, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_chardet$enums ); // Seems to work for Python2.7 out of the box, but for Python3, the module // doesn't automatically enter "sys.modules", so do it manually. #if PYTHON_VERSION >= 300 { int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_5517dbdf6557c45bfac2455906b23af1, module_chardet$enums ); assert( r != -1 ); } #endif // 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_chardet$enums, (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_EXE) || !0 value = PyModule_GetDict( value ); #endif UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___spec__, Py_None ); #else { PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap"); CHECK_OBJECT( bootstrap_module ); PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" ); Py_DECREF( bootstrap_module ); PyObject *args[] = { GET_STRING_DICT_VALUE( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___name__ ), metapath_based_loader }; PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2( module_spec_class, args ); SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True ); UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *outline_4_var___class__ = NULL; PyObject *outline_5_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; struct Nuitka_FrameObject *frame_59456f7b60d8ef7c9cfd65be78a4cf7d; 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_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_chardet$enums_8 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_da05f1efe9e43b6e24f0d751bf3e3299_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_da05f1efe9e43b6e24f0d751bf3e3299_2 = 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; 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 *locals_chardet$enums_17 = NULL; struct Nuitka_FrameObject *frame_888f9f8035093ec6b66cfb031ab92a35_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_888f9f8035093ec6b66cfb031ab92a35_3 = 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_chardet$enums_32 = NULL; struct Nuitka_FrameObject *frame_02624c16762bf37914a8293a11e9c4fa_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_02624c16762bf37914a8293a11e9c4fa_4 = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *locals_chardet$enums_41 = NULL; struct Nuitka_FrameObject *frame_2e06786152b190df756c3ede0d148f76_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_2e06786152b190df756c3ede0d148f76_5 = NULL; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *locals_chardet$enums_50 = NULL; struct Nuitka_FrameObject *frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 = NULL; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *locals_chardet$enums_65 = NULL; struct Nuitka_FrameObject *frame_98de91ad01e2b3fe7a099bb16cbbf23c_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 = NULL; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_cd727468734a1d77dcf2d33ea839b46b; UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_0055937e3eb29683aba8a5fc2c136750; UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 ); } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_59456f7b60d8ef7c9cfd65be78a4cf7d = MAKE_MODULE_FRAME( codeobj_59456f7b60d8ef7c9cfd65be78a4cf7d, module_chardet$enums ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_59456f7b60d8ef7c9cfd65be78a4cf7d ); assert( Py_REFCNT( frame_59456f7b60d8ef7c9cfd65be78a4cf7d ) == 2 ); // Framed code: { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_dircall_arg1_1; tmp_dircall_arg1_1 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_4 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_name_1; PyObject *tmp_dict_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_bases_name_1; tmp_key_name_1 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = const_str_plain_metaclass; tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_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 = 8; goto try_except_handler_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_subscribed_name_1 = tmp_class_creation_1__bases; tmp_subscript_name_1 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); Py_DECREF( tmp_type_arg_1 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_1 ); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_6 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_6; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_name_3; tmp_key_name_3 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 8; goto try_except_handler_1; } } branch_no_1:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_source_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_1 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ ); tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_2 = tmp_class_creation_1__metaclass; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } tmp_tuple_element_1 = const_str_plain_InputState; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_1 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 8; tmp_assign_source_7 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_7; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_3; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_3 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ ); tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } tmp_condition_result_5 = ( tmp_res == 0 ) ? 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_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_4; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; 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 = 8; goto try_except_handler_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_4 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 8; goto try_except_handler_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_1; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 8; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_1; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_8; tmp_assign_source_8 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_8; } branch_end_2:; } { PyObject *tmp_assign_source_9; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_chardet$enums_8 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } } { tmp_dictset_value = const_str_digest_f22edc6fac7f679922e5fcfb1432e6e0; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } } { tmp_dictset_value = const_str_plain_InputState; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } } MAKE_OR_REUSE_FRAME( cache_frame_da05f1efe9e43b6e24f0d751bf3e3299_2, codeobj_da05f1efe9e43b6e24f0d751bf3e3299, module_chardet$enums, sizeof(void *) ); frame_da05f1efe9e43b6e24f0d751bf3e3299_2 = cache_frame_da05f1efe9e43b6e24f0d751bf3e3299_2; // Push the new frame as the currently active one. pushFrameStack( frame_da05f1efe9e43b6e24f0d751bf3e3299_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_da05f1efe9e43b6e24f0d751bf3e3299_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_0; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain_PURE_ASCII, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 12; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_int_pos_1; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain_ESC_ASCII, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_int_pos_2; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain_HIGH_BYTE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_da05f1efe9e43b6e24f0d751bf3e3299_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_da05f1efe9e43b6e24f0d751bf3e3299_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_da05f1efe9e43b6e24f0d751bf3e3299_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_da05f1efe9e43b6e24f0d751bf3e3299_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_da05f1efe9e43b6e24f0d751bf3e3299_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_da05f1efe9e43b6e24f0d751bf3e3299_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_da05f1efe9e43b6e24f0d751bf3e3299_2 == cache_frame_da05f1efe9e43b6e24f0d751bf3e3299_2 ) { Py_DECREF( frame_da05f1efe9e43b6e24f0d751bf3e3299_2 ); } cache_frame_da05f1efe9e43b6e24f0d751bf3e3299_2 = NULL; assertFrameObject( frame_da05f1efe9e43b6e24f0d751bf3e3299_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_3; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_1 = tmp_class_creation_1__bases; tmp_compexpr_right_1 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_8, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } } branch_no_4:; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_InputState; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_3 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 ); tmp_tuple_element_3 = locals_chardet$enums_8; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 8; tmp_assign_source_10 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_10; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_9 = outline_0_var___class__; Py_INCREF( tmp_assign_source_9 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_3:; { Py_DECREF( locals_chardet$enums_8 ); locals_chardet$enums_8 = NULL; } { goto try_return_handler_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$enums_8 ); locals_chardet$enums_8 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)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_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; { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 8; goto try_except_handler_1; outline_result_1:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_InputState, tmp_assign_source_9 ); } goto try_end_1; // 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( 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_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_1:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases ); Py_DECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { CHECK_OBJECT( (PyObject *)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( (PyObject *)tmp_class_creation_1__metaclass ); Py_DECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared ); Py_DECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_11 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; tmp_assign_source_12 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_7; PyObject *tmp_key_name_4; PyObject *tmp_dict_name_4; PyObject *tmp_dict_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_8; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_2; tmp_key_name_4 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_condition_result_7 = ( tmp_res != 0 ) ? 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:; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = const_str_plain_metaclass; tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_subscribed_name_2 = tmp_class_creation_2__bases; tmp_subscript_name_2 = const_int_0; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_type_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 ); Py_DECREF( tmp_type_arg_3 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_2 ); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_13 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_13; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_key_name_6; PyObject *tmp_dict_name_6; tmp_key_name_6 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 17; goto try_except_handler_4; } } branch_no_5:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_source_name_5; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_5 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ ); tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_6 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_tuple_element_4 = const_str_plain_LanguageFilter; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_4 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 17; tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_14; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_7 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___getitem__ ); tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_8; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; 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 = 17; goto try_except_handler_4; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_8 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 17; goto try_except_handler_4; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_4; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 17; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_4; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_15; tmp_assign_source_15 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_15; } branch_end_6:; } { PyObject *tmp_assign_source_16; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_chardet$enums_17 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } } { tmp_dictset_value = const_str_digest_f64d3f73eff3fe980804a0d841500c6e; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } } { tmp_dictset_value = const_str_plain_LanguageFilter; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } } MAKE_OR_REUSE_FRAME( cache_frame_888f9f8035093ec6b66cfb031ab92a35_3, codeobj_888f9f8035093ec6b66cfb031ab92a35, module_chardet$enums, sizeof(void *) ); frame_888f9f8035093ec6b66cfb031ab92a35_3 = cache_frame_888f9f8035093ec6b66cfb031ab92a35_3; // Push the new frame as the currently active one. pushFrameStack( frame_888f9f8035093ec6b66cfb031ab92a35_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_888f9f8035093ec6b66cfb031ab92a35_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_1; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_CHINESE_SIMPLIFIED, 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_3; } } { tmp_dictset_value = const_int_pos_2; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_CHINESE_TRADITIONAL, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = const_int_pos_4; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_JAPANESE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = const_int_pos_8; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_KOREAN, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = const_int_pos_16; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_NON_CJK, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = const_int_pos_31; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_ALL, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; tmp_left_name_3 = PyObject_GetItem( locals_chardet$enums_17, const_str_plain_CHINESE_SIMPLIFIED ); if ( tmp_left_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CHINESE_SIMPLIFIED" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_right_name_3 = PyObject_GetItem( locals_chardet$enums_17, const_str_plain_CHINESE_TRADITIONAL ); if ( tmp_right_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_left_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CHINESE_TRADITIONAL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_3 ); exception_lineno = 28; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = BINARY_OPERATION( PyNumber_Or, tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_left_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_CHINESE, 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_3; } } { PyObject *tmp_left_name_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_4; PyObject *tmp_right_name_5; tmp_left_name_5 = PyObject_GetItem( locals_chardet$enums_17, const_str_plain_CHINESE ); if ( tmp_left_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CHINESE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_left_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_right_name_4 = PyObject_GetItem( locals_chardet$enums_17, const_str_plain_JAPANESE ); if ( tmp_right_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_left_name_5 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JAPANESE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_right_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_5 ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_left_name_4 = BINARY_OPERATION( PyNumber_Or, tmp_left_name_5, tmp_right_name_4 ); Py_DECREF( tmp_left_name_5 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_left_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_right_name_5 = PyObject_GetItem( locals_chardet$enums_17, const_str_plain_KOREAN ); if ( tmp_right_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_left_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "KOREAN" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_right_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_4 ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = BINARY_OPERATION( PyNumber_Or, tmp_left_name_4, tmp_right_name_5 ); Py_DECREF( tmp_left_name_4 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain_CJK, 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 = 29; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_888f9f8035093ec6b66cfb031ab92a35_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_888f9f8035093ec6b66cfb031ab92a35_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_888f9f8035093ec6b66cfb031ab92a35_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_888f9f8035093ec6b66cfb031ab92a35_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_888f9f8035093ec6b66cfb031ab92a35_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_888f9f8035093ec6b66cfb031ab92a35_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_888f9f8035093ec6b66cfb031ab92a35_3 == cache_frame_888f9f8035093ec6b66cfb031ab92a35_3 ) { Py_DECREF( frame_888f9f8035093ec6b66cfb031ab92a35_3 ); } cache_frame_888f9f8035093ec6b66cfb031ab92a35_3 = NULL; assertFrameObject( frame_888f9f8035093ec6b66cfb031ab92a35_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_6; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_2 = tmp_class_creation_2__bases; tmp_compexpr_right_2 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_17, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } } branch_no_8:; } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_LanguageFilter; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_chardet$enums_17; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 17; tmp_assign_source_17 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto try_except_handler_6; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_17; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_16 = outline_1_var___class__; Py_INCREF( tmp_assign_source_16 ); goto try_return_handler_6; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_6:; { Py_DECREF( locals_chardet$enums_17 ); locals_chardet$enums_17 = 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_chardet$enums_17 ); locals_chardet$enums_17 = 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: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { CHECK_OBJECT( (PyObject *)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_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_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 17; goto try_except_handler_4; outline_result_2:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_LanguageFilter, tmp_assign_source_16 ); } goto try_end_2; // 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_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_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_2:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases ); Py_DECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { CHECK_OBJECT( (PyObject *)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( (PyObject *)tmp_class_creation_2__metaclass ); Py_DECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared ); Py_DECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_dircall_arg1_3; tmp_dircall_arg1_3 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_18 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_18; } { PyObject *tmp_assign_source_19; tmp_assign_source_19 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_19; } { PyObject *tmp_assign_source_20; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_13; PyObject *tmp_key_name_7; PyObject *tmp_dict_name_7; PyObject *tmp_dict_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_14; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = const_str_plain_metaclass; tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_condition_result_14 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_subscribed_name_3 = tmp_class_creation_3__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 ); Py_DECREF( tmp_type_arg_5 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_3 ); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_20 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_20; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_9; PyObject *tmp_dict_name_9; tmp_key_name_9 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 32; goto try_except_handler_7; } } branch_no_9:; } { nuitka_bool tmp_condition_result_16; PyObject *tmp_source_name_9; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_9 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ ); tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assign_source_21; PyObject *tmp_called_name_5; PyObject *tmp_source_name_10; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_10 = tmp_class_creation_3__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_tuple_element_7 = const_str_plain_ProbingState; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_7 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 32; tmp_assign_source_21 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_21; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_11 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___getitem__ ); tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_condition_result_17 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_8; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_12; PyObject *tmp_type_arg_6; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_6 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = const_str_plain___name__; tmp_getattr_default_3 = const_str_angle_metaclass; tmp_tuple_element_8 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_12 == NULL) ); tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ ); Py_DECREF( tmp_source_name_12 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 32; goto try_except_handler_7; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_8 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_7; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 32; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_7; } branch_no_11:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_22; tmp_assign_source_22 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_22; } branch_end_10:; } { PyObject *tmp_assign_source_23; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_chardet$enums_32 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } } { tmp_dictset_value = const_str_digest_d16fbe5758eea1815c00a6c660e1daf6; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } } { tmp_dictset_value = const_str_plain_ProbingState; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } } MAKE_OR_REUSE_FRAME( cache_frame_02624c16762bf37914a8293a11e9c4fa_4, codeobj_02624c16762bf37914a8293a11e9c4fa, module_chardet$enums, sizeof(void *) ); frame_02624c16762bf37914a8293a11e9c4fa_4 = cache_frame_02624c16762bf37914a8293a11e9c4fa_4; // Push the new frame as the currently active one. pushFrameStack( frame_02624c16762bf37914a8293a11e9c4fa_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_02624c16762bf37914a8293a11e9c4fa_4 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_0; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain_DETECTING, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = const_int_pos_1; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain_FOUND_IT, 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_4; } } { tmp_dictset_value = const_int_pos_2; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain_NOT_ME, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_02624c16762bf37914a8293a11e9c4fa_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_02624c16762bf37914a8293a11e9c4fa_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_02624c16762bf37914a8293a11e9c4fa_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_02624c16762bf37914a8293a11e9c4fa_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_02624c16762bf37914a8293a11e9c4fa_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_02624c16762bf37914a8293a11e9c4fa_4, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_02624c16762bf37914a8293a11e9c4fa_4 == cache_frame_02624c16762bf37914a8293a11e9c4fa_4 ) { Py_DECREF( frame_02624c16762bf37914a8293a11e9c4fa_4 ); } cache_frame_02624c16762bf37914a8293a11e9c4fa_4 = NULL; assertFrameObject( frame_02624c16762bf37914a8293a11e9c4fa_4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_9; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_3 = tmp_class_creation_3__bases; tmp_compexpr_right_3 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_32, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } } branch_no_12:; } { PyObject *tmp_assign_source_24; PyObject *tmp_called_name_6; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_9; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_6 = tmp_class_creation_3__metaclass; tmp_tuple_element_9 = const_str_plain_ProbingState; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_9 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_9 ); tmp_tuple_element_9 = locals_chardet$enums_32; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 32; tmp_assign_source_24 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_9; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_24; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_23 = outline_2_var___class__; Py_INCREF( tmp_assign_source_23 ); goto try_return_handler_9; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_9:; { Py_DECREF( locals_chardet$enums_32 ); locals_chardet$enums_32 = 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_chardet$enums_32 ); locals_chardet$enums_32 = 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: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_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_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 32; goto try_except_handler_7; outline_result_3:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_ProbingState, tmp_assign_source_23 ); } goto try_end_3; // 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_3__bases ); tmp_class_creation_3__bases = NULL; } { Py_XDECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_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_3:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases ); Py_DECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict ); Py_DECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass ); Py_DECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared ); Py_DECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_25; PyObject *tmp_dircall_arg1_4; tmp_dircall_arg1_4 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_25 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_25; } { PyObject *tmp_assign_source_26; tmp_assign_source_26 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_26; } { PyObject *tmp_assign_source_27; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_19; PyObject *tmp_key_name_10; PyObject *tmp_dict_name_10; PyObject *tmp_dict_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_20; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_4; tmp_key_name_10 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_10, tmp_key_name_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = const_str_plain_metaclass; tmp_metaclass_name_4 = DICT_GET_ITEM( tmp_dict_name_11, tmp_key_name_11 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_4__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_condition_result_20 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_subscribed_name_4 = tmp_class_creation_4__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_metaclass_name_4 = BUILTIN_TYPE1( tmp_type_arg_7 ); Py_DECREF( tmp_type_arg_7 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_4 ); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_27 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_27; } { nuitka_bool tmp_condition_result_21; PyObject *tmp_key_name_12; PyObject *tmp_dict_name_12; tmp_key_name_12 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_12, tmp_key_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 41; goto try_except_handler_10; } } branch_no_13:; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_source_name_13; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_13 = tmp_class_creation_4__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_13, const_str_plain___prepare__ ); tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_assign_source_28; PyObject *tmp_called_name_7; PyObject *tmp_source_name_14; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_10; PyObject *tmp_kw_name_7; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_14 = tmp_class_creation_4__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_tuple_element_10 = const_str_plain_MachineState; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_10 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 41; tmp_assign_source_28 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_7, tmp_kw_name_7 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_7 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_28; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_15; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_source_name_15 = tmp_class_creation_4__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_15, const_str_plain___getitem__ ); tmp_operand_name_4 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_condition_result_23 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_11; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; PyObject *tmp_source_name_16; PyObject *tmp_type_arg_8; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_7 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = const_str_plain___name__; tmp_getattr_default_4 = const_str_angle_metaclass; tmp_tuple_element_11 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_source_name_16 = BUILTIN_TYPE1( tmp_type_arg_8 ); assert( !(tmp_source_name_16 == NULL) ); tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain___name__ ); Py_DECREF( tmp_source_name_16 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 41; goto try_except_handler_10; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_11 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_10; } exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_value = tmp_raise_value_4; exception_lineno = 41; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_10; } branch_no_15:; } goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_29; } branch_end_14:; } { PyObject *tmp_assign_source_30; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_chardet$enums_41 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } } { tmp_dictset_value = const_str_digest_4e116fb585130928e45ab0202605154a; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } } { tmp_dictset_value = const_str_plain_MachineState; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } } MAKE_OR_REUSE_FRAME( cache_frame_2e06786152b190df756c3ede0d148f76_5, codeobj_2e06786152b190df756c3ede0d148f76, module_chardet$enums, sizeof(void *) ); frame_2e06786152b190df756c3ede0d148f76_5 = cache_frame_2e06786152b190df756c3ede0d148f76_5; // Push the new frame as the currently active one. pushFrameStack( frame_2e06786152b190df756c3ede0d148f76_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2e06786152b190df756c3ede0d148f76_5 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_0; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain_START, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = const_int_pos_1; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain_ERROR, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = const_int_pos_2; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain_ITS_ME, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_2e06786152b190df756c3ede0d148f76_5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2e06786152b190df756c3ede0d148f76_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2e06786152b190df756c3ede0d148f76_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2e06786152b190df756c3ede0d148f76_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2e06786152b190df756c3ede0d148f76_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2e06786152b190df756c3ede0d148f76_5, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_2e06786152b190df756c3ede0d148f76_5 == cache_frame_2e06786152b190df756c3ede0d148f76_5 ) { Py_DECREF( frame_2e06786152b190df756c3ede0d148f76_5 ); } cache_frame_2e06786152b190df756c3ede0d148f76_5 = NULL; assertFrameObject( frame_2e06786152b190df756c3ede0d148f76_5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_12; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_compexpr_left_4 = tmp_class_creation_4__bases; tmp_compexpr_right_4 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } tmp_condition_result_24 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_41, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } } branch_no_16:; } { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_8; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_12; PyObject *tmp_kw_name_8; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_called_name_8 = tmp_class_creation_4__metaclass; tmp_tuple_element_12 = const_str_plain_MachineState; tmp_args_name_8 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 0, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_12 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 1, tmp_tuple_element_12 ); tmp_tuple_element_12 = locals_chardet$enums_41; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 2, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_8 = tmp_class_creation_4__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 41; tmp_assign_source_31 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto try_except_handler_12; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_31; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_30 = outline_3_var___class__; Py_INCREF( tmp_assign_source_30 ); goto try_return_handler_12; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_12:; { Py_DECREF( locals_chardet$enums_41 ); locals_chardet$enums_41 = NULL; } { goto try_return_handler_11; } // Exception handler code: try_except_handler_12:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$enums_41 ); locals_chardet$enums_41 = NULL; } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_11; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { CHECK_OBJECT( (PyObject *)outline_3_var___class__ ); Py_DECREF( outline_3_var___class__ ); outline_3_var___class__ = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_11:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 41; goto try_except_handler_10; outline_result_4:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_MachineState, tmp_assign_source_30 ); } goto try_end_4; // Exception handler code: try_except_handler_10:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { Py_XDECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__bases ); Py_DECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__class_decl_dict ); Py_DECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__metaclass ); Py_DECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__prepared ); Py_DECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_32; PyObject *tmp_dircall_arg1_5; tmp_dircall_arg1_5 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_5 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_32 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } assert( tmp_class_creation_5__bases == NULL ); tmp_class_creation_5__bases = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = PyDict_New(); assert( tmp_class_creation_5__class_decl_dict == NULL ); tmp_class_creation_5__class_decl_dict = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_25; PyObject *tmp_key_name_13; PyObject *tmp_dict_name_13; PyObject *tmp_dict_name_14; PyObject *tmp_key_name_14; nuitka_bool tmp_condition_result_26; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_5; tmp_key_name_13 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_13 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_13, tmp_key_name_13 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_condition_result_25 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_14 = tmp_class_creation_5__class_decl_dict; tmp_key_name_14 = const_str_plain_metaclass; tmp_metaclass_name_5 = DICT_GET_ITEM( tmp_dict_name_14, tmp_key_name_14 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_5__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_condition_result_26 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_subscribed_name_5 = tmp_class_creation_5__bases; tmp_subscript_name_5 = const_int_0; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_type_arg_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_metaclass_name_5 = BUILTIN_TYPE1( tmp_type_arg_9 ); Py_DECREF( tmp_type_arg_9 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_5 ); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_34 = SELECT_METACLASS( tmp_metaclass_name_5, tmp_bases_name_5 ); Py_DECREF( tmp_metaclass_name_5 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } assert( tmp_class_creation_5__metaclass == NULL ); tmp_class_creation_5__metaclass = tmp_assign_source_34; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_key_name_15; PyObject *tmp_dict_name_15; tmp_key_name_15 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_15 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_15, tmp_key_name_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_condition_result_27 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 50; goto try_except_handler_13; } } branch_no_17:; } { nuitka_bool tmp_condition_result_28; PyObject *tmp_source_name_17; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_17 = tmp_class_creation_5__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_17, const_str_plain___prepare__ ); tmp_condition_result_28 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_assign_source_35; PyObject *tmp_called_name_9; PyObject *tmp_source_name_18; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_13; PyObject *tmp_kw_name_9; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_18 = tmp_class_creation_5__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain___prepare__ ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_tuple_element_13 = const_str_plain_SequenceLikelihood; tmp_args_name_9 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_13 ); PyTuple_SET_ITEM( tmp_args_name_9, 0, tmp_tuple_element_13 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_13 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_13 ); PyTuple_SET_ITEM( tmp_args_name_9, 1, tmp_tuple_element_13 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_9 = tmp_class_creation_5__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 50; tmp_assign_source_35 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_9, tmp_kw_name_9 ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_9 ); if ( tmp_assign_source_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_35; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_operand_name_5; PyObject *tmp_source_name_19; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_source_name_19 = tmp_class_creation_5__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_19, const_str_plain___getitem__ ); tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_condition_result_29 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_29 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_tuple_element_14; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; PyObject *tmp_source_name_20; PyObject *tmp_type_arg_10; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_8 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = const_str_plain___name__; tmp_getattr_default_5 = const_str_angle_metaclass; tmp_tuple_element_14 = BUILTIN_GETATTR( tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5 ); if ( tmp_tuple_element_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } tmp_right_name_8 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_8, 0, tmp_tuple_element_14 ); CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_type_arg_10 = tmp_class_creation_5__prepared; tmp_source_name_20 = BUILTIN_TYPE1( tmp_type_arg_10 ); assert( !(tmp_source_name_20 == NULL) ); tmp_tuple_element_14 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain___name__ ); Py_DECREF( tmp_source_name_20 ); if ( tmp_tuple_element_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_8 ); exception_lineno = 50; goto try_except_handler_13; } PyTuple_SET_ITEM( tmp_right_name_8, 1, tmp_tuple_element_14 ); tmp_raise_value_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_8, tmp_right_name_8 ); Py_DECREF( tmp_right_name_8 ); if ( tmp_raise_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_13; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_5; exception_lineno = 50; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_13; } branch_no_19:; } goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_36; } branch_end_18:; } { PyObject *tmp_assign_source_37; { PyObject *tmp_set_locals_5; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_chardet$enums_50 = tmp_set_locals_5; Py_INCREF( tmp_set_locals_5 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } } { tmp_dictset_value = const_str_digest_ecd7372b14e0b0cc37708f8b12420fd8; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } } { tmp_dictset_value = const_str_plain_SequenceLikelihood; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } } MAKE_OR_REUSE_FRAME( cache_frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6, codeobj_e1ddcc78ebca49f1b9a3d1fc17d024db, module_chardet$enums, sizeof(void *) ); frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 = cache_frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6; // Push the new frame as the currently active one. pushFrameStack( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_0; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain_NEGATIVE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = const_int_pos_1; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain_UNLIKELY, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = const_int_pos_2; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain_LIKELY, 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_6; } } { tmp_dictset_value = const_int_pos_3; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain_POSITIVE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_2 = "o"; goto frame_exception_exit_6; } } { nuitka_bool tmp_condition_result_30; PyObject *tmp_called_name_10; PyObject *tmp_args_element_name_1; PyObject *tmp_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_chardet$enums_50, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } tmp_condition_result_30 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; tmp_called_name_10 = PyObject_GetItem( locals_chardet$enums_50, const_str_plain_classmethod ); if ( tmp_called_name_10 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } tmp_args_element_name_1 = MAKE_FUNCTION_chardet$enums$$$function_1_get_num_categories( ); frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6->m_frame.f_lineno = 59; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } goto condexpr_end_11; condexpr_false_11:; tmp_classmethod_arg_1 = MAKE_FUNCTION_chardet$enums$$$function_1_get_num_categories( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 ); Py_DECREF( tmp_classmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } condexpr_end_11:; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain_get_num_categories, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_2 = "o"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_5; frame_exception_exit_6:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6, type_description_2, outline_4_var___class__ ); // Release cached frame. if ( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 == cache_frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ) { Py_DECREF( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ); } cache_frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 = NULL; assertFrameObject( frame_e1ddcc78ebca49f1b9a3d1fc17d024db_6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_15; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_31; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_compexpr_left_5 = tmp_class_creation_5__bases; tmp_compexpr_right_5 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } tmp_condition_result_31 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_50, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } } branch_no_20:; } { PyObject *tmp_assign_source_38; PyObject *tmp_called_name_11; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_15; PyObject *tmp_kw_name_10; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_called_name_11 = tmp_class_creation_5__metaclass; tmp_tuple_element_15 = const_str_plain_SequenceLikelihood; tmp_args_name_10 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_10, 0, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_15 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_10, 1, tmp_tuple_element_15 ); tmp_tuple_element_15 = locals_chardet$enums_50; Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_10, 2, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_10 = tmp_class_creation_5__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 50; tmp_assign_source_38 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_10, tmp_kw_name_10 ); Py_DECREF( tmp_args_name_10 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_15; } assert( outline_4_var___class__ == NULL ); outline_4_var___class__ = tmp_assign_source_38; } { CHECK_OBJECT( outline_4_var___class__ ); tmp_assign_source_37 = outline_4_var___class__; Py_INCREF( tmp_assign_source_37 ); goto try_return_handler_15; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_15:; { Py_DECREF( locals_chardet$enums_50 ); locals_chardet$enums_50 = NULL; } { goto try_return_handler_14; } // Exception handler code: try_except_handler_15:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$enums_50 ); locals_chardet$enums_50 = NULL; } { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto try_except_handler_14; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { CHECK_OBJECT( (PyObject *)outline_4_var___class__ ); Py_DECREF( outline_4_var___class__ ); outline_4_var___class__ = NULL; } { goto outline_result_5; } // Exception handler code: try_except_handler_14:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto outline_exception_5; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_5:; exception_lineno = 50; goto try_except_handler_13; outline_result_5:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_SequenceLikelihood, tmp_assign_source_37 ); } goto try_end_5; // Exception handler code: try_except_handler_13:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { Py_XDECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto frame_exception_exit_1; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__bases ); Py_DECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__class_decl_dict ); Py_DECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__metaclass ); Py_DECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__prepared ); Py_DECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_39; PyObject *tmp_dircall_arg1_6; tmp_dircall_arg1_6 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_6 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_39 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_39 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } assert( tmp_class_creation_6__bases == NULL ); tmp_class_creation_6__bases = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; tmp_assign_source_40 = PyDict_New(); assert( tmp_class_creation_6__class_decl_dict == NULL ); tmp_class_creation_6__class_decl_dict = tmp_assign_source_40; } { PyObject *tmp_assign_source_41; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_32; PyObject *tmp_key_name_16; PyObject *tmp_dict_name_16; PyObject *tmp_dict_name_17; PyObject *tmp_key_name_17; nuitka_bool tmp_condition_result_33; int tmp_truth_name_6; PyObject *tmp_type_arg_11; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_bases_name_6; tmp_key_name_16 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_16 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_16, tmp_key_name_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_condition_result_32 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_17 = tmp_class_creation_6__class_decl_dict; tmp_key_name_17 = const_str_plain_metaclass; tmp_metaclass_name_6 = DICT_GET_ITEM( tmp_dict_name_17, tmp_key_name_17 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } goto condexpr_end_12; condexpr_false_12:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_truth_name_6 = CHECK_IF_TRUE( tmp_class_creation_6__bases ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_condition_result_33 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_subscribed_name_6 = tmp_class_creation_6__bases; tmp_subscript_name_6 = const_int_0; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 0 ); if ( tmp_type_arg_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_metaclass_name_6 = BUILTIN_TYPE1( tmp_type_arg_11 ); Py_DECREF( tmp_type_arg_11 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } goto condexpr_end_13; condexpr_false_13:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_6 ); condexpr_end_13:; condexpr_end_12:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_41 = SELECT_METACLASS( tmp_metaclass_name_6, tmp_bases_name_6 ); Py_DECREF( tmp_metaclass_name_6 ); if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } assert( tmp_class_creation_6__metaclass == NULL ); tmp_class_creation_6__metaclass = tmp_assign_source_41; } { nuitka_bool tmp_condition_result_34; PyObject *tmp_key_name_18; PyObject *tmp_dict_name_18; tmp_key_name_18 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_18 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_18, tmp_key_name_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_condition_result_34 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; 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 = 65; goto try_except_handler_16; } } branch_no_21:; } { nuitka_bool tmp_condition_result_35; PyObject *tmp_source_name_21; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_21 = tmp_class_creation_6__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_21, const_str_plain___prepare__ ); tmp_condition_result_35 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { PyObject *tmp_assign_source_42; PyObject *tmp_called_name_12; PyObject *tmp_source_name_22; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_16; PyObject *tmp_kw_name_11; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_22 = tmp_class_creation_6__metaclass; tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain___prepare__ ); if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_tuple_element_16 = const_str_plain_CharacterCategory; tmp_args_name_11 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_11, 0, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_16 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_11, 1, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_11 = tmp_class_creation_6__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 65; tmp_assign_source_42 = CALL_FUNCTION( tmp_called_name_12, tmp_args_name_11, tmp_kw_name_11 ); Py_DECREF( tmp_called_name_12 ); Py_DECREF( tmp_args_name_11 ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_42; } { nuitka_bool tmp_condition_result_36; PyObject *tmp_operand_name_6; PyObject *tmp_source_name_23; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_source_name_23 = tmp_class_creation_6__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_23, const_str_plain___getitem__ ); tmp_operand_name_6 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_condition_result_36 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_tuple_element_17; PyObject *tmp_getattr_target_6; PyObject *tmp_getattr_attr_6; PyObject *tmp_getattr_default_6; PyObject *tmp_source_name_24; PyObject *tmp_type_arg_12; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_9 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_getattr_target_6 = tmp_class_creation_6__metaclass; tmp_getattr_attr_6 = const_str_plain___name__; tmp_getattr_default_6 = const_str_angle_metaclass; tmp_tuple_element_17 = BUILTIN_GETATTR( tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6 ); if ( tmp_tuple_element_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } tmp_right_name_9 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_9, 0, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_type_arg_12 = tmp_class_creation_6__prepared; tmp_source_name_24 = BUILTIN_TYPE1( tmp_type_arg_12 ); assert( !(tmp_source_name_24 == NULL) ); tmp_tuple_element_17 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain___name__ ); Py_DECREF( tmp_source_name_24 ); if ( tmp_tuple_element_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_9 ); exception_lineno = 65; goto try_except_handler_16; } PyTuple_SET_ITEM( tmp_right_name_9, 1, tmp_tuple_element_17 ); tmp_raise_value_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); Py_DECREF( tmp_right_name_9 ); if ( tmp_raise_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_16; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_6; exception_lineno = 65; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_16; } branch_no_23:; } goto branch_end_22; branch_no_22:; { PyObject *tmp_assign_source_43; tmp_assign_source_43 = PyDict_New(); assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_43; } branch_end_22:; } { PyObject *tmp_assign_source_44; { PyObject *tmp_set_locals_6; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_chardet$enums_65 = tmp_set_locals_6; Py_INCREF( tmp_set_locals_6 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5517dbdf6557c45bfac2455906b23af1; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } } { tmp_dictset_value = const_str_digest_0213e3456d9f6d138721ce37121c1f8f; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } } { tmp_dictset_value = const_str_plain_CharacterCategory; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } } MAKE_OR_REUSE_FRAME( cache_frame_98de91ad01e2b3fe7a099bb16cbbf23c_7, codeobj_98de91ad01e2b3fe7a099bb16cbbf23c, module_chardet$enums, sizeof(void *) ); frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 = cache_frame_98de91ad01e2b3fe7a099bb16cbbf23c_7; // Push the new frame as the currently active one. pushFrameStack( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_255; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain_UNDEFINED, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = const_int_pos_254; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain_LINE_BREAK, 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_7; } } { tmp_dictset_value = const_int_pos_253; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain_SYMBOL, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = const_int_pos_252; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain_DIGIT, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = const_int_pos_251; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain_CONTROL, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 76; type_description_2 = "o"; goto frame_exception_exit_7; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_6; frame_exception_exit_7:; #if 0 RESTORE_FRAME_EXCEPTION( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_98de91ad01e2b3fe7a099bb16cbbf23c_7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_98de91ad01e2b3fe7a099bb16cbbf23c_7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_98de91ad01e2b3fe7a099bb16cbbf23c_7, type_description_2, outline_5_var___class__ ); // Release cached frame. if ( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 == cache_frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ) { Py_DECREF( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ); } cache_frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 = NULL; assertFrameObject( frame_98de91ad01e2b3fe7a099bb16cbbf23c_7 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_6; frame_no_exception_6:; goto skip_nested_handling_6; nested_frame_exit_6:; goto try_except_handler_18; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_37; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_compexpr_left_6 = tmp_class_creation_6__bases; tmp_compexpr_right_6 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } tmp_condition_result_37 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_chardet$enums_65, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } } branch_no_24:; } { PyObject *tmp_assign_source_45; PyObject *tmp_called_name_13; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_18; PyObject *tmp_kw_name_12; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_called_name_13 = tmp_class_creation_6__metaclass; tmp_tuple_element_18 = const_str_plain_CharacterCategory; tmp_args_name_12 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_12, 0, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_18 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_12, 1, tmp_tuple_element_18 ); tmp_tuple_element_18 = locals_chardet$enums_65; Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_12, 2, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_12 = tmp_class_creation_6__class_decl_dict; frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame.f_lineno = 65; tmp_assign_source_45 = CALL_FUNCTION( tmp_called_name_13, tmp_args_name_12, tmp_kw_name_12 ); Py_DECREF( tmp_args_name_12 ); if ( tmp_assign_source_45 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto try_except_handler_18; } assert( outline_5_var___class__ == NULL ); outline_5_var___class__ = tmp_assign_source_45; } { CHECK_OBJECT( outline_5_var___class__ ); tmp_assign_source_44 = outline_5_var___class__; Py_INCREF( tmp_assign_source_44 ); goto try_return_handler_18; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_18:; { Py_DECREF( locals_chardet$enums_65 ); locals_chardet$enums_65 = NULL; } { goto try_return_handler_17; } // Exception handler code: try_except_handler_18:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$enums_65 ); locals_chardet$enums_65 = NULL; } { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto try_except_handler_17; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_17:; { CHECK_OBJECT( (PyObject *)outline_5_var___class__ ); Py_DECREF( outline_5_var___class__ ); outline_5_var___class__ = NULL; } { goto outline_result_6; } // Exception handler code: try_except_handler_17:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto outline_exception_6; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$enums ); return MOD_RETURN_VALUE( NULL ); outline_exception_6:; exception_lineno = 65; goto try_except_handler_16; outline_result_6:; UPDATE_STRING_DICT1( moduledict_chardet$enums, (Nuitka_StringObject *)const_str_plain_CharacterCategory, tmp_assign_source_44 ); } goto try_end_6; // Exception handler code: try_except_handler_16:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { Py_XDECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto frame_exception_exit_1; } // End of try: try_end_6:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_59456f7b60d8ef7c9cfd65be78a4cf7d ); #endif popFrameStack(); assertFrameObject( frame_59456f7b60d8ef7c9cfd65be78a4cf7d ); goto frame_no_exception_7; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_59456f7b60d8ef7c9cfd65be78a4cf7d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_59456f7b60d8ef7c9cfd65be78a4cf7d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_59456f7b60d8ef7c9cfd65be78a4cf7d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_59456f7b60d8ef7c9cfd65be78a4cf7d, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_7:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__bases ); Py_DECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__class_decl_dict ); Py_DECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__metaclass ); Py_DECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__prepared ); Py_DECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } return MOD_RETURN_VALUE( module_chardet$enums ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }