/* Generated code for Python source for module 'chardet.chardistribution' * 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$chardistribution 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$chardistribution; PyDictObject *moduledict_chardet$chardistribution; /* The module constants used, if any. */ extern PyObject *const_str_plain_metaclass; static PyObject *const_str_digest_b45ccb621b613c3bd1bd5e9ddee93753; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain_self_str_plain_byte_str_tuple; static PyObject *const_str_plain__total_chars; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_object; extern PyObject *const_int_pos_161; extern PyObject *const_str_plain___file__; static PyObject *const_str_plain_SURE_NO; static PyObject *const_str_plain__table_size; static PyObject *const_str_digest_bb3e1dbd35ea4e41d7f68a3343dd645c; extern PyObject *const_int_neg_1; static PyObject *const_str_plain_jisfreq; extern PyObject *const_int_pos_31; static PyObject *const_str_plain_big5freq; extern PyObject *const_str_plain_get_confidence; extern PyObject *const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO; extern PyObject *const_int_pos_512; extern PyObject *const_str_plain__done; static PyObject *const_str_digest_bb65158be48501225be1c7d5ef385879; extern PyObject *const_int_pos_1024; static PyObject *const_str_digest_47013b3ed66904a628c31a1d049eb414; static PyObject *const_str_plain_euctwfreq; static PyObject *const_str_digest_d62d03eae1ce02964d633e8daf5aada2; extern PyObject *const_str_plain___doc__; static PyObject *const_str_digest_a2aab74e252bbabee9c1f1f67a3c7c19; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_digest_c9a93c3344ac4d2f1db773b18f41d871; extern PyObject *const_str_plain_GB2312_TABLE_SIZE; extern PyObject *const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO; static PyObject *const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple; static PyObject *const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple; extern PyObject *const_str_plain_first_char; extern PyObject *const_str_plain_char_len; static PyObject *const_str_plain__freq_chars; extern PyObject *const_str_plain_SJISDistributionAnalysis; extern PyObject *const_int_pos_63; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_digest_c124b8f3d4c1a6f372e2c66d94126c7d; extern PyObject *const_int_pos_239; extern PyObject *const_float_0_99; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_plain_get_order; extern PyObject *const_str_plain_got_enough_data; static PyObject *const_str_plain_SURE_YES; extern PyObject *const_str_plain_EUCTWDistributionAnalysis; static PyObject *const_str_digest_efc3b77b2936864df090d58ad85eb204; extern PyObject *const_tuple_empty; static PyObject *const_str_digest_e994e8f263cc5d3eff75df26359082cd; extern PyObject *const_str_plain_MINIMUM_DATA_THRESHOLD; extern PyObject *const_int_pos_129; extern PyObject *const_str_plain_JIS_TABLE_SIZE; extern PyObject *const_str_plain_EUCKRDistributionAnalysis; static PyObject *const_str_digest_13e0f5606131955110270bdcb9b5449e; extern PyObject *const_str_plain_r; static PyObject *const_str_plain_typical_distribution_ratio; static PyObject *const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple; extern PyObject *const_str_plain_GB2312_CHAR_TO_FREQ_ORDER; static PyObject *const_str_plain_ENOUGH_DATA_THRESHOLD; extern PyObject *const_int_pos_164; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER; extern PyObject *const_str_plain_Big5DistributionAnalysis; extern PyObject *const_str_plain_EUCJPDistributionAnalysis; extern PyObject *const_str_plain_char; extern PyObject *const_str_plain_EUCKR_TABLE_SIZE; static PyObject *const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple; extern PyObject *const_int_0; extern PyObject *const_tuple_str_plain_self_str_plain___class___tuple; extern PyObject *const_str_plain_reset; static PyObject *const_str_plain_gb2312freq; extern PyObject *const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_int_pos_64; static PyObject *const_int_pos_196; static PyObject *const_str_plain__char_to_freq_order; static PyObject *const_str_digest_3ad6227e1f46805bdafb128602de1c1d; static PyObject *const_str_plain_euckrfreq; extern PyObject *const_str_plain_JIS_CHAR_TO_FREQ_ORDER; static PyObject *const_str_digest_529a81d15d3f33e1350b614fbf3e8f3b; extern PyObject *const_tuple_str_plain_self_str_plain_r_tuple; static PyObject *const_str_plain_CharDistributionAnalysis; static PyObject *const_str_digest_716723dbf2ba7947e4e1aeecc1269f9e; extern PyObject *const_int_pos_224; extern PyObject *const_str_plain_type; static PyObject *const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple; static PyObject *const_str_digest_927c2db4fca30038b7313c6f508a2595; static PyObject *const_int_pos_94; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO; extern PyObject *const_str_plain___class__; static PyObject *const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple; static PyObject *const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple; extern PyObject *const_str_plain_GB2312DistributionAnalysis; static PyObject *const_int_pos_188; static PyObject *const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple; extern PyObject *const_tuple_type_object_tuple; extern PyObject *const_str_plain_BIG5_CHAR_TO_FREQ_ORDER; static PyObject *const_int_pos_176; extern PyObject *const_int_pos_127; extern PyObject *const_str_plain___module__; extern PyObject *const_float_0_01; static PyObject *const_tuple_109d3d8eea16a531737ebea337292b06_tuple; static PyObject *const_int_pos_157; static PyObject *const_str_digest_6f8abe0474c7b3b273bc6ad987b6ff03; extern PyObject *const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO; extern PyObject *const_str_plain_byte_str; extern PyObject *const_int_pos_1; static PyObject *const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple; static PyObject *const_str_digest_9844569e795b340eed68b81fd3b524ba; static PyObject *const_str_digest_182c8028d6867148d466cd9f5989f54d; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain___prepare__; extern PyObject *const_int_pos_3; extern PyObject *const_int_pos_160; extern PyObject *const_str_plain_BIG5_TABLE_SIZE; extern PyObject *const_str_plain_self; static PyObject *const_str_digest_965a1de71dde3a9de125babcdcb6ce42; static PyObject *const_str_digest_18bd7897b8a9a45bd57f09ae98a036cf; extern PyObject *const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO; extern PyObject *const_int_pos_2; extern PyObject *const_str_plain_EUCTW_TABLE_SIZE; static PyObject *const_str_digest_4c1d467419a5f93fd349b85f711b4c11; static PyObject *const_str_digest_02376e9c59619f5ed39e6532d21fefdb; extern PyObject *const_str_plain_second_char; extern PyObject *const_str_plain_feed; static PyObject *const_str_digest_fadfdc835d733f1692a74b5240f4d260; static PyObject *const_str_digest_872d1df702d02377a18a3d15a02d336d; extern PyObject *const_int_pos_159; extern PyObject *const_str_plain_order; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_digest_b45ccb621b613c3bd1bd5e9ddee93753 = UNSTREAM_STRING( &constant_bin[ 167013 ], 29, 0 ); const_str_plain__total_chars = UNSTREAM_STRING( &constant_bin[ 167042 ], 12, 1 ); const_str_plain_SURE_NO = UNSTREAM_STRING( &constant_bin[ 167054 ], 7, 1 ); const_str_plain__table_size = UNSTREAM_STRING( &constant_bin[ 167061 ], 11, 1 ); const_str_digest_bb3e1dbd35ea4e41d7f68a3343dd645c = UNSTREAM_STRING( &constant_bin[ 167072 ], 35, 0 ); const_str_plain_jisfreq = UNSTREAM_STRING( &constant_bin[ 167107 ], 7, 1 ); const_str_plain_big5freq = UNSTREAM_STRING( &constant_bin[ 139959 ], 8, 1 ); const_str_digest_bb65158be48501225be1c7d5ef385879 = UNSTREAM_STRING( &constant_bin[ 167114 ], 30, 0 ); const_str_digest_47013b3ed66904a628c31a1d049eb414 = UNSTREAM_STRING( &constant_bin[ 167144 ], 34, 0 ); const_str_plain_euctwfreq = UNSTREAM_STRING( &constant_bin[ 167178 ], 9, 1 ); const_str_digest_d62d03eae1ce02964d633e8daf5aada2 = UNSTREAM_STRING( &constant_bin[ 167187 ], 35, 0 ); const_str_digest_a2aab74e252bbabee9c1f1f67a3c7c19 = UNSTREAM_STRING( &constant_bin[ 167222 ], 33, 0 ); const_str_digest_c9a93c3344ac4d2f1db773b18f41d871 = UNSTREAM_STRING( &constant_bin[ 167255 ], 34, 0 ); const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple, 0, const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER ); Py_INCREF( const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER ); PyTuple_SET_ITEM( const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple, 1, const_str_plain_EUCKR_TABLE_SIZE ); Py_INCREF( const_str_plain_EUCKR_TABLE_SIZE ); PyTuple_SET_ITEM( const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple, 2, const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO ); Py_INCREF( const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO ); const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple, 1, const_str_plain_byte_str ); Py_INCREF( const_str_plain_byte_str ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple, 2, const_str_plain_first_char ); Py_INCREF( const_str_plain_first_char ); const_str_plain__freq_chars = UNSTREAM_STRING( &constant_bin[ 167289 ], 11, 1 ); const_str_digest_c124b8f3d4c1a6f372e2c66d94126c7d = UNSTREAM_STRING( &constant_bin[ 167300 ], 34, 0 ); const_str_plain_SURE_YES = UNSTREAM_STRING( &constant_bin[ 167334 ], 8, 1 ); const_str_digest_efc3b77b2936864df090d58ad85eb204 = UNSTREAM_STRING( &constant_bin[ 167342 ], 34, 0 ); const_str_digest_e994e8f263cc5d3eff75df26359082cd = UNSTREAM_STRING( &constant_bin[ 167376 ], 24, 0 ); const_str_digest_13e0f5606131955110270bdcb9b5449e = UNSTREAM_STRING( &constant_bin[ 167400 ], 34, 0 ); const_str_plain_typical_distribution_ratio = UNSTREAM_STRING( &constant_bin[ 167434 ], 26, 1 ); const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 1, const_str_plain_byte_str ); Py_INCREF( const_str_plain_byte_str ); PyTuple_SET_ITEM( const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 2, const_str_plain_first_char ); Py_INCREF( const_str_plain_first_char ); PyTuple_SET_ITEM( const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 3, const_str_plain_second_char ); Py_INCREF( const_str_plain_second_char ); PyTuple_SET_ITEM( const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 4, const_str_plain_order ); Py_INCREF( const_str_plain_order ); const_str_plain_ENOUGH_DATA_THRESHOLD = UNSTREAM_STRING( &constant_bin[ 167460 ], 21, 1 ); const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 1, const_str_plain_byte_str ); Py_INCREF( const_str_plain_byte_str ); PyTuple_SET_ITEM( const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 2, const_str_plain_first_char ); Py_INCREF( const_str_plain_first_char ); PyTuple_SET_ITEM( const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 3, const_str_plain_second_char ); Py_INCREF( const_str_plain_second_char ); const_str_plain_gb2312freq = UNSTREAM_STRING( &constant_bin[ 167481 ], 10, 1 ); const_int_pos_196 = PyLong_FromUnsignedLong( 196ul ); const_str_plain__char_to_freq_order = UNSTREAM_STRING( &constant_bin[ 167491 ], 19, 1 ); const_str_digest_3ad6227e1f46805bdafb128602de1c1d = UNSTREAM_STRING( &constant_bin[ 167510 ], 36, 0 ); const_str_plain_euckrfreq = UNSTREAM_STRING( &constant_bin[ 167546 ], 9, 1 ); const_str_digest_529a81d15d3f33e1350b614fbf3e8f3b = UNSTREAM_STRING( &constant_bin[ 167555 ], 40, 0 ); const_str_plain_CharDistributionAnalysis = UNSTREAM_STRING( &constant_bin[ 167013 ], 24, 1 ); const_str_digest_716723dbf2ba7947e4e1aeecc1269f9e = UNSTREAM_STRING( &constant_bin[ 167595 ], 39, 0 ); const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple, 0, const_str_plain_GB2312_CHAR_TO_FREQ_ORDER ); Py_INCREF( const_str_plain_GB2312_CHAR_TO_FREQ_ORDER ); PyTuple_SET_ITEM( const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple, 1, const_str_plain_GB2312_TABLE_SIZE ); Py_INCREF( const_str_plain_GB2312_TABLE_SIZE ); PyTuple_SET_ITEM( const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple, 2, const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO ); Py_INCREF( const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO ); const_str_digest_927c2db4fca30038b7313c6f508a2595 = UNSTREAM_STRING( &constant_bin[ 167634 ], 33, 0 ); const_int_pos_94 = PyLong_FromUnsignedLong( 94ul ); const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple, 1, const_str_plain_byte_str ); Py_INCREF( const_str_plain_byte_str ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple, 2, const_str_plain_char ); Py_INCREF( const_str_plain_char ); const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple, 0, const_str_plain_BIG5_CHAR_TO_FREQ_ORDER ); Py_INCREF( const_str_plain_BIG5_CHAR_TO_FREQ_ORDER ); PyTuple_SET_ITEM( const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple, 1, const_str_plain_BIG5_TABLE_SIZE ); Py_INCREF( const_str_plain_BIG5_TABLE_SIZE ); PyTuple_SET_ITEM( const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple, 2, const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO ); Py_INCREF( const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO ); const_int_pos_188 = PyLong_FromUnsignedLong( 188ul ); const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple, 0, const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); Py_INCREF( const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); PyTuple_SET_ITEM( const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple, 1, const_str_plain_JIS_TABLE_SIZE ); Py_INCREF( const_str_plain_JIS_TABLE_SIZE ); PyTuple_SET_ITEM( const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple, 2, const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); Py_INCREF( const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); const_int_pos_176 = PyLong_FromUnsignedLong( 176ul ); const_tuple_109d3d8eea16a531737ebea337292b06_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_109d3d8eea16a531737ebea337292b06_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_109d3d8eea16a531737ebea337292b06_tuple, 1, const_str_plain_char ); Py_INCREF( const_str_plain_char ); PyTuple_SET_ITEM( const_tuple_109d3d8eea16a531737ebea337292b06_tuple, 2, const_str_plain_char_len ); Py_INCREF( const_str_plain_char_len ); PyTuple_SET_ITEM( const_tuple_109d3d8eea16a531737ebea337292b06_tuple, 3, const_str_plain_order ); Py_INCREF( const_str_plain_order ); const_int_pos_157 = PyLong_FromUnsignedLong( 157ul ); const_str_digest_6f8abe0474c7b3b273bc6ad987b6ff03 = UNSTREAM_STRING( &constant_bin[ 167667 ], 33, 0 ); const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple, 0, const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER ); Py_INCREF( const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER ); PyTuple_SET_ITEM( const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple, 1, const_str_plain_EUCTW_TABLE_SIZE ); Py_INCREF( const_str_plain_EUCTW_TABLE_SIZE ); PyTuple_SET_ITEM( const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple, 2, const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO ); Py_INCREF( const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO ); const_str_digest_9844569e795b340eed68b81fd3b524ba = UNSTREAM_STRING( &constant_bin[ 167700 ], 35, 0 ); const_str_digest_182c8028d6867148d466cd9f5989f54d = UNSTREAM_STRING( &constant_bin[ 167735 ], 40, 0 ); const_str_digest_965a1de71dde3a9de125babcdcb6ce42 = UNSTREAM_STRING( &constant_bin[ 167775 ], 33, 0 ); const_str_digest_18bd7897b8a9a45bd57f09ae98a036cf = UNSTREAM_STRING( &constant_bin[ 167808 ], 34, 0 ); const_str_digest_4c1d467419a5f93fd349b85f711b4c11 = UNSTREAM_STRING( &constant_bin[ 167842 ], 34, 0 ); const_str_digest_02376e9c59619f5ed39e6532d21fefdb = UNSTREAM_STRING( &constant_bin[ 167876 ], 31, 0 ); const_str_digest_fadfdc835d733f1692a74b5240f4d260 = UNSTREAM_STRING( &constant_bin[ 167907 ], 35, 0 ); const_str_digest_872d1df702d02377a18a3d15a02d336d = UNSTREAM_STRING( &constant_bin[ 167942 ], 60, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_chardet$chardistribution( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_780ff20701b6029cf0fab914de57ece2; static PyCodeObject *codeobj_4d661dca928ceebb0a6dcf32e9b0918d; static PyCodeObject *codeobj_8cd2f75e106108a470f353b3705071a3; static PyCodeObject *codeobj_356d8cf0bd05354ca7dd423cfd36e926; static PyCodeObject *codeobj_8165c5d7e24a045bca4151e81e2b0c54; static PyCodeObject *codeobj_acc803295b6cd51e3ba9a5fd97133b77; static PyCodeObject *codeobj_7495efd9745598aac7671d3bb978941f; static PyCodeObject *codeobj_33000a3cdd3ffdc5f0721e7701ca1115; static PyCodeObject *codeobj_4806ba16dc15193c47d33f96e3d2a4a1; static PyCodeObject *codeobj_ca461a4f79da02a86c918c5b54eb3a4a; static PyCodeObject *codeobj_05aa56c50c67981a3a4c4124db056ef9; static PyCodeObject *codeobj_5a65dbac2f5bd2c739227f5e1f81183b; static PyCodeObject *codeobj_22502fe53157e5a632c09588a210bf79; static PyCodeObject *codeobj_f1c9991f3a71ea8b0be37a4333581adb; static PyCodeObject *codeobj_5ca08af71009917e47270123ba683173; static PyCodeObject *codeobj_818c9d2d0e12583d7df5578d9daf7a0f; static PyCodeObject *codeobj_7e7a85e1ba99ffbb919e717b73670717; static PyCodeObject *codeobj_86996093925c72f81526837c62070d9c; static PyCodeObject *codeobj_58eeacde0141852c90269f1bf06cf099; static PyCodeObject *codeobj_93a76732cb8fecfddc876dce6a35e72f; static PyCodeObject *codeobj_5d7c84ae1806f023713fa688bd6189ac; static PyCodeObject *codeobj_01114654bb7e1f10b3516ab73eedbcbf; static PyCodeObject *codeobj_dd311f74683bc232c69c5bd5bf98b2fa; static PyCodeObject *codeobj_fdc93122bbf4bd7764ec57bd3270484a; static PyCodeObject *codeobj_50d1b619f7b203ad67cf02e32a1d24a8; static PyCodeObject *codeobj_4b261f9686e9977f4bf098f7df35156b; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_872d1df702d02377a18a3d15a02d336d; codeobj_780ff20701b6029cf0fab914de57ece2 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_6f8abe0474c7b3b273bc6ad987b6ff03, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_4d661dca928ceebb0a6dcf32e9b0918d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Big5DistributionAnalysis, 170, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_8cd2f75e106108a470f353b3705071a3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CharDistributionAnalysis, 40, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_356d8cf0bd05354ca7dd423cfd36e926 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_EUCJPDistributionAnalysis, 217, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_8165c5d7e24a045bca4151e81e2b0c54 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_EUCKRDistributionAnalysis, 132, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_acc803295b6cd51e3ba9a5fd97133b77 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_EUCTWDistributionAnalysis, 113, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_7495efd9745598aac7671d3bb978941f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_GB2312DistributionAnalysis, 151, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_33000a3cdd3ffdc5f0721e7701ca1115 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_SJISDistributionAnalysis, 192, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_4806ba16dc15193c47d33f96e3d2a4a1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 46, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ca461a4f79da02a86c918c5b54eb3a4a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 114, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_05aa56c50c67981a3a4c4124db056ef9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 133, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_5a65dbac2f5bd2c739227f5e1f81183b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 152, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_22502fe53157e5a632c09588a210bf79 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 171, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_f1c9991f3a71ea8b0be37a4333581adb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 193, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_5ca08af71009917e47270123ba683173 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 218, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_818c9d2d0e12583d7df5578d9daf7a0f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_feed, 70, const_tuple_109d3d8eea16a531737ebea337292b06_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7e7a85e1ba99ffbb919e717b73670717 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_confidence, 84, const_tuple_str_plain_self_str_plain_r_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_86996093925c72f81526837c62070d9c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 105, const_tuple_str_plain_self_str_plain_byte_str_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_58eeacde0141852c90269f1bf06cf099 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 120, const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_93a76732cb8fecfddc876dce6a35e72f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 139, const_tuple_str_plain_self_str_plain_byte_str_str_plain_first_char_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5d7c84ae1806f023713fa688bd6189ac = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 158, const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_01114654bb7e1f10b3516ab73eedbcbf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 177, const_tuple_13cfd01c70fa2b4cb40c6ceaa84f0956_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dd311f74683bc232c69c5bd5bf98b2fa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 199, const_tuple_19016e41ec0ac0340ad49c20f2c96918_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fdc93122bbf4bd7764ec57bd3270484a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_order, 224, const_tuple_str_plain_self_str_plain_byte_str_str_plain_char_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_50d1b619f7b203ad67cf02e32a1d24a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_got_enough_data, 100, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4b261f9686e9977f4bf098f7df35156b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 61, const_tuple_str_plain_self_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$chardistribution$$$function_10_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_11___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_12_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_13___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_14_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_15___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_16_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_17___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_18_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_1___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_2_reset( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_3_feed( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_4_get_confidence( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_5_got_enough_data( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_6_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_7___init__( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_8_get_order( ); static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_9___init__( ); // The module function definitions. static PyObject *impl_chardet$chardistribution$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_4806ba16dc15193c47d33f96e3d2a4a1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_4806ba16dc15193c47d33f96e3d2a4a1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4806ba16dc15193c47d33f96e3d2a4a1, codeobj_4806ba16dc15193c47d33f96e3d2a4a1, module_chardet$chardistribution, sizeof(void *) ); frame_4806ba16dc15193c47d33f96e3d2a4a1 = cache_frame_4806ba16dc15193c47d33f96e3d2a4a1; // Push the new frame as the currently active one. pushFrameStack( frame_4806ba16dc15193c47d33f96e3d2a4a1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4806ba16dc15193c47d33f96e3d2a4a1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = Py_None; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 49; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 50; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 56; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__done, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 56; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; tmp_assattr_name_5 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 57; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__total_chars, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; tmp_assattr_name_6 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 58; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain__freq_chars, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_4806ba16dc15193c47d33f96e3d2a4a1->m_frame.f_lineno = 59; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_reset ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_4806ba16dc15193c47d33f96e3d2a4a1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4806ba16dc15193c47d33f96e3d2a4a1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4806ba16dc15193c47d33f96e3d2a4a1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4806ba16dc15193c47d33f96e3d2a4a1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4806ba16dc15193c47d33f96e3d2a4a1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4806ba16dc15193c47d33f96e3d2a4a1, type_description_1, par_self ); // Release cached frame. if ( frame_4806ba16dc15193c47d33f96e3d2a4a1 == cache_frame_4806ba16dc15193c47d33f96e3d2a4a1 ) { Py_DECREF( frame_4806ba16dc15193c47d33f96e3d2a4a1 ); } cache_frame_4806ba16dc15193c47d33f96e3d2a4a1 = NULL; assertFrameObject( frame_4806ba16dc15193c47d33f96e3d2a4a1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_1___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_2_reset( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_4b261f9686e9977f4bf098f7df35156b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_4b261f9686e9977f4bf098f7df35156b = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4b261f9686e9977f4bf098f7df35156b, codeobj_4b261f9686e9977f4bf098f7df35156b, module_chardet$chardistribution, sizeof(void *) ); frame_4b261f9686e9977f4bf098f7df35156b = cache_frame_4b261f9686e9977f4bf098f7df35156b; // Push the new frame as the currently active one. pushFrameStack( frame_4b261f9686e9977f4bf098f7df35156b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4b261f9686e9977f4bf098f7df35156b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = Py_False; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__done, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__total_chars, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 68; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__freq_chars, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; type_description_1 = "o"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4b261f9686e9977f4bf098f7df35156b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4b261f9686e9977f4bf098f7df35156b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4b261f9686e9977f4bf098f7df35156b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4b261f9686e9977f4bf098f7df35156b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4b261f9686e9977f4bf098f7df35156b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4b261f9686e9977f4bf098f7df35156b, type_description_1, par_self ); // Release cached frame. if ( frame_4b261f9686e9977f4bf098f7df35156b == cache_frame_4b261f9686e9977f4bf098f7df35156b ) { Py_DECREF( frame_4b261f9686e9977f4bf098f7df35156b ); } cache_frame_4b261f9686e9977f4bf098f7df35156b = NULL; assertFrameObject( frame_4b261f9686e9977f4bf098f7df35156b ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_2_reset ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_2_reset ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_3_feed( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_char = python_pars[ 1 ]; PyObject *par_char_len = python_pars[ 2 ]; PyObject *var_order = NULL; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; PyObject *tmp_inplace_assign_attr_2__end = NULL; PyObject *tmp_inplace_assign_attr_2__start = NULL; struct Nuitka_FrameObject *frame_818c9d2d0e12583d7df5578d9daf7a0f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_818c9d2d0e12583d7df5578d9daf7a0f = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_818c9d2d0e12583d7df5578d9daf7a0f, codeobj_818c9d2d0e12583d7df5578d9daf7a0f, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_818c9d2d0e12583d7df5578d9daf7a0f = cache_frame_818c9d2d0e12583d7df5578d9daf7a0f; // Push the new frame as the currently active one. pushFrameStack( frame_818c9d2d0e12583d7df5578d9daf7a0f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_818c9d2d0e12583d7df5578d9daf7a0f ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_char_len ); tmp_compexpr_left_1 = par_char_len; tmp_compexpr_right_1 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 72; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 74; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_order ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_char == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 74; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_char; frame_818c9d2d0e12583d7df5578d9daf7a0f->m_frame.f_lineno = 74; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_order == NULL ); var_order = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_int_neg_1; assert( var_order == NULL ); Py_INCREF( tmp_assign_source_2 ); var_order = tmp_assign_source_2; } branch_end_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_order ); tmp_compexpr_left_2 = var_order; tmp_compexpr_right_2 = const_int_0; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 77; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__total_chars ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_3; } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_4 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__total_chars, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "oooo"; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_3; if ( var_order == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "order" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_order; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__table_size ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_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_3; } else { goto branch_no_3; } branch_yes_3:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_4; PyObject *tmp_subscript_name_1; tmp_compexpr_left_4 = const_int_pos_512; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__char_to_freq_order ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_order == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "order" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = var_order; tmp_compexpr_right_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_5; PyObject *tmp_source_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_assign_source_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__freq_chars ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_2__start == NULL ); tmp_inplace_assign_attr_2__start = tmp_assign_source_5; } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; CHECK_OBJECT( tmp_inplace_assign_attr_2__start ); tmp_left_name_2 = tmp_inplace_assign_attr_2__start; tmp_right_name_2 = const_int_pos_1; tmp_assign_source_6 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooo"; goto try_except_handler_4; } assert( tmp_inplace_assign_attr_2__end == NULL ); tmp_inplace_assign_attr_2__end = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT( tmp_inplace_assign_attr_2__end ); tmp_assattr_name_2 = tmp_inplace_assign_attr_2__end; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__freq_chars, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooo"; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = NULL; } branch_no_4:; } branch_no_3:; } branch_no_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_818c9d2d0e12583d7df5578d9daf7a0f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_818c9d2d0e12583d7df5578d9daf7a0f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_818c9d2d0e12583d7df5578d9daf7a0f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_818c9d2d0e12583d7df5578d9daf7a0f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_818c9d2d0e12583d7df5578d9daf7a0f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_818c9d2d0e12583d7df5578d9daf7a0f, type_description_1, par_self, par_char, par_char_len, var_order ); // Release cached frame. if ( frame_818c9d2d0e12583d7df5578d9daf7a0f == cache_frame_818c9d2d0e12583d7df5578d9daf7a0f ) { Py_DECREF( frame_818c9d2d0e12583d7df5578d9daf7a0f ); } cache_frame_818c9d2d0e12583d7df5578d9daf7a0f = NULL; assertFrameObject( frame_818c9d2d0e12583d7df5578d9daf7a0f ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_3_feed ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_char ); par_char = NULL; } { Py_XDECREF( par_char_len ); par_char_len = NULL; } { Py_XDECREF( var_order ); var_order = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_char ); par_char = NULL; } { Py_XDECREF( par_char_len ); par_char_len = NULL; } { Py_XDECREF( var_order ); var_order = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_3_feed ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_4_get_confidence( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_r = NULL; struct Nuitka_FrameObject *frame_7e7a85e1ba99ffbb919e717b73670717; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7e7a85e1ba99ffbb919e717b73670717 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_7e7a85e1ba99ffbb919e717b73670717, codeobj_7e7a85e1ba99ffbb919e717b73670717, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_7e7a85e1ba99ffbb919e717b73670717 = cache_frame_7e7a85e1ba99ffbb919e717b73670717; // Push the new frame as the currently active one. pushFrameStack( frame_7e7a85e1ba99ffbb919e717b73670717 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7e7a85e1ba99ffbb919e717b73670717 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__total_chars ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__freq_chars ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_MINIMUM_DATA_THRESHOLD ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_1 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_source_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_SURE_NO ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__total_chars ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__freq_chars ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_source_name_7; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_source_name_8; PyObject *tmp_right_name_2; PyObject *tmp_source_name_9; PyObject *tmp_right_name_3; PyObject *tmp_source_name_10; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__freq_chars ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_left_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__total_chars ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_left_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__freq_chars ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_left_name_3 ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_2 ); Py_DECREF( tmp_left_name_3 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_right_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_typical_distribution_ratio ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 93; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = BINARY_OPERATION_MUL( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION_TRUEDIV( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_r == NULL ); var_r = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_source_name_11; CHECK_OBJECT( var_r ); tmp_compexpr_left_4 = var_r; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 94; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_compexpr_right_4 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_SURE_YES ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_1 = "oo"; goto frame_exception_exit_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_3; } else { goto branch_no_3; } branch_yes_3:; { if ( var_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 95; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = var_r; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } branch_no_2:; } { PyObject *tmp_source_name_12; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 98; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_SURE_YES ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 98; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7e7a85e1ba99ffbb919e717b73670717 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7e7a85e1ba99ffbb919e717b73670717 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7e7a85e1ba99ffbb919e717b73670717 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7e7a85e1ba99ffbb919e717b73670717, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7e7a85e1ba99ffbb919e717b73670717->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7e7a85e1ba99ffbb919e717b73670717, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7e7a85e1ba99ffbb919e717b73670717, type_description_1, par_self, var_r ); // Release cached frame. if ( frame_7e7a85e1ba99ffbb919e717b73670717 == cache_frame_7e7a85e1ba99ffbb919e717b73670717 ) { Py_DECREF( frame_7e7a85e1ba99ffbb919e717b73670717 ); } cache_frame_7e7a85e1ba99ffbb919e717b73670717 = NULL; assertFrameObject( frame_7e7a85e1ba99ffbb919e717b73670717 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_4_get_confidence ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_4_get_confidence ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_5_got_enough_data( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_50d1b619f7b203ad67cf02e32a1d24a8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_50d1b619f7b203ad67cf02e32a1d24a8 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_50d1b619f7b203ad67cf02e32a1d24a8, codeobj_50d1b619f7b203ad67cf02e32a1d24a8, module_chardet$chardistribution, sizeof(void *) ); frame_50d1b619f7b203ad67cf02e32a1d24a8 = cache_frame_50d1b619f7b203ad67cf02e32a1d24a8; // Push the new frame as the currently active one. pushFrameStack( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_50d1b619f7b203ad67cf02e32a1d24a8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__total_chars ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ENOUGH_DATA_THRESHOLD ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 103; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = RICH_COMPARE_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_50d1b619f7b203ad67cf02e32a1d24a8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_50d1b619f7b203ad67cf02e32a1d24a8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_50d1b619f7b203ad67cf02e32a1d24a8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_50d1b619f7b203ad67cf02e32a1d24a8, type_description_1, par_self ); // Release cached frame. if ( frame_50d1b619f7b203ad67cf02e32a1d24a8 == cache_frame_50d1b619f7b203ad67cf02e32a1d24a8 ) { Py_DECREF( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); } cache_frame_50d1b619f7b203ad67cf02e32a1d24a8 = NULL; assertFrameObject( frame_50d1b619f7b203ad67cf02e32a1d24a8 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_5_got_enough_data ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_5_got_enough_data ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_6_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_6_get_order ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { goto function_return_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_6_get_order ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_7___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_ca461a4f79da02a86c918c5b54eb3a4a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_ca461a4f79da02a86c918c5b54eb3a4a = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_ca461a4f79da02a86c918c5b54eb3a4a, codeobj_ca461a4f79da02a86c918c5b54eb3a4a, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_ca461a4f79da02a86c918c5b54eb3a4a = cache_frame_ca461a4f79da02a86c918c5b54eb3a4a; // Push the new frame as the currently active one. pushFrameStack( frame_ca461a4f79da02a86c918c5b54eb3a4a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ca461a4f79da02a86c918c5b54eb3a4a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTWDistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCTWDistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCTWDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_ca461a4f79da02a86c918c5b54eb3a4a->m_frame.f_lineno = 115; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCTW_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 116; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 116; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 116; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCTW_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCTW_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCTW_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ca461a4f79da02a86c918c5b54eb3a4a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ca461a4f79da02a86c918c5b54eb3a4a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ca461a4f79da02a86c918c5b54eb3a4a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ca461a4f79da02a86c918c5b54eb3a4a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ca461a4f79da02a86c918c5b54eb3a4a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ca461a4f79da02a86c918c5b54eb3a4a, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_ca461a4f79da02a86c918c5b54eb3a4a == cache_frame_ca461a4f79da02a86c918c5b54eb3a4a ) { Py_DECREF( frame_ca461a4f79da02a86c918c5b54eb3a4a ); } cache_frame_ca461a4f79da02a86c918c5b54eb3a4a = NULL; assertFrameObject( frame_ca461a4f79da02a86c918c5b54eb3a4a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_7___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_7___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_8_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_first_char = NULL; struct Nuitka_FrameObject *frame_58eeacde0141852c90269f1bf06cf099; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_58eeacde0141852c90269f1bf06cf099 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_58eeacde0141852c90269f1bf06cf099, codeobj_58eeacde0141852c90269f1bf06cf099, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_58eeacde0141852c90269f1bf06cf099 = cache_frame_58eeacde0141852c90269f1bf06cf099; // Push the new frame as the currently active one. pushFrameStack( frame_58eeacde0141852c90269f1bf06cf099 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_58eeacde0141852c90269f1bf06cf099 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_first_char == NULL ); var_first_char = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_first_char ); tmp_compexpr_left_1 = var_first_char; tmp_compexpr_right_1 = const_int_pos_196; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 126; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_1; PyObject *tmp_left_name_4; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_4; tmp_left_name_3 = const_int_pos_94; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_first_char; tmp_right_name_2 = const_int_pos_196; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_byte_str == NULL ) { Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_161; tmp_return_value = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_4 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_58eeacde0141852c90269f1bf06cf099 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_58eeacde0141852c90269f1bf06cf099 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_58eeacde0141852c90269f1bf06cf099 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_58eeacde0141852c90269f1bf06cf099, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_58eeacde0141852c90269f1bf06cf099->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_58eeacde0141852c90269f1bf06cf099, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_58eeacde0141852c90269f1bf06cf099, type_description_1, par_self, par_byte_str, var_first_char ); // Release cached frame. if ( frame_58eeacde0141852c90269f1bf06cf099 == cache_frame_58eeacde0141852c90269f1bf06cf099 ) { Py_DECREF( frame_58eeacde0141852c90269f1bf06cf099 ); } cache_frame_58eeacde0141852c90269f1bf06cf099 = NULL; assertFrameObject( frame_58eeacde0141852c90269f1bf06cf099 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_8_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_8_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_9___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_05aa56c50c67981a3a4c4124db056ef9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_05aa56c50c67981a3a4c4124db056ef9 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_05aa56c50c67981a3a4c4124db056ef9, codeobj_05aa56c50c67981a3a4c4124db056ef9, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_05aa56c50c67981a3a4c4124db056ef9 = cache_frame_05aa56c50c67981a3a4c4124db056ef9; // Push the new frame as the currently active one. pushFrameStack( frame_05aa56c50c67981a3a4c4124db056ef9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_05aa56c50c67981a3a4c4124db056ef9 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKRDistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCKRDistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCKRDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_05aa56c50c67981a3a4c4124db056ef9->m_frame.f_lineno = 134; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCKR_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 135; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 135; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCKR_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCKR_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 136; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 136; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 136; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCKR_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 137; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 137; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_05aa56c50c67981a3a4c4124db056ef9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_05aa56c50c67981a3a4c4124db056ef9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_05aa56c50c67981a3a4c4124db056ef9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_05aa56c50c67981a3a4c4124db056ef9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_05aa56c50c67981a3a4c4124db056ef9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_05aa56c50c67981a3a4c4124db056ef9, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_05aa56c50c67981a3a4c4124db056ef9 == cache_frame_05aa56c50c67981a3a4c4124db056ef9 ) { Py_DECREF( frame_05aa56c50c67981a3a4c4124db056ef9 ); } cache_frame_05aa56c50c67981a3a4c4124db056ef9 = NULL; assertFrameObject( frame_05aa56c50c67981a3a4c4124db056ef9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_9___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_9___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_10_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_first_char = NULL; struct Nuitka_FrameObject *frame_93a76732cb8fecfddc876dce6a35e72f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_93a76732cb8fecfddc876dce6a35e72f = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_93a76732cb8fecfddc876dce6a35e72f, codeobj_93a76732cb8fecfddc876dce6a35e72f, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_93a76732cb8fecfddc876dce6a35e72f = cache_frame_93a76732cb8fecfddc876dce6a35e72f; // Push the new frame as the currently active one. pushFrameStack( frame_93a76732cb8fecfddc876dce6a35e72f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_93a76732cb8fecfddc876dce6a35e72f ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_first_char == NULL ); var_first_char = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_first_char ); tmp_compexpr_left_1 = var_first_char; tmp_compexpr_right_1 = const_int_pos_176; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 145; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_1; PyObject *tmp_left_name_4; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_4; tmp_left_name_3 = const_int_pos_94; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_first_char; tmp_right_name_2 = const_int_pos_176; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_byte_str == NULL ) { Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_161; tmp_return_value = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_4 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_93a76732cb8fecfddc876dce6a35e72f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_93a76732cb8fecfddc876dce6a35e72f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_93a76732cb8fecfddc876dce6a35e72f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_93a76732cb8fecfddc876dce6a35e72f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_93a76732cb8fecfddc876dce6a35e72f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_93a76732cb8fecfddc876dce6a35e72f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_93a76732cb8fecfddc876dce6a35e72f, type_description_1, par_self, par_byte_str, var_first_char ); // Release cached frame. if ( frame_93a76732cb8fecfddc876dce6a35e72f == cache_frame_93a76732cb8fecfddc876dce6a35e72f ) { Py_DECREF( frame_93a76732cb8fecfddc876dce6a35e72f ); } cache_frame_93a76732cb8fecfddc876dce6a35e72f = NULL; assertFrameObject( frame_93a76732cb8fecfddc876dce6a35e72f ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_10_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_10_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_11___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_5a65dbac2f5bd2c739227f5e1f81183b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_5a65dbac2f5bd2c739227f5e1f81183b = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_5a65dbac2f5bd2c739227f5e1f81183b, codeobj_5a65dbac2f5bd2c739227f5e1f81183b, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_5a65dbac2f5bd2c739227f5e1f81183b = cache_frame_5a65dbac2f5bd2c739227f5e1f81183b; // Push the new frame as the currently active one. pushFrameStack( frame_5a65dbac2f5bd2c739227f5e1f81183b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5a65dbac2f5bd2c739227f5e1f81183b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312DistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_GB2312DistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "GB2312DistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 153; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_5a65dbac2f5bd2c739227f5e1f81183b->m_frame.f_lineno = 153; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_GB2312_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "GB2312_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 154; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 154; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_GB2312_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "GB2312_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 155; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 155; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 155; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "GB2312_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_5a65dbac2f5bd2c739227f5e1f81183b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5a65dbac2f5bd2c739227f5e1f81183b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5a65dbac2f5bd2c739227f5e1f81183b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5a65dbac2f5bd2c739227f5e1f81183b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5a65dbac2f5bd2c739227f5e1f81183b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5a65dbac2f5bd2c739227f5e1f81183b, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_5a65dbac2f5bd2c739227f5e1f81183b == cache_frame_5a65dbac2f5bd2c739227f5e1f81183b ) { Py_DECREF( frame_5a65dbac2f5bd2c739227f5e1f81183b ); } cache_frame_5a65dbac2f5bd2c739227f5e1f81183b = NULL; assertFrameObject( frame_5a65dbac2f5bd2c739227f5e1f81183b ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_11___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_11___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_12_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_first_char = NULL; PyObject *var_second_char = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_5d7c84ae1806f023713fa688bd6189ac; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *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; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_5d7c84ae1806f023713fa688bd6189ac = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_5d7c84ae1806f023713fa688bd6189ac, codeobj_5d7c84ae1806f023713fa688bd6189ac, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5d7c84ae1806f023713fa688bd6189ac = cache_frame_5d7c84ae1806f023713fa688bd6189ac; // Push the new frame as the currently active one. pushFrameStack( frame_5d7c84ae1806f023713fa688bd6189ac ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5d7c84ae1806f023713fa688bd6189ac ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_iter_arg_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_iter_arg_1, 0, tmp_tuple_element_1 ); if ( par_byte_str == NULL ) { Py_DECREF( tmp_iter_arg_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 163; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_iter_arg_1 ); exception_lineno = 163; type_description_1 = "oooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_iter_arg_1, 1, tmp_tuple_element_1 ); tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 163; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 163; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_first_char == NULL ); Py_INCREF( tmp_assign_source_4 ); var_first_char = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_second_char == NULL ); Py_INCREF( tmp_assign_source_5 ); var_second_char = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 164; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_first_char; tmp_compexpr_right_1 = const_int_pos_176; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 164; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( var_second_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 164; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_second_char; tmp_compexpr_right_2 = const_int_pos_161; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 164; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_1; PyObject *tmp_left_name_4; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_right_name_4; tmp_left_name_3 = const_int_pos_94; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_first_char; tmp_right_name_2 = const_int_pos_176; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_second_char == NULL ) { Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_3 = var_second_char; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_161; tmp_return_value = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_4 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 165; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5d7c84ae1806f023713fa688bd6189ac ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5d7c84ae1806f023713fa688bd6189ac ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5d7c84ae1806f023713fa688bd6189ac ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5d7c84ae1806f023713fa688bd6189ac, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5d7c84ae1806f023713fa688bd6189ac->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5d7c84ae1806f023713fa688bd6189ac, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5d7c84ae1806f023713fa688bd6189ac, type_description_1, par_self, par_byte_str, var_first_char, var_second_char ); // Release cached frame. if ( frame_5d7c84ae1806f023713fa688bd6189ac == cache_frame_5d7c84ae1806f023713fa688bd6189ac ) { Py_DECREF( frame_5d7c84ae1806f023713fa688bd6189ac ); } cache_frame_5d7c84ae1806f023713fa688bd6189ac = NULL; assertFrameObject( frame_5d7c84ae1806f023713fa688bd6189ac ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_12_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_12_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_13___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_22502fe53157e5a632c09588a210bf79; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_22502fe53157e5a632c09588a210bf79 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_22502fe53157e5a632c09588a210bf79, codeobj_22502fe53157e5a632c09588a210bf79, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_22502fe53157e5a632c09588a210bf79 = cache_frame_22502fe53157e5a632c09588a210bf79; // Push the new frame as the currently active one. pushFrameStack( frame_22502fe53157e5a632c09588a210bf79 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_22502fe53157e5a632c09588a210bf79 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_Big5DistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Big5DistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Big5DistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 172; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_22502fe53157e5a632c09588a210bf79->m_frame.f_lineno = 172; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BIG5_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BIG5_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 173; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 173; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 173; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BIG5_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BIG5_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 174; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 174; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 174; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BIG5_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 175; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 175; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 175; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_22502fe53157e5a632c09588a210bf79 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_22502fe53157e5a632c09588a210bf79 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_22502fe53157e5a632c09588a210bf79, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_22502fe53157e5a632c09588a210bf79->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_22502fe53157e5a632c09588a210bf79, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_22502fe53157e5a632c09588a210bf79, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_22502fe53157e5a632c09588a210bf79 == cache_frame_22502fe53157e5a632c09588a210bf79 ) { Py_DECREF( frame_22502fe53157e5a632c09588a210bf79 ); } cache_frame_22502fe53157e5a632c09588a210bf79 = NULL; assertFrameObject( frame_22502fe53157e5a632c09588a210bf79 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_13___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_13___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_14_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_first_char = NULL; PyObject *var_second_char = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_01114654bb7e1f10b3516ab73eedbcbf; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *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; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_01114654bb7e1f10b3516ab73eedbcbf = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_01114654bb7e1f10b3516ab73eedbcbf, codeobj_01114654bb7e1f10b3516ab73eedbcbf, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_01114654bb7e1f10b3516ab73eedbcbf = cache_frame_01114654bb7e1f10b3516ab73eedbcbf; // Push the new frame as the currently active one. pushFrameStack( frame_01114654bb7e1f10b3516ab73eedbcbf ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_01114654bb7e1f10b3516ab73eedbcbf ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 182; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_iter_arg_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_iter_arg_1, 0, tmp_tuple_element_1 ); if ( par_byte_str == NULL ) { Py_DECREF( tmp_iter_arg_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 182; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_iter_arg_1 ); exception_lineno = 182; type_description_1 = "oooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_iter_arg_1, 1, tmp_tuple_element_1 ); tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 182; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 182; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 182; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_first_char == NULL ); Py_INCREF( tmp_assign_source_4 ); var_first_char = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_second_char == NULL ); Py_INCREF( tmp_assign_source_5 ); var_second_char = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 183; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_first_char; tmp_compexpr_right_1 = const_int_pos_164; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 183; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_second_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 184; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_second_char; tmp_compexpr_right_2 = const_int_pos_161; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 184; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_1; PyObject *tmp_left_name_5; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_right_name_4; PyObject *tmp_right_name_5; tmp_left_name_4 = const_int_pos_157; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_5 = var_first_char; tmp_right_name_2 = const_int_pos_164; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_5, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_3 = BINARY_OPERATION_MUL( tmp_left_name_4, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_second_char == NULL ) { Py_DECREF( tmp_left_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_3 = var_second_char; tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_left_name_3 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_161; tmp_left_name_1 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_4 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_5 = const_int_pos_63; tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_5 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { PyObject *tmp_left_name_6; PyObject *tmp_left_name_7; PyObject *tmp_left_name_8; PyObject *tmp_right_name_6; PyObject *tmp_left_name_9; PyObject *tmp_right_name_7; PyObject *tmp_right_name_8; PyObject *tmp_right_name_9; tmp_left_name_8 = const_int_pos_157; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_9 = var_first_char; tmp_right_name_7 = const_int_pos_164; tmp_right_name_6 = BINARY_OPERATION_SUB( tmp_left_name_9, tmp_right_name_7 ); if ( tmp_right_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_7 = BINARY_OPERATION_MUL( tmp_left_name_8, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_left_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_second_char == NULL ) { Py_DECREF( tmp_left_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_8 = var_second_char; tmp_left_name_6 = BINARY_OPERATION_ADD( tmp_left_name_7, tmp_right_name_8 ); Py_DECREF( tmp_left_name_7 ); if ( tmp_left_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_9 = const_int_pos_64; tmp_return_value = BINARY_OPERATION_SUB( tmp_left_name_6, tmp_right_name_9 ); Py_DECREF( tmp_left_name_6 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_2:; } goto branch_end_1; branch_no_1:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_01114654bb7e1f10b3516ab73eedbcbf ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_01114654bb7e1f10b3516ab73eedbcbf ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_01114654bb7e1f10b3516ab73eedbcbf ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_01114654bb7e1f10b3516ab73eedbcbf, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_01114654bb7e1f10b3516ab73eedbcbf->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_01114654bb7e1f10b3516ab73eedbcbf, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_01114654bb7e1f10b3516ab73eedbcbf, type_description_1, par_self, par_byte_str, var_first_char, var_second_char ); // Release cached frame. if ( frame_01114654bb7e1f10b3516ab73eedbcbf == cache_frame_01114654bb7e1f10b3516ab73eedbcbf ) { Py_DECREF( frame_01114654bb7e1f10b3516ab73eedbcbf ); } cache_frame_01114654bb7e1f10b3516ab73eedbcbf = NULL; assertFrameObject( frame_01114654bb7e1f10b3516ab73eedbcbf ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_14_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_14_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_15___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_f1c9991f3a71ea8b0be37a4333581adb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_f1c9991f3a71ea8b0be37a4333581adb = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_f1c9991f3a71ea8b0be37a4333581adb, codeobj_f1c9991f3a71ea8b0be37a4333581adb, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_f1c9991f3a71ea8b0be37a4333581adb = cache_frame_f1c9991f3a71ea8b0be37a4333581adb; // Push the new frame as the currently active one. pushFrameStack( frame_f1c9991f3a71ea8b0be37a4333581adb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f1c9991f3a71ea8b0be37a4333581adb ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_SJISDistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SJISDistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SJISDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 194; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_f1c9991f3a71ea8b0be37a4333581adb->m_frame.f_lineno = 194; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 195; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 195; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 195; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 196; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 196; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 196; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 197; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 197; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 197; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_f1c9991f3a71ea8b0be37a4333581adb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f1c9991f3a71ea8b0be37a4333581adb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f1c9991f3a71ea8b0be37a4333581adb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f1c9991f3a71ea8b0be37a4333581adb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f1c9991f3a71ea8b0be37a4333581adb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f1c9991f3a71ea8b0be37a4333581adb, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_f1c9991f3a71ea8b0be37a4333581adb == cache_frame_f1c9991f3a71ea8b0be37a4333581adb ) { Py_DECREF( frame_f1c9991f3a71ea8b0be37a4333581adb ); } cache_frame_f1c9991f3a71ea8b0be37a4333581adb = NULL; assertFrameObject( frame_f1c9991f3a71ea8b0be37a4333581adb ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_15___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_15___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_16_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_first_char = NULL; PyObject *var_second_char = NULL; PyObject *var_order = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_dd311f74683bc232c69c5bd5bf98b2fa; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *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; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dd311f74683bc232c69c5bd5bf98b2fa = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_dd311f74683bc232c69c5bd5bf98b2fa, codeobj_dd311f74683bc232c69c5bd5bf98b2fa, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dd311f74683bc232c69c5bd5bf98b2fa = cache_frame_dd311f74683bc232c69c5bd5bf98b2fa; // Push the new frame as the currently active one. pushFrameStack( frame_dd311f74683bc232c69c5bd5bf98b2fa ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dd311f74683bc232c69c5bd5bf98b2fa ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 204; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_iter_arg_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_iter_arg_1, 0, tmp_tuple_element_1 ); if ( par_byte_str == NULL ) { Py_DECREF( tmp_iter_arg_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 204; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_iter_arg_1 ); exception_lineno = 204; type_description_1 = "ooooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_iter_arg_1, 1, tmp_tuple_element_1 ); tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 204; type_description_1 = "ooooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooo"; exception_lineno = 204; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooo"; exception_lineno = 204; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_first_char == NULL ); Py_INCREF( tmp_assign_source_4 ); var_first_char = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_second_char == NULL ); Py_INCREF( tmp_assign_source_5 ); var_second_char = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_first_char; tmp_compexpr_right_1 = const_int_pos_129; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 205; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_first_char; tmp_compexpr_right_2 = const_int_pos_159; tmp_res = RICH_COMPARE_BOOL_LE( 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 = 205; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; tmp_left_name_1 = const_int_pos_188; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 206; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_first_char; tmp_right_name_2 = const_int_pos_129; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 206; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = BINARY_OPERATION_MUL( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 206; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_order == NULL ); var_order = tmp_assign_source_6; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 207; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_first_char; tmp_compexpr_right_3 = const_int_pos_224; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 207; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 207; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_first_char; tmp_compexpr_right_4 = const_int_pos_239; tmp_res = RICH_COMPARE_BOOL_LE( 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 = 207; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_2 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_7; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_left_name_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_4; PyObject *tmp_right_name_5; tmp_left_name_3 = const_int_pos_188; if ( var_first_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 208; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_5 = var_first_char; tmp_right_name_4 = const_int_pos_224; tmp_left_name_4 = BINARY_OPERATION_SUB( tmp_left_name_5, tmp_right_name_4 ); if ( tmp_left_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_5 = const_int_pos_31; tmp_right_name_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_5 ); Py_DECREF( tmp_left_name_4 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_7 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_order == NULL ); var_order = tmp_assign_source_7; } goto branch_end_2; branch_no_2:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_2:; } branch_end_1:; } { PyObject *tmp_assign_source_8; PyObject *tmp_left_name_6; PyObject *tmp_left_name_7; PyObject *tmp_right_name_6; PyObject *tmp_right_name_7; if ( var_order == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "order" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 211; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_7 = var_order; if ( var_second_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 211; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = var_second_char; tmp_left_name_6 = BINARY_OPERATION_ADD( tmp_left_name_7, tmp_right_name_6 ); if ( tmp_left_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 211; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_7 = const_int_pos_64; tmp_assign_source_8 = BINARY_OPERATION_SUB( tmp_left_name_6, tmp_right_name_7 ); Py_DECREF( tmp_left_name_6 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 211; type_description_1 = "ooooo"; goto frame_exception_exit_1; } { PyObject *old = var_order; var_order = tmp_assign_source_8; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( var_second_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "second_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_second_char; tmp_compexpr_right_5 = const_int_pos_127; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 212; type_description_1 = "ooooo"; goto frame_exception_exit_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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_9; tmp_assign_source_9 = const_int_neg_1; { PyObject *old = var_order; var_order = tmp_assign_source_9; Py_INCREF( var_order ); Py_XDECREF( old ); } } branch_no_3:; } { if ( var_order == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "order" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 214; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_return_value = var_order; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dd311f74683bc232c69c5bd5bf98b2fa ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dd311f74683bc232c69c5bd5bf98b2fa ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dd311f74683bc232c69c5bd5bf98b2fa ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dd311f74683bc232c69c5bd5bf98b2fa, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dd311f74683bc232c69c5bd5bf98b2fa->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dd311f74683bc232c69c5bd5bf98b2fa, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dd311f74683bc232c69c5bd5bf98b2fa, type_description_1, par_self, par_byte_str, var_first_char, var_second_char, var_order ); // Release cached frame. if ( frame_dd311f74683bc232c69c5bd5bf98b2fa == cache_frame_dd311f74683bc232c69c5bd5bf98b2fa ) { Py_DECREF( frame_dd311f74683bc232c69c5bd5bf98b2fa ); } cache_frame_dd311f74683bc232c69c5bd5bf98b2fa = NULL; assertFrameObject( frame_dd311f74683bc232c69c5bd5bf98b2fa ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_16_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { Py_XDECREF( var_order ); var_order = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_first_char ); var_first_char = NULL; } { Py_XDECREF( var_second_char ); var_second_char = NULL; } { Py_XDECREF( var_order ); var_order = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_16_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_17___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_5ca08af71009917e47270123ba683173; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_5ca08af71009917e47270123ba683173 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_5ca08af71009917e47270123ba683173, codeobj_5ca08af71009917e47270123ba683173, module_chardet$chardistribution, sizeof(void *)+sizeof(void *) ); frame_5ca08af71009917e47270123ba683173 = cache_frame_5ca08af71009917e47270123ba683173; // Push the new frame as the currently active one. pushFrameStack( frame_5ca08af71009917e47270123ba683173 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5ca08af71009917e47270123ba683173 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCJPDistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EUCJPDistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EUCJPDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 219; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oN"; goto frame_exception_exit_1; } frame_5ca08af71009917e47270123ba683173->m_frame.f_lineno = 219; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_CHAR_TO_FREQ_ORDER" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__char_to_freq_order, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TABLE_SIZE ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_TABLE_SIZE ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_TABLE_SIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 221; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 221; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__table_size, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 221; type_description_1 = "oN"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "JIS_TYPICAL_DISTRIBUTION_RATIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "oN"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_typical_distribution_ratio, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 222; type_description_1 = "oN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_5ca08af71009917e47270123ba683173 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5ca08af71009917e47270123ba683173 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5ca08af71009917e47270123ba683173, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5ca08af71009917e47270123ba683173->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5ca08af71009917e47270123ba683173, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5ca08af71009917e47270123ba683173, type_description_1, par_self, NULL ); // Release cached frame. if ( frame_5ca08af71009917e47270123ba683173 == cache_frame_5ca08af71009917e47270123ba683173 ) { Py_DECREF( frame_5ca08af71009917e47270123ba683173 ); } cache_frame_5ca08af71009917e47270123ba683173 = NULL; assertFrameObject( frame_5ca08af71009917e47270123ba683173 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_17___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_17___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$chardistribution$$$function_18_get_order( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_byte_str = python_pars[ 1 ]; PyObject *var_char = NULL; struct Nuitka_FrameObject *frame_fdc93122bbf4bd7764ec57bd3270484a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_fdc93122bbf4bd7764ec57bd3270484a = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_fdc93122bbf4bd7764ec57bd3270484a, codeobj_fdc93122bbf4bd7764ec57bd3270484a, module_chardet$chardistribution, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_fdc93122bbf4bd7764ec57bd3270484a = cache_frame_fdc93122bbf4bd7764ec57bd3270484a; // Push the new frame as the currently active one. pushFrameStack( frame_fdc93122bbf4bd7764ec57bd3270484a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fdc93122bbf4bd7764ec57bd3270484a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_byte_str ); tmp_subscribed_name_1 = par_byte_str; tmp_subscript_name_1 = const_int_0; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 229; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_char == NULL ); var_char = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_char ); tmp_compexpr_left_1 = var_char; tmp_compexpr_right_1 = const_int_pos_160; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 230; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_1; PyObject *tmp_left_name_4; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_4; tmp_left_name_3 = const_int_pos_94; if ( var_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_char; tmp_right_name_2 = const_int_pos_161; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_byte_str == NULL ) { Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "byte_str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = par_byte_str; tmp_subscript_name_2 = const_int_pos_1; tmp_right_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_161; tmp_return_value = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_4 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 231; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { tmp_return_value = const_int_neg_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fdc93122bbf4bd7764ec57bd3270484a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fdc93122bbf4bd7764ec57bd3270484a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fdc93122bbf4bd7764ec57bd3270484a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fdc93122bbf4bd7764ec57bd3270484a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fdc93122bbf4bd7764ec57bd3270484a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fdc93122bbf4bd7764ec57bd3270484a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fdc93122bbf4bd7764ec57bd3270484a, type_description_1, par_self, par_byte_str, var_char ); // Release cached frame. if ( frame_fdc93122bbf4bd7764ec57bd3270484a == cache_frame_fdc93122bbf4bd7764ec57bd3270484a ) { Py_DECREF( frame_fdc93122bbf4bd7764ec57bd3270484a ); } cache_frame_fdc93122bbf4bd7764ec57bd3270484a = NULL; assertFrameObject( frame_fdc93122bbf4bd7764ec57bd3270484a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_18_get_order ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_char ); var_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_byte_str ); par_byte_str = NULL; } { Py_XDECREF( var_char ); var_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution$$$function_18_get_order ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_10_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_10_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_d62d03eae1ce02964d633e8daf5aada2, #endif codeobj_93a76732cb8fecfddc876dce6a35e72f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_11___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_11___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_9844569e795b340eed68b81fd3b524ba, #endif codeobj_5a65dbac2f5bd2c739227f5e1f81183b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_12_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_12_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_3ad6227e1f46805bdafb128602de1c1d, #endif codeobj_5d7c84ae1806f023713fa688bd6189ac, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_13___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_13___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_a2aab74e252bbabee9c1f1f67a3c7c19, #endif codeobj_22502fe53157e5a632c09588a210bf79, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_14_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_14_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_18bd7897b8a9a45bd57f09ae98a036cf, #endif codeobj_01114654bb7e1f10b3516ab73eedbcbf, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_15___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_15___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_927c2db4fca30038b7313c6f508a2595, #endif codeobj_f1c9991f3a71ea8b0be37a4333581adb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_16_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_16_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_efc3b77b2936864df090d58ad85eb204, #endif codeobj_dd311f74683bc232c69c5bd5bf98b2fa, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_17___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_17___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_47013b3ed66904a628c31a1d049eb414, #endif codeobj_5ca08af71009917e47270123ba683173, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_18_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_18_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_bb3e1dbd35ea4e41d7f68a3343dd645c, #endif codeobj_fdc93122bbf4bd7764ec57bd3270484a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_1___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_965a1de71dde3a9de125babcdcb6ce42, #endif codeobj_4806ba16dc15193c47d33f96e3d2a4a1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_2_reset( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_2_reset, const_str_plain_reset, #if PYTHON_VERSION >= 300 const_str_digest_bb65158be48501225be1c7d5ef385879, #endif codeobj_4b261f9686e9977f4bf098f7df35156b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, const_str_digest_02376e9c59619f5ed39e6532d21fefdb, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_3_feed( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_3_feed, const_str_plain_feed, #if PYTHON_VERSION >= 300 const_str_digest_b45ccb621b613c3bd1bd5e9ddee93753, #endif codeobj_818c9d2d0e12583d7df5578d9daf7a0f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, const_str_digest_c124b8f3d4c1a6f372e2c66d94126c7d, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_4_get_confidence( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_4_get_confidence, const_str_plain_get_confidence, #if PYTHON_VERSION >= 300 const_str_digest_716723dbf2ba7947e4e1aeecc1269f9e, #endif codeobj_7e7a85e1ba99ffbb919e717b73670717, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, const_str_digest_529a81d15d3f33e1350b614fbf3e8f3b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_5_got_enough_data( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_5_got_enough_data, const_str_plain_got_enough_data, #if PYTHON_VERSION >= 300 const_str_digest_182c8028d6867148d466cd9f5989f54d, #endif codeobj_50d1b619f7b203ad67cf02e32a1d24a8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_6_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_6_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_4c1d467419a5f93fd349b85f711b4c11, #endif codeobj_86996093925c72f81526837c62070d9c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_7___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_7___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_13e0f5606131955110270bdcb9b5449e, #endif codeobj_ca461a4f79da02a86c918c5b54eb3a4a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_8_get_order( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_8_get_order, const_str_plain_get_order, #if PYTHON_VERSION >= 300 const_str_digest_fadfdc835d733f1692a74b5240f4d260, #endif codeobj_58eeacde0141852c90269f1bf06cf099, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$chardistribution$$$function_9___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$chardistribution$$$function_9___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_c9a93c3344ac4d2f1db773b18f41d871, #endif codeobj_05aa56c50c67981a3a4c4124db056ef9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$chardistribution, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_chardet$chardistribution = { PyModuleDef_HEAD_INIT, "chardet.chardistribution", /* 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$chardistribution ) { #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$chardistribution ); } 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.chardistribution: 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.chardistribution: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("chardet.chardistribution: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initchardet$chardistribution" ); // 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$chardistribution = Py_InitModule4( "chardet.chardistribution", // 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$chardistribution = PyModule_Create( &mdef_chardet$chardistribution ); #endif moduledict_chardet$chardistribution = MODULE_DICT( module_chardet$chardistribution ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (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$chardistribution, (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$chardistribution, (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$chardistribution, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_chardet$chardistribution ); // 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_e994e8f263cc5d3eff75df26359082cd, module_chardet$chardistribution ); 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$chardistribution, (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$chardistribution, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_chardet$chardistribution, (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$chardistribution, (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$chardistribution, (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 *outline_6_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__bases_orig = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__bases_orig = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__bases_orig = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; PyObject *tmp_class_creation_7__bases = NULL; PyObject *tmp_class_creation_7__bases_orig = NULL; PyObject *tmp_class_creation_7__class_decl_dict = NULL; PyObject *tmp_class_creation_7__metaclass = NULL; PyObject *tmp_class_creation_7__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; PyObject *tmp_import_from_3__module = NULL; PyObject *tmp_import_from_4__module = NULL; PyObject *tmp_import_from_5__module = NULL; struct Nuitka_FrameObject *frame_780ff20701b6029cf0fab914de57ece2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_chardet$chardistribution_40 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_8cd2f75e106108a470f353b3705071a3_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_8cd2f75e106108a470f353b3705071a3_2 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; 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 *locals_chardet$chardistribution_113 = NULL; struct Nuitka_FrameObject *frame_acc803295b6cd51e3ba9a5fd97133b77_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_acc803295b6cd51e3ba9a5fd97133b77_3 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; 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 *locals_chardet$chardistribution_132 = NULL; struct Nuitka_FrameObject *frame_8165c5d7e24a045bca4151e81e2b0c54_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_8165c5d7e24a045bca4151e81e2b0c54_4 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *locals_chardet$chardistribution_151 = NULL; struct Nuitka_FrameObject *frame_7495efd9745598aac7671d3bb978941f_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_7495efd9745598aac7671d3bb978941f_5 = NULL; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *locals_chardet$chardistribution_170 = NULL; struct Nuitka_FrameObject *frame_4d661dca928ceebb0a6dcf32e9b0918d_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_4d661dca928ceebb0a6dcf32e9b0918d_6 = NULL; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *locals_chardet$chardistribution_192 = NULL; struct Nuitka_FrameObject *frame_33000a3cdd3ffdc5f0721e7701ca1115_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_33000a3cdd3ffdc5f0721e7701ca1115_7 = NULL; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; PyObject *locals_chardet$chardistribution_217 = NULL; struct Nuitka_FrameObject *frame_356d8cf0bd05354ca7dd423cfd36e926_8; NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL; static struct Nuitka_FrameObject *cache_frame_356d8cf0bd05354ca7dd423cfd36e926_8 = NULL; PyObject *exception_keeper_type_24; PyObject *exception_keeper_value_24; PyTracebackObject *exception_keeper_tb_24; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24; PyObject *exception_keeper_type_25; PyObject *exception_keeper_value_25; PyTracebackObject *exception_keeper_tb_25; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25; PyObject *exception_keeper_type_26; PyObject *exception_keeper_value_26; PyTracebackObject *exception_keeper_tb_26; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_872d1df702d02377a18a3d15a02d336d; UPDATE_STRING_DICT0( moduledict_chardet$chardistribution, (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$chardistribution, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_780ff20701b6029cf0fab914de57ece2 = MAKE_MODULE_FRAME( codeobj_780ff20701b6029cf0fab914de57ece2, module_chardet$chardistribution ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_780ff20701b6029cf0fab914de57ece2 ); assert( Py_REFCNT( frame_780ff20701b6029cf0fab914de57ece2 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_euctwfreq; tmp_globals_name_1 = (PyObject *)moduledict_chardet$chardistribution; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_01f58a979a99e9cbe21eb132fe05ec46_tuple; tmp_level_name_1 = const_int_pos_1; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 28; tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto frame_exception_exit_1; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_import_name_from_1; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_1 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_1 ) ) { tmp_assign_source_5 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)MODULE_DICT(tmp_import_name_from_1), const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER, const_int_pos_1 ); } else { tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER ); } if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_CHAR_TO_FREQ_ORDER, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_2; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_2 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_2 ) ) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)MODULE_DICT(tmp_import_name_from_2), const_str_plain_EUCTW_TABLE_SIZE, const_int_pos_1 ); } else { tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_EUCTW_TABLE_SIZE ); } if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_TABLE_SIZE, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_3; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_3 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_3 ) ) { tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)MODULE_DICT(tmp_import_name_from_3), const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO, const_int_pos_1 ); } else { tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTW_TYPICAL_DISTRIBUTION_RATIO, tmp_assign_source_7 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { PyObject *tmp_assign_source_8; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain_euckrfreq; tmp_globals_name_2 = (PyObject *)moduledict_chardet$chardistribution; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_7c159ba16de36ddcef81c66827dc7390_tuple; tmp_level_name_2 = const_int_pos_1; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 30; tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_8; } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_4; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_4 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_4 ) ) { tmp_assign_source_9 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)MODULE_DICT(tmp_import_name_from_4), const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER, const_int_pos_1 ); } else { tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER ); } if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_CHAR_TO_FREQ_ORDER, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; PyObject *tmp_import_name_from_5; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_5 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_5 ) ) { tmp_assign_source_10 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)MODULE_DICT(tmp_import_name_from_5), const_str_plain_EUCKR_TABLE_SIZE, const_int_pos_1 ); } else { tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_EUCKR_TABLE_SIZE ); } if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_TABLE_SIZE, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_6 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_6 ) ) { tmp_assign_source_11 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)MODULE_DICT(tmp_import_name_from_6), const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO, const_int_pos_1 ); } else { tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKR_TYPICAL_DISTRIBUTION_RATIO, tmp_assign_source_11 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { PyObject *tmp_assign_source_12; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = const_str_plain_gb2312freq; tmp_globals_name_3 = (PyObject *)moduledict_chardet$chardistribution; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_4d9e8fef00a7b75f1eadd90f086569e9_tuple; tmp_level_name_3 = const_int_pos_1; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 32; tmp_assign_source_12 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto frame_exception_exit_1; } assert( tmp_import_from_3__module == NULL ); tmp_import_from_3__module = tmp_assign_source_12; } { // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_7 = tmp_import_from_3__module; if ( PyModule_Check( tmp_import_name_from_7 ) ) { tmp_assign_source_13 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)MODULE_DICT(tmp_import_name_from_7), const_str_plain_GB2312_CHAR_TO_FREQ_ORDER, const_int_pos_1 ); } else { tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_GB2312_CHAR_TO_FREQ_ORDER ); } if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_CHAR_TO_FREQ_ORDER, tmp_assign_source_13 ); } { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_8; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_8 = tmp_import_from_3__module; if ( PyModule_Check( tmp_import_name_from_8 ) ) { tmp_assign_source_14 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)MODULE_DICT(tmp_import_name_from_8), const_str_plain_GB2312_TABLE_SIZE, const_int_pos_1 ); } else { tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_GB2312_TABLE_SIZE ); } if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_TABLE_SIZE, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_9; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_9 = tmp_import_from_3__module; if ( PyModule_Check( tmp_import_name_from_9 ) ) { tmp_assign_source_15 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)MODULE_DICT(tmp_import_name_from_9), const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO, const_int_pos_1 ); } else { tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312_TYPICAL_DISTRIBUTION_RATIO, tmp_assign_source_15 ); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = NULL; } { PyObject *tmp_assign_source_16; PyObject *tmp_name_name_4; PyObject *tmp_globals_name_4; PyObject *tmp_locals_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = const_str_plain_big5freq; tmp_globals_name_4 = (PyObject *)moduledict_chardet$chardistribution; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_2c68ef61e5dc2884fad85ffd401114cc_tuple; tmp_level_name_4 = const_int_pos_1; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 34; tmp_assign_source_16 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto frame_exception_exit_1; } assert( tmp_import_from_4__module == NULL ); tmp_import_from_4__module = tmp_assign_source_16; } { // Tried code: { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_10; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_10 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_10 ) ) { tmp_assign_source_17 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)MODULE_DICT(tmp_import_name_from_10), const_str_plain_BIG5_CHAR_TO_FREQ_ORDER, const_int_pos_1 ); } else { tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_BIG5_CHAR_TO_FREQ_ORDER ); } if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_CHAR_TO_FREQ_ORDER, tmp_assign_source_17 ); } { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_11; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_11 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_11 ) ) { tmp_assign_source_18 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)MODULE_DICT(tmp_import_name_from_11), const_str_plain_BIG5_TABLE_SIZE, const_int_pos_1 ); } else { tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_BIG5_TABLE_SIZE ); } if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_TABLE_SIZE, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_12; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_12 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_12 ) ) { tmp_assign_source_19 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)MODULE_DICT(tmp_import_name_from_12), const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO, const_int_pos_1 ); } else { tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_BIG5_TYPICAL_DISTRIBUTION_RATIO, tmp_assign_source_19 ); } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = NULL; } { PyObject *tmp_assign_source_20; PyObject *tmp_name_name_5; PyObject *tmp_globals_name_5; PyObject *tmp_locals_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = const_str_plain_jisfreq; tmp_globals_name_5 = (PyObject *)moduledict_chardet$chardistribution; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_40f541a6360b19c8ae5fafb7c9a30e12_tuple; tmp_level_name_5 = const_int_pos_1; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 36; tmp_assign_source_20 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto frame_exception_exit_1; } assert( tmp_import_from_5__module == NULL ); tmp_import_from_5__module = tmp_assign_source_20; } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_13; CHECK_OBJECT( tmp_import_from_5__module ); tmp_import_name_from_13 = tmp_import_from_5__module; if ( PyModule_Check( tmp_import_name_from_13 ) ) { tmp_assign_source_21 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)MODULE_DICT(tmp_import_name_from_13), const_str_plain_JIS_CHAR_TO_FREQ_ORDER, const_int_pos_1 ); } else { tmp_assign_source_21 = IMPORT_NAME( tmp_import_name_from_13, const_str_plain_JIS_CHAR_TO_FREQ_ORDER ); } if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_CHAR_TO_FREQ_ORDER, tmp_assign_source_21 ); } { PyObject *tmp_assign_source_22; PyObject *tmp_import_name_from_14; CHECK_OBJECT( tmp_import_from_5__module ); tmp_import_name_from_14 = tmp_import_from_5__module; if ( PyModule_Check( tmp_import_name_from_14 ) ) { tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_14, (PyObject *)MODULE_DICT(tmp_import_name_from_14), const_str_plain_JIS_TABLE_SIZE, const_int_pos_1 ); } else { tmp_assign_source_22 = IMPORT_NAME( tmp_import_name_from_14, const_str_plain_JIS_TABLE_SIZE ); } if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TABLE_SIZE, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_15; CHECK_OBJECT( tmp_import_from_5__module ); tmp_import_name_from_15 = tmp_import_from_5__module; if ( PyModule_Check( tmp_import_name_from_15 ) ) { tmp_assign_source_23 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_15, (PyObject *)MODULE_DICT(tmp_import_name_from_15), const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO, const_int_pos_1 ); } else { tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_15, const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO ); } if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_JIS_TYPICAL_DISTRIBUTION_RATIO, tmp_assign_source_23 ); } goto try_end_5; // 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; { CHECK_OBJECT( (PyObject *)tmp_import_from_5__module ); Py_DECREF( tmp_import_from_5__module ); tmp_import_from_5__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_5__module ); Py_DECREF( tmp_import_from_5__module ); tmp_import_from_5__module = NULL; } { // Tried code: { PyObject *tmp_assign_source_24; 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_24 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; goto try_except_handler_6; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_24; } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_25; } { PyObject *tmp_assign_source_26; 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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_26 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; goto try_except_handler_6; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_26; } { 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } } 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_27; 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 = 40; goto try_except_handler_6; } tmp_tuple_element_1 = const_str_plain_CharDistributionAnalysis; 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_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 40; tmp_assign_source_27 = 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_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; goto try_except_handler_6; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_27; } { 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } 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 = 40; goto try_except_handler_6; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 40; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_6; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_28; tmp_assign_source_28 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_28; } branch_end_2:; } { PyObject *tmp_assign_source_29; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_chardet$chardistribution_40 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, 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 = 40; goto try_except_handler_8; } } { tmp_dictset_value = const_str_plain_CharDistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, 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 = 40; goto try_except_handler_8; } } MAKE_OR_REUSE_FRAME( cache_frame_8cd2f75e106108a470f353b3705071a3_2, codeobj_8cd2f75e106108a470f353b3705071a3, module_chardet$chardistribution, sizeof(void *) ); frame_8cd2f75e106108a470f353b3705071a3_2 = cache_frame_8cd2f75e106108a470f353b3705071a3_2; // Push the new frame as the currently active one. pushFrameStack( frame_8cd2f75e106108a470f353b3705071a3_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8cd2f75e106108a470f353b3705071a3_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_1024; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_ENOUGH_DATA_THRESHOLD, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_float_0_99; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_SURE_YES, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_float_0_01; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_SURE_NO, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 43; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_int_pos_3; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_MINIMUM_DATA_THRESHOLD, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_1___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain___init__, 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 = 46; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_2_reset( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_reset, 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 = 61; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_3_feed( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_feed, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 70; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_4_get_confidence( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_get_confidence, 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 = 84; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_5_got_enough_data( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_got_enough_data, 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 = 100; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_6_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_40, const_str_plain_get_order, 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 = 105; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_8cd2f75e106108a470f353b3705071a3_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_8cd2f75e106108a470f353b3705071a3_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8cd2f75e106108a470f353b3705071a3_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8cd2f75e106108a470f353b3705071a3_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8cd2f75e106108a470f353b3705071a3_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8cd2f75e106108a470f353b3705071a3_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_8cd2f75e106108a470f353b3705071a3_2 == cache_frame_8cd2f75e106108a470f353b3705071a3_2 ) { Py_DECREF( frame_8cd2f75e106108a470f353b3705071a3_2 ); } cache_frame_8cd2f75e106108a470f353b3705071a3_2 = NULL; assertFrameObject( frame_8cd2f75e106108a470f353b3705071a3_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_8; 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 = 40; goto try_except_handler_8; } 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$chardistribution_40, 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 = 40; goto try_except_handler_8; } } branch_no_4:; } { PyObject *tmp_assign_source_30; 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_CharDistributionAnalysis; 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$chardistribution_40; 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_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 40; tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; goto try_except_handler_8; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_30; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_29 = outline_0_var___class__; Py_INCREF( tmp_assign_source_29 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { Py_DECREF( locals_chardet$chardistribution_40 ); locals_chardet$chardistribution_40 = NULL; } { goto try_return_handler_7; } // Exception handler code: try_except_handler_8:; 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_DECREF( locals_chardet$chardistribution_40 ); locals_chardet$chardistribution_40 = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { 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_7:; 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; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 40; goto try_except_handler_6; outline_result_1:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis, tmp_assign_source_29 ); } goto try_end_6; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_6:; } { 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_31; PyObject *tmp_tuple_element_4; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 113; goto try_except_handler_9; } tmp_tuple_element_4 = tmp_mvar_value_1; tmp_assign_source_31 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_assign_source_31, 0, tmp_tuple_element_4 ); assert( tmp_class_creation_2__bases_orig == NULL ); tmp_class_creation_2__bases_orig = tmp_assign_source_31; } { PyObject *tmp_assign_source_32; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_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 = 113; goto try_except_handler_9; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; 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 = 113; goto try_except_handler_9; } 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 = 113; goto try_except_handler_9; } 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 = 113; goto try_except_handler_9; } 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 = 113; goto try_except_handler_9; } 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 = 113; goto try_except_handler_9; } 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_34 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; goto try_except_handler_9; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_34; } { 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 = 113; goto try_except_handler_9; } 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 = 113; goto try_except_handler_9; } } 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_35; PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_5; 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 = 113; goto try_except_handler_9; } tmp_tuple_element_5 = const_str_plain_EUCTWDistributionAnalysis; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_5 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 113; tmp_assign_source_35 = 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_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; goto try_except_handler_9; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_35; } { 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 = 113; goto try_except_handler_9; } 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_6; 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_6 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; goto try_except_handler_9; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_6 ); 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_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 113; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_6 ); 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 = 113; goto try_except_handler_9; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 113; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_9; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_36; } branch_end_6:; } { PyObject *tmp_assign_source_37; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_chardet$chardistribution_113 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_113, 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 = 113; goto try_except_handler_11; } } { tmp_dictset_value = const_str_plain_EUCTWDistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_113, 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 = 113; goto try_except_handler_11; } } MAKE_OR_REUSE_FRAME( cache_frame_acc803295b6cd51e3ba9a5fd97133b77_3, codeobj_acc803295b6cd51e3ba9a5fd97133b77, module_chardet$chardistribution, sizeof(void *) ); frame_acc803295b6cd51e3ba9a5fd97133b77_3 = cache_frame_acc803295b6cd51e3ba9a5fd97133b77_3; // Push the new frame as the currently active one. pushFrameStack( frame_acc803295b6cd51e3ba9a5fd97133b77_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_acc803295b6cd51e3ba9a5fd97133b77_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_7___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_113, const_str_plain___init__, 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 = 114; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_8_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_113, const_str_plain_get_order, 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 = 120; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_acc803295b6cd51e3ba9a5fd97133b77_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_acc803295b6cd51e3ba9a5fd97133b77_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_acc803295b6cd51e3ba9a5fd97133b77_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_acc803295b6cd51e3ba9a5fd97133b77_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_acc803295b6cd51e3ba9a5fd97133b77_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_acc803295b6cd51e3ba9a5fd97133b77_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_acc803295b6cd51e3ba9a5fd97133b77_3 == cache_frame_acc803295b6cd51e3ba9a5fd97133b77_3 ) { Py_DECREF( frame_acc803295b6cd51e3ba9a5fd97133b77_3 ); } cache_frame_acc803295b6cd51e3ba9a5fd97133b77_3 = NULL; assertFrameObject( frame_acc803295b6cd51e3ba9a5fd97133b77_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_11; 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; CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig; 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 = 113; goto try_except_handler_11; } 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:; { CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_113, 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 = 113; goto try_except_handler_11; } } branch_no_8:; } { PyObject *tmp_assign_source_38; PyObject *tmp_called_name_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_7 = const_str_plain_EUCTWDistributionAnalysis; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_7 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_7 ); tmp_tuple_element_7 = locals_chardet$chardistribution_113; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 113; tmp_assign_source_38 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; goto try_except_handler_11; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_38; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_37 = outline_1_var___class__; Py_INCREF( tmp_assign_source_37 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_DECREF( locals_chardet$chardistribution_113 ); locals_chardet$chardistribution_113 = NULL; } { goto try_return_handler_10; } // Exception handler code: try_except_handler_11:; 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_DECREF( locals_chardet$chardistribution_113 ); locals_chardet$chardistribution_113 = 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 try_except_handler_10; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { 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_10:; 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; { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 113; goto try_except_handler_9; outline_result_2:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCTWDistributionAnalysis, tmp_assign_source_37 ); } goto try_end_7; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_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_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; } // End of try: try_end_7:; } { 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_39; PyObject *tmp_tuple_element_8; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 132; goto try_except_handler_12; } tmp_tuple_element_8 = tmp_mvar_value_2; tmp_assign_source_39 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_assign_source_39, 0, tmp_tuple_element_8 ); assert( tmp_class_creation_3__bases_orig == NULL ); tmp_class_creation_3__bases_orig = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_40 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_12; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_40; } { PyObject *tmp_assign_source_41; tmp_assign_source_41 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_41; } { PyObject *tmp_assign_source_42; 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 = 132; goto try_except_handler_12; } 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 = 132; goto try_except_handler_12; } 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 = 132; goto try_except_handler_12; } 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 = 132; goto try_except_handler_12; } 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 = 132; goto try_except_handler_12; } 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_42 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_12; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_42; } { 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 = 132; goto try_except_handler_12; } 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 = 132; goto try_except_handler_12; } } 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_43; PyObject *tmp_called_name_5; PyObject *tmp_source_name_10; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_9; 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 = 132; goto try_except_handler_12; } tmp_tuple_element_9 = const_str_plain_EUCKRDistributionAnalysis; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_5, 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_5, 1, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 132; tmp_assign_source_43 = 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_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_12; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_43; } { 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 = 132; goto try_except_handler_12; } 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_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_10; 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_3 = 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_10 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_12; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_10 ); 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_10 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ ); Py_DECREF( tmp_source_name_12 ); if ( tmp_tuple_element_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 132; goto try_except_handler_12; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_10 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_12; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 132; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_12; } branch_no_11:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_44; tmp_assign_source_44 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_44; } branch_end_10:; } { PyObject *tmp_assign_source_45; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_chardet$chardistribution_132 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_132, 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 = 132; goto try_except_handler_14; } } { tmp_dictset_value = const_str_plain_EUCKRDistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_132, 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 = 132; goto try_except_handler_14; } } MAKE_OR_REUSE_FRAME( cache_frame_8165c5d7e24a045bca4151e81e2b0c54_4, codeobj_8165c5d7e24a045bca4151e81e2b0c54, module_chardet$chardistribution, sizeof(void *) ); frame_8165c5d7e24a045bca4151e81e2b0c54_4 = cache_frame_8165c5d7e24a045bca4151e81e2b0c54_4; // Push the new frame as the currently active one. pushFrameStack( frame_8165c5d7e24a045bca4151e81e2b0c54_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8165c5d7e24a045bca4151e81e2b0c54_4 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_9___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_132, const_str_plain___init__, 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 = 133; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_10_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_132, const_str_plain_get_order, 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 = 139; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_8165c5d7e24a045bca4151e81e2b0c54_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_8165c5d7e24a045bca4151e81e2b0c54_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8165c5d7e24a045bca4151e81e2b0c54_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8165c5d7e24a045bca4151e81e2b0c54_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8165c5d7e24a045bca4151e81e2b0c54_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8165c5d7e24a045bca4151e81e2b0c54_4, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_8165c5d7e24a045bca4151e81e2b0c54_4 == cache_frame_8165c5d7e24a045bca4151e81e2b0c54_4 ) { Py_DECREF( frame_8165c5d7e24a045bca4151e81e2b0c54_4 ); } cache_frame_8165c5d7e24a045bca4151e81e2b0c54_4 = NULL; assertFrameObject( frame_8165c5d7e24a045bca4151e81e2b0c54_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_14; 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; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig; 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 = 132; goto try_except_handler_14; } 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:; { CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_132, 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 = 132; goto try_except_handler_14; } } branch_no_12:; } { PyObject *tmp_assign_source_46; PyObject *tmp_called_name_6; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_11; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_6 = tmp_class_creation_3__metaclass; tmp_tuple_element_11 = const_str_plain_EUCKRDistributionAnalysis; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_11 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_11 ); tmp_tuple_element_11 = locals_chardet$chardistribution_132; Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 132; tmp_assign_source_46 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto try_except_handler_14; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_46; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_45 = outline_2_var___class__; Py_INCREF( tmp_assign_source_45 ); goto try_return_handler_14; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { Py_DECREF( locals_chardet$chardistribution_132 ); locals_chardet$chardistribution_132 = NULL; } { goto try_return_handler_13; } // Exception handler code: try_except_handler_14:; 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_DECREF( locals_chardet$chardistribution_132 ); locals_chardet$chardistribution_132 = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { 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_13:; 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; { // 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 outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 132; goto try_except_handler_12; outline_result_3:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCKRDistributionAnalysis, tmp_assign_source_45 ); } goto try_end_8; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_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_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; } // End of try: try_end_8:; } { 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_47; PyObject *tmp_tuple_element_12; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 151; goto try_except_handler_15; } tmp_tuple_element_12 = tmp_mvar_value_3; tmp_assign_source_47 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_assign_source_47, 0, tmp_tuple_element_12 ); assert( tmp_class_creation_4__bases_orig == NULL ); tmp_class_creation_4__bases_orig = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_48 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_15; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_48; } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_49; } { PyObject *tmp_assign_source_50; 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 = 151; goto try_except_handler_15; } 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 = 151; goto try_except_handler_15; } 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 = 151; goto try_except_handler_15; } 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 = 151; goto try_except_handler_15; } 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 = 151; goto try_except_handler_15; } 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_50 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_15; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_50; } { 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 = 151; goto try_except_handler_15; } 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 = 151; goto try_except_handler_15; } } 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_51; PyObject *tmp_called_name_7; PyObject *tmp_source_name_14; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_13; 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 = 151; goto try_except_handler_15; } tmp_tuple_element_13 = const_str_plain_GB2312DistributionAnalysis; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_13 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_13 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_13 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_13 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_13 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 151; tmp_assign_source_51 = 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_51 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_15; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_51; } { 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 = 151; goto try_except_handler_15; } 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_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_14; 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_4 = 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_14 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_15; } tmp_right_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_14 ); 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_14 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain___name__ ); Py_DECREF( tmp_source_name_16 ); if ( tmp_tuple_element_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 151; goto try_except_handler_15; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_14 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_15; } exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_value = tmp_raise_value_4; exception_lineno = 151; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_15; } branch_no_15:; } goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_52; tmp_assign_source_52 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_52; } branch_end_14:; } { PyObject *tmp_assign_source_53; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_chardet$chardistribution_151 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_151, 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 = 151; goto try_except_handler_17; } } { tmp_dictset_value = const_str_plain_GB2312DistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_151, 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 = 151; goto try_except_handler_17; } } MAKE_OR_REUSE_FRAME( cache_frame_7495efd9745598aac7671d3bb978941f_5, codeobj_7495efd9745598aac7671d3bb978941f, module_chardet$chardistribution, sizeof(void *) ); frame_7495efd9745598aac7671d3bb978941f_5 = cache_frame_7495efd9745598aac7671d3bb978941f_5; // Push the new frame as the currently active one. pushFrameStack( frame_7495efd9745598aac7671d3bb978941f_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7495efd9745598aac7671d3bb978941f_5 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_11___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_151, const_str_plain___init__, 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 = 152; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_12_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_151, const_str_plain_get_order, 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 = 158; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_7495efd9745598aac7671d3bb978941f_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_7495efd9745598aac7671d3bb978941f_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7495efd9745598aac7671d3bb978941f_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7495efd9745598aac7671d3bb978941f_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7495efd9745598aac7671d3bb978941f_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7495efd9745598aac7671d3bb978941f_5, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_7495efd9745598aac7671d3bb978941f_5 == cache_frame_7495efd9745598aac7671d3bb978941f_5 ) { Py_DECREF( frame_7495efd9745598aac7671d3bb978941f_5 ); } cache_frame_7495efd9745598aac7671d3bb978941f_5 = NULL; assertFrameObject( frame_7495efd9745598aac7671d3bb978941f_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_17; 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; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_compexpr_right_4 = tmp_class_creation_4__bases_orig; 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 = 151; goto try_except_handler_17; } 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:; { CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_151, 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 = 151; goto try_except_handler_17; } } branch_no_16:; } { PyObject *tmp_assign_source_54; PyObject *tmp_called_name_8; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_15; PyObject *tmp_kw_name_8; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_called_name_8 = tmp_class_creation_4__metaclass; tmp_tuple_element_15 = const_str_plain_GB2312DistributionAnalysis; tmp_args_name_8 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_8, 0, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_15 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_8, 1, tmp_tuple_element_15 ); tmp_tuple_element_15 = locals_chardet$chardistribution_151; Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_8, 2, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_8 = tmp_class_creation_4__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 151; tmp_assign_source_54 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_54 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; goto try_except_handler_17; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_54; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_53 = outline_3_var___class__; Py_INCREF( tmp_assign_source_53 ); goto try_return_handler_17; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_17:; { Py_DECREF( locals_chardet$chardistribution_151 ); locals_chardet$chardistribution_151 = NULL; } { goto try_return_handler_16; } // Exception handler code: try_except_handler_17:; 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_DECREF( locals_chardet$chardistribution_151 ); locals_chardet$chardistribution_151 = 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 try_except_handler_16; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_16:; { 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_16:; 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; { // 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 outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 151; goto try_except_handler_15; outline_result_4:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_GB2312DistributionAnalysis, tmp_assign_source_53 ); } goto try_end_9; // Exception handler code: try_except_handler_15:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto frame_exception_exit_1; } // End of try: try_end_9:; } { 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_55; PyObject *tmp_tuple_element_16; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 170; goto try_except_handler_18; } tmp_tuple_element_16 = tmp_mvar_value_4; tmp_assign_source_55 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_assign_source_55, 0, tmp_tuple_element_16 ); assert( tmp_class_creation_5__bases_orig == NULL ); tmp_class_creation_5__bases_orig = tmp_assign_source_55; } { PyObject *tmp_assign_source_56; PyObject *tmp_dircall_arg1_5; CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig; Py_INCREF( tmp_dircall_arg1_5 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_56 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_56 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_18; } assert( tmp_class_creation_5__bases == NULL ); tmp_class_creation_5__bases = tmp_assign_source_56; } { PyObject *tmp_assign_source_57; tmp_assign_source_57 = PyDict_New(); assert( tmp_class_creation_5__class_decl_dict == NULL ); tmp_class_creation_5__class_decl_dict = tmp_assign_source_57; } { PyObject *tmp_assign_source_58; 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 = 170; goto try_except_handler_18; } 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 = 170; goto try_except_handler_18; } 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 = 170; goto try_except_handler_18; } 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 = 170; goto try_except_handler_18; } 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 = 170; goto try_except_handler_18; } 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_58 = SELECT_METACLASS( tmp_metaclass_name_5, tmp_bases_name_5 ); Py_DECREF( tmp_metaclass_name_5 ); if ( tmp_assign_source_58 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_18; } assert( tmp_class_creation_5__metaclass == NULL ); tmp_class_creation_5__metaclass = tmp_assign_source_58; } { 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 = 170; goto try_except_handler_18; } 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 = 170; goto try_except_handler_18; } } 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_59; PyObject *tmp_called_name_9; PyObject *tmp_source_name_18; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_17; 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 = 170; goto try_except_handler_18; } tmp_tuple_element_17 = const_str_plain_Big5DistributionAnalysis; tmp_args_name_9 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_9, 0, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_17 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_9, 1, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_9 = tmp_class_creation_5__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 170; tmp_assign_source_59 = 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_59 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_18; } assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_59; } { 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 = 170; goto try_except_handler_18; } 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_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_18; 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_5 = 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_18 = BUILTIN_GETATTR( tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5 ); if ( tmp_tuple_element_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_18; } tmp_right_name_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_18 ); 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_18 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain___name__ ); Py_DECREF( tmp_source_name_20 ); if ( tmp_tuple_element_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_5 ); exception_lineno = 170; goto try_except_handler_18; } PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_18 ); tmp_raise_value_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_raise_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_18; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_5; exception_lineno = 170; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_18; } branch_no_19:; } goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_60; tmp_assign_source_60 = PyDict_New(); assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_60; } branch_end_18:; } { PyObject *tmp_assign_source_61; { PyObject *tmp_set_locals_5; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_chardet$chardistribution_170 = tmp_set_locals_5; Py_INCREF( tmp_set_locals_5 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_170, 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 = 170; goto try_except_handler_20; } } { tmp_dictset_value = const_str_plain_Big5DistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_170, 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 = 170; goto try_except_handler_20; } } MAKE_OR_REUSE_FRAME( cache_frame_4d661dca928ceebb0a6dcf32e9b0918d_6, codeobj_4d661dca928ceebb0a6dcf32e9b0918d, module_chardet$chardistribution, sizeof(void *) ); frame_4d661dca928ceebb0a6dcf32e9b0918d_6 = cache_frame_4d661dca928ceebb0a6dcf32e9b0918d_6; // Push the new frame as the currently active one. pushFrameStack( frame_4d661dca928ceebb0a6dcf32e9b0918d_6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4d661dca928ceebb0a6dcf32e9b0918d_6 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_13___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_170, const_str_plain___init__, 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 = 171; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_14_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_170, const_str_plain_get_order, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 177; type_description_2 = "o"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4d661dca928ceebb0a6dcf32e9b0918d_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_4d661dca928ceebb0a6dcf32e9b0918d_6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4d661dca928ceebb0a6dcf32e9b0918d_6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4d661dca928ceebb0a6dcf32e9b0918d_6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4d661dca928ceebb0a6dcf32e9b0918d_6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4d661dca928ceebb0a6dcf32e9b0918d_6, type_description_2, outline_4_var___class__ ); // Release cached frame. if ( frame_4d661dca928ceebb0a6dcf32e9b0918d_6 == cache_frame_4d661dca928ceebb0a6dcf32e9b0918d_6 ) { Py_DECREF( frame_4d661dca928ceebb0a6dcf32e9b0918d_6 ); } cache_frame_4d661dca928ceebb0a6dcf32e9b0918d_6 = NULL; assertFrameObject( frame_4d661dca928ceebb0a6dcf32e9b0918d_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_20; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_30; 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; CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_compexpr_right_5 = tmp_class_creation_5__bases_orig; 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 = 170; goto try_except_handler_20; } tmp_condition_result_30 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_dictset_value = tmp_class_creation_5__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_170, 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 = 170; goto try_except_handler_20; } } branch_no_20:; } { PyObject *tmp_assign_source_62; PyObject *tmp_called_name_10; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_19; PyObject *tmp_kw_name_10; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_called_name_10 = tmp_class_creation_5__metaclass; tmp_tuple_element_19 = const_str_plain_Big5DistributionAnalysis; tmp_args_name_10 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 0, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_19 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 1, tmp_tuple_element_19 ); tmp_tuple_element_19 = locals_chardet$chardistribution_170; Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 2, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_10 = tmp_class_creation_5__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 170; tmp_assign_source_62 = CALL_FUNCTION( tmp_called_name_10, tmp_args_name_10, tmp_kw_name_10 ); Py_DECREF( tmp_args_name_10 ); if ( tmp_assign_source_62 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; goto try_except_handler_20; } assert( outline_4_var___class__ == NULL ); outline_4_var___class__ = tmp_assign_source_62; } { CHECK_OBJECT( outline_4_var___class__ ); tmp_assign_source_61 = outline_4_var___class__; Py_INCREF( tmp_assign_source_61 ); goto try_return_handler_20; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_20:; { Py_DECREF( locals_chardet$chardistribution_170 ); locals_chardet$chardistribution_170 = NULL; } { goto try_return_handler_19; } // Exception handler code: try_except_handler_20:; 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_DECREF( locals_chardet$chardistribution_170 ); locals_chardet$chardistribution_170 = 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 try_except_handler_19; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_19:; { 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_19:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto outline_exception_5; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_5:; exception_lineno = 170; goto try_except_handler_18; outline_result_5:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_Big5DistributionAnalysis, tmp_assign_source_61 ); } goto try_end_10; // Exception handler code: try_except_handler_18:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_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_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto frame_exception_exit_1; } // End of try: try_end_10:; } { 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_63; PyObject *tmp_tuple_element_20; PyObject *tmp_mvar_value_5; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 192; goto try_except_handler_21; } tmp_tuple_element_20 = tmp_mvar_value_5; tmp_assign_source_63 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_assign_source_63, 0, tmp_tuple_element_20 ); assert( tmp_class_creation_6__bases_orig == NULL ); tmp_class_creation_6__bases_orig = tmp_assign_source_63; } { PyObject *tmp_assign_source_64; PyObject *tmp_dircall_arg1_6; CHECK_OBJECT( tmp_class_creation_6__bases_orig ); tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig; Py_INCREF( tmp_dircall_arg1_6 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_64 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_64 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } assert( tmp_class_creation_6__bases == NULL ); tmp_class_creation_6__bases = tmp_assign_source_64; } { PyObject *tmp_assign_source_65; tmp_assign_source_65 = PyDict_New(); assert( tmp_class_creation_6__class_decl_dict == NULL ); tmp_class_creation_6__class_decl_dict = tmp_assign_source_65; } { PyObject *tmp_assign_source_66; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_31; 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_32; 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 = 192; goto try_except_handler_21; } tmp_condition_result_31 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; 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 = 192; goto try_except_handler_21; } goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_truth_name_6 = CHECK_IF_TRUE( tmp_class_creation_6__bases ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } tmp_condition_result_32 = tmp_truth_name_6 == 1 ? 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__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 = 192; goto try_except_handler_21; } 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 = 192; goto try_except_handler_21; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_6 ); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_66 = SELECT_METACLASS( tmp_metaclass_name_6, tmp_bases_name_6 ); Py_DECREF( tmp_metaclass_name_6 ); if ( tmp_assign_source_66 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } assert( tmp_class_creation_6__metaclass == NULL ); tmp_class_creation_6__metaclass = tmp_assign_source_66; } { nuitka_bool tmp_condition_result_33; 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 = 192; goto try_except_handler_21; } tmp_condition_result_33 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == 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 = 192; goto try_except_handler_21; } } branch_no_21:; } { nuitka_bool tmp_condition_result_34; 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_34 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { PyObject *tmp_assign_source_67; PyObject *tmp_called_name_11; PyObject *tmp_source_name_22; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_21; PyObject *tmp_kw_name_11; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_22 = tmp_class_creation_6__metaclass; tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain___prepare__ ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } tmp_tuple_element_21 = const_str_plain_SJISDistributionAnalysis; tmp_args_name_11 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_21 ); PyTuple_SET_ITEM( tmp_args_name_11, 0, tmp_tuple_element_21 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_21 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_21 ); PyTuple_SET_ITEM( tmp_args_name_11, 1, tmp_tuple_element_21 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_11 = tmp_class_creation_6__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 192; tmp_assign_source_67 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_11, tmp_kw_name_11 ); Py_DECREF( tmp_called_name_11 ); Py_DECREF( tmp_args_name_11 ); if ( tmp_assign_source_67 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_67; } { nuitka_bool tmp_condition_result_35; 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 = 192; goto try_except_handler_21; } tmp_condition_result_35 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == 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_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_22; 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_6 = 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_22 = BUILTIN_GETATTR( tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6 ); if ( tmp_tuple_element_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_22 ); 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_22 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain___name__ ); Py_DECREF( tmp_source_name_24 ); if ( tmp_tuple_element_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 192; goto try_except_handler_21; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_22 ); tmp_raise_value_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_21; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_6; exception_lineno = 192; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_21; } branch_no_23:; } goto branch_end_22; branch_no_22:; { PyObject *tmp_assign_source_68; tmp_assign_source_68 = PyDict_New(); assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_68; } branch_end_22:; } { PyObject *tmp_assign_source_69; { PyObject *tmp_set_locals_6; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_chardet$chardistribution_192 = tmp_set_locals_6; Py_INCREF( tmp_set_locals_6 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_192, 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 = 192; goto try_except_handler_23; } } { tmp_dictset_value = const_str_plain_SJISDistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_192, 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 = 192; goto try_except_handler_23; } } MAKE_OR_REUSE_FRAME( cache_frame_33000a3cdd3ffdc5f0721e7701ca1115_7, codeobj_33000a3cdd3ffdc5f0721e7701ca1115, module_chardet$chardistribution, sizeof(void *) ); frame_33000a3cdd3ffdc5f0721e7701ca1115_7 = cache_frame_33000a3cdd3ffdc5f0721e7701ca1115_7; // Push the new frame as the currently active one. pushFrameStack( frame_33000a3cdd3ffdc5f0721e7701ca1115_7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_33000a3cdd3ffdc5f0721e7701ca1115_7 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_15___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_192, const_str_plain___init__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 193; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_16_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_192, const_str_plain_get_order, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; type_description_2 = "o"; goto frame_exception_exit_7; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_33000a3cdd3ffdc5f0721e7701ca1115_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_33000a3cdd3ffdc5f0721e7701ca1115_7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_33000a3cdd3ffdc5f0721e7701ca1115_7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_33000a3cdd3ffdc5f0721e7701ca1115_7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_33000a3cdd3ffdc5f0721e7701ca1115_7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_33000a3cdd3ffdc5f0721e7701ca1115_7, type_description_2, outline_5_var___class__ ); // Release cached frame. if ( frame_33000a3cdd3ffdc5f0721e7701ca1115_7 == cache_frame_33000a3cdd3ffdc5f0721e7701ca1115_7 ) { Py_DECREF( frame_33000a3cdd3ffdc5f0721e7701ca1115_7 ); } cache_frame_33000a3cdd3ffdc5f0721e7701ca1115_7 = NULL; assertFrameObject( frame_33000a3cdd3ffdc5f0721e7701ca1115_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_23; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_36; 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; CHECK_OBJECT( tmp_class_creation_6__bases_orig ); tmp_compexpr_right_6 = tmp_class_creation_6__bases_orig; 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 = 192; goto try_except_handler_23; } tmp_condition_result_36 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { CHECK_OBJECT( tmp_class_creation_6__bases_orig ); tmp_dictset_value = tmp_class_creation_6__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_192, 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 = 192; goto try_except_handler_23; } } branch_no_24:; } { PyObject *tmp_assign_source_70; PyObject *tmp_called_name_12; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_23; PyObject *tmp_kw_name_12; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_called_name_12 = tmp_class_creation_6__metaclass; tmp_tuple_element_23 = const_str_plain_SJISDistributionAnalysis; tmp_args_name_12 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_12, 0, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_23 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_12, 1, tmp_tuple_element_23 ); tmp_tuple_element_23 = locals_chardet$chardistribution_192; Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_12, 2, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_12 = tmp_class_creation_6__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 192; tmp_assign_source_70 = CALL_FUNCTION( tmp_called_name_12, tmp_args_name_12, tmp_kw_name_12 ); Py_DECREF( tmp_args_name_12 ); if ( tmp_assign_source_70 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; goto try_except_handler_23; } assert( outline_5_var___class__ == NULL ); outline_5_var___class__ = tmp_assign_source_70; } { CHECK_OBJECT( outline_5_var___class__ ); tmp_assign_source_69 = outline_5_var___class__; Py_INCREF( tmp_assign_source_69 ); goto try_return_handler_23; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_23:; { Py_DECREF( locals_chardet$chardistribution_192 ); locals_chardet$chardistribution_192 = NULL; } { goto try_return_handler_22; } // Exception handler code: try_except_handler_23:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$chardistribution_192 ); locals_chardet$chardistribution_192 = NULL; } { // Re-raise. exception_type = exception_keeper_type_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto try_except_handler_22; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_22:; { 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_22:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto outline_exception_6; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_6:; exception_lineno = 192; goto try_except_handler_21; outline_result_6:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_SJISDistributionAnalysis, tmp_assign_source_69 ); } goto try_end_11; // Exception handler code: try_except_handler_21:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { 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_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto frame_exception_exit_1; } // End of try: try_end_11:; } { 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; } { // Tried code: { PyObject *tmp_assign_source_71; PyObject *tmp_tuple_element_24; PyObject *tmp_mvar_value_6; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharDistributionAnalysis ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharDistributionAnalysis" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 217; goto try_except_handler_24; } tmp_tuple_element_24 = tmp_mvar_value_6; tmp_assign_source_71 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_24 ); PyTuple_SET_ITEM( tmp_assign_source_71, 0, tmp_tuple_element_24 ); assert( tmp_class_creation_7__bases_orig == NULL ); tmp_class_creation_7__bases_orig = tmp_assign_source_71; } { PyObject *tmp_assign_source_72; PyObject *tmp_dircall_arg1_7; CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_dircall_arg1_7 = tmp_class_creation_7__bases_orig; Py_INCREF( tmp_dircall_arg1_7 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_7}; tmp_assign_source_72 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_72 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } assert( tmp_class_creation_7__bases == NULL ); tmp_class_creation_7__bases = tmp_assign_source_72; } { PyObject *tmp_assign_source_73; tmp_assign_source_73 = PyDict_New(); assert( tmp_class_creation_7__class_decl_dict == NULL ); tmp_class_creation_7__class_decl_dict = tmp_assign_source_73; } { PyObject *tmp_assign_source_74; PyObject *tmp_metaclass_name_7; nuitka_bool tmp_condition_result_37; PyObject *tmp_key_name_19; PyObject *tmp_dict_name_19; PyObject *tmp_dict_name_20; PyObject *tmp_key_name_20; nuitka_bool tmp_condition_result_38; int tmp_truth_name_7; PyObject *tmp_type_arg_13; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; PyObject *tmp_bases_name_7; tmp_key_name_19 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_19 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_19, tmp_key_name_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_condition_result_37 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_20 = tmp_class_creation_7__class_decl_dict; tmp_key_name_20 = const_str_plain_metaclass; tmp_metaclass_name_7 = DICT_GET_ITEM( tmp_dict_name_20, tmp_key_name_20 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_truth_name_7 = CHECK_IF_TRUE( tmp_class_creation_7__bases ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_condition_result_38 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_38 == NUITKA_BOOL_TRUE ) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_subscribed_name_7 = tmp_class_creation_7__bases; tmp_subscript_name_7 = const_int_0; tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 0 ); if ( tmp_type_arg_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_metaclass_name_7 = BUILTIN_TYPE1( tmp_type_arg_13 ); Py_DECREF( tmp_type_arg_13 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_name_7 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_7 ); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_bases_name_7 = tmp_class_creation_7__bases; tmp_assign_source_74 = SELECT_METACLASS( tmp_metaclass_name_7, tmp_bases_name_7 ); Py_DECREF( tmp_metaclass_name_7 ); if ( tmp_assign_source_74 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } assert( tmp_class_creation_7__metaclass == NULL ); tmp_class_creation_7__metaclass = tmp_assign_source_74; } { nuitka_bool tmp_condition_result_39; PyObject *tmp_key_name_21; PyObject *tmp_dict_name_21; tmp_key_name_21 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_21 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_21, tmp_key_name_21 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_condition_result_39 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_39 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict; tmp_dictdel_key = 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 = 217; goto try_except_handler_24; } } branch_no_25:; } { nuitka_bool tmp_condition_result_40; PyObject *tmp_source_name_25; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_25 = tmp_class_creation_7__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_25, const_str_plain___prepare__ ); tmp_condition_result_40 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_40 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { PyObject *tmp_assign_source_75; PyObject *tmp_called_name_13; PyObject *tmp_source_name_26; PyObject *tmp_args_name_13; PyObject *tmp_tuple_element_25; PyObject *tmp_kw_name_13; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_26 = tmp_class_creation_7__metaclass; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain___prepare__ ); if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_tuple_element_25 = const_str_plain_EUCJPDistributionAnalysis; tmp_args_name_13 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_13, 0, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_25 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_13, 1, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_13 = tmp_class_creation_7__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 217; tmp_assign_source_75 = CALL_FUNCTION( tmp_called_name_13, tmp_args_name_13, tmp_kw_name_13 ); Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_args_name_13 ); if ( tmp_assign_source_75 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_75; } { nuitka_bool tmp_condition_result_41; PyObject *tmp_operand_name_7; PyObject *tmp_source_name_27; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_source_name_27 = tmp_class_creation_7__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_27, const_str_plain___getitem__ ); tmp_operand_name_7 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_condition_result_41 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_41 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_26; PyObject *tmp_getattr_target_7; PyObject *tmp_getattr_attr_7; PyObject *tmp_getattr_default_7; PyObject *tmp_source_name_28; PyObject *tmp_type_arg_14; tmp_raise_type_7 = PyExc_TypeError; tmp_left_name_7 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_getattr_target_7 = tmp_class_creation_7__metaclass; tmp_getattr_attr_7 = const_str_plain___name__; tmp_getattr_default_7 = const_str_angle_metaclass; tmp_tuple_element_26 = BUILTIN_GETATTR( tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7 ); if ( tmp_tuple_element_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_26 ); CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_type_arg_14 = tmp_class_creation_7__prepared; tmp_source_name_28 = BUILTIN_TYPE1( tmp_type_arg_14 ); assert( !(tmp_source_name_28 == NULL) ); tmp_tuple_element_26 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain___name__ ); Py_DECREF( tmp_source_name_28 ); if ( tmp_tuple_element_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 217; goto try_except_handler_24; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_26 ); tmp_raise_value_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_24; } exception_type = tmp_raise_type_7; Py_INCREF( tmp_raise_type_7 ); exception_value = tmp_raise_value_7; exception_lineno = 217; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_24; } branch_no_27:; } goto branch_end_26; branch_no_26:; { PyObject *tmp_assign_source_76; tmp_assign_source_76 = PyDict_New(); assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_76; } branch_end_26:; } { PyObject *tmp_assign_source_77; { PyObject *tmp_set_locals_7; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_set_locals_7 = tmp_class_creation_7__prepared; locals_chardet$chardistribution_217 = tmp_set_locals_7; Py_INCREF( tmp_set_locals_7 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_e994e8f263cc5d3eff75df26359082cd; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_217, 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 = 217; goto try_except_handler_26; } } { tmp_dictset_value = const_str_plain_EUCJPDistributionAnalysis; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_217, 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 = 217; goto try_except_handler_26; } } MAKE_OR_REUSE_FRAME( cache_frame_356d8cf0bd05354ca7dd423cfd36e926_8, codeobj_356d8cf0bd05354ca7dd423cfd36e926, module_chardet$chardistribution, sizeof(void *) ); frame_356d8cf0bd05354ca7dd423cfd36e926_8 = cache_frame_356d8cf0bd05354ca7dd423cfd36e926_8; // Push the new frame as the currently active one. pushFrameStack( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_17___init__( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_217, const_str_plain___init__, 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 = 218; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$chardistribution$$$function_18_get_order( ); tmp_res = PyObject_SetItem( locals_chardet$chardistribution_217, const_str_plain_get_order, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 224; type_description_2 = "o"; goto frame_exception_exit_8; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_7; frame_exception_exit_8:; #if 0 RESTORE_FRAME_EXCEPTION( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_356d8cf0bd05354ca7dd423cfd36e926_8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_356d8cf0bd05354ca7dd423cfd36e926_8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_356d8cf0bd05354ca7dd423cfd36e926_8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_356d8cf0bd05354ca7dd423cfd36e926_8, type_description_2, outline_6_var___class__ ); // Release cached frame. if ( frame_356d8cf0bd05354ca7dd423cfd36e926_8 == cache_frame_356d8cf0bd05354ca7dd423cfd36e926_8 ) { Py_DECREF( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ); } cache_frame_356d8cf0bd05354ca7dd423cfd36e926_8 = NULL; assertFrameObject( frame_356d8cf0bd05354ca7dd423cfd36e926_8 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_7; frame_no_exception_7:; goto skip_nested_handling_7; nested_frame_exit_7:; goto try_except_handler_26; skip_nested_handling_7:; { nuitka_bool tmp_condition_result_42; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_compexpr_left_7 = tmp_class_creation_7__bases; CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_compexpr_right_7 = tmp_class_creation_7__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_7, tmp_compexpr_right_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_26; } tmp_condition_result_42 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_42 == NUITKA_BOOL_TRUE ) { goto branch_yes_28; } else { goto branch_no_28; } branch_yes_28:; { CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_dictset_value = tmp_class_creation_7__bases_orig; tmp_res = PyObject_SetItem( locals_chardet$chardistribution_217, 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 = 217; goto try_except_handler_26; } } branch_no_28:; } { PyObject *tmp_assign_source_78; PyObject *tmp_called_name_14; PyObject *tmp_args_name_14; PyObject *tmp_tuple_element_27; PyObject *tmp_kw_name_14; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_called_name_14 = tmp_class_creation_7__metaclass; tmp_tuple_element_27 = const_str_plain_EUCJPDistributionAnalysis; tmp_args_name_14 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_27 ); PyTuple_SET_ITEM( tmp_args_name_14, 0, tmp_tuple_element_27 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_27 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_27 ); PyTuple_SET_ITEM( tmp_args_name_14, 1, tmp_tuple_element_27 ); tmp_tuple_element_27 = locals_chardet$chardistribution_217; Py_INCREF( tmp_tuple_element_27 ); PyTuple_SET_ITEM( tmp_args_name_14, 2, tmp_tuple_element_27 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_14 = tmp_class_creation_7__class_decl_dict; frame_780ff20701b6029cf0fab914de57ece2->m_frame.f_lineno = 217; tmp_assign_source_78 = CALL_FUNCTION( tmp_called_name_14, tmp_args_name_14, tmp_kw_name_14 ); Py_DECREF( tmp_args_name_14 ); if ( tmp_assign_source_78 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; goto try_except_handler_26; } assert( outline_6_var___class__ == NULL ); outline_6_var___class__ = tmp_assign_source_78; } { CHECK_OBJECT( outline_6_var___class__ ); tmp_assign_source_77 = outline_6_var___class__; Py_INCREF( tmp_assign_source_77 ); goto try_return_handler_26; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_26:; { Py_DECREF( locals_chardet$chardistribution_217 ); locals_chardet$chardistribution_217 = NULL; } { goto try_return_handler_25; } // Exception handler code: try_except_handler_26:; exception_keeper_type_24 = exception_type; exception_keeper_value_24 = exception_value; exception_keeper_tb_24 = exception_tb; exception_keeper_lineno_24 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$chardistribution_217 ); locals_chardet$chardistribution_217 = NULL; } { // Re-raise. exception_type = exception_keeper_type_24; exception_value = exception_keeper_value_24; exception_tb = exception_keeper_tb_24; exception_lineno = exception_keeper_lineno_24; goto try_except_handler_25; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_25:; { CHECK_OBJECT( (PyObject *)outline_6_var___class__ ); Py_DECREF( outline_6_var___class__ ); outline_6_var___class__ = NULL; } { goto outline_result_7; } // Exception handler code: try_except_handler_25:; exception_keeper_type_25 = exception_type; exception_keeper_value_25 = exception_value; exception_keeper_tb_25 = exception_tb; exception_keeper_lineno_25 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_25; exception_value = exception_keeper_value_25; exception_tb = exception_keeper_tb_25; exception_lineno = exception_keeper_lineno_25; goto outline_exception_7; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$chardistribution ); return MOD_RETURN_VALUE( NULL ); outline_exception_7:; exception_lineno = 217; goto try_except_handler_24; outline_result_7:; UPDATE_STRING_DICT1( moduledict_chardet$chardistribution, (Nuitka_StringObject *)const_str_plain_EUCJPDistributionAnalysis, tmp_assign_source_77 ); } goto try_end_12; // Exception handler code: try_except_handler_24:; exception_keeper_type_26 = exception_type; exception_keeper_value_26 = exception_value; exception_keeper_tb_26 = exception_tb; exception_keeper_lineno_26 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { Py_XDECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_26; exception_value = exception_keeper_value_26; exception_tb = exception_keeper_tb_26; exception_lineno = exception_keeper_lineno_26; goto frame_exception_exit_1; } // End of try: try_end_12:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_780ff20701b6029cf0fab914de57ece2 ); #endif popFrameStack(); assertFrameObject( frame_780ff20701b6029cf0fab914de57ece2 ); goto frame_no_exception_8; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_780ff20701b6029cf0fab914de57ece2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_780ff20701b6029cf0fab914de57ece2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_780ff20701b6029cf0fab914de57ece2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_780ff20701b6029cf0fab914de57ece2, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_8:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__bases ); Py_DECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__class_decl_dict ); Py_DECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__metaclass ); Py_DECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__prepared ); Py_DECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } return MOD_RETURN_VALUE( module_chardet$chardistribution ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }