Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /nuitka/eggshell.build/ |
Upload File : |
/* Generated code for Python module 'simplejson'
* created by Nuitka version 1.3rc9
*
* This code is in part copyright 2022 Kay Hayen.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "nuitka/prelude.h"
#include "nuitka/unfreezing.h"
#include "__helpers.h"
/* The "module_simplejson" 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_simplejson;
PyDictObject *moduledict_simplejson;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[126];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[126];
#endif
static PyObject *module_filename_obj = NULL;
/* Indicator if this modules private constants were created yet. */
static bool constants_created = false;
/* Function to create module private constants. */
static void createModuleConstants(void) {
if (constants_created == false) {
loadConstantsBlob(&mod_consts[0], UNTRANSLATE("simplejson"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 126; i++) {
mod_consts_hash[i] = DEEP_HASH(mod_consts[i]);
}
#endif
}
}
// We want to be able to initialize the "__main__" constants in any case.
#if 0
void createMainModuleConstants(void) {
createModuleConstants();
}
#endif
/* Function to verify module private constants for non-corruption. */
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_simplejson(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 126; i++) {
assert(mod_consts_hash[i] == DEEP_HASH(mod_consts[i]));
CHECK_OBJECT_DEEP(mod_consts[i]);
}
}
#endif
// The module code objects.
static PyCodeObject *codeobj_0b59a642d2bce229f498050d31ab4943;
static PyCodeObject *codeobj_9493e4bc94619047618d407ce0c66dce;
static PyCodeObject *codeobj_9a2090f7dc7fd15b760a06833c4653cb;
static PyCodeObject *codeobj_fa115ed8b72f68267ecccb104d00313a;
static PyCodeObject *codeobj_dfb6bba4d7848ba374042e810ea5d9bb;
static PyCodeObject *codeobj_a2d079feffe220852eab3a306c491c40;
static PyCodeObject *codeobj_f588e37d8af750a364c1c3c8e7fe493b;
static PyCodeObject *codeobj_9cb38c576b11dca7939a1f0bc367faf1;
static PyCodeObject *codeobj_a31bd438d573261f2f05a079a6567fc9;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[80]; CHECK_OBJECT(module_filename_obj);
codeobj_0b59a642d2bce229f498050d31ab4943 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[118], mod_consts[118], NULL, NULL, 0, 0, 0);
codeobj_9493e4bc94619047618d407ce0c66dce = MAKE_CODE_OBJECT(module_filename_obj, 116, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[107], mod_consts[107], mod_consts[119], NULL, 0, 0, 0);
codeobj_9a2090f7dc7fd15b760a06833c4653cb = MAKE_CODE_OBJECT(module_filename_obj, 125, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[59], mod_consts[59], mod_consts[8], NULL, 0, 0, 0);
codeobj_fa115ed8b72f68267ecccb104d00313a = MAKE_CODE_OBJECT(module_filename_obj, 538, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[116], mod_consts[116], mod_consts[120], NULL, 1, 0, 0);
codeobj_dfb6bba4d7848ba374042e810ea5d9bb = MAKE_CODE_OBJECT(module_filename_obj, 152, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[111], mod_consts[111], mod_consts[121], NULL, 21, 0, 0);
codeobj_a2d079feffe220852eab3a306c491c40 = MAKE_CODE_OBJECT(module_filename_obj, 282, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[112], mod_consts[112], mod_consts[122], NULL, 20, 0, 0);
codeobj_f588e37d8af750a364c1c3c8e7fe493b = MAKE_CODE_OBJECT(module_filename_obj, 406, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[114], mod_consts[114], mod_consts[123], NULL, 11, 0, 0);
codeobj_9cb38c576b11dca7939a1f0bc367faf1 = MAKE_CODE_OBJECT(module_filename_obj, 464, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[37], mod_consts[37], mod_consts[124], NULL, 9, 0, 0);
codeobj_a31bd438d573261f2f05a079a6567fc9 = MAKE_CODE_OBJECT(module_filename_obj, 573, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[117], mod_consts[117], mod_consts[125], NULL, 1, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__9_complex_call_helper_keywords_star_dict(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_simplejson$$$function__1__import_OrderedDict();
static PyObject *MAKE_FUNCTION_simplejson$$$function__2__import_c_make_encoder();
static PyObject *MAKE_FUNCTION_simplejson$$$function__3_dump(PyObject *defaults);
static PyObject *MAKE_FUNCTION_simplejson$$$function__4_dumps(PyObject *defaults);
static PyObject *MAKE_FUNCTION_simplejson$$$function__5_load(PyObject *defaults);
static PyObject *MAKE_FUNCTION_simplejson$$$function__6_loads(PyObject *defaults);
static PyObject *MAKE_FUNCTION_simplejson$$$function__7__toggle_speedups();
static PyObject *MAKE_FUNCTION_simplejson$$$function__8_simple_first();
// The module function definitions.
static PyObject *impl_simplejson$$$function__1__import_OrderedDict(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 *var_collections = NULL;
PyObject *var_ordered_dict = NULL;
struct Nuitka_FrameObject *frame_9493e4bc94619047618d407ce0c66dce;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_9493e4bc94619047618d407ce0c66dce = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_9493e4bc94619047618d407ce0c66dce)) {
Py_XDECREF(cache_frame_9493e4bc94619047618d407ce0c66dce);
#if _DEBUG_REFCOUNTS
if (cache_frame_9493e4bc94619047618d407ce0c66dce == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9493e4bc94619047618d407ce0c66dce = MAKE_FUNCTION_FRAME(codeobj_9493e4bc94619047618d407ce0c66dce, module_simplejson, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9493e4bc94619047618d407ce0c66dce->m_type_description == NULL);
frame_9493e4bc94619047618d407ce0c66dce = cache_frame_9493e4bc94619047618d407ce0c66dce;
// Push the new frame as the currently active one.
pushFrameStack(frame_9493e4bc94619047618d407ce0c66dce);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9493e4bc94619047618d407ce0c66dce) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[0];
tmp_globals_arg_value_1 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[1];
frame_9493e4bc94619047618d407ce0c66dce->m_frame.f_lineno = 117;
tmp_assign_source_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_collections == NULL);
var_collections = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_collections);
tmp_expression_value_1 = var_collections;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[2]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "oo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_9493e4bc94619047618d407ce0c66dce, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9493e4bc94619047618d407ce0c66dce, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[3];
tmp_globals_arg_value_2 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[4];
tmp_level_value_2 = mod_consts[5];
frame_9493e4bc94619047618d407ce0c66dce->m_frame.f_lineno = 121;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "oo";
goto try_except_handler_3;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_2 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_simplejson,
mod_consts[6],
mod_consts[1]
);
} else {
tmp_assign_source_2 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[6]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "oo";
goto try_except_handler_3;
}
assert(var_ordered_dict == NULL);
var_ordered_dict = tmp_assign_source_2;
}
{
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_ordered_dict);
tmp_expression_value_2 = var_ordered_dict;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "oo";
goto try_except_handler_3;
}
goto try_return_handler_3;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 118;
}
if (exception_tb && exception_tb->tb_frame == &frame_9493e4bc94619047618d407ce0c66dce->m_frame) frame_9493e4bc94619047618d407ce0c66dce->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_9493e4bc94619047618d407ce0c66dce);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9493e4bc94619047618d407ce0c66dce);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9493e4bc94619047618d407ce0c66dce);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9493e4bc94619047618d407ce0c66dce, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9493e4bc94619047618d407ce0c66dce->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9493e4bc94619047618d407ce0c66dce, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9493e4bc94619047618d407ce0c66dce,
type_description_1,
var_collections,
var_ordered_dict
);
// Release cached frame if used for exception.
if (frame_9493e4bc94619047618d407ce0c66dce == cache_frame_9493e4bc94619047618d407ce0c66dce) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9493e4bc94619047618d407ce0c66dce);
cache_frame_9493e4bc94619047618d407ce0c66dce = NULL;
}
assertFrameObject(frame_9493e4bc94619047618d407ce0c66dce);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_collections);
Py_DECREF(var_collections);
var_collections = NULL;
Py_XDECREF(var_ordered_dict);
var_ordered_dict = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_collections);
var_collections = NULL;
Py_XDECREF(var_ordered_dict);
var_ordered_dict = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__2__import_c_make_encoder(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 *var_make_encoder = NULL;
struct Nuitka_FrameObject *frame_9a2090f7dc7fd15b760a06833c4653cb;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_9a2090f7dc7fd15b760a06833c4653cb = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_9a2090f7dc7fd15b760a06833c4653cb)) {
Py_XDECREF(cache_frame_9a2090f7dc7fd15b760a06833c4653cb);
#if _DEBUG_REFCOUNTS
if (cache_frame_9a2090f7dc7fd15b760a06833c4653cb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9a2090f7dc7fd15b760a06833c4653cb = MAKE_FUNCTION_FRAME(codeobj_9a2090f7dc7fd15b760a06833c4653cb, module_simplejson, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9a2090f7dc7fd15b760a06833c4653cb->m_type_description == NULL);
frame_9a2090f7dc7fd15b760a06833c4653cb = cache_frame_9a2090f7dc7fd15b760a06833c4653cb;
// Push the new frame as the currently active one.
pushFrameStack(frame_9a2090f7dc7fd15b760a06833c4653cb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9a2090f7dc7fd15b760a06833c4653cb) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[7];
tmp_globals_arg_value_1 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[8];
tmp_level_value_1 = mod_consts[5];
frame_9a2090f7dc7fd15b760a06833c4653cb->m_frame.f_lineno = 127;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto try_except_handler_2;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_1 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_simplejson,
mod_consts[9],
mod_consts[1]
);
} else {
tmp_assign_source_1 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[9]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "o";
goto try_except_handler_2;
}
assert(var_make_encoder == NULL);
var_make_encoder = tmp_assign_source_1;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_9a2090f7dc7fd15b760a06833c4653cb, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9a2090f7dc7fd15b760a06833c4653cb, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 126;
}
if (exception_tb && exception_tb->tb_frame == &frame_9a2090f7dc7fd15b760a06833c4653cb->m_frame) frame_9a2090f7dc7fd15b760a06833c4653cb->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a2090f7dc7fd15b760a06833c4653cb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a2090f7dc7fd15b760a06833c4653cb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a2090f7dc7fd15b760a06833c4653cb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9a2090f7dc7fd15b760a06833c4653cb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9a2090f7dc7fd15b760a06833c4653cb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9a2090f7dc7fd15b760a06833c4653cb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9a2090f7dc7fd15b760a06833c4653cb,
type_description_1,
var_make_encoder
);
// Release cached frame if used for exception.
if (frame_9a2090f7dc7fd15b760a06833c4653cb == cache_frame_9a2090f7dc7fd15b760a06833c4653cb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9a2090f7dc7fd15b760a06833c4653cb);
cache_frame_9a2090f7dc7fd15b760a06833c4653cb = NULL;
}
assertFrameObject(frame_9a2090f7dc7fd15b760a06833c4653cb);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_make_encoder);
tmp_return_value = var_make_encoder;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_make_encoder);
var_make_encoder = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__3_dump(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_obj = python_pars[0];
PyObject *par_fp = python_pars[1];
PyObject *par_skipkeys = python_pars[2];
PyObject *par_ensure_ascii = python_pars[3];
PyObject *par_check_circular = python_pars[4];
PyObject *par_allow_nan = python_pars[5];
PyObject *par_cls = python_pars[6];
PyObject *par_indent = python_pars[7];
PyObject *par_separators = python_pars[8];
PyObject *par_encoding = python_pars[9];
PyObject *par_default = python_pars[10];
PyObject *par_use_decimal = python_pars[11];
PyObject *par_namedtuple_as_object = python_pars[12];
PyObject *par_tuple_as_array = python_pars[13];
PyObject *par_bigint_as_string = python_pars[14];
PyObject *par_sort_keys = python_pars[15];
PyObject *par_item_sort_key = python_pars[16];
PyObject *par_for_json = python_pars[17];
PyObject *par_ignore_nan = python_pars[18];
PyObject *par_int_as_string_bitcount = python_pars[19];
PyObject *par_iterable_as_array = python_pars[20];
PyObject *par_kw = python_pars[21];
PyObject *var_iterable = NULL;
PyObject *var_chunk = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_dfb6bba4d7848ba374042e810ea5d9bb;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_dfb6bba4d7848ba374042e810ea5d9bb = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_dfb6bba4d7848ba374042e810ea5d9bb)) {
Py_XDECREF(cache_frame_dfb6bba4d7848ba374042e810ea5d9bb);
#if _DEBUG_REFCOUNTS
if (cache_frame_dfb6bba4d7848ba374042e810ea5d9bb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dfb6bba4d7848ba374042e810ea5d9bb = MAKE_FUNCTION_FRAME(codeobj_dfb6bba4d7848ba374042e810ea5d9bb, module_simplejson, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dfb6bba4d7848ba374042e810ea5d9bb->m_type_description == NULL);
frame_dfb6bba4d7848ba374042e810ea5d9bb = cache_frame_dfb6bba4d7848ba374042e810ea5d9bb;
// Push the new frame as the currently active one.
pushFrameStack(frame_dfb6bba4d7848ba374042e810ea5d9bb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dfb6bba4d7848ba374042e810ea5d9bb) == 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_operand_value_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
int tmp_truth_name_1;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
int tmp_truth_name_2;
int tmp_and_left_truth_4;
nuitka_bool tmp_and_left_value_4;
nuitka_bool tmp_and_right_value_4;
int tmp_truth_name_3;
int tmp_and_left_truth_5;
nuitka_bool tmp_and_left_value_5;
nuitka_bool tmp_and_right_value_5;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
int tmp_and_left_truth_6;
nuitka_bool tmp_and_left_value_6;
nuitka_bool tmp_and_right_value_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
int tmp_and_left_truth_7;
nuitka_bool tmp_and_left_value_7;
nuitka_bool tmp_and_right_value_7;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
int tmp_and_left_truth_8;
nuitka_bool tmp_and_left_value_8;
nuitka_bool tmp_and_right_value_8;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
int tmp_and_left_truth_9;
nuitka_bool tmp_and_left_value_9;
nuitka_bool tmp_and_right_value_9;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
int tmp_and_left_truth_10;
nuitka_bool tmp_and_left_value_10;
nuitka_bool tmp_and_right_value_10;
int tmp_truth_name_4;
int tmp_and_left_truth_11;
nuitka_bool tmp_and_left_value_11;
nuitka_bool tmp_and_right_value_11;
int tmp_truth_name_5;
int tmp_and_left_truth_12;
nuitka_bool tmp_and_left_value_12;
nuitka_bool tmp_and_right_value_12;
int tmp_truth_name_6;
int tmp_and_left_truth_13;
nuitka_bool tmp_and_left_value_13;
nuitka_bool tmp_and_right_value_13;
PyObject *tmp_operand_value_2;
int tmp_and_left_truth_14;
nuitka_bool tmp_and_left_value_14;
nuitka_bool tmp_and_right_value_14;
PyObject *tmp_operand_value_3;
int tmp_and_left_truth_15;
nuitka_bool tmp_and_left_value_15;
nuitka_bool tmp_and_right_value_15;
PyObject *tmp_operand_value_4;
int tmp_and_left_truth_16;
nuitka_bool tmp_and_left_value_16;
nuitka_bool tmp_and_right_value_16;
PyObject *tmp_operand_value_5;
int tmp_and_left_truth_17;
nuitka_bool tmp_and_left_value_17;
nuitka_bool tmp_and_right_value_17;
PyObject *tmp_operand_value_6;
int tmp_and_left_truth_18;
nuitka_bool tmp_and_left_value_18;
nuitka_bool tmp_and_right_value_18;
PyObject *tmp_operand_value_7;
int tmp_and_left_truth_19;
nuitka_bool tmp_and_left_value_19;
nuitka_bool tmp_and_right_value_19;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_operand_value_8;
CHECK_OBJECT(par_skipkeys);
tmp_operand_value_1 = par_skipkeys;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooooooooooooooooooooo";
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:;
CHECK_OBJECT(par_ensure_ascii);
tmp_truth_name_1 = CHECK_IF_TRUE(par_ensure_ascii);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_check_circular);
tmp_truth_name_2 = CHECK_IF_TRUE(par_check_circular);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_allow_nan);
tmp_truth_name_3 = CHECK_IF_TRUE(par_allow_nan);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_4 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_1 = par_cls;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_5 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_5 = tmp_and_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
CHECK_OBJECT(par_indent);
tmp_cmp_expr_left_2 = par_indent;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_6 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_6 = tmp_and_left_value_6 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
CHECK_OBJECT(par_separators);
tmp_cmp_expr_left_3 = par_separators;
tmp_cmp_expr_right_3 = Py_None;
tmp_and_left_value_7 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_7 = tmp_and_left_value_7 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_7 == 1) {
goto and_right_7;
} else {
goto and_left_7;
}
and_right_7:;
CHECK_OBJECT(par_encoding);
tmp_cmp_expr_left_4 = par_encoding;
tmp_cmp_expr_right_4 = mod_consts[10];
tmp_and_left_value_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_and_left_value_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_8 = tmp_and_left_value_8 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_8 == 1) {
goto and_right_8;
} else {
goto and_left_8;
}
and_right_8:;
CHECK_OBJECT(par_default);
tmp_cmp_expr_left_5 = par_default;
tmp_cmp_expr_right_5 = Py_None;
tmp_and_left_value_9 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_9 = tmp_and_left_value_9 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_9 == 1) {
goto and_right_9;
} else {
goto and_left_9;
}
and_right_9:;
CHECK_OBJECT(par_use_decimal);
tmp_truth_name_4 = CHECK_IF_TRUE(par_use_decimal);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_10 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_10 = tmp_and_left_value_10 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_10 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_10 == 1) {
goto and_right_10;
} else {
goto and_left_10;
}
and_right_10:;
CHECK_OBJECT(par_namedtuple_as_object);
tmp_truth_name_5 = CHECK_IF_TRUE(par_namedtuple_as_object);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_11 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_11 = tmp_and_left_value_11 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_11 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_11 == 1) {
goto and_right_11;
} else {
goto and_left_11;
}
and_right_11:;
CHECK_OBJECT(par_tuple_as_array);
tmp_truth_name_6 = CHECK_IF_TRUE(par_tuple_as_array);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_12 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_12 = tmp_and_left_value_12 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_12 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_12 == 1) {
goto and_right_12;
} else {
goto and_left_12;
}
and_right_12:;
CHECK_OBJECT(par_iterable_as_array);
tmp_operand_value_2 = par_iterable_as_array;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_13 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_13 = tmp_and_left_value_13 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_13 == 1) {
goto and_right_13;
} else {
goto and_left_13;
}
and_right_13:;
CHECK_OBJECT(par_bigint_as_string);
tmp_operand_value_3 = par_bigint_as_string;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_14 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_14 = tmp_and_left_value_14 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_14 == 1) {
goto and_right_14;
} else {
goto and_left_14;
}
and_right_14:;
CHECK_OBJECT(par_sort_keys);
tmp_operand_value_4 = par_sort_keys;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_15 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_15 = tmp_and_left_value_15 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_15 == 1) {
goto and_right_15;
} else {
goto and_left_15;
}
and_right_15:;
CHECK_OBJECT(par_item_sort_key);
tmp_operand_value_5 = par_item_sort_key;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_16 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_16 = tmp_and_left_value_16 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_16 == 1) {
goto and_right_16;
} else {
goto and_left_16;
}
and_right_16:;
CHECK_OBJECT(par_for_json);
tmp_operand_value_6 = par_for_json;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_17 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_17 = tmp_and_left_value_17 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_17 == 1) {
goto and_right_17;
} else {
goto and_left_17;
}
and_right_17:;
CHECK_OBJECT(par_ignore_nan);
tmp_operand_value_7 = par_ignore_nan;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 255;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_18 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_18 = tmp_and_left_value_18 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_18 == 1) {
goto and_right_18;
} else {
goto and_left_18;
}
and_right_18:;
CHECK_OBJECT(par_int_as_string_bitcount);
tmp_cmp_expr_left_6 = par_int_as_string_bitcount;
tmp_cmp_expr_right_6 = Py_None;
tmp_and_left_value_19 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_19 = tmp_and_left_value_19 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_19 == 1) {
goto and_right_19;
} else {
goto and_left_19;
}
and_right_19:;
CHECK_OBJECT(par_kw);
tmp_operand_value_8 = par_kw;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_8);
assert(!(tmp_res == -1));
tmp_and_right_value_19 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_18 = tmp_and_right_value_19;
goto and_end_19;
and_left_19:;
tmp_and_right_value_18 = tmp_and_left_value_19;
and_end_19:;
tmp_and_right_value_17 = tmp_and_right_value_18;
goto and_end_18;
and_left_18:;
tmp_and_right_value_17 = tmp_and_left_value_18;
and_end_18:;
tmp_and_right_value_16 = tmp_and_right_value_17;
goto and_end_17;
and_left_17:;
tmp_and_right_value_16 = tmp_and_left_value_17;
and_end_17:;
tmp_and_right_value_15 = tmp_and_right_value_16;
goto and_end_16;
and_left_16:;
tmp_and_right_value_15 = tmp_and_left_value_16;
and_end_16:;
tmp_and_right_value_14 = tmp_and_right_value_15;
goto and_end_15;
and_left_15:;
tmp_and_right_value_14 = tmp_and_left_value_15;
and_end_15:;
tmp_and_right_value_13 = tmp_and_right_value_14;
goto and_end_14;
and_left_14:;
tmp_and_right_value_13 = tmp_and_left_value_14;
and_end_14:;
tmp_and_right_value_12 = tmp_and_right_value_13;
goto and_end_13;
and_left_13:;
tmp_and_right_value_12 = tmp_and_left_value_13;
and_end_13:;
tmp_and_right_value_11 = tmp_and_right_value_12;
goto and_end_12;
and_left_12:;
tmp_and_right_value_11 = tmp_and_left_value_12;
and_end_12:;
tmp_and_right_value_10 = tmp_and_right_value_11;
goto and_end_11;
and_left_11:;
tmp_and_right_value_10 = tmp_and_left_value_11;
and_end_11:;
tmp_and_right_value_9 = tmp_and_right_value_10;
goto and_end_10;
and_left_10:;
tmp_and_right_value_9 = tmp_and_left_value_10;
and_end_10:;
tmp_and_right_value_8 = tmp_and_right_value_9;
goto and_end_9;
and_left_9:;
tmp_and_right_value_8 = tmp_and_left_value_9;
and_end_9:;
tmp_and_right_value_7 = tmp_and_right_value_8;
goto and_end_8;
and_left_8:;
tmp_and_right_value_7 = tmp_and_left_value_8;
and_end_8:;
tmp_and_right_value_6 = tmp_and_right_value_7;
goto and_end_7;
and_left_7:;
tmp_and_right_value_6 = tmp_and_left_value_7;
and_end_7:;
tmp_and_right_value_5 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
tmp_and_right_value_5 = tmp_and_left_value_6;
and_end_6:;
tmp_and_right_value_4 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
tmp_and_right_value_4 = tmp_and_left_value_5;
and_end_5:;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
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_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[11]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_obj);
tmp_args_element_value_1 = par_obj;
frame_dfb6bba4d7848ba374042e810ea5d9bb->m_frame.f_lineno = 258;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[12], tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_iterable == NULL);
var_iterable = tmp_assign_source_1;
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_7 = par_cls;
tmp_cmp_expr_right_7 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_assign_source_2 == NULL)) {
tmp_assign_source_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 261;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_cls;
assert(old != NULL);
par_cls = tmp_assign_source_2;
Py_INCREF(par_cls);
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_cls);
tmp_dircall_arg1_1 = par_cls;
tmp_dict_key_1 = mod_consts[14];
CHECK_OBJECT(par_skipkeys);
tmp_dict_value_1 = par_skipkeys;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 18 );
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[15];
CHECK_OBJECT(par_ensure_ascii);
tmp_dict_value_1 = par_ensure_ascii;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[16];
CHECK_OBJECT(par_check_circular);
tmp_dict_value_1 = par_check_circular;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[17];
CHECK_OBJECT(par_allow_nan);
tmp_dict_value_1 = par_allow_nan;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[18];
CHECK_OBJECT(par_indent);
tmp_dict_value_1 = par_indent;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[19];
CHECK_OBJECT(par_separators);
tmp_dict_value_1 = par_separators;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[20];
CHECK_OBJECT(par_encoding);
tmp_dict_value_1 = par_encoding;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[21];
CHECK_OBJECT(par_default);
tmp_dict_value_1 = par_default;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[22];
CHECK_OBJECT(par_use_decimal);
tmp_dict_value_1 = par_use_decimal;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[23];
CHECK_OBJECT(par_namedtuple_as_object);
tmp_dict_value_1 = par_namedtuple_as_object;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[24];
CHECK_OBJECT(par_tuple_as_array);
tmp_dict_value_1 = par_tuple_as_array;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[25];
CHECK_OBJECT(par_iterable_as_array);
tmp_dict_value_1 = par_iterable_as_array;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[26];
CHECK_OBJECT(par_bigint_as_string);
tmp_dict_value_1 = par_bigint_as_string;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[27];
CHECK_OBJECT(par_sort_keys);
tmp_dict_value_1 = par_sort_keys;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[28];
CHECK_OBJECT(par_item_sort_key);
tmp_dict_value_1 = par_item_sort_key;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[29];
CHECK_OBJECT(par_for_json);
tmp_dict_value_1 = par_for_json;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[30];
CHECK_OBJECT(par_ignore_nan);
tmp_dict_value_1 = par_ignore_nan;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[31];
CHECK_OBJECT(par_int_as_string_bitcount);
tmp_dict_value_1 = par_int_as_string_bitcount;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kw);
tmp_dircall_arg3_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_called_instance_2 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_obj);
tmp_args_element_value_2 = par_obj;
frame_dfb6bba4d7848ba374042e810ea5d9bb->m_frame.f_lineno = 262;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[12], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_iterable == NULL);
var_iterable = tmp_assign_source_3;
}
branch_end_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_iterable);
tmp_iter_arg_1 = var_iterable;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 278;
type_description_1 = "oooooooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_4;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_5 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_5 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooooooooooo";
exception_lineno = 278;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_chunk;
var_chunk = tmp_assign_source_6;
Py_INCREF(var_chunk);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
if (par_fp == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 279;
type_description_1 = "oooooooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_called_instance_3 = par_fp;
CHECK_OBJECT(var_chunk);
tmp_args_element_value_3 = var_chunk;
frame_dfb6bba4d7848ba374042e810ea5d9bb->m_frame.f_lineno = 279;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[33], tmp_args_element_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_1 = "oooooooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 278;
type_description_1 = "oooooooooooooooooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dfb6bba4d7848ba374042e810ea5d9bb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dfb6bba4d7848ba374042e810ea5d9bb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dfb6bba4d7848ba374042e810ea5d9bb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dfb6bba4d7848ba374042e810ea5d9bb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dfb6bba4d7848ba374042e810ea5d9bb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dfb6bba4d7848ba374042e810ea5d9bb,
type_description_1,
par_obj,
par_fp,
par_skipkeys,
par_ensure_ascii,
par_check_circular,
par_allow_nan,
par_cls,
par_indent,
par_separators,
par_encoding,
par_default,
par_use_decimal,
par_namedtuple_as_object,
par_tuple_as_array,
par_bigint_as_string,
par_sort_keys,
par_item_sort_key,
par_for_json,
par_ignore_nan,
par_int_as_string_bitcount,
par_iterable_as_array,
par_kw,
var_iterable,
var_chunk
);
// Release cached frame if used for exception.
if (frame_dfb6bba4d7848ba374042e810ea5d9bb == cache_frame_dfb6bba4d7848ba374042e810ea5d9bb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dfb6bba4d7848ba374042e810ea5d9bb);
cache_frame_dfb6bba4d7848ba374042e810ea5d9bb = NULL;
}
assertFrameObject(frame_dfb6bba4d7848ba374042e810ea5d9bb);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
CHECK_OBJECT(var_iterable);
Py_DECREF(var_iterable);
var_iterable = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
Py_XDECREF(var_iterable);
var_iterable = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_obj);
Py_DECREF(par_obj);
CHECK_OBJECT(par_fp);
Py_DECREF(par_fp);
CHECK_OBJECT(par_skipkeys);
Py_DECREF(par_skipkeys);
CHECK_OBJECT(par_ensure_ascii);
Py_DECREF(par_ensure_ascii);
CHECK_OBJECT(par_check_circular);
Py_DECREF(par_check_circular);
CHECK_OBJECT(par_allow_nan);
Py_DECREF(par_allow_nan);
CHECK_OBJECT(par_indent);
Py_DECREF(par_indent);
CHECK_OBJECT(par_separators);
Py_DECREF(par_separators);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_bigint_as_string);
Py_DECREF(par_bigint_as_string);
CHECK_OBJECT(par_sort_keys);
Py_DECREF(par_sort_keys);
CHECK_OBJECT(par_item_sort_key);
Py_DECREF(par_item_sort_key);
CHECK_OBJECT(par_for_json);
Py_DECREF(par_for_json);
CHECK_OBJECT(par_ignore_nan);
Py_DECREF(par_ignore_nan);
CHECK_OBJECT(par_int_as_string_bitcount);
Py_DECREF(par_int_as_string_bitcount);
CHECK_OBJECT(par_iterable_as_array);
Py_DECREF(par_iterable_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_obj);
Py_DECREF(par_obj);
CHECK_OBJECT(par_fp);
Py_DECREF(par_fp);
CHECK_OBJECT(par_skipkeys);
Py_DECREF(par_skipkeys);
CHECK_OBJECT(par_ensure_ascii);
Py_DECREF(par_ensure_ascii);
CHECK_OBJECT(par_check_circular);
Py_DECREF(par_check_circular);
CHECK_OBJECT(par_allow_nan);
Py_DECREF(par_allow_nan);
CHECK_OBJECT(par_indent);
Py_DECREF(par_indent);
CHECK_OBJECT(par_separators);
Py_DECREF(par_separators);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_bigint_as_string);
Py_DECREF(par_bigint_as_string);
CHECK_OBJECT(par_sort_keys);
Py_DECREF(par_sort_keys);
CHECK_OBJECT(par_item_sort_key);
Py_DECREF(par_item_sort_key);
CHECK_OBJECT(par_for_json);
Py_DECREF(par_for_json);
CHECK_OBJECT(par_ignore_nan);
Py_DECREF(par_ignore_nan);
CHECK_OBJECT(par_int_as_string_bitcount);
Py_DECREF(par_int_as_string_bitcount);
CHECK_OBJECT(par_iterable_as_array);
Py_DECREF(par_iterable_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__4_dumps(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_obj = python_pars[0];
PyObject *par_skipkeys = python_pars[1];
PyObject *par_ensure_ascii = python_pars[2];
PyObject *par_check_circular = python_pars[3];
PyObject *par_allow_nan = python_pars[4];
PyObject *par_cls = python_pars[5];
PyObject *par_indent = python_pars[6];
PyObject *par_separators = python_pars[7];
PyObject *par_encoding = python_pars[8];
PyObject *par_default = python_pars[9];
PyObject *par_use_decimal = python_pars[10];
PyObject *par_namedtuple_as_object = python_pars[11];
PyObject *par_tuple_as_array = python_pars[12];
PyObject *par_bigint_as_string = python_pars[13];
PyObject *par_sort_keys = python_pars[14];
PyObject *par_item_sort_key = python_pars[15];
PyObject *par_for_json = python_pars[16];
PyObject *par_ignore_nan = python_pars[17];
PyObject *par_int_as_string_bitcount = python_pars[18];
PyObject *par_iterable_as_array = python_pars[19];
PyObject *par_kw = python_pars[20];
struct Nuitka_FrameObject *frame_a2d079feffe220852eab3a306c491c40;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a2d079feffe220852eab3a306c491c40 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_a2d079feffe220852eab3a306c491c40)) {
Py_XDECREF(cache_frame_a2d079feffe220852eab3a306c491c40);
#if _DEBUG_REFCOUNTS
if (cache_frame_a2d079feffe220852eab3a306c491c40 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a2d079feffe220852eab3a306c491c40 = MAKE_FUNCTION_FRAME(codeobj_a2d079feffe220852eab3a306c491c40, module_simplejson, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a2d079feffe220852eab3a306c491c40->m_type_description == NULL);
frame_a2d079feffe220852eab3a306c491c40 = cache_frame_a2d079feffe220852eab3a306c491c40;
// Push the new frame as the currently active one.
pushFrameStack(frame_a2d079feffe220852eab3a306c491c40);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a2d079feffe220852eab3a306c491c40) == 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_operand_value_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
int tmp_truth_name_1;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
int tmp_truth_name_2;
int tmp_and_left_truth_4;
nuitka_bool tmp_and_left_value_4;
nuitka_bool tmp_and_right_value_4;
int tmp_truth_name_3;
int tmp_and_left_truth_5;
nuitka_bool tmp_and_left_value_5;
nuitka_bool tmp_and_right_value_5;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
int tmp_and_left_truth_6;
nuitka_bool tmp_and_left_value_6;
nuitka_bool tmp_and_right_value_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
int tmp_and_left_truth_7;
nuitka_bool tmp_and_left_value_7;
nuitka_bool tmp_and_right_value_7;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
int tmp_and_left_truth_8;
nuitka_bool tmp_and_left_value_8;
nuitka_bool tmp_and_right_value_8;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
int tmp_and_left_truth_9;
nuitka_bool tmp_and_left_value_9;
nuitka_bool tmp_and_right_value_9;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
int tmp_and_left_truth_10;
nuitka_bool tmp_and_left_value_10;
nuitka_bool tmp_and_right_value_10;
int tmp_truth_name_4;
int tmp_and_left_truth_11;
nuitka_bool tmp_and_left_value_11;
nuitka_bool tmp_and_right_value_11;
int tmp_truth_name_5;
int tmp_and_left_truth_12;
nuitka_bool tmp_and_left_value_12;
nuitka_bool tmp_and_right_value_12;
int tmp_truth_name_6;
int tmp_and_left_truth_13;
nuitka_bool tmp_and_left_value_13;
nuitka_bool tmp_and_right_value_13;
PyObject *tmp_operand_value_2;
int tmp_and_left_truth_14;
nuitka_bool tmp_and_left_value_14;
nuitka_bool tmp_and_right_value_14;
PyObject *tmp_operand_value_3;
int tmp_and_left_truth_15;
nuitka_bool tmp_and_left_value_15;
nuitka_bool tmp_and_right_value_15;
PyObject *tmp_operand_value_4;
int tmp_and_left_truth_16;
nuitka_bool tmp_and_left_value_16;
nuitka_bool tmp_and_right_value_16;
PyObject *tmp_operand_value_5;
int tmp_and_left_truth_17;
nuitka_bool tmp_and_left_value_17;
nuitka_bool tmp_and_right_value_17;
PyObject *tmp_operand_value_6;
int tmp_and_left_truth_18;
nuitka_bool tmp_and_left_value_18;
nuitka_bool tmp_and_right_value_18;
PyObject *tmp_operand_value_7;
int tmp_and_left_truth_19;
nuitka_bool tmp_and_left_value_19;
nuitka_bool tmp_and_right_value_19;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_operand_value_8;
CHECK_OBJECT(par_skipkeys);
tmp_operand_value_1 = par_skipkeys;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooooooooooooooooo";
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:;
CHECK_OBJECT(par_ensure_ascii);
tmp_truth_name_1 = CHECK_IF_TRUE(par_ensure_ascii);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_check_circular);
tmp_truth_name_2 = CHECK_IF_TRUE(par_check_circular);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_allow_nan);
tmp_truth_name_3 = CHECK_IF_TRUE(par_allow_nan);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_4 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_1 = par_cls;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_5 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_5 = tmp_and_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
CHECK_OBJECT(par_indent);
tmp_cmp_expr_left_2 = par_indent;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_6 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_6 = tmp_and_left_value_6 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
CHECK_OBJECT(par_separators);
tmp_cmp_expr_left_3 = par_separators;
tmp_cmp_expr_right_3 = Py_None;
tmp_and_left_value_7 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_7 = tmp_and_left_value_7 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_7 == 1) {
goto and_right_7;
} else {
goto and_left_7;
}
and_right_7:;
CHECK_OBJECT(par_encoding);
tmp_cmp_expr_left_4 = par_encoding;
tmp_cmp_expr_right_4 = mod_consts[10];
tmp_and_left_value_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_and_left_value_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_8 = tmp_and_left_value_8 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_8 == 1) {
goto and_right_8;
} else {
goto and_left_8;
}
and_right_8:;
CHECK_OBJECT(par_default);
tmp_cmp_expr_left_5 = par_default;
tmp_cmp_expr_right_5 = Py_None;
tmp_and_left_value_9 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_9 = tmp_and_left_value_9 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_9 == 1) {
goto and_right_9;
} else {
goto and_left_9;
}
and_right_9:;
CHECK_OBJECT(par_use_decimal);
tmp_truth_name_4 = CHECK_IF_TRUE(par_use_decimal);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_10 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_10 = tmp_and_left_value_10 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_10 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_10 == 1) {
goto and_right_10;
} else {
goto and_left_10;
}
and_right_10:;
CHECK_OBJECT(par_namedtuple_as_object);
tmp_truth_name_5 = CHECK_IF_TRUE(par_namedtuple_as_object);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_11 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_11 = tmp_and_left_value_11 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_11 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_11 == 1) {
goto and_right_11;
} else {
goto and_left_11;
}
and_right_11:;
CHECK_OBJECT(par_tuple_as_array);
tmp_truth_name_6 = CHECK_IF_TRUE(par_tuple_as_array);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_12 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_12 = tmp_and_left_value_12 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_12 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_12 == 1) {
goto and_right_12;
} else {
goto and_left_12;
}
and_right_12:;
CHECK_OBJECT(par_iterable_as_array);
tmp_operand_value_2 = par_iterable_as_array;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_13 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_13 = tmp_and_left_value_13 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_13 == 1) {
goto and_right_13;
} else {
goto and_left_13;
}
and_right_13:;
CHECK_OBJECT(par_bigint_as_string);
tmp_operand_value_3 = par_bigint_as_string;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_14 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_14 = tmp_and_left_value_14 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_14 == 1) {
goto and_right_14;
} else {
goto and_left_14;
}
and_right_14:;
CHECK_OBJECT(par_sort_keys);
tmp_operand_value_4 = par_sort_keys;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_15 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_15 = tmp_and_left_value_15 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_15 == 1) {
goto and_right_15;
} else {
goto and_left_15;
}
and_right_15:;
CHECK_OBJECT(par_item_sort_key);
tmp_operand_value_5 = par_item_sort_key;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_16 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_16 = tmp_and_left_value_16 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_16 == 1) {
goto and_right_16;
} else {
goto and_left_16;
}
and_right_16:;
CHECK_OBJECT(par_for_json);
tmp_operand_value_6 = par_for_json;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 378;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_17 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_17 = tmp_and_left_value_17 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_17 == 1) {
goto and_right_17;
} else {
goto and_left_17;
}
and_right_17:;
CHECK_OBJECT(par_ignore_nan);
tmp_operand_value_7 = par_ignore_nan;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_18 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_18 = tmp_and_left_value_18 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_18 == 1) {
goto and_right_18;
} else {
goto and_left_18;
}
and_right_18:;
CHECK_OBJECT(par_int_as_string_bitcount);
tmp_cmp_expr_left_6 = par_int_as_string_bitcount;
tmp_cmp_expr_right_6 = Py_None;
tmp_and_left_value_19 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_19 = tmp_and_left_value_19 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_19 == 1) {
goto and_right_19;
} else {
goto and_left_19;
}
and_right_19:;
CHECK_OBJECT(par_kw);
tmp_operand_value_8 = par_kw;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_8);
assert(!(tmp_res == -1));
tmp_and_right_value_19 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_18 = tmp_and_right_value_19;
goto and_end_19;
and_left_19:;
tmp_and_right_value_18 = tmp_and_left_value_19;
and_end_19:;
tmp_and_right_value_17 = tmp_and_right_value_18;
goto and_end_18;
and_left_18:;
tmp_and_right_value_17 = tmp_and_left_value_18;
and_end_18:;
tmp_and_right_value_16 = tmp_and_right_value_17;
goto and_end_17;
and_left_17:;
tmp_and_right_value_16 = tmp_and_left_value_17;
and_end_17:;
tmp_and_right_value_15 = tmp_and_right_value_16;
goto and_end_16;
and_left_16:;
tmp_and_right_value_15 = tmp_and_left_value_16;
and_end_16:;
tmp_and_right_value_14 = tmp_and_right_value_15;
goto and_end_15;
and_left_15:;
tmp_and_right_value_14 = tmp_and_left_value_15;
and_end_15:;
tmp_and_right_value_13 = tmp_and_right_value_14;
goto and_end_14;
and_left_14:;
tmp_and_right_value_13 = tmp_and_left_value_14;
and_end_14:;
tmp_and_right_value_12 = tmp_and_right_value_13;
goto and_end_13;
and_left_13:;
tmp_and_right_value_12 = tmp_and_left_value_13;
and_end_13:;
tmp_and_right_value_11 = tmp_and_right_value_12;
goto and_end_12;
and_left_12:;
tmp_and_right_value_11 = tmp_and_left_value_12;
and_end_12:;
tmp_and_right_value_10 = tmp_and_right_value_11;
goto and_end_11;
and_left_11:;
tmp_and_right_value_10 = tmp_and_left_value_11;
and_end_11:;
tmp_and_right_value_9 = tmp_and_right_value_10;
goto and_end_10;
and_left_10:;
tmp_and_right_value_9 = tmp_and_left_value_10;
and_end_10:;
tmp_and_right_value_8 = tmp_and_right_value_9;
goto and_end_9;
and_left_9:;
tmp_and_right_value_8 = tmp_and_left_value_9;
and_end_9:;
tmp_and_right_value_7 = tmp_and_right_value_8;
goto and_end_8;
and_left_8:;
tmp_and_right_value_7 = tmp_and_left_value_8;
and_end_8:;
tmp_and_right_value_6 = tmp_and_right_value_7;
goto and_end_7;
and_left_7:;
tmp_and_right_value_6 = tmp_and_left_value_7;
and_end_7:;
tmp_and_right_value_5 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
tmp_and_right_value_5 = tmp_and_left_value_6;
and_end_6:;
tmp_and_right_value_4 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
tmp_and_right_value_4 = tmp_and_left_value_5;
and_end_5:;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
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_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_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[11]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[35]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_obj);
tmp_args_element_value_1 = par_obj;
frame_a2d079feffe220852eab3a306c491c40->m_frame.f_lineno = 382;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_7 = par_cls;
tmp_cmp_expr_right_7 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_assign_source_1 == NULL)) {
tmp_assign_source_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_cls;
assert(old != NULL);
par_cls = tmp_assign_source_1;
Py_INCREF(par_cls);
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_cls);
tmp_dircall_arg1_1 = par_cls;
tmp_dict_key_1 = mod_consts[14];
CHECK_OBJECT(par_skipkeys);
tmp_dict_value_1 = par_skipkeys;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 18 );
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[15];
CHECK_OBJECT(par_ensure_ascii);
tmp_dict_value_1 = par_ensure_ascii;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[16];
CHECK_OBJECT(par_check_circular);
tmp_dict_value_1 = par_check_circular;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[17];
CHECK_OBJECT(par_allow_nan);
tmp_dict_value_1 = par_allow_nan;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[18];
CHECK_OBJECT(par_indent);
tmp_dict_value_1 = par_indent;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[19];
CHECK_OBJECT(par_separators);
tmp_dict_value_1 = par_separators;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[20];
CHECK_OBJECT(par_encoding);
tmp_dict_value_1 = par_encoding;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[21];
CHECK_OBJECT(par_default);
tmp_dict_value_1 = par_default;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[22];
CHECK_OBJECT(par_use_decimal);
tmp_dict_value_1 = par_use_decimal;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[23];
CHECK_OBJECT(par_namedtuple_as_object);
tmp_dict_value_1 = par_namedtuple_as_object;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[24];
CHECK_OBJECT(par_tuple_as_array);
tmp_dict_value_1 = par_tuple_as_array;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[25];
CHECK_OBJECT(par_iterable_as_array);
tmp_dict_value_1 = par_iterable_as_array;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[26];
CHECK_OBJECT(par_bigint_as_string);
tmp_dict_value_1 = par_bigint_as_string;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[27];
CHECK_OBJECT(par_sort_keys);
tmp_dict_value_1 = par_sort_keys;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[28];
CHECK_OBJECT(par_item_sort_key);
tmp_dict_value_1 = par_item_sort_key;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[29];
CHECK_OBJECT(par_for_json);
tmp_dict_value_1 = par_for_json;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[30];
CHECK_OBJECT(par_ignore_nan);
tmp_dict_value_1 = par_ignore_nan;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[31];
CHECK_OBJECT(par_int_as_string_bitcount);
tmp_dict_value_1 = par_int_as_string_bitcount;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kw);
tmp_dircall_arg3_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_expression_value_2 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[35]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_obj);
tmp_args_element_value_2 = par_obj;
frame_a2d079feffe220852eab3a306c491c40->m_frame.f_lineno = 385;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a2d079feffe220852eab3a306c491c40);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a2d079feffe220852eab3a306c491c40);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a2d079feffe220852eab3a306c491c40);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a2d079feffe220852eab3a306c491c40, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a2d079feffe220852eab3a306c491c40->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a2d079feffe220852eab3a306c491c40, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a2d079feffe220852eab3a306c491c40,
type_description_1,
par_obj,
par_skipkeys,
par_ensure_ascii,
par_check_circular,
par_allow_nan,
par_cls,
par_indent,
par_separators,
par_encoding,
par_default,
par_use_decimal,
par_namedtuple_as_object,
par_tuple_as_array,
par_bigint_as_string,
par_sort_keys,
par_item_sort_key,
par_for_json,
par_ignore_nan,
par_int_as_string_bitcount,
par_iterable_as_array,
par_kw
);
// Release cached frame if used for exception.
if (frame_a2d079feffe220852eab3a306c491c40 == cache_frame_a2d079feffe220852eab3a306c491c40) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a2d079feffe220852eab3a306c491c40);
cache_frame_a2d079feffe220852eab3a306c491c40 = NULL;
}
assertFrameObject(frame_a2d079feffe220852eab3a306c491c40);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_obj);
Py_DECREF(par_obj);
CHECK_OBJECT(par_skipkeys);
Py_DECREF(par_skipkeys);
CHECK_OBJECT(par_ensure_ascii);
Py_DECREF(par_ensure_ascii);
CHECK_OBJECT(par_check_circular);
Py_DECREF(par_check_circular);
CHECK_OBJECT(par_allow_nan);
Py_DECREF(par_allow_nan);
CHECK_OBJECT(par_indent);
Py_DECREF(par_indent);
CHECK_OBJECT(par_separators);
Py_DECREF(par_separators);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_bigint_as_string);
Py_DECREF(par_bigint_as_string);
CHECK_OBJECT(par_sort_keys);
Py_DECREF(par_sort_keys);
CHECK_OBJECT(par_item_sort_key);
Py_DECREF(par_item_sort_key);
CHECK_OBJECT(par_for_json);
Py_DECREF(par_for_json);
CHECK_OBJECT(par_ignore_nan);
Py_DECREF(par_ignore_nan);
CHECK_OBJECT(par_int_as_string_bitcount);
Py_DECREF(par_int_as_string_bitcount);
CHECK_OBJECT(par_iterable_as_array);
Py_DECREF(par_iterable_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_obj);
Py_DECREF(par_obj);
CHECK_OBJECT(par_skipkeys);
Py_DECREF(par_skipkeys);
CHECK_OBJECT(par_ensure_ascii);
Py_DECREF(par_ensure_ascii);
CHECK_OBJECT(par_check_circular);
Py_DECREF(par_check_circular);
CHECK_OBJECT(par_allow_nan);
Py_DECREF(par_allow_nan);
CHECK_OBJECT(par_indent);
Py_DECREF(par_indent);
CHECK_OBJECT(par_separators);
Py_DECREF(par_separators);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_bigint_as_string);
Py_DECREF(par_bigint_as_string);
CHECK_OBJECT(par_sort_keys);
Py_DECREF(par_sort_keys);
CHECK_OBJECT(par_item_sort_key);
Py_DECREF(par_item_sort_key);
CHECK_OBJECT(par_for_json);
Py_DECREF(par_for_json);
CHECK_OBJECT(par_ignore_nan);
Py_DECREF(par_ignore_nan);
CHECK_OBJECT(par_int_as_string_bitcount);
Py_DECREF(par_int_as_string_bitcount);
CHECK_OBJECT(par_iterable_as_array);
Py_DECREF(par_iterable_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__5_load(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_fp = python_pars[0];
PyObject *par_encoding = python_pars[1];
PyObject *par_cls = python_pars[2];
PyObject *par_object_hook = python_pars[3];
PyObject *par_parse_float = python_pars[4];
PyObject *par_parse_int = python_pars[5];
PyObject *par_parse_constant = python_pars[6];
PyObject *par_object_pairs_hook = python_pars[7];
PyObject *par_use_decimal = python_pars[8];
PyObject *par_namedtuple_as_object = python_pars[9];
PyObject *par_tuple_as_array = python_pars[10];
PyObject *par_kw = python_pars[11];
struct Nuitka_FrameObject *frame_f588e37d8af750a364c1c3c8e7fe493b;
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_f588e37d8af750a364c1c3c8e7fe493b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f588e37d8af750a364c1c3c8e7fe493b)) {
Py_XDECREF(cache_frame_f588e37d8af750a364c1c3c8e7fe493b);
#if _DEBUG_REFCOUNTS
if (cache_frame_f588e37d8af750a364c1c3c8e7fe493b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f588e37d8af750a364c1c3c8e7fe493b = MAKE_FUNCTION_FRAME(codeobj_f588e37d8af750a364c1c3c8e7fe493b, module_simplejson, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f588e37d8af750a364c1c3c8e7fe493b->m_type_description == NULL);
frame_f588e37d8af750a364c1c3c8e7fe493b = cache_frame_f588e37d8af750a364c1c3c8e7fe493b;
// Push the new frame as the currently active one.
pushFrameStack(frame_f588e37d8af750a364c1c3c8e7fe493b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f588e37d8af750a364c1c3c8e7fe493b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg4_1;
tmp_dircall_arg1_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_dircall_arg1_1 == NULL)) {
tmp_dircall_arg1_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_fp);
tmp_called_instance_1 = par_fp;
frame_f588e37d8af750a364c1c3c8e7fe493b->m_frame.f_lineno = 457;
tmp_tuple_element_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[38]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
tmp_dict_key_1 = mod_consts[20];
CHECK_OBJECT(par_encoding);
tmp_dict_value_1 = par_encoding;
tmp_dircall_arg3_1 = _PyDict_NewPresized( 8 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[39];
CHECK_OBJECT(par_cls);
tmp_dict_value_1 = par_cls;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[40];
CHECK_OBJECT(par_object_hook);
tmp_dict_value_1 = par_object_hook;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[41];
CHECK_OBJECT(par_parse_float);
tmp_dict_value_1 = par_parse_float;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[42];
CHECK_OBJECT(par_parse_int);
tmp_dict_value_1 = par_parse_int;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[43];
CHECK_OBJECT(par_parse_constant);
tmp_dict_value_1 = par_parse_constant;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[44];
CHECK_OBJECT(par_object_pairs_hook);
tmp_dict_value_1 = par_object_pairs_hook;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[22];
CHECK_OBJECT(par_use_decimal);
tmp_dict_value_1 = par_use_decimal;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kw);
tmp_dircall_arg4_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg4_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f588e37d8af750a364c1c3c8e7fe493b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f588e37d8af750a364c1c3c8e7fe493b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f588e37d8af750a364c1c3c8e7fe493b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f588e37d8af750a364c1c3c8e7fe493b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f588e37d8af750a364c1c3c8e7fe493b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f588e37d8af750a364c1c3c8e7fe493b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f588e37d8af750a364c1c3c8e7fe493b,
type_description_1,
par_fp,
par_encoding,
par_cls,
par_object_hook,
par_parse_float,
par_parse_int,
par_parse_constant,
par_object_pairs_hook,
par_use_decimal,
par_namedtuple_as_object,
par_tuple_as_array,
par_kw
);
// Release cached frame if used for exception.
if (frame_f588e37d8af750a364c1c3c8e7fe493b == cache_frame_f588e37d8af750a364c1c3c8e7fe493b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f588e37d8af750a364c1c3c8e7fe493b);
cache_frame_f588e37d8af750a364c1c3c8e7fe493b = NULL;
}
assertFrameObject(frame_f588e37d8af750a364c1c3c8e7fe493b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_fp);
Py_DECREF(par_fp);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_object_hook);
Py_DECREF(par_object_hook);
CHECK_OBJECT(par_parse_float);
Py_DECREF(par_parse_float);
CHECK_OBJECT(par_parse_int);
Py_DECREF(par_parse_int);
CHECK_OBJECT(par_parse_constant);
Py_DECREF(par_parse_constant);
CHECK_OBJECT(par_object_pairs_hook);
Py_DECREF(par_object_pairs_hook);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_fp);
Py_DECREF(par_fp);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_object_hook);
Py_DECREF(par_object_hook);
CHECK_OBJECT(par_parse_float);
Py_DECREF(par_parse_float);
CHECK_OBJECT(par_parse_int);
Py_DECREF(par_parse_int);
CHECK_OBJECT(par_parse_constant);
Py_DECREF(par_parse_constant);
CHECK_OBJECT(par_object_pairs_hook);
Py_DECREF(par_object_pairs_hook);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_namedtuple_as_object);
Py_DECREF(par_namedtuple_as_object);
CHECK_OBJECT(par_tuple_as_array);
Py_DECREF(par_tuple_as_array);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__6_loads(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_s = python_pars[0];
PyObject *par_encoding = python_pars[1];
PyObject *par_cls = python_pars[2];
PyObject *par_object_hook = python_pars[3];
PyObject *par_parse_float = python_pars[4];
PyObject *par_parse_int = python_pars[5];
PyObject *par_parse_constant = python_pars[6];
PyObject *par_object_pairs_hook = python_pars[7];
PyObject *par_use_decimal = python_pars[8];
PyObject *par_kw = python_pars[9];
struct Nuitka_FrameObject *frame_9cb38c576b11dca7939a1f0bc367faf1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_9cb38c576b11dca7939a1f0bc367faf1 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_9cb38c576b11dca7939a1f0bc367faf1)) {
Py_XDECREF(cache_frame_9cb38c576b11dca7939a1f0bc367faf1);
#if _DEBUG_REFCOUNTS
if (cache_frame_9cb38c576b11dca7939a1f0bc367faf1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9cb38c576b11dca7939a1f0bc367faf1 = MAKE_FUNCTION_FRAME(codeobj_9cb38c576b11dca7939a1f0bc367faf1, module_simplejson, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9cb38c576b11dca7939a1f0bc367faf1->m_type_description == NULL);
frame_9cb38c576b11dca7939a1f0bc367faf1 = cache_frame_9cb38c576b11dca7939a1f0bc367faf1;
// Push the new frame as the currently active one.
pushFrameStack(frame_9cb38c576b11dca7939a1f0bc367faf1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9cb38c576b11dca7939a1f0bc367faf1) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
int tmp_and_left_truth_2;
bool tmp_and_left_value_2;
bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
int tmp_and_left_truth_3;
bool tmp_and_left_value_3;
bool tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
int tmp_and_left_truth_4;
bool tmp_and_left_value_4;
bool tmp_and_right_value_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
int tmp_and_left_truth_5;
bool tmp_and_left_value_5;
bool tmp_and_right_value_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
int tmp_and_left_truth_6;
bool tmp_and_left_value_6;
bool tmp_and_right_value_6;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
int tmp_and_left_truth_7;
bool tmp_and_left_value_7;
bool tmp_and_right_value_7;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
int tmp_and_left_truth_8;
bool tmp_and_left_value_8;
bool tmp_and_right_value_8;
PyObject *tmp_operand_value_1;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_1 = par_cls;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_encoding);
tmp_cmp_expr_left_2 = par_encoding;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
tmp_and_left_truth_2 = tmp_and_left_value_2 != false ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_object_hook);
tmp_cmp_expr_left_3 = par_object_hook;
tmp_cmp_expr_right_3 = Py_None;
tmp_and_left_value_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
tmp_and_left_truth_3 = tmp_and_left_value_3 != false ? 1 : 0;
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_parse_int);
tmp_cmp_expr_left_4 = par_parse_int;
tmp_cmp_expr_right_4 = Py_None;
tmp_and_left_value_4 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
tmp_and_left_truth_4 = tmp_and_left_value_4 != false ? 1 : 0;
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
CHECK_OBJECT(par_parse_float);
tmp_cmp_expr_left_5 = par_parse_float;
tmp_cmp_expr_right_5 = Py_None;
tmp_and_left_value_5 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
tmp_and_left_truth_5 = tmp_and_left_value_5 != false ? 1 : 0;
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
CHECK_OBJECT(par_parse_constant);
tmp_cmp_expr_left_6 = par_parse_constant;
tmp_cmp_expr_right_6 = Py_None;
tmp_and_left_value_6 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
tmp_and_left_truth_6 = tmp_and_left_value_6 != false ? 1 : 0;
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
CHECK_OBJECT(par_object_pairs_hook);
tmp_cmp_expr_left_7 = par_object_pairs_hook;
tmp_cmp_expr_right_7 = Py_None;
tmp_and_left_value_7 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
tmp_and_left_truth_7 = tmp_and_left_value_7 != false ? 1 : 0;
if (tmp_and_left_truth_7 == 1) {
goto and_right_7;
} else {
goto and_left_7;
}
and_right_7:;
CHECK_OBJECT(par_use_decimal);
tmp_operand_value_1 = par_use_decimal;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_8 = (tmp_res == 0) ? true : false;
tmp_and_left_truth_8 = tmp_and_left_value_8 != false ? 1 : 0;
if (tmp_and_left_truth_8 == 1) {
goto and_right_8;
} else {
goto and_left_8;
}
and_right_8:;
CHECK_OBJECT(par_kw);
tmp_operand_value_2 = par_kw;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
assert(!(tmp_res == -1));
tmp_and_right_value_8 = (tmp_res == 0) ? true : false;
tmp_and_right_value_7 = tmp_and_right_value_8;
goto and_end_8;
and_left_8:;
tmp_and_right_value_7 = tmp_and_left_value_8;
and_end_8:;
tmp_and_right_value_6 = tmp_and_right_value_7;
goto and_end_7;
and_left_7:;
tmp_and_right_value_6 = tmp_and_left_value_7;
and_end_7:;
tmp_and_right_value_5 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
tmp_and_right_value_5 = tmp_and_left_value_6;
and_end_6:;
tmp_and_right_value_4 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
tmp_and_right_value_4 = tmp_and_left_value_5;
and_end_5:;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
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_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 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_args_element_value_1 = par_s;
frame_9cb38c576b11dca7939a1f0bc367faf1->m_frame.f_lineno = 518;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_8 = par_cls;
tmp_cmp_expr_right_8 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_8 == tmp_cmp_expr_right_8) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_assign_source_1 == NULL)) {
tmp_assign_source_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_cls;
assert(old != NULL);
par_cls = tmp_assign_source_1;
Py_INCREF(par_cls);
Py_DECREF(old);
}
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(par_object_hook);
tmp_cmp_expr_left_9 = par_object_hook;
tmp_cmp_expr_right_9 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_9 != tmp_cmp_expr_right_9) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
CHECK_OBJECT(par_object_hook);
tmp_dictset_value = par_object_hook;
CHECK_OBJECT(par_kw);
tmp_dictset_dict = par_kw;
tmp_dictset_key = mod_consts[40];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
assert(!(tmp_res != 0));
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(par_object_pairs_hook);
tmp_cmp_expr_left_10 = par_object_pairs_hook;
tmp_cmp_expr_right_10 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_10 != tmp_cmp_expr_right_10) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_object_pairs_hook);
tmp_ass_subvalue_1 = par_object_pairs_hook;
if (par_kw == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 524;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = par_kw;
tmp_ass_subscript_1 = mod_consts[44];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(par_parse_float);
tmp_cmp_expr_left_11 = par_parse_float;
tmp_cmp_expr_right_11 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_11 != tmp_cmp_expr_right_11) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_ass_subscript_2;
CHECK_OBJECT(par_parse_float);
tmp_ass_subvalue_2 = par_parse_float;
if (par_kw == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 526;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_2 = par_kw;
tmp_ass_subscript_2 = mod_consts[41];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 526;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_5:;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(par_parse_int);
tmp_cmp_expr_left_12 = par_parse_int;
tmp_cmp_expr_right_12 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_12 != tmp_cmp_expr_right_12) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_ass_subvalue_3;
PyObject *tmp_ass_subscribed_3;
PyObject *tmp_ass_subscript_3;
CHECK_OBJECT(par_parse_int);
tmp_ass_subvalue_3 = par_parse_int;
if (par_kw == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 528;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_3 = par_kw;
tmp_ass_subscript_3 = mod_consts[42];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_6:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
CHECK_OBJECT(par_parse_constant);
tmp_cmp_expr_left_13 = par_parse_constant;
tmp_cmp_expr_right_13 = Py_None;
tmp_condition_result_7 = (tmp_cmp_expr_left_13 != tmp_cmp_expr_right_13) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_ass_subvalue_4;
PyObject *tmp_ass_subscribed_4;
PyObject *tmp_ass_subscript_4;
CHECK_OBJECT(par_parse_constant);
tmp_ass_subvalue_4 = par_parse_constant;
if (par_kw == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 530;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_4 = par_kw;
tmp_ass_subscript_4 = mod_consts[43];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_4, tmp_ass_subscript_4, tmp_ass_subvalue_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_7:;
{
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_1;
CHECK_OBJECT(par_use_decimal);
tmp_truth_name_1 = CHECK_IF_TRUE(par_use_decimal);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
CHECK_OBJECT(par_parse_float);
tmp_cmp_expr_left_14 = par_parse_float;
tmp_cmp_expr_right_14 = Py_None;
tmp_condition_result_9 = (tmp_cmp_expr_left_14 != tmp_cmp_expr_right_14) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[50];
frame_9cb38c576b11dca7939a1f0bc367faf1->m_frame.f_lineno = 533;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 533;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_no_9:;
{
PyObject *tmp_ass_subvalue_5;
PyObject *tmp_ass_subscribed_5;
PyObject *tmp_ass_subscript_5;
tmp_ass_subvalue_5 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_ass_subvalue_5 == NULL)) {
tmp_ass_subvalue_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_ass_subvalue_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
if (par_kw == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 534;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_5 = par_kw;
tmp_ass_subscript_5 = mod_consts[41];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_5, tmp_ass_subscript_5, tmp_ass_subvalue_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_8:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_cls);
tmp_dircall_arg1_1 = par_cls;
tmp_dict_key_1 = mod_consts[20];
CHECK_OBJECT(par_encoding);
tmp_dict_value_1 = par_encoding;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
if (par_kw == NULL) {
Py_DECREF(tmp_dircall_arg2_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 535;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_expression_value_2 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_args_element_value_2 = par_s;
frame_9cb38c576b11dca7939a1f0bc367faf1->m_frame.f_lineno = 535;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9cb38c576b11dca7939a1f0bc367faf1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9cb38c576b11dca7939a1f0bc367faf1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9cb38c576b11dca7939a1f0bc367faf1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9cb38c576b11dca7939a1f0bc367faf1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9cb38c576b11dca7939a1f0bc367faf1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9cb38c576b11dca7939a1f0bc367faf1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9cb38c576b11dca7939a1f0bc367faf1,
type_description_1,
par_s,
par_encoding,
par_cls,
par_object_hook,
par_parse_float,
par_parse_int,
par_parse_constant,
par_object_pairs_hook,
par_use_decimal,
par_kw
);
// Release cached frame if used for exception.
if (frame_9cb38c576b11dca7939a1f0bc367faf1 == cache_frame_9cb38c576b11dca7939a1f0bc367faf1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9cb38c576b11dca7939a1f0bc367faf1);
cache_frame_9cb38c576b11dca7939a1f0bc367faf1 = NULL;
}
assertFrameObject(frame_9cb38c576b11dca7939a1f0bc367faf1);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
par_cls = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_object_hook);
Py_DECREF(par_object_hook);
CHECK_OBJECT(par_parse_float);
Py_DECREF(par_parse_float);
CHECK_OBJECT(par_parse_int);
Py_DECREF(par_parse_int);
CHECK_OBJECT(par_parse_constant);
Py_DECREF(par_parse_constant);
CHECK_OBJECT(par_object_pairs_hook);
Py_DECREF(par_object_pairs_hook);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
CHECK_OBJECT(par_object_hook);
Py_DECREF(par_object_hook);
CHECK_OBJECT(par_parse_float);
Py_DECREF(par_parse_float);
CHECK_OBJECT(par_parse_int);
Py_DECREF(par_parse_int);
CHECK_OBJECT(par_parse_constant);
Py_DECREF(par_parse_constant);
CHECK_OBJECT(par_object_pairs_hook);
Py_DECREF(par_object_pairs_hook);
CHECK_OBJECT(par_use_decimal);
Py_DECREF(par_use_decimal);
CHECK_OBJECT(par_kw);
Py_DECREF(par_kw);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__7__toggle_speedups(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_enabled = python_pars[0];
PyObject *var_dec = NULL;
PyObject *var_enc = NULL;
PyObject *var_scan = NULL;
PyObject *var_c_make_encoder = NULL;
struct Nuitka_FrameObject *frame_fa115ed8b72f68267ecccb104d00313a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_fa115ed8b72f68267ecccb104d00313a = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_fa115ed8b72f68267ecccb104d00313a)) {
Py_XDECREF(cache_frame_fa115ed8b72f68267ecccb104d00313a);
#if _DEBUG_REFCOUNTS
if (cache_frame_fa115ed8b72f68267ecccb104d00313a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fa115ed8b72f68267ecccb104d00313a = MAKE_FUNCTION_FRAME(codeobj_fa115ed8b72f68267ecccb104d00313a, module_simplejson, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fa115ed8b72f68267ecccb104d00313a->m_type_description == NULL);
frame_fa115ed8b72f68267ecccb104d00313a = cache_frame_fa115ed8b72f68267ecccb104d00313a;
// Push the new frame as the currently active one.
pushFrameStack(frame_fa115ed8b72f68267ecccb104d00313a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fa115ed8b72f68267ecccb104d00313a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[3];
tmp_globals_arg_value_1 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[53];
tmp_level_value_1 = mod_consts[5];
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 539;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_1 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_simplejson,
mod_consts[54],
mod_consts[1]
);
} else {
tmp_assign_source_1 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[54]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_dec == NULL);
var_dec = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[3];
tmp_globals_arg_value_2 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[55];
tmp_level_value_2 = mod_consts[5];
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 540;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_2 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_simplejson,
mod_consts[56],
mod_consts[1]
);
} else {
tmp_assign_source_2 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[56]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_enc == NULL);
var_enc = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[3];
tmp_globals_arg_value_3 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[57];
tmp_level_value_3 = mod_consts[5];
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 541;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_3 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_simplejson,
mod_consts[58],
mod_consts[1]
);
} else {
tmp_assign_source_3 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[58]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_scan == NULL);
var_scan = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 542;
tmp_assign_source_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_c_make_encoder == NULL);
var_c_make_encoder = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_enabled);
tmp_truth_name_1 = CHECK_IF_TRUE(par_enabled);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_dec);
tmp_expression_value_1 = var_dec;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 544;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
CHECK_OBJECT(var_dec);
tmp_expression_value_2 = var_dec;
tmp_or_right_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[61]);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_assattr_value_1 = tmp_or_left_value_1;
or_end_1:;
CHECK_OBJECT(var_dec);
tmp_assattr_target_1 = var_dec;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[62], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(var_c_make_encoder);
tmp_assattr_value_2 = var_c_make_encoder;
CHECK_OBJECT(var_enc);
tmp_assattr_target_2 = var_enc;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[63], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(var_enc);
tmp_expression_value_3 = var_enc;
tmp_or_left_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[64]);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 546;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
CHECK_OBJECT(var_enc);
tmp_expression_value_4 = var_enc;
tmp_or_right_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[65]);
if (tmp_or_right_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_3 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_assattr_value_3 = tmp_or_left_value_2;
or_end_2:;
CHECK_OBJECT(var_enc);
tmp_assattr_target_3 = var_enc;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[66], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
int tmp_or_left_truth_3;
PyObject *tmp_or_left_value_3;
PyObject *tmp_or_right_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(var_scan);
tmp_expression_value_5 = var_scan;
tmp_or_left_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[67]);
if (tmp_or_left_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_3 = CHECK_IF_TRUE(tmp_or_left_value_3);
if (tmp_or_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_3);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_3 == 1) {
goto or_left_3;
} else {
goto or_right_3;
}
or_right_3:;
Py_DECREF(tmp_or_left_value_3);
CHECK_OBJECT(var_scan);
tmp_expression_value_6 = var_scan;
tmp_or_right_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[68]);
if (tmp_or_right_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_4 = tmp_or_right_value_3;
goto or_end_3;
or_left_3:;
tmp_assattr_value_4 = tmp_or_left_value_3;
or_end_3:;
CHECK_OBJECT(var_scan);
tmp_assattr_target_4 = var_scan;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[69], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(var_dec);
tmp_expression_value_7 = var_dec;
tmp_assattr_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[61]);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 550;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_dec);
tmp_assattr_target_5 = var_dec;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[62], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 550;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_None;
CHECK_OBJECT(var_enc);
tmp_assattr_target_6 = var_enc;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[63], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(var_enc);
tmp_expression_value_8 = var_enc;
tmp_assattr_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[65]);
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_enc);
tmp_assattr_target_7 = var_enc;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[66], tmp_assattr_value_7);
Py_DECREF(tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_assattr_target_8;
CHECK_OBJECT(var_scan);
tmp_expression_value_9 = var_scan;
tmp_assattr_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[68]);
if (tmp_assattr_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 553;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_scan);
tmp_assattr_target_8 = var_scan;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[69], tmp_assattr_value_8);
Py_DECREF(tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 553;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_assattr_target_9;
if (var_scan == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[70]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = var_scan;
tmp_assattr_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[69]);
if (tmp_assattr_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_dec == NULL) {
Py_DECREF(tmp_assattr_value_9);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[71]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_9 = var_dec;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[69], tmp_assattr_value_9);
Py_DECREF(tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 556;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 556;
tmp_assign_source_5 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, &PyTuple_GET_ITEM(mod_consts[72], 0), mod_consts[73]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 556;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_fa115ed8b72f68267ecccb104d00313a->m_frame.f_lineno = 562;
tmp_assign_source_6 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, &PyTuple_GET_ITEM(mod_consts[74], 0), mod_consts[75]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_6);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fa115ed8b72f68267ecccb104d00313a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fa115ed8b72f68267ecccb104d00313a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fa115ed8b72f68267ecccb104d00313a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fa115ed8b72f68267ecccb104d00313a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fa115ed8b72f68267ecccb104d00313a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fa115ed8b72f68267ecccb104d00313a,
type_description_1,
par_enabled,
var_dec,
var_enc,
var_scan,
var_c_make_encoder
);
// Release cached frame if used for exception.
if (frame_fa115ed8b72f68267ecccb104d00313a == cache_frame_fa115ed8b72f68267ecccb104d00313a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fa115ed8b72f68267ecccb104d00313a);
cache_frame_fa115ed8b72f68267ecccb104d00313a = NULL;
}
assertFrameObject(frame_fa115ed8b72f68267ecccb104d00313a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_dec);
var_dec = NULL;
Py_XDECREF(var_enc);
var_enc = NULL;
Py_XDECREF(var_scan);
var_scan = NULL;
CHECK_OBJECT(var_c_make_encoder);
Py_DECREF(var_c_make_encoder);
var_c_make_encoder = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_dec);
var_dec = NULL;
Py_XDECREF(var_enc);
var_enc = NULL;
Py_XDECREF(var_scan);
var_scan = NULL;
Py_XDECREF(var_c_make_encoder);
var_c_make_encoder = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_enabled);
Py_DECREF(par_enabled);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_enabled);
Py_DECREF(par_enabled);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_simplejson$$$function__8_simple_first(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_kv = python_pars[0];
struct Nuitka_FrameObject *frame_a31bd438d573261f2f05a079a6567fc9;
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_a31bd438d573261f2f05a079a6567fc9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a31bd438d573261f2f05a079a6567fc9)) {
Py_XDECREF(cache_frame_a31bd438d573261f2f05a079a6567fc9);
#if _DEBUG_REFCOUNTS
if (cache_frame_a31bd438d573261f2f05a079a6567fc9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a31bd438d573261f2f05a079a6567fc9 = MAKE_FUNCTION_FRAME(codeobj_a31bd438d573261f2f05a079a6567fc9, module_simplejson, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a31bd438d573261f2f05a079a6567fc9->m_type_description == NULL);
frame_a31bd438d573261f2f05a079a6567fc9 = cache_frame_a31bd438d573261f2f05a079a6567fc9;
// Push the new frame as the currently active one.
pushFrameStack(frame_a31bd438d573261f2f05a079a6567fc9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a31bd438d573261f2f05a079a6567fc9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_kv);
tmp_expression_value_1 = par_kv;
tmp_subscript_value_1 = mod_consts[5];
tmp_isinstance_inst_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 1);
if (tmp_isinstance_inst_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = mod_consts[76];
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_inst_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_return_value = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_kv);
tmp_expression_value_2 = par_kv;
tmp_subscript_value_2 = mod_consts[1];
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_2, 0);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_return_value, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_return_value);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a31bd438d573261f2f05a079a6567fc9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a31bd438d573261f2f05a079a6567fc9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a31bd438d573261f2f05a079a6567fc9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a31bd438d573261f2f05a079a6567fc9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a31bd438d573261f2f05a079a6567fc9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a31bd438d573261f2f05a079a6567fc9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a31bd438d573261f2f05a079a6567fc9,
type_description_1,
par_kv
);
// Release cached frame if used for exception.
if (frame_a31bd438d573261f2f05a079a6567fc9 == cache_frame_a31bd438d573261f2f05a079a6567fc9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a31bd438d573261f2f05a079a6567fc9);
cache_frame_a31bd438d573261f2f05a079a6567fc9 = NULL;
}
assertFrameObject(frame_a31bd438d573261f2f05a079a6567fc9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_kv);
Py_DECREF(par_kv);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_kv);
Py_DECREF(par_kv);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__1__import_OrderedDict() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__1__import_OrderedDict,
mod_consts[107],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9493e4bc94619047618d407ce0c66dce,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__2__import_c_make_encoder() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__2__import_c_make_encoder,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9a2090f7dc7fd15b760a06833c4653cb,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__3_dump(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__3_dump,
mod_consts[111],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_dfb6bba4d7848ba374042e810ea5d9bb,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
mod_consts[34],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__4_dumps(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__4_dumps,
mod_consts[112],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a2d079feffe220852eab3a306c491c40,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
mod_consts[36],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__5_load(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__5_load,
mod_consts[114],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_f588e37d8af750a364c1c3c8e7fe493b,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
mod_consts[45],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__6_loads(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__6_loads,
mod_consts[37],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9cb38c576b11dca7939a1f0bc367faf1,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
mod_consts[52],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__7__toggle_speedups() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__7__toggle_speedups,
mod_consts[116],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_fa115ed8b72f68267ecccb104d00313a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_simplejson$$$function__8_simple_first() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_simplejson$$$function__8_simple_first,
mod_consts[117],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a31bd438d573261f2f05a079a6567fc9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_simplejson,
mod_consts[77],
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_simplejson[] = {
impl_simplejson$$$function__1__import_OrderedDict,
impl_simplejson$$$function__2__import_c_make_encoder,
impl_simplejson$$$function__3_dump,
impl_simplejson$$$function__4_dumps,
impl_simplejson$$$function__5_load,
impl_simplejson$$$function__6_loads,
impl_simplejson$$$function__7__toggle_speedups,
impl_simplejson$$$function__8_simple_first,
NULL
};
static char const *_reduce_compiled_function_argnames[] = {
"func",
NULL
};
static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
PyObject *func;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) {
return NULL;
}
if (Nuitka_Function_Check(func) == false) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function");
return NULL;
}
struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func;
function_impl_code *current = functable_simplejson;
int offset = 0;
while (*current != NULL) {
if (*current == function->m_c_code) {
break;
}
current += 1;
offset += 1;
}
if (*current == NULL) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module.");
return NULL;
}
PyObject *code_object_desc = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename);
PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name);
PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno));
PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames);
PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount));
PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags));
CHECK_OBJECT_DEEP(code_object_desc);
PyObject *result = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset));
PyTuple_SET_ITEM(result, 1, code_object_desc);
PyTuple_SET_ITEM0(result, 2, function->m_defaults);
PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None);
CHECK_OBJECT_DEEP(result);
return result;
}
static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL};
static char const *_create_compiled_function_argnames[] = {
"func",
"code_object_desc",
"defaults",
"doc",
NULL
};
static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
CHECK_OBJECT_DEEP(args);
PyObject *func;
PyObject *code_object_desc;
PyObject *defaults;
PyObject *doc;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) {
return NULL;
}
int offset = PyLong_AsLong(func);
if (offset == -1 && ERROR_OCCURRED()) {
return NULL;
}
if (offset > sizeof(functable_simplejson) || offset < 0) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function.");
return NULL;
}
PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0);
PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1);
PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2);
int line_int = PyLong_AsLong(line);
assert(!ERROR_OCCURRED());
PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3);
PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4);
int arg_count_int = PyLong_AsLong(arg_count);
assert(!ERROR_OCCURRED());
PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5);
int flags_int = PyLong_AsLong(flags);
assert(!ERROR_OCCURRED());
PyCodeObject *code_object = MAKE_CODE_OBJECT(
filename,
line_int,
flags_int,
function_name,
argnames,
NULL, // freevars
arg_count_int,
0, // TODO: Missing kw_only_count
0 // TODO: Missing pos_only_count
);
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
functable_simplejson[offset],
code_object->co_name,
#if PYTHON_VERSION >= 0x300
NULL, // TODO: Not transferring qualname yet
#endif
code_object,
defaults,
#if PYTHON_VERSION >= 0x300
NULL, // kwdefaults are done on the outside currently
NULL, // TODO: Not transferring annotations
#endif
module_simplejson,
doc,
NULL,
0
);
return (PyObject *)result;
}
static PyMethodDef _method_def_create_compiled_function = {
"create_compiled_function",
(PyCFunction)_create_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL
};
#endif
// Internal entry point for module code.
PyObject *modulecode_simplejson(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("simplejson");
// Store the module for future use.
module_simplejson = module;
// Modules can be loaded again in case of errors, avoid the init being done again.
static bool init_done = false;
if (init_done == false) {
#if defined(_NUITKA_MODULE) && 0
// In case of an extension module loaded into a process, we need to call
// initialization here because that's the first and potentially only time
// we are going called.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
_initSlotCompare();
#if PYTHON_VERSION >= 0x270
_initSlotIterNext();
#endif
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
PRINT_STRING("simplejson: Calling setupMetaPathBasedLoader().\n");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 0x300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("simplejson: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("simplejson: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initsimplejson\n");
moduledict_simplejson = MODULE_DICT(module_simplejson);
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
registerDillPluginTables(loader_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function);
#endif
// Set "__compiled__" to what version information we have.
UPDATE_STRING_DICT0(
moduledict_simplejson,
(Nuitka_StringObject *)const_str_plain___compiled__,
Nuitka_dunder_compiled_value
);
// Update "__package__" value to what it ought to be.
{
#if 0
UPDATE_STRING_DICT0(
moduledict_simplejson,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[3]
);
#elif 1
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_simplejson,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_simplejson, (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_simplejson,
(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_simplejson, (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_simplejson,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_simplejson);
// 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_simplejson, (Nuitka_StringObject *)const_str_plain___builtins__) == NULL) {
PyObject *value = (PyObject *)builtin_module;
// Check if main module, not a dict then but the module itself.
#if defined(_NUITKA_MODULE) || !0
value = PyModule_GetDict(value);
#endif
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type);
#endif
#if PYTHON_VERSION >= 0x340
// Set the "__spec__" value
#if 0
// Main modules just get "None" as spec.
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___spec__, Py_None);
#else
// Other modules get a "ModuleSpec" from the standard mechanism.
{
PyObject *bootstrap_module = getImportLibBootstrapModule();
CHECK_OBJECT(bootstrap_module);
PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module");
CHECK_OBJECT(_spec_from_module);
PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_simplejson);
Py_DECREF(_spec_from_module);
// We can assume this to never fail, or else we are in trouble anyway.
// CHECK_OBJECT(spec_value);
if (spec_value == NULL) {
PyErr_PrintEx(0);
abort();
}
// Mark the execution in the "__spec__" value.
SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_0b59a642d2bce229f498050d31ab4943;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_dictset_key;
int tmp_res;
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;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[78];
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[80];
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[81], tmp_assign_source_2);
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = LIST_COPY(mod_consts[82]);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[83], tmp_assign_source_3);
}
// Frame without reuse.
frame_0b59a642d2bce229f498050d31ab4943 = MAKE_MODULE_FRAME(codeobj_0b59a642d2bce229f498050d31ab4943, module_simplejson);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_0b59a642d2bce229f498050d31ab4943);
assert(Py_REFCNT(frame_0b59a642d2bce229f498050d31ab4943) == 2);
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_dictset_value = Nuitka_Loader_New(loader_entry);
tmp_dictset_dict = Nuitka_SysGetObject("path_importer_cache");
if (tmp_dictset_dict == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[83]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[83]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_subscript_value_1 = mod_consts[1];
tmp_dictset_key = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_dictset_key == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
Py_DECREF(tmp_dictset_key);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[80];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[85], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[86], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[83]);
if (unlikely(tmp_assattr_value_3 == NULL)) {
tmp_assattr_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[83]);
}
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_assattr_target_3 == NULL)) {
tmp_assattr_target_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
assert(!(tmp_assattr_target_3 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[87], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = Py_None;
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[88], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
{
PyObject *hard_module = IMPORT_HARD___FUTURE__();
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[89]);
}
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[89], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = mod_consts[90];
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = LIST_COPY(mod_consts[92]);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = mod_consts[94];
UPDATE_STRING_DICT0(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[95], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[96];
tmp_globals_arg_value_1 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[97];
tmp_level_value_1 = mod_consts[1];
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 110;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 110;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_simplejson,
mod_consts[51],
mod_consts[1]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[51]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 110;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[51], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[98];
tmp_globals_arg_value_2 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[99];
tmp_level_value_2 = mod_consts[5];
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 112;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_simplejson,
mod_consts[100],
mod_consts[1]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[100]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[100], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[101];
tmp_globals_arg_value_3 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[102];
tmp_level_value_3 = mod_consts[5];
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 113;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_simplejson,
mod_consts[103],
mod_consts[1]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[103]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[54];
tmp_globals_arg_value_4 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[104];
tmp_level_value_4 = mod_consts[5];
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 114;
tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_simplejson,
mod_consts[48],
mod_consts[1]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[48]);
}
Py_DECREF(tmp_import_name_from_4);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[56];
tmp_globals_arg_value_5 = (PyObject *)moduledict_simplejson;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[105];
tmp_level_value_5 = mod_consts[5];
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 115;
tmp_assign_source_13 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_simplejson,
mod_consts[13],
mod_consts[1]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[13]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[13], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_simplejson,
mod_consts[106],
mod_consts[1]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[106]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[106], tmp_assign_source_15);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = MAKE_FUNCTION_simplejson$$$function__1__import_OrderedDict();
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[107], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[107]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[107]);
}
assert(!(tmp_called_value_1 == NULL));
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 123;
tmp_assign_source_17 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
tmp_assign_source_18 = MAKE_FUNCTION_simplejson$$$function__2__import_c_make_encoder();
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
goto frame_exception_exit_1;
}
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 132;
tmp_assign_source_19 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, &PyTuple_GET_ITEM(mod_consts[108], 0), mod_consts[109]);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[110];
Py_INCREF(tmp_defaults_1);
tmp_assign_source_20 = MAKE_FUNCTION_simplejson$$$function__3_dump(tmp_defaults_1);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[111], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_defaults_2;
tmp_defaults_2 = mod_consts[110];
Py_INCREF(tmp_defaults_2);
tmp_assign_source_21 = MAKE_FUNCTION_simplejson$$$function__4_dumps(tmp_defaults_2);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[112], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
goto frame_exception_exit_1;
}
frame_0b59a642d2bce229f498050d31ab4943->m_frame.f_lineno = 402;
tmp_assign_source_22 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, &PyTuple_GET_ITEM(mod_consts[72], 0), mod_consts[73]);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_22);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b59a642d2bce229f498050d31ab4943);
#endif
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b59a642d2bce229f498050d31ab4943);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0b59a642d2bce229f498050d31ab4943, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0b59a642d2bce229f498050d31ab4943->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0b59a642d2bce229f498050d31ab4943, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[113];
Py_INCREF(tmp_defaults_3);
tmp_assign_source_23 = MAKE_FUNCTION_simplejson$$$function__5_load(tmp_defaults_3);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[115];
Py_INCREF(tmp_defaults_4);
tmp_assign_source_24 = MAKE_FUNCTION_simplejson$$$function__6_loads(tmp_defaults_4);
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[37], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = MAKE_FUNCTION_simplejson$$$function__7__toggle_speedups();
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = MAKE_FUNCTION_simplejson$$$function__8_simple_first();
UPDATE_STRING_DICT1(moduledict_simplejson, (Nuitka_StringObject *)mod_consts[117], tmp_assign_source_26);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("simplejson", false);
Py_INCREF(module_simplejson);
return module_simplejson;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_simplejson, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("simplejson", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}