/* Generated code for Python source for module 'chardet.charsetprober' * 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$charsetprober 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$charsetprober; PyDictObject *moduledict_chardet$charsetprober; /* The module constants used, if any. */ extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain_getLogger; extern PyObject *const_str_plain___name__; static PyObject *const_str_plain_isalpha; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_tuple_str_plain_self_str_plain_lang_filter_tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_bytearray_72cdf64f605ef12d57287fc4b61c2b5e; static PyObject *const_tuple_str_plain_buf_tuple; extern PyObject *const_str_plain_object; extern PyObject *const_str_plain___file__; static PyObject *const_str_digest_5750e5d38f91740e3dfa72c2f8aea9ca; static PyObject *const_str_digest_d3adad97b2e012729b196682491f28f6; static PyObject *const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple; extern PyObject *const_int_neg_1; extern PyObject *const_str_plain_enums; extern PyObject *const_bytes_chr_62; extern PyObject *const_str_plain_sub; extern PyObject *const_str_plain_filter_high_byte_only; extern PyObject *const_str_plain_staticmethod; extern PyObject *const_str_plain_None; extern PyObject *const_str_plain_get_confidence; static PyObject *const_str_digest_3f2cd01d68aea2af9a8754bded3275a2; extern PyObject *const_tuple_str_plain_self_str_plain_buf_tuple; extern PyObject *const_str_plain_DETECTING; static PyObject *const_str_digest_107260837257a24dd33ded2c68b97b85; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_re; static PyObject *const_bytes_chr_128; extern PyObject *const_str_plain_extend; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_float_0_95; static PyObject *const_tuple_str_digest_ac7ef1983d08896f64f0a36d2144c0a1_tuple; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_digest_805873baa22cc8d7292ce124bff78530; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_plain_lang_filter; static PyObject *const_str_plain_filtered; static PyObject *const_str_digest_70ca23c973c1a0de004c414967a80408; static PyObject *const_str_plain_last_char; extern PyObject *const_tuple_empty; extern PyObject *const_str_plain_filter_with_english_letters; static PyObject *const_str_digest_40c7f3390d5eadc8b2a301a24554493c; extern PyObject *const_slice_int_neg_1_none_none; static PyObject *const_bytes_digest_857f6e4ae06e44e10e00b0636ed9e207; extern PyObject *const_tuple_bytes_chr_32_tuple; static PyObject *const_str_plain_in_tag; extern PyObject *const_str_plain_False; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain_charset_name; extern PyObject *const_tuple_str_plain_ProbingState_tuple; extern PyObject *const_str_plain_buf; extern PyObject *const_int_0; extern PyObject *const_str_plain_ProbingState; static PyObject *const_str_digest_4ae3f27cfecb11378d7a141dcab11fb0; extern PyObject *const_str_plain_reset; static PyObject *const_str_digest_70860d60d1c19777c3acac2081cae1e7; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; static PyObject *const_str_digest_9688abd04bb43b8a7c1d48e86da4b0a2; extern PyObject *const_str_plain_prev; extern PyObject *const_str_plain_type; static PyObject *const_str_plain_word; static PyObject *const_str_plain_buf_char; extern PyObject *const_bytes_chr_60; extern PyObject *const_str_plain_SHORTCUT_THRESHOLD; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain___class__; extern PyObject *const_bytes_chr_32; extern PyObject *const_tuple_none_tuple; static PyObject *const_bytes_digest_809dc873a952db29517e931db92b9f36; static PyObject *const_str_digest_9514cd9de70ec5ab00b90cedb8906b68; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_str_digest_fe608024ba381559514d14d9008cc45a; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_words; extern PyObject *const_str_plain_curr; extern PyObject *const_slice_none_int_neg_1_none; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_findall; extern PyObject *const_str_plain_logger; extern PyObject *const_str_plain_state; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_CharSetProber; static PyObject *const_str_digest_bea83a9d5361fcbb9b98d9a9a4698d32; extern PyObject *const_str_plain_self; extern PyObject *const_str_plain__state; static PyObject *const_str_digest_ac7ef1983d08896f64f0a36d2144c0a1; extern PyObject *const_str_plain_logging; extern PyObject *const_str_plain_property; extern PyObject *const_str_plain_feed; extern PyObject *const_float_0_0; static PyObject *const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple; extern PyObject *const_str_plain_filter_international_words; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_plain_isalpha = UNSTREAM_STRING( &constant_bin[ 168341 ], 7, 1 ); const_tuple_str_plain_buf_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_buf_tuple, 0, const_str_plain_buf ); Py_INCREF( const_str_plain_buf ); const_str_digest_5750e5d38f91740e3dfa72c2f8aea9ca = UNSTREAM_STRING( &constant_bin[ 168348 ], 19, 0 ); const_str_digest_d3adad97b2e012729b196682491f28f6 = UNSTREAM_STRING( &constant_bin[ 168367 ], 40, 0 ); const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 0, const_str_plain_buf ); Py_INCREF( const_str_plain_buf ); const_str_plain_filtered = UNSTREAM_STRING( &constant_bin[ 168407 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 1, const_str_plain_filtered ); Py_INCREF( const_str_plain_filtered ); const_str_plain_in_tag = UNSTREAM_STRING( &constant_bin[ 168415 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 2, const_str_plain_in_tag ); Py_INCREF( const_str_plain_in_tag ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 3, const_str_plain_prev ); Py_INCREF( const_str_plain_prev ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 4, const_str_plain_curr ); Py_INCREF( const_str_plain_curr ); const_str_plain_buf_char = UNSTREAM_STRING( &constant_bin[ 168421 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 5, const_str_plain_buf_char ); Py_INCREF( const_str_plain_buf_char ); const_str_digest_3f2cd01d68aea2af9a8754bded3275a2 = UNSTREAM_STRING( &constant_bin[ 168429 ], 41, 0 ); const_str_digest_107260837257a24dd33ded2c68b97b85 = UNSTREAM_STRING( &constant_bin[ 168470 ], 19, 0 ); const_bytes_chr_128 = UNSTREAM_BYTES( &constant_bin[ 778 ], 1 ); const_tuple_str_digest_ac7ef1983d08896f64f0a36d2144c0a1_tuple = PyTuple_New( 1 ); const_str_digest_ac7ef1983d08896f64f0a36d2144c0a1 = UNSTREAM_STRING( &constant_bin[ 168489 ], 21, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_ac7ef1983d08896f64f0a36d2144c0a1_tuple, 0, const_str_digest_ac7ef1983d08896f64f0a36d2144c0a1 ); Py_INCREF( const_str_digest_ac7ef1983d08896f64f0a36d2144c0a1 ); const_str_digest_805873baa22cc8d7292ce124bff78530 = UNSTREAM_STRING( &constant_bin[ 168510 ], 57, 0 ); const_str_digest_70ca23c973c1a0de004c414967a80408 = UNSTREAM_STRING( &constant_bin[ 168567 ], 18, 0 ); const_str_plain_last_char = UNSTREAM_STRING( &constant_bin[ 168585 ], 9, 1 ); const_str_digest_40c7f3390d5eadc8b2a301a24554493c = UNSTREAM_STRING( &constant_bin[ 168594 ], 26, 0 ); const_bytes_digest_857f6e4ae06e44e10e00b0636ed9e207 = UNSTREAM_BYTES( &constant_bin[ 168620 ], 37 ); const_str_digest_4ae3f27cfecb11378d7a141dcab11fb0 = UNSTREAM_STRING( &constant_bin[ 168657 ], 35, 0 ); const_str_digest_70860d60d1c19777c3acac2081cae1e7 = UNSTREAM_STRING( &constant_bin[ 168692 ], 456, 0 ); const_str_digest_9688abd04bb43b8a7c1d48e86da4b0a2 = UNSTREAM_STRING( &constant_bin[ 169148 ], 30, 0 ); const_str_plain_word = UNSTREAM_STRING( &constant_bin[ 45287 ], 4, 1 ); const_bytes_digest_809dc873a952db29517e931db92b9f36 = UNSTREAM_BYTES( &constant_bin[ 169178 ], 8 ); const_str_digest_9514cd9de70ec5ab00b90cedb8906b68 = UNSTREAM_STRING( &constant_bin[ 169186 ], 28, 0 ); const_str_digest_fe608024ba381559514d14d9008cc45a = UNSTREAM_STRING( &constant_bin[ 169214 ], 569, 0 ); const_str_digest_bea83a9d5361fcbb9b98d9a9a4698d32 = UNSTREAM_STRING( &constant_bin[ 169783 ], 22, 0 ); const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 0, const_str_plain_buf ); Py_INCREF( const_str_plain_buf ); PyTuple_SET_ITEM( const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 1, const_str_plain_filtered ); Py_INCREF( const_str_plain_filtered ); PyTuple_SET_ITEM( const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 2, const_str_plain_words ); Py_INCREF( const_str_plain_words ); PyTuple_SET_ITEM( const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 3, const_str_plain_word ); Py_INCREF( const_str_plain_word ); PyTuple_SET_ITEM( const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 4, const_str_plain_last_char ); Py_INCREF( const_str_plain_last_char ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_chardet$charsetprober( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_9e13ce93738845a759eede1371166f56; static PyCodeObject *codeobj_e776512b07e413cd798850e2667703cd; static PyCodeObject *codeobj_188b94eb98093b4421e07cfa616ac46c; static PyCodeObject *codeobj_12f21cbfdd4059623aa829b32406e1fd; static PyCodeObject *codeobj_116486fb6ab707f8ea8f7d30924461c0; static PyCodeObject *codeobj_dc8b09accb6ccd190b3e89f72dc40fbe; static PyCodeObject *codeobj_d9588ef79fb35d25e862ca7e3ea42042; static PyCodeObject *codeobj_d895c258ad939089cfc7038bb2d9dee1; static PyCodeObject *codeobj_25295a02fcac28754d02835765edbefc; static PyCodeObject *codeobj_c54b4d478614f07e08b0c47009fc2002; static PyCodeObject *codeobj_7c3994eb8b6c02411ef7088e31c88f69; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_805873baa22cc8d7292ce124bff78530; codeobj_9e13ce93738845a759eede1371166f56 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_9688abd04bb43b8a7c1d48e86da4b0a2, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_e776512b07e413cd798850e2667703cd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CharSetProber, 35, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_188b94eb98093b4421e07cfa616ac46c = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 39, const_tuple_str_plain_self_str_plain_lang_filter_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_12f21cbfdd4059623aa829b32406e1fd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_charset_name, 47, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_116486fb6ab707f8ea8f7d30924461c0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_feed, 51, const_tuple_str_plain_self_str_plain_buf_tuple, 2, 0, CO_NOFREE ); codeobj_dc8b09accb6ccd190b3e89f72dc40fbe = MAKE_CODEOBJ( module_filename_obj, const_str_plain_filter_high_byte_only, 61, const_tuple_str_plain_buf_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d9588ef79fb35d25e862ca7e3ea42042 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_filter_international_words, 66, const_tuple_3fb4591dc1675b2053c9ae02c85bd5b9_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d895c258ad939089cfc7038bb2d9dee1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_filter_with_english_letters, 103, const_tuple_86d712eaf53c925695a13b3ab1d2052b_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_25295a02fcac28754d02835765edbefc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_confidence, 58, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c54b4d478614f07e08b0c47009fc2002 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 44, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7c3994eb8b6c02411ef7088e31c88f69 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_state, 54, 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$charsetprober$$$function_1___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_2_reset( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_3_charset_name( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_4_feed( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_5_state( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_6_get_confidence( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_7_filter_high_byte_only( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_8_filter_international_words( ); static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_9_filter_with_english_letters( ); // The module function definitions. static PyObject *impl_chardet$charsetprober$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_lang_filter = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_188b94eb98093b4421e07cfa616ac46c; 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_188b94eb98093b4421e07cfa616ac46c = 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_188b94eb98093b4421e07cfa616ac46c, codeobj_188b94eb98093b4421e07cfa616ac46c, module_chardet$charsetprober, sizeof(void *)+sizeof(void *) ); frame_188b94eb98093b4421e07cfa616ac46c = cache_frame_188b94eb98093b4421e07cfa616ac46c; // Push the new frame as the currently active one. pushFrameStack( frame_188b94eb98093b4421e07cfa616ac46c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_188b94eb98093b4421e07cfa616ac46c ) == 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__state, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_lang_filter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lang_filter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_lang_filter; 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 = 41; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_lang_filter, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; PyObject *tmp_assattr_target_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 42; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; frame_188b94eb98093b4421e07cfa616ac46c->m_frame.f_lineno = 42; tmp_assattr_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_getLogger, &PyTuple_GET_ITEM( const_tuple_str_digest_ac7ef1983d08896f64f0a36d2144c0a1_tuple, 0 ) ); if ( tmp_assattr_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 42; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_logger, tmp_assattr_name_3 ); Py_DECREF( tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_188b94eb98093b4421e07cfa616ac46c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_188b94eb98093b4421e07cfa616ac46c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_188b94eb98093b4421e07cfa616ac46c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_188b94eb98093b4421e07cfa616ac46c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_188b94eb98093b4421e07cfa616ac46c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_188b94eb98093b4421e07cfa616ac46c, type_description_1, par_self, par_lang_filter ); // Release cached frame. if ( frame_188b94eb98093b4421e07cfa616ac46c == cache_frame_188b94eb98093b4421e07cfa616ac46c ) { Py_DECREF( frame_188b94eb98093b4421e07cfa616ac46c ); } cache_frame_188b94eb98093b4421e07cfa616ac46c = NULL; assertFrameObject( frame_188b94eb98093b4421e07cfa616ac46c ); // 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$charsetprober$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_lang_filter ); par_lang_filter = 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_lang_filter ); par_lang_filter = 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$charsetprober$$$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$charsetprober$$$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_c54b4d478614f07e08b0c47009fc2002; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_c54b4d478614f07e08b0c47009fc2002 = 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_c54b4d478614f07e08b0c47009fc2002, codeobj_c54b4d478614f07e08b0c47009fc2002, module_chardet$charsetprober, sizeof(void *) ); frame_c54b4d478614f07e08b0c47009fc2002 = cache_frame_c54b4d478614f07e08b0c47009fc2002; // Push the new frame as the currently active one. pushFrameStack( frame_c54b4d478614f07e08b0c47009fc2002 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c54b4d478614f07e08b0c47009fc2002 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_ProbingState ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ProbingState" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 45; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_assattr_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_DETECTING ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 45; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__state, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "o"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_c54b4d478614f07e08b0c47009fc2002 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c54b4d478614f07e08b0c47009fc2002 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c54b4d478614f07e08b0c47009fc2002, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c54b4d478614f07e08b0c47009fc2002->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c54b4d478614f07e08b0c47009fc2002, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c54b4d478614f07e08b0c47009fc2002, type_description_1, par_self ); // Release cached frame. if ( frame_c54b4d478614f07e08b0c47009fc2002 == cache_frame_c54b4d478614f07e08b0c47009fc2002 ) { Py_DECREF( frame_c54b4d478614f07e08b0c47009fc2002 ); } cache_frame_c54b4d478614f07e08b0c47009fc2002 = NULL; assertFrameObject( frame_c54b4d478614f07e08b0c47009fc2002 ); // 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$charsetprober$$$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$charsetprober$$$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$charsetprober$$$function_3_charset_name( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { 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$charsetprober$$$function_3_charset_name ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_3_charset_name ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$charsetprober$$$function_4_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_buf = python_pars[ 1 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { 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$charsetprober$$$function_4_feed ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_buf ); par_buf = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_buf ); par_buf = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_4_feed ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$charsetprober$$$function_5_state( 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_7c3994eb8b6c02411ef7088e31c88f69; 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_7c3994eb8b6c02411ef7088e31c88f69 = 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_7c3994eb8b6c02411ef7088e31c88f69, codeobj_7c3994eb8b6c02411ef7088e31c88f69, module_chardet$charsetprober, sizeof(void *) ); frame_7c3994eb8b6c02411ef7088e31c88f69 = cache_frame_7c3994eb8b6c02411ef7088e31c88f69; // Push the new frame as the currently active one. pushFrameStack( frame_7c3994eb8b6c02411ef7088e31c88f69 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7c3994eb8b6c02411ef7088e31c88f69 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__state ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 56; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7c3994eb8b6c02411ef7088e31c88f69 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7c3994eb8b6c02411ef7088e31c88f69 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7c3994eb8b6c02411ef7088e31c88f69 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7c3994eb8b6c02411ef7088e31c88f69, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7c3994eb8b6c02411ef7088e31c88f69->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7c3994eb8b6c02411ef7088e31c88f69, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7c3994eb8b6c02411ef7088e31c88f69, type_description_1, par_self ); // Release cached frame. if ( frame_7c3994eb8b6c02411ef7088e31c88f69 == cache_frame_7c3994eb8b6c02411ef7088e31c88f69 ) { Py_DECREF( frame_7c3994eb8b6c02411ef7088e31c88f69 ); } cache_frame_7c3994eb8b6c02411ef7088e31c88f69 = NULL; assertFrameObject( frame_7c3994eb8b6c02411ef7088e31c88f69 ); // 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$charsetprober$$$function_5_state ); 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$charsetprober$$$function_5_state ); 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$charsetprober$$$function_6_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 *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = const_float_0_0; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_6_get_confidence ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_6_get_confidence ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_chardet$charsetprober$$$function_7_filter_high_byte_only( 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_buf = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_dc8b09accb6ccd190b3e89f72dc40fbe; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_dc8b09accb6ccd190b3e89f72dc40fbe = 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_dc8b09accb6ccd190b3e89f72dc40fbe, codeobj_dc8b09accb6ccd190b3e89f72dc40fbe, module_chardet$charsetprober, sizeof(void *) ); frame_dc8b09accb6ccd190b3e89f72dc40fbe = cache_frame_dc8b09accb6ccd190b3e89f72dc40fbe; // Push the new frame as the currently active one. pushFrameStack( frame_dc8b09accb6ccd190b3e89f72dc40fbe ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dc8b09accb6ccd190b3e89f72dc40fbe ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 63; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_sub ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 63; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_bytes_digest_809dc873a952db29517e931db92b9f36; tmp_args_element_name_2 = const_bytes_chr_32; if ( par_buf == 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", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 63; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_buf; frame_dc8b09accb6ccd190b3e89f72dc40fbe->m_frame.f_lineno = 63; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS3( 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 = 63; type_description_1 = "o"; goto frame_exception_exit_1; } { PyObject *old = par_buf; par_buf = tmp_assign_source_1; Py_XDECREF( old ); } } #if 0 RESTORE_FRAME_EXCEPTION( frame_dc8b09accb6ccd190b3e89f72dc40fbe ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dc8b09accb6ccd190b3e89f72dc40fbe ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dc8b09accb6ccd190b3e89f72dc40fbe, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dc8b09accb6ccd190b3e89f72dc40fbe->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dc8b09accb6ccd190b3e89f72dc40fbe, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dc8b09accb6ccd190b3e89f72dc40fbe, type_description_1, par_buf ); // Release cached frame. if ( frame_dc8b09accb6ccd190b3e89f72dc40fbe == cache_frame_dc8b09accb6ccd190b3e89f72dc40fbe ) { Py_DECREF( frame_dc8b09accb6ccd190b3e89f72dc40fbe ); } cache_frame_dc8b09accb6ccd190b3e89f72dc40fbe = NULL; assertFrameObject( frame_dc8b09accb6ccd190b3e89f72dc40fbe ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( par_buf ); tmp_return_value = par_buf; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_7_filter_high_byte_only ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_buf ); Py_DECREF( par_buf ); par_buf = 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_buf ); par_buf = 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$charsetprober$$$function_7_filter_high_byte_only ); 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$charsetprober$$$function_8_filter_international_words( 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_buf = python_pars[ 0 ]; PyObject *var_filtered = NULL; PyObject *var_words = NULL; PyObject *var_word = NULL; PyObject *var_last_char = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_d9588ef79fb35d25e862ca7e3ea42042; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_d9588ef79fb35d25e862ca7e3ea42042 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = BYTEARRAY_COPY( const_bytearray_72cdf64f605ef12d57287fc4b61c2b5e ); assert( var_filtered == NULL ); var_filtered = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_d9588ef79fb35d25e862ca7e3ea42042, codeobj_d9588ef79fb35d25e862ca7e3ea42042, module_chardet$charsetprober, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d9588ef79fb35d25e862ca7e3ea42042 = cache_frame_d9588ef79fb35d25e862ca7e3ea42042; // Push the new frame as the currently active one. pushFrameStack( frame_d9588ef79fb35d25e862ca7e3ea42042 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d9588ef79fb35d25e862ca7e3ea42042 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_findall ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_bytes_digest_857f6e4ae06e44e10e00b0636ed9e207; if ( par_buf == 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", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_buf; frame_d9588ef79fb35d25e862ca7e3ea42042->m_frame.f_lineno = 86; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_words == NULL ); var_words = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; CHECK_OBJECT( var_words ); tmp_iter_arg_1 = var_words; tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; exception_lineno = 89; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_5 = tmp_for_loop_1__iter_value; { PyObject *old = var_word; var_word = tmp_assign_source_5; Py_INCREF( var_word ); Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_source_name_2 = var_filtered; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_extend ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_word == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "word" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = var_word; tmp_subscript_name_1 = const_slice_none_int_neg_1_none; tmp_args_element_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 90; type_description_1 = "ooooo"; goto try_except_handler_2; } frame_d9588ef79fb35d25e862ca7e3ea42042->m_frame.f_lineno = 90; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "ooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_6; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_word == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "word" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 96; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = var_word; tmp_subscript_name_2 = const_slice_int_neg_1_none_none; tmp_assign_source_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 96; type_description_1 = "ooooo"; goto try_except_handler_2; } { PyObject *old = var_last_char; var_last_char = tmp_assign_source_6; Py_XDECREF( old ); } } { 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_operand_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_last_char ); tmp_called_instance_1 = var_last_char; frame_d9588ef79fb35d25e862ca7e3ea42042->m_frame.f_lineno = 97; tmp_operand_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_isalpha ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_1 = "ooooo"; goto try_except_handler_2; } 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_last_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 97; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_compexpr_left_1 = var_last_char; tmp_compexpr_right_1 = const_bytes_chr_128; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 97; type_description_1 = "ooooo"; goto try_except_handler_2; } 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_7; tmp_assign_source_7 = const_bytes_chr_32; { PyObject *old = var_last_char; var_last_char = tmp_assign_source_7; Py_INCREF( var_last_char ); Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_source_name_3 = var_filtered; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_extend ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_last_char == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_args_element_name_4 = var_last_char; frame_d9588ef79fb35d25e862ca7e3ea42042->m_frame.f_lineno = 99; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "ooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_return_value = var_filtered; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d9588ef79fb35d25e862ca7e3ea42042 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d9588ef79fb35d25e862ca7e3ea42042 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d9588ef79fb35d25e862ca7e3ea42042 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d9588ef79fb35d25e862ca7e3ea42042, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d9588ef79fb35d25e862ca7e3ea42042->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d9588ef79fb35d25e862ca7e3ea42042, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d9588ef79fb35d25e862ca7e3ea42042, type_description_1, par_buf, var_filtered, var_words, var_word, var_last_char ); // Release cached frame. if ( frame_d9588ef79fb35d25e862ca7e3ea42042 == cache_frame_d9588ef79fb35d25e862ca7e3ea42042 ) { Py_DECREF( frame_d9588ef79fb35d25e862ca7e3ea42042 ); } cache_frame_d9588ef79fb35d25e862ca7e3ea42042 = NULL; assertFrameObject( frame_d9588ef79fb35d25e862ca7e3ea42042 ); // 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$charsetprober$$$function_8_filter_international_words ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_buf ); par_buf = NULL; } { Py_XDECREF( var_filtered ); var_filtered = NULL; } { Py_XDECREF( var_words ); var_words = NULL; } { Py_XDECREF( var_word ); var_word = NULL; } { Py_XDECREF( var_last_char ); var_last_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_buf ); par_buf = NULL; } { Py_XDECREF( var_filtered ); var_filtered = NULL; } { Py_XDECREF( var_words ); var_words = NULL; } { Py_XDECREF( var_word ); var_word = NULL; } { Py_XDECREF( var_last_char ); var_last_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_8_filter_international_words ); 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$charsetprober$$$function_9_filter_with_english_letters( 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_buf = python_pars[ 0 ]; PyObject *var_filtered = NULL; PyObject *var_in_tag = NULL; PyObject *var_prev = NULL; PyObject *var_curr = NULL; PyObject *var_buf_char = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_d895c258ad939089cfc7038bb2d9dee1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_d895c258ad939089cfc7038bb2d9dee1 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = BYTEARRAY_COPY( const_bytearray_72cdf64f605ef12d57287fc4b61c2b5e ); assert( var_filtered == NULL ); var_filtered = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = Py_False; assert( var_in_tag == NULL ); Py_INCREF( tmp_assign_source_2 ); var_in_tag = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = const_int_0; assert( var_prev == NULL ); Py_INCREF( tmp_assign_source_3 ); var_prev = tmp_assign_source_3; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_d895c258ad939089cfc7038bb2d9dee1, codeobj_d895c258ad939089cfc7038bb2d9dee1, module_chardet$charsetprober, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d895c258ad939089cfc7038bb2d9dee1 = cache_frame_d895c258ad939089cfc7038bb2d9dee1; // Push the new frame as the currently active one. pushFrameStack( frame_d895c258ad939089cfc7038bb2d9dee1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d895c258ad939089cfc7038bb2d9dee1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_1; PyObject *tmp_xrange_low_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_buf ); tmp_len_arg_1 = par_buf; tmp_xrange_low_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_xrange_low_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = BUILTIN_XRANGE1( tmp_xrange_low_1 ); Py_DECREF( tmp_xrange_low_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_4; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_5 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 119; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_6 = tmp_for_loop_1__iter_value; { PyObject *old = var_curr; var_curr = tmp_assign_source_6; Py_INCREF( var_curr ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_step_name_1; if ( par_buf == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = par_buf; CHECK_OBJECT( var_curr ); tmp_start_name_1 = var_curr; CHECK_OBJECT( var_curr ); tmp_left_name_1 = var_curr; tmp_right_name_1 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_assign_source_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = var_buf_char; var_buf_char = tmp_assign_source_7; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_buf_char ); tmp_compexpr_left_1 = var_buf_char; tmp_compexpr_right_1 = const_bytes_chr_62; 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 = 123; type_description_1 = "oooooo"; goto try_except_handler_2; } 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_8; tmp_assign_source_8 = Py_False; { PyObject *old = var_in_tag; var_in_tag = tmp_assign_source_8; Py_INCREF( var_in_tag ); Py_XDECREF( old ); } } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_buf_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = var_buf_char; tmp_compexpr_right_2 = const_bytes_chr_60; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 125; type_description_1 = "oooooo"; goto try_except_handler_2; } 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_9; tmp_assign_source_9 = Py_True; { PyObject *old = var_in_tag; var_in_tag = tmp_assign_source_9; Py_INCREF( var_in_tag ); Py_XDECREF( old ); } } branch_no_2:; } branch_end_1:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_operand_name_1; PyObject *tmp_called_instance_1; if ( var_buf_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_left_3 = var_buf_char; tmp_compexpr_right_3 = const_bytes_chr_128; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 129; type_description_1 = "oooooo"; goto try_except_handler_2; } 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_buf_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf_char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_called_instance_1 = var_buf_char; frame_d895c258ad939089cfc7038bb2d9dee1->m_frame.f_lineno = 129; tmp_operand_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_isalpha ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_3 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { nuitka_bool tmp_condition_result_4; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_operand_name_2; if ( var_curr == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 131; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_left_4 = var_curr; if ( var_prev == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prev" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 131; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_right_4 = var_prev; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 131; type_description_1 = "oooooo"; goto try_except_handler_2; } 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_in_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 131; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_operand_name_2 = var_in_tag; 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 = 131; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_and_right_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_4 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_4 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_step_name_2; if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_source_name_1 = var_filtered; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_extend ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } if ( par_buf == 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", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_buf; if ( var_prev == 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", "prev" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_start_name_2 = var_prev; if ( var_curr == 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", "curr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_stop_name_2 = var_curr; tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } frame_d895c258ad939089cfc7038bb2d9dee1->m_frame.f_lineno = 134; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_2; if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 136; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_called_instance_2 = var_filtered; frame_d895c258ad939089cfc7038bb2d9dee1->m_frame.f_lineno = 136; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_extend, &PyTuple_GET_ITEM( const_tuple_bytes_chr_32_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 136; type_description_1 = "oooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_4:; } { PyObject *tmp_assign_source_10; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_curr == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 137; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_left_name_2 = var_curr; tmp_right_name_2 = const_int_pos_1; tmp_assign_source_10 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = var_prev; var_prev = tmp_assign_source_10; Py_XDECREF( old ); } } branch_no_3:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_3; if ( var_in_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "in_tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 140; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_operand_name_3 = var_in_tag; 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 = 140; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_3; PyObject *tmp_stop_name_3; PyObject *tmp_step_name_3; if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_filtered; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_extend ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_buf == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = par_buf; if ( var_prev == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prev" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_start_name_3 = var_prev; tmp_stop_name_3 = Py_None; tmp_step_name_3 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_3, tmp_stop_name_3, tmp_step_name_3 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_d895c258ad939089cfc7038bb2d9dee1->m_frame.f_lineno = 143; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_5:; } { if ( var_filtered == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filtered" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = var_filtered; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d895c258ad939089cfc7038bb2d9dee1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d895c258ad939089cfc7038bb2d9dee1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d895c258ad939089cfc7038bb2d9dee1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d895c258ad939089cfc7038bb2d9dee1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d895c258ad939089cfc7038bb2d9dee1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d895c258ad939089cfc7038bb2d9dee1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d895c258ad939089cfc7038bb2d9dee1, type_description_1, par_buf, var_filtered, var_in_tag, var_prev, var_curr, var_buf_char ); // Release cached frame. if ( frame_d895c258ad939089cfc7038bb2d9dee1 == cache_frame_d895c258ad939089cfc7038bb2d9dee1 ) { Py_DECREF( frame_d895c258ad939089cfc7038bb2d9dee1 ); } cache_frame_d895c258ad939089cfc7038bb2d9dee1 = NULL; assertFrameObject( frame_d895c258ad939089cfc7038bb2d9dee1 ); // 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$charsetprober$$$function_9_filter_with_english_letters ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_buf ); par_buf = NULL; } { Py_XDECREF( var_filtered ); var_filtered = NULL; } { Py_XDECREF( var_in_tag ); var_in_tag = NULL; } { Py_XDECREF( var_prev ); var_prev = NULL; } { Py_XDECREF( var_curr ); var_curr = NULL; } { Py_XDECREF( var_buf_char ); var_buf_char = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_buf ); par_buf = NULL; } { Py_XDECREF( var_filtered ); var_filtered = NULL; } { Py_XDECREF( var_in_tag ); var_in_tag = NULL; } { Py_XDECREF( var_prev ); var_prev = NULL; } { Py_XDECREF( var_curr ); var_curr = NULL; } { Py_XDECREF( var_buf_char ); var_buf_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober$$$function_9_filter_with_english_letters ); 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$charsetprober$$$function_1___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_bea83a9d5361fcbb9b98d9a9a4698d32, #endif codeobj_188b94eb98093b4421e07cfa616ac46c, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_2_reset( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_2_reset, const_str_plain_reset, #if PYTHON_VERSION >= 300 const_str_digest_107260837257a24dd33ded2c68b97b85, #endif codeobj_c54b4d478614f07e08b0c47009fc2002, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_3_charset_name( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_3_charset_name, const_str_plain_charset_name, #if PYTHON_VERSION >= 300 const_str_digest_40c7f3390d5eadc8b2a301a24554493c, #endif codeobj_12f21cbfdd4059623aa829b32406e1fd, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_4_feed( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_4_feed, const_str_plain_feed, #if PYTHON_VERSION >= 300 const_str_digest_70ca23c973c1a0de004c414967a80408, #endif codeobj_116486fb6ab707f8ea8f7d30924461c0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_5_state( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_5_state, const_str_plain_state, #if PYTHON_VERSION >= 300 const_str_digest_5750e5d38f91740e3dfa72c2f8aea9ca, #endif codeobj_7c3994eb8b6c02411ef7088e31c88f69, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_6_get_confidence( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_6_get_confidence, const_str_plain_get_confidence, #if PYTHON_VERSION >= 300 const_str_digest_9514cd9de70ec5ab00b90cedb8906b68, #endif codeobj_25295a02fcac28754d02835765edbefc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_7_filter_high_byte_only( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_7_filter_high_byte_only, const_str_plain_filter_high_byte_only, #if PYTHON_VERSION >= 300 const_str_digest_4ae3f27cfecb11378d7a141dcab11fb0, #endif codeobj_dc8b09accb6ccd190b3e89f72dc40fbe, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_8_filter_international_words( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_8_filter_international_words, const_str_plain_filter_international_words, #if PYTHON_VERSION >= 300 const_str_digest_d3adad97b2e012729b196682491f28f6, #endif codeobj_d9588ef79fb35d25e862ca7e3ea42042, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, const_str_digest_fe608024ba381559514d14d9008cc45a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_chardet$charsetprober$$$function_9_filter_with_english_letters( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_chardet$charsetprober$$$function_9_filter_with_english_letters, const_str_plain_filter_with_english_letters, #if PYTHON_VERSION >= 300 const_str_digest_3f2cd01d68aea2af9a8754bded3275a2, #endif codeobj_d895c258ad939089cfc7038bb2d9dee1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_chardet$charsetprober, const_str_digest_70860d60d1c19777c3acac2081cae1e7, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_chardet$charsetprober = { PyModuleDef_HEAD_INIT, "chardet.charsetprober", /* 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$charsetprober ) { #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$charsetprober ); } 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.charsetprober: 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.charsetprober: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("chardet.charsetprober: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initchardet$charsetprober" ); // 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$charsetprober = Py_InitModule4( "chardet.charsetprober", // 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$charsetprober = PyModule_Create( &mdef_chardet$charsetprober ); #endif moduledict_chardet$charsetprober = MODULE_DICT( module_chardet$charsetprober ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$charsetprober, (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$charsetprober, (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$charsetprober, (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$charsetprober, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_chardet$charsetprober ); // 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_ac7ef1983d08896f64f0a36d2144c0a1, module_chardet$charsetprober ); 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$charsetprober, (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$charsetprober, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_chardet$charsetprober, (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$charsetprober, (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$charsetprober, (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 *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; struct Nuitka_FrameObject *frame_9e13ce93738845a759eede1371166f56; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_chardet$charsetprober_35 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_e776512b07e413cd798850e2667703cd_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_e776512b07e413cd798850e2667703cd_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_805873baa22cc8d7292ce124bff78530; UPDATE_STRING_DICT0( moduledict_chardet$charsetprober, (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$charsetprober, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_9e13ce93738845a759eede1371166f56 = MAKE_MODULE_FRAME( codeobj_9e13ce93738845a759eede1371166f56, module_chardet$charsetprober ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_9e13ce93738845a759eede1371166f56 ); assert( Py_REFCNT( frame_9e13ce93738845a759eede1371166f56 ) == 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_logging; tmp_globals_name_1 = (PyObject *)moduledict_chardet$charsetprober; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_9e13ce93738845a759eede1371166f56->m_frame.f_lineno = 29; 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 = 29; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_logging, tmp_assign_source_4 ); } { PyObject *tmp_assign_source_5; 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_re; tmp_globals_name_2 = (PyObject *)moduledict_chardet$charsetprober; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_9e13ce93738845a759eede1371166f56->m_frame.f_lineno = 30; tmp_assign_source_5 = 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_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_1; 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_enums; tmp_globals_name_3 = (PyObject *)moduledict_chardet$charsetprober; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_ProbingState_tuple; tmp_level_name_3 = const_int_pos_1; frame_9e13ce93738845a759eede1371166f56->m_frame.f_lineno = 32; tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_import_name_from_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_1 ) ) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)MODULE_DICT(tmp_import_name_from_1), const_str_plain_ProbingState, const_int_pos_1 ); } else { tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_ProbingState ); } Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_ProbingState, tmp_assign_source_6 ); } { // Tried code: { PyObject *tmp_assign_source_7; 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_7 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; 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 = 35; goto try_except_handler_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = const_str_plain_metaclass; tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_subscribed_name_1 = tmp_class_creation_1__bases; tmp_subscript_name_1 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); Py_DECREF( tmp_type_arg_1 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_1 ); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_9 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_9; } { 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 = 35; goto try_except_handler_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } } branch_no_1:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_source_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_1 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ ); tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_10; 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 = 35; goto try_except_handler_1; } tmp_tuple_element_1 = const_str_plain_CharSetProber; 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_9e13ce93738845a759eede1371166f56->m_frame.f_lineno = 35; tmp_assign_source_10 = 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_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_10; } { 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 = 35; goto try_except_handler_1; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_4; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_4 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 35; goto try_except_handler_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_1; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 35; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_1; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_11; tmp_assign_source_11 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_11; } branch_end_2:; } { PyObject *tmp_assign_source_12; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_chardet$charsetprober_35 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_ac7ef1983d08896f64f0a36d2144c0a1; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 35; goto try_except_handler_3; } } { tmp_dictset_value = const_str_plain_CharSetProber; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 35; goto try_except_handler_3; } } MAKE_OR_REUSE_FRAME( cache_frame_e776512b07e413cd798850e2667703cd_2, codeobj_e776512b07e413cd798850e2667703cd, module_chardet$charsetprober, sizeof(void *) ); frame_e776512b07e413cd798850e2667703cd_2 = cache_frame_e776512b07e413cd798850e2667703cd_2; // Push the new frame as the currently active one. pushFrameStack( frame_e776512b07e413cd798850e2667703cd_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e776512b07e413cd798850e2667703cd_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_float_0_95; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_SHORTCUT_THRESHOLD, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 37; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_chardet$charsetprober$$$function_1___init__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 39; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$charsetprober$$$function_2_reset( ); tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 44; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_2; tmp_res = MAPPING_HAS_ITEM( locals_chardet$charsetprober_35, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_6 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; tmp_called_name_2 = PyObject_GetItem( locals_chardet$charsetprober_35, const_str_plain_property ); if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_1 = MAKE_FUNCTION_chardet$charsetprober$$$function_3_charset_name( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 47; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_3; condexpr_false_3:; tmp_called_name_3 = (PyObject *)&PyProperty_Type; tmp_args_element_name_2 = MAKE_FUNCTION_chardet$charsetprober$$$function_3_charset_name( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 47; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_3:; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_charset_name, 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 = 47; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$charsetprober$$$function_4_feed( ); tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 51; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_4; tmp_res = MAPPING_HAS_ITEM( locals_chardet$charsetprober_35, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_7 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; tmp_called_name_4 = PyObject_GetItem( locals_chardet$charsetprober_35, const_str_plain_property ); if ( tmp_called_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_3 = MAKE_FUNCTION_chardet$charsetprober$$$function_5_state( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 54; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_4; condexpr_false_4:; tmp_called_name_5 = (PyObject *)&PyProperty_Type; tmp_args_element_name_4 = MAKE_FUNCTION_chardet$charsetprober$$$function_5_state( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 54; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_4:; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_state, 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 = 54; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_chardet$charsetprober$$$function_6_get_confidence( ); tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, 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 = 58; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_5; PyObject *tmp_staticmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_res == -1 ) { 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_condition_result_8 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; tmp_called_name_6 = PyObject_GetItem( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_called_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "staticmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 61; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_6 == NULL ) { 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_args_element_name_5 = MAKE_FUNCTION_chardet$charsetprober$$$function_7_filter_high_byte_only( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 61; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_5; condexpr_false_5:; tmp_staticmethod_arg_1 = MAKE_FUNCTION_chardet$charsetprober$$$function_7_filter_high_byte_only( ); tmp_dictset_value = BUILTIN_STATICMETHOD( tmp_staticmethod_arg_1 ); Py_DECREF( tmp_staticmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_5:; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_filter_high_byte_only, 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; } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_6; PyObject *tmp_staticmethod_arg_2; tmp_res = MAPPING_HAS_ITEM( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_9 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_called_name_7 = PyObject_GetItem( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_called_name_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "staticmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_6 = MAKE_FUNCTION_chardet$charsetprober$$$function_8_filter_international_words( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 66; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_6; condexpr_false_6:; tmp_staticmethod_arg_2 = MAKE_FUNCTION_chardet$charsetprober$$$function_8_filter_international_words( ); tmp_dictset_value = BUILTIN_STATICMETHOD( tmp_staticmethod_arg_2 ); Py_DECREF( tmp_staticmethod_arg_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_6:; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_filter_international_words, 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 = 66; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_10; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_7; PyObject *tmp_staticmethod_arg_3; tmp_res = MAPPING_HAS_ITEM( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_10 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; tmp_called_name_8 = PyObject_GetItem( locals_chardet$charsetprober_35, const_str_plain_staticmethod ); if ( tmp_called_name_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "staticmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_7 = MAKE_FUNCTION_chardet$charsetprober$$$function_9_filter_with_english_letters( ); frame_e776512b07e413cd798850e2667703cd_2->m_frame.f_lineno = 103; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_7 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_7; condexpr_false_7:; tmp_staticmethod_arg_3 = MAKE_FUNCTION_chardet$charsetprober$$$function_9_filter_with_english_letters( ); tmp_dictset_value = BUILTIN_STATICMETHOD( tmp_staticmethod_arg_3 ); Py_DECREF( tmp_staticmethod_arg_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_7:; tmp_res = PyObject_SetItem( locals_chardet$charsetprober_35, const_str_plain_filter_with_english_letters, 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 = 103; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e776512b07e413cd798850e2667703cd_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_e776512b07e413cd798850e2667703cd_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e776512b07e413cd798850e2667703cd_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e776512b07e413cd798850e2667703cd_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e776512b07e413cd798850e2667703cd_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e776512b07e413cd798850e2667703cd_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_e776512b07e413cd798850e2667703cd_2 == cache_frame_e776512b07e413cd798850e2667703cd_2 ) { Py_DECREF( frame_e776512b07e413cd798850e2667703cd_2 ); } cache_frame_e776512b07e413cd798850e2667703cd_2 = NULL; assertFrameObject( frame_e776512b07e413cd798850e2667703cd_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_3; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_11; 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 = 35; goto try_except_handler_3; } tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == 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$charsetprober_35, 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 = 35; goto try_except_handler_3; } } branch_no_4:; } { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_9; 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_9 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_CharSetProber; 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$charsetprober_35; 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_9e13ce93738845a759eede1371166f56->m_frame.f_lineno = 35; tmp_assign_source_13 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 35; goto try_except_handler_3; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_13; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_12 = outline_0_var___class__; Py_INCREF( tmp_assign_source_12 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$charsetprober ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_3:; { Py_DECREF( locals_chardet$charsetprober_35 ); locals_chardet$charsetprober_35 = NULL; } { goto try_return_handler_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_chardet$charsetprober_35 ); locals_chardet$charsetprober_35 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( chardet$charsetprober ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)outline_0_var___class__ ); Py_DECREF( outline_0_var___class__ ); outline_0_var___class__ = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( chardet$charsetprober ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 35; goto try_except_handler_1; outline_result_1:; UPDATE_STRING_DICT1( moduledict_chardet$charsetprober, (Nuitka_StringObject *)const_str_plain_CharSetProber, tmp_assign_source_12 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { Py_XDECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_1:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_9e13ce93738845a759eede1371166f56 ); #endif popFrameStack(); assertFrameObject( frame_9e13ce93738845a759eede1371166f56 ); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9e13ce93738845a759eede1371166f56 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9e13ce93738845a759eede1371166f56, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9e13ce93738845a759eede1371166f56->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9e13ce93738845a759eede1371166f56, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_2:; { 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; } return MOD_RETURN_VALUE( module_chardet$charsetprober ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }