Files
fesmoo_perdoliq/baraban.build/module.chardet.hebrewprober.c
2019-12-06 12:23:21 +03:00

7110 lines
219 KiB
C

/* Generated code for Python source for module 'chardet.hebrewprober'
* 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$hebrewprober 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$hebrewprober;
PyDictObject *moduledict_chardet$hebrewprober;
/* The module constants used, if any. */
extern PyObject *const_str_plain_metaclass;
static PyObject *const_int_pos_234;
extern PyObject *const_str_plain___name__;
static PyObject *const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple;
static PyObject *const_str_digest_723ce77ec5091454a5505c16254ad609;
extern PyObject *const_tuple_str_plain___class___tuple;
extern PyObject *const_int_pos_240;
extern PyObject *const_str_angle_metaclass;
static PyObject *const_str_digest_32e3f9deba4abdf9178e540d70ea5c82;
extern PyObject *const_str_plain___file__;
static PyObject *const_str_plain_NORMAL_NUN;
static PyObject *const_str_digest_30633a10f6deb6a6876705939cda465b;
extern PyObject *const_int_pos_243;
static PyObject *const_str_plain_NORMAL_PE;
extern PyObject *const_str_plain_enums;
extern PyObject *const_str_plain_filter_high_byte_only;
static PyObject *const_int_pos_245;
extern PyObject *const_str_plain_get_confidence;
static PyObject *const_str_digest_91cee6c425a73ef9c0c06aacb37a2dff;
extern PyObject *const_int_pos_5;
static PyObject *const_str_plain__visual_prober;
extern PyObject *const_str_digest_9067f79f97483c0acb48964d9ff2d4d4;
static PyObject *const_str_plain_logicalProber;
extern PyObject *const_str_plain_NOT_ME;
extern PyObject *const_str_plain_DETECTING;
static PyObject *const_str_plain_FINAL_MEM;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain_cur;
extern PyObject *const_str_plain___orig_bases__;
static PyObject *const_str_plain__final_char_visual_score;
static PyObject *const_str_digest_d4107305f70d36a0be4fdc48750301b0;
extern PyObject *const_str_plain___qualname__;
static PyObject *const_int_pos_237;
static PyObject *const_str_plain_FINAL_TSADI;
extern PyObject *const_int_pos_239;
extern PyObject *const_tuple_str_plain_self_tuple;
static PyObject *const_str_plain_FINAL_PE;
static PyObject *const_str_plain_visualProber;
extern PyObject *const_int_pos_244;
static PyObject *const_str_digest_ef99da23d853bee2130263e5348ad318;
static PyObject *const_str_plain_is_non_final;
extern PyObject *const_str_plain_HebrewProber;
static PyObject *const_str_plain_MIN_FINAL_CHAR_DISTANCE;
static PyObject *const_str_plain__prev;
static PyObject *const_str_plain_FINAL_NUN;
static PyObject *const_str_plain__before_prev;
static PyObject *const_str_plain_NORMAL_MEM;
static PyObject *const_str_plain_MIN_MODEL_DISTANCE;
extern PyObject *const_str_plain_charsetprober;
extern PyObject *const_str_space;
extern PyObject *const_tuple_empty;
static PyObject *const_str_plain_LOGICAL_HEBREW_NAME;
extern PyObject *const_str_plain_False;
extern PyObject *const_str_plain___getitem__;
extern PyObject *const_str_plain_charset_name;
static PyObject *const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple;
extern PyObject *const_tuple_str_plain_ProbingState_tuple;
extern PyObject *const_int_0;
extern PyObject *const_str_plain_ProbingState;
static PyObject *const_str_digest_c89a7ea693cdf82bc8ab92bc6aad3987;
extern PyObject *const_tuple_str_plain_self_str_plain___class___tuple;
extern PyObject *const_str_plain_reset;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
static PyObject *const_str_plain__logical_prober;
extern PyObject *const_str_plain_c;
static PyObject *const_str_digest_317ee7358cbc8021789b1868ebd9b4e0;
static PyObject *const_int_pos_238;
extern PyObject *const_str_plain_Hebrew;
extern PyObject *const_str_plain_type;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain___class__;
static PyObject *const_str_plain_NORMAL_KAF;
static PyObject *const_str_plain_FINAL_KAF;
extern PyObject *const_str_plain___module__;
static PyObject *const_int_pos_246;
extern PyObject *const_float_0_01;
static PyObject *const_str_plain_NORMAL_TSADI;
static PyObject *const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple;
static PyObject *const_str_plain_finalsub;
extern PyObject *const_str_plain_byte_str;
extern PyObject *const_int_pos_1;
static PyObject *const_str_plain_modelsub;
extern PyObject *const_str_plain_language;
static PyObject *const_str_plain_is_final;
extern PyObject *const_str_plain_set_model_probers;
static PyObject *const_str_plain_VISUAL_HEBREW_NAME;
static PyObject *const_str_digest_b40547ff3e367913832566f2d2cbe3a8;
extern PyObject *const_str_plain_state;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_str_plain_CharSetProber;
extern PyObject *const_str_plain_self;
static PyObject *const_str_plain__final_char_logical_score;
static PyObject *const_str_digest_9e1181ab6ea4c25dee78e0138f47e0f6;
static PyObject *const_str_digest_abcadc1f607f9b06a68d7ca4ee92db9c;
static PyObject *const_str_digest_56a8672660b4a141f4e2a78928417478;
extern PyObject *const_tuple_str_plain_CharSetProber_tuple;
static PyObject *const_tuple_str_plain_self_str_plain_c_tuple;
extern PyObject *const_str_plain_property;
extern PyObject *const_str_plain_feed;
extern PyObject *const_float_0_0;
static PyObject *const_str_digest_14f102c3ce6a0634839dc0e5cd8fff27;
static PyObject *const_int_pos_235;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_int_pos_234 = PyLong_FromUnsignedLong( 234ul );
const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple, 1, const_str_plain_byte_str ); Py_INCREF( const_str_plain_byte_str );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple, 2, const_str_plain_cur ); Py_INCREF( const_str_plain_cur );
const_str_digest_723ce77ec5091454a5505c16254ad609 = UNSTREAM_STRING( &constant_bin[ 236845 ], 21, 0 );
const_str_digest_32e3f9deba4abdf9178e540d70ea5c82 = UNSTREAM_STRING( &constant_bin[ 236866 ], 20, 0 );
const_str_plain_NORMAL_NUN = UNSTREAM_STRING( &constant_bin[ 236886 ], 10, 1 );
const_str_digest_30633a10f6deb6a6876705939cda465b = UNSTREAM_STRING( &constant_bin[ 236896 ], 29, 0 );
const_str_plain_NORMAL_PE = UNSTREAM_STRING( &constant_bin[ 236925 ], 9, 1 );
const_int_pos_245 = PyLong_FromUnsignedLong( 245ul );
const_str_digest_91cee6c425a73ef9c0c06aacb37a2dff = UNSTREAM_STRING( &constant_bin[ 236934 ], 21, 0 );
const_str_plain__visual_prober = UNSTREAM_STRING( &constant_bin[ 236955 ], 14, 1 );
const_str_plain_logicalProber = UNSTREAM_STRING( &constant_bin[ 236969 ], 13, 1 );
const_str_plain_FINAL_MEM = UNSTREAM_STRING( &constant_bin[ 236982 ], 9, 1 );
const_str_plain__final_char_visual_score = UNSTREAM_STRING( &constant_bin[ 236991 ], 24, 1 );
const_str_digest_d4107305f70d36a0be4fdc48750301b0 = UNSTREAM_STRING( &constant_bin[ 237015 ], 10, 0 );
const_int_pos_237 = PyLong_FromUnsignedLong( 237ul );
const_str_plain_FINAL_TSADI = UNSTREAM_STRING( &constant_bin[ 237025 ], 11, 1 );
const_str_plain_FINAL_PE = UNSTREAM_STRING( &constant_bin[ 237036 ], 8, 1 );
const_str_plain_visualProber = UNSTREAM_STRING( &constant_bin[ 237044 ], 12, 1 );
const_str_digest_ef99da23d853bee2130263e5348ad318 = UNSTREAM_STRING( &constant_bin[ 237056 ], 18, 0 );
const_str_plain_is_non_final = UNSTREAM_STRING( &constant_bin[ 237074 ], 12, 1 );
const_str_plain_MIN_FINAL_CHAR_DISTANCE = UNSTREAM_STRING( &constant_bin[ 237086 ], 23, 1 );
const_str_plain__prev = UNSTREAM_STRING( &constant_bin[ 127482 ], 5, 1 );
const_str_plain_FINAL_NUN = UNSTREAM_STRING( &constant_bin[ 237109 ], 9, 1 );
const_str_plain__before_prev = UNSTREAM_STRING( &constant_bin[ 237118 ], 12, 1 );
const_str_plain_NORMAL_MEM = UNSTREAM_STRING( &constant_bin[ 237130 ], 10, 1 );
const_str_plain_MIN_MODEL_DISTANCE = UNSTREAM_STRING( &constant_bin[ 237140 ], 18, 1 );
const_str_plain_LOGICAL_HEBREW_NAME = UNSTREAM_STRING( &constant_bin[ 237158 ], 19, 1 );
const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
const_str_plain_finalsub = UNSTREAM_STRING( &constant_bin[ 237177 ], 8, 1 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple, 1, const_str_plain_finalsub ); Py_INCREF( const_str_plain_finalsub );
const_str_plain_modelsub = UNSTREAM_STRING( &constant_bin[ 237185 ], 8, 1 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple, 2, const_str_plain_modelsub ); Py_INCREF( const_str_plain_modelsub );
const_str_digest_c89a7ea693cdf82bc8ab92bc6aad3987 = UNSTREAM_STRING( &constant_bin[ 237193 ], 17, 0 );
const_str_plain__logical_prober = UNSTREAM_STRING( &constant_bin[ 237210 ], 15, 1 );
const_str_digest_317ee7358cbc8021789b1868ebd9b4e0 = UNSTREAM_STRING( &constant_bin[ 237225 ], 25, 0 );
const_int_pos_238 = PyLong_FromUnsignedLong( 238ul );
const_str_plain_NORMAL_KAF = UNSTREAM_STRING( &constant_bin[ 237250 ], 10, 1 );
const_str_plain_FINAL_KAF = UNSTREAM_STRING( &constant_bin[ 237260 ], 9, 1 );
const_int_pos_246 = PyLong_FromUnsignedLong( 246ul );
const_str_plain_NORMAL_TSADI = UNSTREAM_STRING( &constant_bin[ 237269 ], 12, 1 );
const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple, 1, const_str_plain_logicalProber ); Py_INCREF( const_str_plain_logicalProber );
PyTuple_SET_ITEM( const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple, 2, const_str_plain_visualProber ); Py_INCREF( const_str_plain_visualProber );
const_str_plain_is_final = UNSTREAM_STRING( &constant_bin[ 236947 ], 8, 1 );
const_str_plain_VISUAL_HEBREW_NAME = UNSTREAM_STRING( &constant_bin[ 237281 ], 18, 1 );
const_str_digest_b40547ff3e367913832566f2d2cbe3a8 = UNSTREAM_STRING( &constant_bin[ 237299 ], 21, 0 );
const_str_plain__final_char_logical_score = UNSTREAM_STRING( &constant_bin[ 237320 ], 25, 1 );
const_str_digest_9e1181ab6ea4c25dee78e0138f47e0f6 = UNSTREAM_STRING( &constant_bin[ 237345 ], 18, 0 );
const_str_digest_abcadc1f607f9b06a68d7ca4ee92db9c = UNSTREAM_STRING( &constant_bin[ 237363 ], 25, 0 );
const_str_digest_56a8672660b4a141f4e2a78928417478 = UNSTREAM_STRING( &constant_bin[ 237388 ], 30, 0 );
const_tuple_str_plain_self_str_plain_c_tuple = PyTuple_New( 2 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_c_tuple, 1, const_str_plain_c ); Py_INCREF( const_str_plain_c );
const_str_digest_14f102c3ce6a0634839dc0e5cd8fff27 = UNSTREAM_STRING( &constant_bin[ 237418 ], 56, 0 );
const_int_pos_235 = PyLong_FromUnsignedLong( 235ul );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_chardet$hebrewprober( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_181108211f805545567476502f169246;
static PyCodeObject *codeobj_845bd83f01365bc8cd4f77c3e72e2013;
static PyCodeObject *codeobj_2f25e5bea2c3b44a6cd8e31b6d642838;
static PyCodeObject *codeobj_479292cc2afc5b76185045b22565b455;
static PyCodeObject *codeobj_56e7c127b0dc88fca3a4501d84dd4d38;
static PyCodeObject *codeobj_9d8d782e2ce2d33fc9e6c9ee56f07cb0;
static PyCodeObject *codeobj_c35ea9d71ac8078fa0a79a4187f21412;
static PyCodeObject *codeobj_d6f8e10e106f65e6e4f562d88ac29844;
static PyCodeObject *codeobj_73bc947e958810f447f5d9eabc2ac99f;
static PyCodeObject *codeobj_731ae6d36828860d057262775fc17e8d;
static PyCodeObject *codeobj_0876e15cc3ad30fa8f18a664761cbbd1;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_14f102c3ce6a0634839dc0e5cd8fff27;
codeobj_181108211f805545567476502f169246 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_30633a10f6deb6a6876705939cda465b, 1, const_tuple_empty, 0, 0, CO_NOFREE );
codeobj_845bd83f01365bc8cd4f77c3e72e2013 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HebrewProber, 128, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
codeobj_2f25e5bea2c3b44a6cd8e31b6d642838 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 154, const_tuple_str_plain_self_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS );
codeobj_479292cc2afc5b76185045b22565b455 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_charset_name, 255, const_tuple_str_plain_self_str_plain_finalsub_str_plain_modelsub_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_56e7c127b0dc88fca3a4501d84dd4d38 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_feed, 196, const_tuple_str_plain_self_str_plain_byte_str_str_plain_cur_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_9d8d782e2ce2d33fc9e6c9ee56f07cb0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_final, 178, const_tuple_str_plain_self_str_plain_c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_c35ea9d71ac8078fa0a79a4187f21412 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_non_final, 182, const_tuple_str_plain_self_str_plain_c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_d6f8e10e106f65e6e4f562d88ac29844 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_language, 282, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_73bc947e958810f447f5d9eabc2ac99f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 164, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_731ae6d36828860d057262775fc17e8d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_model_probers, 174, const_tuple_43f66a8ef7d8cd73a8c1fa36a673dc42_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_0876e15cc3ad30fa8f18a664761cbbd1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_state, 286, 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$hebrewprober$$$function_1___init__( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_2_reset( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_3_set_model_probers( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_4_is_final( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_5_is_non_final( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_6_feed( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_7_charset_name( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_8_language( );
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_9_state( );
// The module function definitions.
static PyObject *impl_chardet$hebrewprober$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_2f25e5bea2c3b44a6cd8e31b6d642838;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_2f25e5bea2c3b44a6cd8e31b6d642838 = 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_2f25e5bea2c3b44a6cd8e31b6d642838, codeobj_2f25e5bea2c3b44a6cd8e31b6d642838, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *) );
frame_2f25e5bea2c3b44a6cd8e31b6d642838 = cache_frame_2f25e5bea2c3b44a6cd8e31b6d642838;
// Push the new frame as the currently active one.
pushFrameStack( frame_2f25e5bea2c3b44a6cd8e31b6d642838 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_2f25e5bea2c3b44a6cd8e31b6d642838 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_object_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_HebrewProber );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HebrewProber );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HebrewProber" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 155;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_type_name_1 = tmp_mvar_value_1;
CHECK_OBJECT( par_self );
tmp_object_name_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 155;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
frame_2f25e5bea2c3b44a6cd8e31b6d642838->m_frame.f_lineno = 155;
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 155;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_name_1 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 156;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__final_char_logical_score, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 156;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_name_2 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 157;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__final_char_visual_score, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 157;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_name_3 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 158;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__prev, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 158;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_name_4 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 159;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__before_prev, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 159;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_name_5 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 160;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__logical_prober, tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 160;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_name_6 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 161;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain__visual_prober, tmp_assattr_name_6 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 161;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 162;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = par_self;
frame_2f25e5bea2c3b44a6cd8e31b6d642838->m_frame.f_lineno = 162;
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_reset );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 162;
type_description_1 = "oN";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_2f25e5bea2c3b44a6cd8e31b6d642838 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_2f25e5bea2c3b44a6cd8e31b6d642838 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_2f25e5bea2c3b44a6cd8e31b6d642838, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_2f25e5bea2c3b44a6cd8e31b6d642838->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_2f25e5bea2c3b44a6cd8e31b6d642838, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_2f25e5bea2c3b44a6cd8e31b6d642838,
type_description_1,
par_self,
NULL
);
// Release cached frame.
if ( frame_2f25e5bea2c3b44a6cd8e31b6d642838 == cache_frame_2f25e5bea2c3b44a6cd8e31b6d642838 )
{
Py_DECREF( frame_2f25e5bea2c3b44a6cd8e31b6d642838 );
}
cache_frame_2f25e5bea2c3b44a6cd8e31b6d642838 = NULL;
assertFrameObject( frame_2f25e5bea2c3b44a6cd8e31b6d642838 );
// 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$hebrewprober$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( chardet$hebrewprober$$$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$hebrewprober$$$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_73bc947e958810f447f5d9eabc2ac99f;
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_73bc947e958810f447f5d9eabc2ac99f = 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_73bc947e958810f447f5d9eabc2ac99f, codeobj_73bc947e958810f447f5d9eabc2ac99f, module_chardet$hebrewprober, sizeof(void *) );
frame_73bc947e958810f447f5d9eabc2ac99f = cache_frame_73bc947e958810f447f5d9eabc2ac99f;
// Push the new frame as the currently active one.
pushFrameStack( frame_73bc947e958810f447f5d9eabc2ac99f );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_73bc947e958810f447f5d9eabc2ac99f ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_name_1 = const_int_0;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__final_char_logical_score, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 165;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_name_2 = const_int_0;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 166;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__final_char_visual_score, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 166;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_name_3 = const_str_space;
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 = 170;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__prev, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 170;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_name_4 = const_str_space;
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 = 171;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__before_prev, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 171;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_73bc947e958810f447f5d9eabc2ac99f );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_73bc947e958810f447f5d9eabc2ac99f );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_73bc947e958810f447f5d9eabc2ac99f, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_73bc947e958810f447f5d9eabc2ac99f->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_73bc947e958810f447f5d9eabc2ac99f, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_73bc947e958810f447f5d9eabc2ac99f,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_73bc947e958810f447f5d9eabc2ac99f == cache_frame_73bc947e958810f447f5d9eabc2ac99f )
{
Py_DECREF( frame_73bc947e958810f447f5d9eabc2ac99f );
}
cache_frame_73bc947e958810f447f5d9eabc2ac99f = NULL;
assertFrameObject( frame_73bc947e958810f447f5d9eabc2ac99f );
// 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$hebrewprober$$$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$hebrewprober$$$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$hebrewprober$$$function_3_set_model_probers( 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_logicalProber = python_pars[ 1 ];
PyObject *par_visualProber = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_731ae6d36828860d057262775fc17e8d;
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_731ae6d36828860d057262775fc17e8d = 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_731ae6d36828860d057262775fc17e8d, codeobj_731ae6d36828860d057262775fc17e8d, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_731ae6d36828860d057262775fc17e8d = cache_frame_731ae6d36828860d057262775fc17e8d;
// Push the new frame as the currently active one.
pushFrameStack( frame_731ae6d36828860d057262775fc17e8d );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_731ae6d36828860d057262775fc17e8d ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( par_logicalProber );
tmp_assattr_name_1 = par_logicalProber;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__logical_prober, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 175;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_visualProber == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "visualProber" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 176;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_visualProber;
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 = 176;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__visual_prober, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 176;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_731ae6d36828860d057262775fc17e8d );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_731ae6d36828860d057262775fc17e8d );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_731ae6d36828860d057262775fc17e8d, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_731ae6d36828860d057262775fc17e8d->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_731ae6d36828860d057262775fc17e8d, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_731ae6d36828860d057262775fc17e8d,
type_description_1,
par_self,
par_logicalProber,
par_visualProber
);
// Release cached frame.
if ( frame_731ae6d36828860d057262775fc17e8d == cache_frame_731ae6d36828860d057262775fc17e8d )
{
Py_DECREF( frame_731ae6d36828860d057262775fc17e8d );
}
cache_frame_731ae6d36828860d057262775fc17e8d = NULL;
assertFrameObject( frame_731ae6d36828860d057262775fc17e8d );
// 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$hebrewprober$$$function_3_set_model_probers );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_logicalProber );
par_logicalProber = NULL;
}
{
Py_XDECREF( par_visualProber );
par_visualProber = 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_logicalProber );
par_logicalProber = NULL;
}
{
Py_XDECREF( par_visualProber );
par_visualProber = 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$hebrewprober$$$function_3_set_model_probers );
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$hebrewprober$$$function_4_is_final( 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_c = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 = 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_9d8d782e2ce2d33fc9e6c9ee56f07cb0, codeobj_9d8d782e2ce2d33fc9e6c9ee56f07cb0, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *) );
frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 = cache_frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0;
// Push the new frame as the currently active one.
pushFrameStack( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_list_element_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
CHECK_OBJECT( par_c );
tmp_compexpr_left_1 = par_c;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_FINAL_KAF );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = PyList_New( 5 );
PyList_SET_ITEM( tmp_compexpr_right_1, 0, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_FINAL_MEM );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 1, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_FINAL_NUN );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 2, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_FINAL_PE );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 3, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_FINAL_TSADI );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 180;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 4, tmp_list_element_1 );
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 179;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False;
Py_INCREF( tmp_return_value );
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0,
type_description_1,
par_self,
par_c
);
// Release cached frame.
if ( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 == cache_frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 )
{
Py_DECREF( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
}
cache_frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 = NULL;
assertFrameObject( frame_9d8d782e2ce2d33fc9e6c9ee56f07cb0 );
// 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$hebrewprober$$$function_4_is_final );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_c );
par_c = 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_c );
par_c = 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$hebrewprober$$$function_4_is_final );
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$hebrewprober$$$function_5_is_non_final( 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_c = python_pars[ 1 ];
struct Nuitka_FrameObject *frame_c35ea9d71ac8078fa0a79a4187f21412;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_c35ea9d71ac8078fa0a79a4187f21412 = 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_c35ea9d71ac8078fa0a79a4187f21412, codeobj_c35ea9d71ac8078fa0a79a4187f21412, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *) );
frame_c35ea9d71ac8078fa0a79a4187f21412 = cache_frame_c35ea9d71ac8078fa0a79a4187f21412;
// Push the new frame as the currently active one.
pushFrameStack( frame_c35ea9d71ac8078fa0a79a4187f21412 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_c35ea9d71ac8078fa0a79a4187f21412 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_list_element_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
CHECK_OBJECT( par_c );
tmp_compexpr_left_1 = par_c;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_NORMAL_KAF );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 193;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_1 = PyList_New( 4 );
PyList_SET_ITEM( tmp_compexpr_right_1, 0, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 193;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_NORMAL_MEM );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 193;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 1, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 194;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_NORMAL_NUN );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 194;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 2, tmp_list_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_compexpr_right_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 = 194;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_NORMAL_PE );
if ( tmp_list_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_right_1 );
exception_lineno = 194;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
PyList_SET_ITEM( tmp_compexpr_right_1, 3, tmp_list_element_1 );
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 193;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False;
Py_INCREF( tmp_return_value );
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_c35ea9d71ac8078fa0a79a4187f21412 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_c35ea9d71ac8078fa0a79a4187f21412 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_c35ea9d71ac8078fa0a79a4187f21412 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_c35ea9d71ac8078fa0a79a4187f21412, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_c35ea9d71ac8078fa0a79a4187f21412->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_c35ea9d71ac8078fa0a79a4187f21412, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_c35ea9d71ac8078fa0a79a4187f21412,
type_description_1,
par_self,
par_c
);
// Release cached frame.
if ( frame_c35ea9d71ac8078fa0a79a4187f21412 == cache_frame_c35ea9d71ac8078fa0a79a4187f21412 )
{
Py_DECREF( frame_c35ea9d71ac8078fa0a79a4187f21412 );
}
cache_frame_c35ea9d71ac8078fa0a79a4187f21412 = NULL;
assertFrameObject( frame_c35ea9d71ac8078fa0a79a4187f21412 );
// 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$hebrewprober$$$function_5_is_non_final );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_c );
par_c = 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_c );
par_c = 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$hebrewprober$$$function_5_is_non_final );
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$hebrewprober$$$function_6_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_byte_str = python_pars[ 1 ];
PyObject *var_cur = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_inplace_assign_attr_1__end = NULL;
PyObject *tmp_inplace_assign_attr_1__start = NULL;
PyObject *tmp_inplace_assign_attr_2__end = NULL;
PyObject *tmp_inplace_assign_attr_2__start = NULL;
PyObject *tmp_inplace_assign_attr_3__end = NULL;
PyObject *tmp_inplace_assign_attr_3__start = NULL;
struct Nuitka_FrameObject *frame_56e7c127b0dc88fca3a4501d84dd4d38;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
static struct Nuitka_FrameObject *cache_frame_56e7c127b0dc88fca3a4501d84dd4d38 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_56e7c127b0dc88fca3a4501d84dd4d38, codeobj_56e7c127b0dc88fca3a4501d84dd4d38, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_56e7c127b0dc88fca3a4501d84dd4d38 = cache_frame_56e7c127b0dc88fca3a4501d84dd4d38;
// Push the new frame as the currently active one.
pushFrameStack( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_56e7c127b0dc88fca3a4501d84dd4d38 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_mvar_value_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_state );
if ( tmp_compexpr_left_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (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 )
{
Py_DECREF( tmp_compexpr_left_1 );
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 = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_2 = tmp_mvar_value_1;
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_NOT_ME );
if ( tmp_compexpr_right_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_left_1 );
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
Py_DECREF( tmp_compexpr_left_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_source_name_3;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState );
}
if ( tmp_mvar_value_2 == 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 = 225;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = tmp_mvar_value_2;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_NOT_ME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 225;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_4;
PyObject *tmp_args_element_name_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 227;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_filter_high_byte_only );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 227;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_byte_str == 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", "byte_str" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 227;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_byte_str;
frame_56e7c127b0dc88fca3a4501d84dd4d38->m_frame.f_lineno = 227;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 227;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_byte_str;
par_byte_str = tmp_assign_source_1;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT( par_byte_str );
tmp_iter_arg_1 = par_byte_str;
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 229;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( tmp_for_loop_1__for_iterator == NULL );
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
{
// Tried code:
{
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
if ( tmp_assign_source_3 == NULL )
{
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
{
goto loop_end_1;
}
else
{
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
exception_lineno = 229;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT( tmp_for_loop_1__iter_value );
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_cur;
var_cur = tmp_assign_source_4;
Py_INCREF( var_cur );
Py_XDECREF( old );
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
CHECK_OBJECT( var_cur );
tmp_compexpr_left_2 = var_cur;
tmp_compexpr_right_2 = const_str_space;
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 = 230;
type_description_1 = "ooo";
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:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
PyObject *tmp_source_name_5;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 232;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_5 = par_self;
tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__before_prev );
if ( tmp_compexpr_left_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 232;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_compexpr_right_3 = const_str_space;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
Py_DECREF( tmp_compexpr_left_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 232;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_6;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_source_name_7;
int tmp_truth_name_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_6 = par_self;
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_is_final );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if ( par_self == 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", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_7 = par_self;
tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__prev );
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 = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_56e7c127b0dc88fca3a4501d84dd4d38->m_frame.f_lineno = 235;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_call_result_1 = 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_call_result_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_call_result_1 );
exception_lineno = 235;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_call_result_1 );
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_source_name_8;
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 = 237;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_8 = par_self;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__final_char_logical_score );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 237;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_inplace_assign_attr_1__start;
tmp_inplace_assign_attr_1__start = tmp_assign_source_5;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
CHECK_OBJECT( tmp_inplace_assign_attr_1__start );
tmp_left_name_1 = tmp_inplace_assign_attr_1__start;
tmp_right_name_1 = const_int_pos_1;
tmp_assign_source_6 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 237;
type_description_1 = "ooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_inplace_assign_attr_1__end;
tmp_inplace_assign_attr_1__end = tmp_assign_source_6;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( tmp_inplace_assign_attr_1__end );
tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 237;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__final_char_logical_score, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 237;
type_description_1 = "ooo";
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end );
Py_DECREF( tmp_inplace_assign_attr_1__end );
tmp_inplace_assign_attr_1__end = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
}
// End of try:
try_end_1:;
}
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start );
Py_DECREF( tmp_inplace_assign_attr_1__start );
tmp_inplace_assign_attr_1__start = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end );
Py_DECREF( tmp_inplace_assign_attr_1__end );
tmp_inplace_assign_attr_1__end = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start );
Py_DECREF( tmp_inplace_assign_attr_1__start );
tmp_inplace_assign_attr_1__start = NULL;
}
goto branch_end_4;
branch_no_4:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_9;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_source_name_10;
int tmp_truth_name_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_9 = par_self;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_is_non_final );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if ( par_self == 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", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_10 = par_self;
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain__prev );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_56e7c127b0dc88fca3a4501d84dd4d38->m_frame.f_lineno = 238;
{
PyObject *call_args[] = { tmp_args_element_name_3 };
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_call_result_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_2 );
if ( tmp_truth_name_2 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_call_result_2 );
exception_lineno = 238;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_5 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_call_result_2 );
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_5;
}
else
{
goto branch_no_5;
}
branch_yes_5:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_source_name_11;
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 = 241;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_11 = par_self;
tmp_assign_source_7 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__final_char_visual_score );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 241;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_inplace_assign_attr_2__start;
tmp_inplace_assign_attr_2__start = tmp_assign_source_7;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
CHECK_OBJECT( tmp_inplace_assign_attr_2__start );
tmp_left_name_2 = tmp_inplace_assign_attr_2__start;
tmp_right_name_2 = const_int_pos_1;
tmp_assign_source_8 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 );
if ( tmp_assign_source_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 241;
type_description_1 = "ooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_inplace_assign_attr_2__end;
tmp_inplace_assign_attr_2__end = tmp_assign_source_8;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT( tmp_inplace_assign_attr_2__end );
tmp_assattr_name_2 = tmp_inplace_assign_attr_2__end;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 241;
type_description_1 = "ooo";
goto try_except_handler_6;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__final_char_visual_score, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 241;
type_description_1 = "ooo";
goto try_except_handler_6;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end );
Py_DECREF( tmp_inplace_assign_attr_2__end );
tmp_inplace_assign_attr_2__end = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_5;
}
// End of try:
try_end_3:;
}
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start );
Py_DECREF( tmp_inplace_assign_attr_2__start );
tmp_inplace_assign_attr_2__start = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
}
// End of try:
try_end_4:;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end );
Py_DECREF( tmp_inplace_assign_attr_2__end );
tmp_inplace_assign_attr_2__end = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start );
Py_DECREF( tmp_inplace_assign_attr_2__start );
tmp_inplace_assign_attr_2__start = NULL;
}
branch_no_5:;
}
branch_end_4:;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_6;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_compexpr_left_4;
PyObject *tmp_compexpr_right_4;
PyObject *tmp_source_name_12;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_13;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_source_name_14;
int tmp_truth_name_3;
PyObject *tmp_compexpr_left_5;
PyObject *tmp_compexpr_right_5;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 244;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_12 = par_self;
tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain__before_prev );
if ( tmp_compexpr_left_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 244;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_compexpr_right_4 = const_str_space;
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 );
Py_DECREF( tmp_compexpr_left_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 244;
type_description_1 = "ooo";
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 ( 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 = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_13 = par_self;
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_is_final );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_4 );
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 = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_14 = par_self;
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain__prev );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_56e7c127b0dc88fca3a4501d84dd4d38->m_frame.f_lineno = 245;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_call_result_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_call_result_3 );
if ( tmp_truth_name_3 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_call_result_3 );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_and_left_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF( tmp_call_result_3 );
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_cur == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cur" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_compexpr_left_5 = var_cur;
tmp_compexpr_right_5 = const_str_space;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 245;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_and_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_6 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_6 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_6;
}
else
{
goto branch_no_6;
}
branch_yes_6:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_source_name_15;
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 = 247;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_15 = par_self;
tmp_assign_source_9 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain__final_char_visual_score );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 247;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_inplace_assign_attr_3__start;
tmp_inplace_assign_attr_3__start = tmp_assign_source_9;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
CHECK_OBJECT( tmp_inplace_assign_attr_3__start );
tmp_left_name_3 = tmp_inplace_assign_attr_3__start;
tmp_right_name_3 = const_int_pos_1;
tmp_assign_source_10 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_3, tmp_right_name_3 );
if ( tmp_assign_source_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 247;
type_description_1 = "ooo";
goto try_except_handler_7;
}
{
PyObject *old = tmp_inplace_assign_attr_3__end;
tmp_inplace_assign_attr_3__end = tmp_assign_source_10;
Py_XDECREF( old );
}
}
{
// Tried code:
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT( tmp_inplace_assign_attr_3__end );
tmp_assattr_name_3 = tmp_inplace_assign_attr_3__end;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 247;
type_description_1 = "ooo";
goto try_except_handler_8;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__final_char_visual_score, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 247;
type_description_1 = "ooo";
goto try_except_handler_8;
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__end );
Py_DECREF( tmp_inplace_assign_attr_3__end );
tmp_inplace_assign_attr_3__end = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_7;
}
// End of try:
try_end_5:;
}
goto try_end_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__start );
Py_DECREF( tmp_inplace_assign_attr_3__start );
tmp_inplace_assign_attr_3__start = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_2;
}
// End of try:
try_end_6:;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__end );
Py_DECREF( tmp_inplace_assign_attr_3__end );
tmp_inplace_assign_attr_3__end = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__start );
Py_DECREF( tmp_inplace_assign_attr_3__start );
tmp_inplace_assign_attr_3__start = NULL;
}
branch_no_6:;
}
branch_end_2:;
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_source_name_16;
PyObject *tmp_assattr_target_4;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 248;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_source_name_16 = par_self;
tmp_assattr_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain__prev );
if ( tmp_assattr_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 248;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_4 );
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 = 248;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__before_prev, tmp_assattr_name_4 );
Py_DECREF( tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 248;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_assattr_target_5;
if ( var_cur == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cur" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 249;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assattr_name_5 = var_cur;
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 = 249;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__prev, tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 249;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
if ( CONSIDER_THREADING() == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 229;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
}
goto try_end_7;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_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_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
}
// End of try:
try_end_7:;
}
{
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;
}
{
PyObject *tmp_source_name_17;
PyObject *tmp_mvar_value_3;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState );
}
if ( tmp_mvar_value_3 == 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 = 253;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_17 = tmp_mvar_value_3;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_DETECTING );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 253;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_56e7c127b0dc88fca3a4501d84dd4d38, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_56e7c127b0dc88fca3a4501d84dd4d38->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_56e7c127b0dc88fca3a4501d84dd4d38, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_56e7c127b0dc88fca3a4501d84dd4d38,
type_description_1,
par_self,
par_byte_str,
var_cur
);
// Release cached frame.
if ( frame_56e7c127b0dc88fca3a4501d84dd4d38 == cache_frame_56e7c127b0dc88fca3a4501d84dd4d38 )
{
Py_DECREF( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
}
cache_frame_56e7c127b0dc88fca3a4501d84dd4d38 = NULL;
assertFrameObject( frame_56e7c127b0dc88fca3a4501d84dd4d38 );
// 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$hebrewprober$$$function_6_feed );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_byte_str );
par_byte_str = NULL;
}
{
Py_XDECREF( var_cur );
var_cur = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_byte_str );
par_byte_str = NULL;
}
{
Py_XDECREF( var_cur );
var_cur = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( chardet$hebrewprober$$$function_6_feed );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_chardet$hebrewprober$$$function_7_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 *var_finalsub = NULL;
PyObject *var_modelsub = NULL;
struct Nuitka_FrameObject *frame_479292cc2afc5b76185045b22565b455;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_479292cc2afc5b76185045b22565b455 = 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_479292cc2afc5b76185045b22565b455, codeobj_479292cc2afc5b76185045b22565b455, module_chardet$hebrewprober, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_479292cc2afc5b76185045b22565b455 = cache_frame_479292cc2afc5b76185045b22565b455;
// Push the new frame as the currently active one.
pushFrameStack( frame_479292cc2afc5b76185045b22565b455 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_479292cc2afc5b76185045b22565b455 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_left_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_source_name_2;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__final_char_logical_score );
if ( tmp_left_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 259;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_left_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 259;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__final_char_visual_score );
if ( tmp_right_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_left_name_1 );
exception_lineno = 259;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_left_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 259;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_finalsub == NULL );
var_finalsub = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_3;
CHECK_OBJECT( var_finalsub );
tmp_compexpr_left_1 = var_finalsub;
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 = 260;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_MIN_FINAL_CHAR_DISTANCE );
if ( tmp_compexpr_right_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 260;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 260;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_source_name_4;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 261;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_LOGICAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 261;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_5;
if ( var_finalsub == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "finalsub" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 262;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = var_finalsub;
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 = 262;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_MIN_FINAL_CHAR_DISTANCE );
if ( tmp_operand_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 262;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_2 = UNARY_OPERATION( PyNumber_Negative, tmp_operand_name_1 );
Py_DECREF( tmp_operand_name_1 );
if ( tmp_compexpr_right_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 262;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
Py_DECREF( tmp_compexpr_right_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 262;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_source_name_6;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 263;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_VISUAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 263;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_left_name_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_7;
PyObject *tmp_right_name_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_source_name_8;
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 = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_7 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__logical_prober );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_479292cc2afc5b76185045b22565b455->m_frame.f_lineno = 266;
tmp_left_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_confidence );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_left_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_left_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 267;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__visual_prober );
if ( tmp_called_instance_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_left_name_2 );
exception_lineno = 267;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_479292cc2afc5b76185045b22565b455->m_frame.f_lineno = 267;
tmp_right_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_get_confidence );
Py_DECREF( tmp_called_instance_2 );
if ( tmp_right_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_left_name_2 );
exception_lineno = 267;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_left_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_modelsub == NULL );
var_modelsub = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
PyObject *tmp_source_name_9;
CHECK_OBJECT( var_modelsub );
tmp_compexpr_left_3 = var_modelsub;
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 = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = par_self;
tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_MIN_MODEL_DISTANCE );
if ( tmp_compexpr_right_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_3, tmp_compexpr_right_3 );
Py_DECREF( tmp_compexpr_right_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_source_name_10;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 269;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_10 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_LOGICAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 269;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_3:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_compexpr_left_4;
PyObject *tmp_compexpr_right_4;
PyObject *tmp_operand_name_2;
PyObject *tmp_source_name_11;
if ( var_modelsub == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modelsub" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 270;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_4 = var_modelsub;
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 = 270;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_self;
tmp_operand_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_MIN_MODEL_DISTANCE );
if ( tmp_operand_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 270;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_4 = UNARY_OPERATION( PyNumber_Negative, tmp_operand_name_2 );
Py_DECREF( tmp_operand_name_2 );
if ( tmp_compexpr_right_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 270;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_4, tmp_compexpr_right_4 );
Py_DECREF( tmp_compexpr_right_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 270;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_source_name_12;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 271;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_12 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_VISUAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 271;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_4:;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_compexpr_left_5;
PyObject *tmp_compexpr_right_5;
if ( var_finalsub == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "finalsub" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 275;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_5 = var_finalsub;
tmp_compexpr_right_5 = const_float_0_0;
tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_5, tmp_compexpr_right_5 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 275;
type_description_1 = "ooo";
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_source_name_13;
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 = 276;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_13 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_VISUAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 276;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_5:;
}
{
PyObject *tmp_source_name_14;
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 = 280;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_LOGICAL_HEBREW_NAME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 280;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_479292cc2afc5b76185045b22565b455 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_479292cc2afc5b76185045b22565b455 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_479292cc2afc5b76185045b22565b455 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_479292cc2afc5b76185045b22565b455, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_479292cc2afc5b76185045b22565b455->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_479292cc2afc5b76185045b22565b455, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_479292cc2afc5b76185045b22565b455,
type_description_1,
par_self,
var_finalsub,
var_modelsub
);
// Release cached frame.
if ( frame_479292cc2afc5b76185045b22565b455 == cache_frame_479292cc2afc5b76185045b22565b455 )
{
Py_DECREF( frame_479292cc2afc5b76185045b22565b455 );
}
cache_frame_479292cc2afc5b76185045b22565b455 = NULL;
assertFrameObject( frame_479292cc2afc5b76185045b22565b455 );
// 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$hebrewprober$$$function_7_charset_name );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_finalsub );
var_finalsub = NULL;
}
{
Py_XDECREF( var_modelsub );
var_modelsub = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_finalsub );
var_finalsub = NULL;
}
{
Py_XDECREF( var_modelsub );
var_modelsub = 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$hebrewprober$$$function_7_charset_name );
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$hebrewprober$$$function_8_language( 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_str_plain_Hebrew;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( chardet$hebrewprober$$$function_8_language );
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$hebrewprober$$$function_8_language );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_chardet$hebrewprober$$$function_9_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_0876e15cc3ad30fa8f18a664761cbbd1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_0876e15cc3ad30fa8f18a664761cbbd1 = 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_0876e15cc3ad30fa8f18a664761cbbd1, codeobj_0876e15cc3ad30fa8f18a664761cbbd1, module_chardet$hebrewprober, sizeof(void *) );
frame_0876e15cc3ad30fa8f18a664761cbbd1 = cache_frame_0876e15cc3ad30fa8f18a664761cbbd1;
// Push the new frame as the currently active one.
pushFrameStack( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_0876e15cc3ad30fa8f18a664761cbbd1 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_mvar_value_1;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_mvar_value_2;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__logical_prober );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 289;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_state );
Py_DECREF( tmp_source_name_1 );
if ( tmp_compexpr_left_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 289;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (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 )
{
Py_DECREF( tmp_compexpr_left_1 );
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 = 289;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_3 = tmp_mvar_value_1;
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_NOT_ME );
if ( tmp_compexpr_right_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_left_1 );
exception_lineno = 289;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
Py_DECREF( tmp_compexpr_left_1 );
Py_DECREF( tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 289;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if ( tmp_and_left_truth_1 == 1 )
{
goto and_right_1;
}
else
{
goto and_left_1;
}
and_right_1:;
if ( 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 = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__visual_prober );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_state );
Py_DECREF( tmp_source_name_4 );
if ( tmp_compexpr_left_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_compexpr_left_2 );
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 = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_6 = tmp_mvar_value_2;
tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_NOT_ME );
if ( tmp_compexpr_right_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_compexpr_left_2 );
exception_lineno = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
Py_DECREF( tmp_compexpr_left_2 );
Py_DECREF( tmp_compexpr_right_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 290;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_source_name_7;
PyObject *tmp_mvar_value_3;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState );
}
if ( tmp_mvar_value_3 == 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 = 291;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_7 = tmp_mvar_value_3;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_NOT_ME );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 291;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
}
{
PyObject *tmp_source_name_8;
PyObject *tmp_mvar_value_4;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProbingState );
}
if ( tmp_mvar_value_4 == 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 = 292;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_8 = tmp_mvar_value_4;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_DETECTING );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 292;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_0876e15cc3ad30fa8f18a664761cbbd1, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_0876e15cc3ad30fa8f18a664761cbbd1->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_0876e15cc3ad30fa8f18a664761cbbd1, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_0876e15cc3ad30fa8f18a664761cbbd1,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_0876e15cc3ad30fa8f18a664761cbbd1 == cache_frame_0876e15cc3ad30fa8f18a664761cbbd1 )
{
Py_DECREF( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
}
cache_frame_0876e15cc3ad30fa8f18a664761cbbd1 = NULL;
assertFrameObject( frame_0876e15cc3ad30fa8f18a664761cbbd1 );
// 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$hebrewprober$$$function_9_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$hebrewprober$$$function_9_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 *MAKE_FUNCTION_chardet$hebrewprober$$$function_1___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_723ce77ec5091454a5505c16254ad609,
#endif
codeobj_2f25e5bea2c3b44a6cd8e31b6d642838,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_2_reset( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_2_reset,
const_str_plain_reset,
#if PYTHON_VERSION >= 300
const_str_digest_ef99da23d853bee2130263e5348ad318,
#endif
codeobj_73bc947e958810f447f5d9eabc2ac99f,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_3_set_model_probers( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_3_set_model_probers,
const_str_plain_set_model_probers,
#if PYTHON_VERSION >= 300
const_str_digest_56a8672660b4a141f4e2a78928417478,
#endif
codeobj_731ae6d36828860d057262775fc17e8d,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_4_is_final( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_4_is_final,
const_str_plain_is_final,
#if PYTHON_VERSION >= 300
const_str_digest_91cee6c425a73ef9c0c06aacb37a2dff,
#endif
codeobj_9d8d782e2ce2d33fc9e6c9ee56f07cb0,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_5_is_non_final( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_5_is_non_final,
const_str_plain_is_non_final,
#if PYTHON_VERSION >= 300
const_str_digest_abcadc1f607f9b06a68d7ca4ee92db9c,
#endif
codeobj_c35ea9d71ac8078fa0a79a4187f21412,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_6_feed( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_6_feed,
const_str_plain_feed,
#if PYTHON_VERSION >= 300
const_str_digest_c89a7ea693cdf82bc8ab92bc6aad3987,
#endif
codeobj_56e7c127b0dc88fca3a4501d84dd4d38,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_7_charset_name( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_7_charset_name,
const_str_plain_charset_name,
#if PYTHON_VERSION >= 300
const_str_digest_317ee7358cbc8021789b1868ebd9b4e0,
#endif
codeobj_479292cc2afc5b76185045b22565b455,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_8_language( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_8_language,
const_str_plain_language,
#if PYTHON_VERSION >= 300
const_str_digest_b40547ff3e367913832566f2d2cbe3a8,
#endif
codeobj_d6f8e10e106f65e6e4f562d88ac29844,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_chardet$hebrewprober$$$function_9_state( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_chardet$hebrewprober$$$function_9_state,
const_str_plain_state,
#if PYTHON_VERSION >= 300
const_str_digest_9e1181ab6ea4c25dee78e0138f47e0f6,
#endif
codeobj_0876e15cc3ad30fa8f18a664761cbbd1,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_chardet$hebrewprober,
NULL,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_chardet$hebrewprober =
{
PyModuleDef_HEAD_INIT,
"chardet.hebrewprober", /* 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$hebrewprober )
{
#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$hebrewprober );
}
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.hebrewprober: 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.hebrewprober: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("chardet.hebrewprober: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in initchardet$hebrewprober" );
// 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$hebrewprober = Py_InitModule4(
"chardet.hebrewprober", // 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$hebrewprober = PyModule_Create( &mdef_chardet$hebrewprober );
#endif
moduledict_chardet$hebrewprober = MODULE_DICT( module_chardet$hebrewprober );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_chardet$hebrewprober,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (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$hebrewprober,
(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$hebrewprober, (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$hebrewprober,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_chardet$hebrewprober );
// 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_32e3f9deba4abdf9178e540d70ea5c82, module_chardet$hebrewprober );
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$hebrewprober, (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$hebrewprober, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_chardet$hebrewprober, (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$hebrewprober, (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$hebrewprober, (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__bases_orig = 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_181108211f805545567476502f169246;
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$hebrewprober_128 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_845bd83f01365bc8cd4f77c3e72e2013_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_845bd83f01365bc8cd4f77c3e72e2013_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$hebrewprober, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_14f102c3ce6a0634839dc0e5cd8fff27;
UPDATE_STRING_DICT0( moduledict_chardet$hebrewprober, (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$hebrewprober, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
// Frame without reuse.
frame_181108211f805545567476502f169246 = MAKE_MODULE_FRAME( codeobj_181108211f805545567476502f169246, module_chardet$hebrewprober );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_181108211f805545567476502f169246 );
assert( Py_REFCNT( frame_181108211f805545567476502f169246 ) == 2 );
// Framed code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_import_name_from_1;
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_charsetprober;
tmp_globals_name_1 = (PyObject *)moduledict_chardet$hebrewprober;
tmp_locals_name_1 = Py_None;
tmp_fromlist_name_1 = const_tuple_str_plain_CharSetProber_tuple;
tmp_level_name_1 = const_int_pos_1;
frame_181108211f805545567476502f169246->m_frame.f_lineno = 28;
tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
if ( tmp_import_name_from_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 28;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_1 ) )
{
tmp_assign_source_4 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)MODULE_DICT(tmp_import_name_from_1),
const_str_plain_CharSetProber,
const_int_pos_1
);
}
else
{
tmp_assign_source_4 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_CharSetProber );
}
Py_DECREF( tmp_import_name_from_1 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 28;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_CharSetProber, tmp_assign_source_4 );
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_2;
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_enums;
tmp_globals_name_2 = (PyObject *)moduledict_chardet$hebrewprober;
tmp_locals_name_2 = Py_None;
tmp_fromlist_name_2 = const_tuple_str_plain_ProbingState_tuple;
tmp_level_name_2 = const_int_pos_1;
frame_181108211f805545567476502f169246->m_frame.f_lineno = 29;
tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
if ( tmp_import_name_from_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 29;
goto frame_exception_exit_1;
}
if ( PyModule_Check( tmp_import_name_from_2 ) )
{
tmp_assign_source_5 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)MODULE_DICT(tmp_import_name_from_2),
const_str_plain_ProbingState,
const_int_pos_1
);
}
else
{
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_ProbingState );
}
Py_DECREF( tmp_import_name_from_2 );
if ( tmp_assign_source_5 == 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$hebrewprober, (Nuitka_StringObject *)const_str_plain_ProbingState, tmp_assign_source_5 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_tuple_element_1;
PyObject *tmp_mvar_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_CharSetProber );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CharSetProber );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CharSetProber" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 128;
goto try_except_handler_1;
}
tmp_tuple_element_1 = tmp_mvar_value_1;
tmp_assign_source_6 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_assign_source_6, 0, tmp_tuple_element_1 );
assert( tmp_class_creation_1__bases_orig == NULL );
tmp_class_creation_1__bases_orig = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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 = 128;
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_2;
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 = 128;
goto try_except_handler_1;
}
tmp_tuple_element_2 = const_str_plain_HebrewProber;
tmp_args_name_1 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_2 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_2 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_2 );
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
frame_181108211f805545567476502f169246->m_frame.f_lineno = 128;
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 = 128;
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 = 128;
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_3;
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_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
if ( tmp_tuple_element_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 128;
goto try_except_handler_1;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
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_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
Py_DECREF( tmp_source_name_4 );
if ( tmp_tuple_element_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 128;
goto try_except_handler_1;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
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 = 128;
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 = 128;
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$hebrewprober_128 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_32e3f9deba4abdf9178e540d70ea5c82;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 128;
goto try_except_handler_3;
}
}
{
tmp_dictset_value = const_str_plain_HebrewProber;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 128;
goto try_except_handler_3;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_845bd83f01365bc8cd4f77c3e72e2013_2, codeobj_845bd83f01365bc8cd4f77c3e72e2013, module_chardet$hebrewprober, sizeof(void *) );
frame_845bd83f01365bc8cd4f77c3e72e2013_2 = cache_frame_845bd83f01365bc8cd4f77c3e72e2013_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_845bd83f01365bc8cd4f77c3e72e2013_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_845bd83f01365bc8cd4f77c3e72e2013_2 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = const_int_pos_234;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_FINAL_KAF, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 130;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_235;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_NORMAL_KAF, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 131;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_237;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_FINAL_MEM, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 132;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_238;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_NORMAL_MEM, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 133;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_239;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_FINAL_NUN, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 134;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_240;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_NORMAL_NUN, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 135;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_243;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_FINAL_PE, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 136;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_244;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_NORMAL_PE, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 137;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_245;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_FINAL_TSADI, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_246;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_NORMAL_TSADI, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_int_pos_5;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_MIN_FINAL_CHAR_DISTANCE, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 144;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_float_0_01;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_MIN_MODEL_DISTANCE, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 149;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_str_digest_d4107305f70d36a0be4fdc48750301b0;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_VISUAL_HEBREW_NAME, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 151;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = const_str_digest_9067f79f97483c0acb48964d9ff2d4d4;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_LOGICAL_HEBREW_NAME, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_1___init__( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 154;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_2_reset( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 164;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_3_set_model_probers( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_set_model_probers, 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 = 174;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_4_is_final( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_is_final, 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 = 178;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_5_is_non_final( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_is_non_final, 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 = 182;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_chardet$hebrewprober$$$function_6_feed( );
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 196;
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$hebrewprober_128, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 255;
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$hebrewprober_128, 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 = 255;
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 = 255;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_name_1 = MAKE_FUNCTION_chardet$hebrewprober$$$function_7_charset_name( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 255;
{
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 = 255;
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$hebrewprober$$$function_7_charset_name( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 255;
{
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 = 255;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 255;
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$hebrewprober_128, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 282;
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$hebrewprober_128, 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 = 282;
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 = 282;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_name_3 = MAKE_FUNCTION_chardet$hebrewprober$$$function_8_language( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 282;
{
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 = 282;
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$hebrewprober$$$function_8_language( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 282;
{
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 = 282;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_4:;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, const_str_plain_language, 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 = 282;
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_called_name_7;
PyObject *tmp_args_element_name_6;
tmp_res = MAPPING_HAS_ITEM( locals_chardet$hebrewprober_128, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 286;
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$hebrewprober_128, const_str_plain_property );
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", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 286;
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 = 286;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_name_5 = MAKE_FUNCTION_chardet$hebrewprober$$$function_9_state( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 286;
{
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 = 286;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_name_7 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_6 = MAKE_FUNCTION_chardet$hebrewprober$$$function_9_state( );
frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame.f_lineno = 286;
{
PyObject *call_args[] = { tmp_args_element_name_6 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
}
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 = 286;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 286;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_845bd83f01365bc8cd4f77c3e72e2013_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_845bd83f01365bc8cd4f77c3e72e2013_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_845bd83f01365bc8cd4f77c3e72e2013_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_845bd83f01365bc8cd4f77c3e72e2013_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_845bd83f01365bc8cd4f77c3e72e2013_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_845bd83f01365bc8cd4f77c3e72e2013_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_845bd83f01365bc8cd4f77c3e72e2013_2 == cache_frame_845bd83f01365bc8cd4f77c3e72e2013_2 )
{
Py_DECREF( frame_845bd83f01365bc8cd4f77c3e72e2013_2 );
}
cache_frame_845bd83f01365bc8cd4f77c3e72e2013_2 = NULL;
assertFrameObject( frame_845bd83f01365bc8cd4f77c3e72e2013_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_9;
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;
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig;
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 = 128;
goto try_except_handler_3;
}
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
tmp_dictset_value = tmp_class_creation_1__bases_orig;
tmp_res = PyObject_SetItem( locals_chardet$hebrewprober_128, 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 = 128;
goto try_except_handler_3;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_name_8;
PyObject *tmp_args_name_2;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kw_name_2;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_called_name_8 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = const_str_plain_HebrewProber;
tmp_args_name_2 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_4 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 );
tmp_tuple_element_4 = locals_chardet$hebrewprober_128;
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
frame_181108211f805545567476502f169246->m_frame.f_lineno = 128;
tmp_assign_source_13 = CALL_FUNCTION( tmp_called_name_8, 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 = 128;
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$hebrewprober );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_3:;
{
Py_DECREF( locals_chardet$hebrewprober_128 );
locals_chardet$hebrewprober_128 = 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$hebrewprober_128 );
locals_chardet$hebrewprober_128 = 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$hebrewprober );
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$hebrewprober );
return MOD_RETURN_VALUE( NULL );
outline_exception_1:;
exception_lineno = 128;
goto try_except_handler_1;
outline_result_1:;
UPDATE_STRING_DICT1( moduledict_chardet$hebrewprober, (Nuitka_StringObject *)const_str_plain_HebrewProber, 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_181108211f805545567476502f169246 );
#endif
popFrameStack();
assertFrameObject( frame_181108211f805545567476502f169246 );
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_181108211f805545567476502f169246 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_181108211f805545567476502f169246, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_181108211f805545567476502f169246->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_181108211f805545567476502f169246, 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$hebrewprober );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}