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 'apport.fileutils'
* 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_apport$fileutils" 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_apport$fileutils;
PyDictObject *moduledict_apport$fileutils;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[298];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[298];
#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("apport.fileutils"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 298; 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_apport$fileutils(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 298; 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_c424ba353686d83c929ce995cbbd58a3;
static PyCodeObject *codeobj_0175c06c79c479318cf77b9c24b06266;
static PyCodeObject *codeobj_987a314df13a2f10d4317cc791ca3f7f;
static PyCodeObject *codeobj_677e4f39d26fa0ace9cf3398587d0401;
static PyCodeObject *codeobj_184bc773b41bb6e81adfabe720ebd95a;
static PyCodeObject *codeobj_afcc682d049b154dc1785e3c9e4cf400;
static PyCodeObject *codeobj_384dfa88eccb3d841d7aa3d5e7b87b06;
static PyCodeObject *codeobj_6a769329769ad7648e3ef343f736ec9b;
static PyCodeObject *codeobj_213906cca5ed613c2f7627e8bba4e54f;
static PyCodeObject *codeobj_fa2679d084d19ec5002a232d79adc5e3;
static PyCodeObject *codeobj_d2e071459a8e7c4868fd791eafeb9513;
static PyCodeObject *codeobj_8c121d80b6a2629572c7e5acb46b8a13;
static PyCodeObject *codeobj_8fe167f0cd5d064013b82d29b5e92f03;
static PyCodeObject *codeobj_ad9aadb9c8f458207d0936389ae92dcc;
static PyCodeObject *codeobj_ff91a60c2b3bd5ec1b1d4edd4275d759;
static PyCodeObject *codeobj_3993c9a2d7f92f69868646387b0c71b2;
static PyCodeObject *codeobj_9c19de49b75acc4e85bd239ef8f4d93b;
static PyCodeObject *codeobj_407074f4b4b043e3e5b2971e4d81eee4;
static PyCodeObject *codeobj_6fac3d5b9b754235bd46af6833719314;
static PyCodeObject *codeobj_9a1f0167aa0016ba26b8cf6b8805f9b4;
static PyCodeObject *codeobj_274305d3e9dca7ffd9cb499b30af9c17;
static PyCodeObject *codeobj_d67db4aa3445d64db1543bf297a4c3ec;
static PyCodeObject *codeobj_e5b2da26ca2fb5d32d12aae7f4f967e5;
static PyCodeObject *codeobj_8e9a427dfcb11c17395aa70ae9d39da1;
static PyCodeObject *codeobj_c11fdb05f9cb59d3d27ccc1dbe9de58c;
static PyCodeObject *codeobj_93e9deae8089f6844002b9c47260ba96;
static PyCodeObject *codeobj_171badeff517d2c68a7596c41135c762;
static PyCodeObject *codeobj_7808b23f8153de1b42e50a7b47a2e6a8;
static PyCodeObject *codeobj_a3143957370839bcbbc3e8416ef27f2b;
static PyCodeObject *codeobj_94665a9a662bc9565d132b9ed320abd5;
static PyCodeObject *codeobj_a8b1a631d3975a265ea93a79fa955eae;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[228]; CHECK_OBJECT(module_filename_obj);
codeobj_c424ba353686d83c929ce995cbbd58a3 = MAKE_CODE_OBJECT(module_filename_obj, 285, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[269], mod_consts[269], mod_consts[270], NULL, 1, 0, 0);
codeobj_0175c06c79c479318cf77b9c24b06266 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[271], mod_consts[271], NULL, NULL, 0, 0, 0);
codeobj_987a314df13a2f10d4317cc791ca3f7f = MAKE_CODE_OBJECT(module_filename_obj, 36, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[249], mod_consts[249], NULL, NULL, 0, 0, 0);
codeobj_677e4f39d26fa0ace9cf3398587d0401 = MAKE_CODE_OBJECT(module_filename_obj, 347, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[261], mod_consts[261], mod_consts[272], NULL, 1, 0, 0);
codeobj_184bc773b41bb6e81adfabe720ebd95a = MAKE_CODE_OBJECT(module_filename_obj, 537, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[267], mod_consts[267], mod_consts[273], NULL, 1, 0, 0);
codeobj_afcc682d049b154dc1785e3c9e4cf400 = MAKE_CODE_OBJECT(module_filename_obj, 288, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[82], mod_consts[82], mod_consts[274], NULL, 1, 0, 0);
codeobj_384dfa88eccb3d841d7aa3d5e7b87b06 = MAKE_CODE_OBJECT(module_filename_obj, 516, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[204], mod_consts[204], mod_consts[275], NULL, 1, 0, 0);
codeobj_6a769329769ad7648e3ef343f736ec9b = MAKE_CODE_OBJECT(module_filename_obj, 123, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[252], mod_consts[252], mod_consts[276], NULL, 1, 0, 0);
codeobj_213906cca5ed613c2f7627e8bba4e54f = MAKE_CODE_OBJECT(module_filename_obj, 75, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[251], mod_consts[251], mod_consts[277], NULL, 1, 0, 0);
codeobj_fa2679d084d19ec5002a232d79adc5e3 = MAKE_CODE_OBJECT(module_filename_obj, 140, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[253], mod_consts[253], mod_consts[278], NULL, 1, 0, 0);
codeobj_d2e071459a8e7c4868fd791eafeb9513 = MAKE_CODE_OBJECT(module_filename_obj, 219, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[92], mod_consts[92], mod_consts[279], NULL, 0, 0, 0);
codeobj_8c121d80b6a2629572c7e5acb46b8a13 = MAKE_CODE_OBJECT(module_filename_obj, 252, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[102], mod_consts[102], mod_consts[280], NULL, 0, 0, 0);
codeobj_8fe167f0cd5d064013b82d29b5e92f03 = MAKE_CODE_OBJECT(module_filename_obj, 468, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[193], mod_consts[193], mod_consts[281], NULL, 0, 0, 0);
codeobj_ad9aadb9c8f458207d0936389ae92dcc = MAKE_CODE_OBJECT(module_filename_obj, 372, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[143], mod_consts[143], mod_consts[282], NULL, 5, 0, 0);
codeobj_ff91a60c2b3bd5ec1b1d4edd4275d759 = MAKE_CODE_OBJECT(module_filename_obj, 487, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[266], mod_consts[266], mod_consts[283], NULL, 5, 0, 0);
codeobj_3993c9a2d7f92f69868646387b0c71b2 = MAKE_CODE_OBJECT(module_filename_obj, 48, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[284], NULL, 1, 0, 0);
codeobj_9c19de49b75acc4e85bd239ef8f4d93b = MAKE_CODE_OBJECT(module_filename_obj, 234, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[257], mod_consts[257], mod_consts[279], NULL, 0, 0, 0);
codeobj_407074f4b4b043e3e5b2971e4d81eee4 = MAKE_CODE_OBJECT(module_filename_obj, 279, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[258], mod_consts[258], NULL, NULL, 0, 0, 0);
codeobj_6fac3d5b9b754235bd46af6833719314 = MAKE_CODE_OBJECT(module_filename_obj, 476, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[189], mod_consts[189], mod_consts[285], NULL, 1, 0, 0);
codeobj_9a1f0167aa0016ba26b8cf6b8805f9b4 = MAKE_CODE_OBJECT(module_filename_obj, 301, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[259], mod_consts[259], mod_consts[286], NULL, 1, 0, 0);
codeobj_274305d3e9dca7ffd9cb499b30af9c17 = MAKE_CODE_OBJECT(module_filename_obj, 424, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[187], mod_consts[187], mod_consts[287], NULL, 1, 0, 0);
codeobj_d67db4aa3445d64db1543bf297a4c3ec = MAKE_CODE_OBJECT(module_filename_obj, 436, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[263], mod_consts[263], mod_consts[288], NULL, 1, 0, 0);
codeobj_e5b2da26ca2fb5d32d12aae7f4f967e5 = MAKE_CODE_OBJECT(module_filename_obj, 103, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[41], mod_consts[41], mod_consts[289], NULL, 1, 0, 0);
codeobj_8e9a427dfcb11c17395aa70ae9d39da1 = MAKE_CODE_OBJECT(module_filename_obj, 585, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[268], mod_consts[268], mod_consts[290], NULL, 2, 0, 0);
codeobj_c11fdb05f9cb59d3d27ccc1dbe9de58c = MAKE_CODE_OBJECT(module_filename_obj, 321, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[260], mod_consts[260], mod_consts[291], NULL, 2, 0, 0);
codeobj_93e9deae8089f6844002b9c47260ba96 = MAKE_CODE_OBJECT(module_filename_obj, 175, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[255], mod_consts[255], mod_consts[292], NULL, 2, 0, 0);
codeobj_171badeff517d2c68a7596c41135c762 = MAKE_CODE_OBJECT(module_filename_obj, 188, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[256], mod_consts[256], mod_consts[293], NULL, 1, 0, 0);
codeobj_7808b23f8153de1b42e50a7b47a2e6a8 = MAKE_CODE_OBJECT(module_filename_obj, 162, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[254], mod_consts[254], mod_consts[294], NULL, 1, 0, 0);
codeobj_a3143957370839bcbbc3e8416ef27f2b = MAKE_CODE_OBJECT(module_filename_obj, 452, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[264], mod_consts[264], mod_consts[295], NULL, 2, 0, 0);
codeobj_94665a9a662bc9565d132b9ed320abd5 = MAKE_CODE_OBJECT(module_filename_obj, 155, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[93], mod_consts[93], mod_consts[296], NULL, 1, 0, 0);
codeobj_a8b1a631d3975a265ea93a79fa955eae = MAKE_CODE_OBJECT(module_filename_obj, 551, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[222], mod_consts[222], mod_consts[297], NULL, 1, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__10_mark_report_seen();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__11_get_all_reports();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__12_get_new_reports();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__13_get_all_system_reports();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__14_get_new_system_reports();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__15_delete_report();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__16_get_recent_crashes();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__17_make_report_file(PyObject *defaults);
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__18_check_files_md5();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__19_get_config(PyObject *defaults);
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__1_allowed_to_report();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__20_get_starttime();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__21_get_uid_and_gid();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__22_search_map();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__23_get_boot_id();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__24_get_process_path(PyObject *defaults);
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__25_get_core_path(PyObject *defaults);
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__26_find_core_files_by_uid();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__27_clean_core_directory();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__28_shared_libraries();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__29_links_with_shared_library();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__2_get_dbus_socket();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__3_find_package_desktopfile();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__4_likely_packaged();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__5_find_file_package();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__6_find_snap();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__7_seen_report();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__8_mark_report_upload();
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__9_mark_hanging_process();
// The module function definitions.
static PyObject *impl_apport$fileutils$$$function__1_allowed_to_report(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.
struct Nuitka_FrameObject *frame_987a314df13a2f10d4317cc791ca3f7f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
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;
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_987a314df13a2f10d4317cc791ca3f7f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_987a314df13a2f10d4317cc791ca3f7f)) {
Py_XDECREF(cache_frame_987a314df13a2f10d4317cc791ca3f7f);
#if _DEBUG_REFCOUNTS
if (cache_frame_987a314df13a2f10d4317cc791ca3f7f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_987a314df13a2f10d4317cc791ca3f7f = MAKE_FUNCTION_FRAME(codeobj_987a314df13a2f10d4317cc791ca3f7f, module_apport$fileutils, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_987a314df13a2f10d4317cc791ca3f7f->m_type_description == NULL);
frame_987a314df13a2f10d4317cc791ca3f7f = cache_frame_987a314df13a2f10d4317cc791ca3f7f;
// Push the new frame as the currently active one.
pushFrameStack(frame_987a314df13a2f10d4317cc791ca3f7f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_987a314df13a2f10d4317cc791ca3f7f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[2];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 39;
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[3]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 39;
goto frame_exception_exit_1;
}
frame_987a314df13a2f10d4317cc791ca3f7f->m_frame.f_lineno = 39;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_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_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_call_arg_element_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto try_except_handler_1;
}
tmp_call_arg_element_1 = LIST_COPY(mod_consts[6]);
frame_987a314df13a2f10d4317cc791ca3f7f->m_frame.f_lineno = 43;
tmp_cmp_expr_left_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[5], tmp_call_arg_element_1);
Py_DECREF(tmp_call_arg_element_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto try_except_handler_1;
}
tmp_cmp_expr_right_1 = mod_consts[7];
tmp_return_value = RICH_COMPARE_EQ_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto try_except_handler_1;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// 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_987a314df13a2f10d4317cc791ca3f7f, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_987a314df13a2f10d4317cc791ca3f7f, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 42;
}
if (exception_tb && exception_tb->tb_frame == &frame_987a314df13a2f10d4317cc791ca3f7f->m_frame) frame_987a314df13a2f10d4317cc791ca3f7f->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_987a314df13a2f10d4317cc791ca3f7f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_987a314df13a2f10d4317cc791ca3f7f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_987a314df13a2f10d4317cc791ca3f7f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_987a314df13a2f10d4317cc791ca3f7f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_987a314df13a2f10d4317cc791ca3f7f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_987a314df13a2f10d4317cc791ca3f7f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_987a314df13a2f10d4317cc791ca3f7f,
type_description_1
);
// Release cached frame if used for exception.
if (frame_987a314df13a2f10d4317cc791ca3f7f == cache_frame_987a314df13a2f10d4317cc791ca3f7f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_987a314df13a2f10d4317cc791ca3f7f);
cache_frame_987a314df13a2f10d4317cc791ca3f7f = NULL;
}
assertFrameObject(frame_987a314df13a2f10d4317cc791ca3f7f);
// 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:
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_apport$fileutils$$$function__2_get_dbus_socket(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_dbus_addr = python_pars[0];
PyObject *var_search = NULL;
PyObject *var_parts = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_3993c9a2d7f92f69868646387b0c71b2;
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 *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_3993c9a2d7f92f69868646387b0c71b2 = 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_3993c9a2d7f92f69868646387b0c71b2)) {
Py_XDECREF(cache_frame_3993c9a2d7f92f69868646387b0c71b2);
#if _DEBUG_REFCOUNTS
if (cache_frame_3993c9a2d7f92f69868646387b0c71b2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3993c9a2d7f92f69868646387b0c71b2 = MAKE_FUNCTION_FRAME(codeobj_3993c9a2d7f92f69868646387b0c71b2, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3993c9a2d7f92f69868646387b0c71b2->m_type_description == NULL);
frame_3993c9a2d7f92f69868646387b0c71b2 = cache_frame_3993c9a2d7f92f69868646387b0c71b2;
// Push the new frame as the currently active one.
pushFrameStack(frame_3993c9a2d7f92f69868646387b0c71b2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3993c9a2d7f92f69868646387b0c71b2) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_dbus_addr);
tmp_operand_value_1 = par_dbus_addr;
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 = 51;
type_description_1 = "ooo";
goto frame_exception_exit_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 frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_dbus_addr);
tmp_expression_value_1 = par_dbus_addr;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[9]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_3993c9a2d7f92f69868646387b0c71b2->m_frame.f_lineno = 55;
tmp_operand_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[10]);
Py_DECREF(tmp_called_value_1);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[11];
CHECK_OBJECT(par_dbus_addr);
tmp_cmp_expr_right_1 = par_dbus_addr;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_3:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
tmp_iter_arg_1 = mod_consts[12];
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
exception_lineno = 64;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_search;
var_search = tmp_assign_source_3;
Py_INCREF(var_search);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_search);
tmp_cmp_expr_left_2 = var_search;
CHECK_OBJECT(par_dbus_addr);
tmp_cmp_expr_right_2 = par_dbus_addr;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(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;
goto frame_return_exit_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:;
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;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_dbus_addr);
tmp_expression_value_2 = par_dbus_addr;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[13]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_3993c9a2d7f92f69868646387b0c71b2->m_frame.f_lineno = 68;
tmp_assign_source_4 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[14]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_parts == NULL);
var_parts = tmp_assign_source_4;
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
nuitka_digit tmp_cmp_expr_right_3;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_parts);
tmp_len_arg_1 = var_parts;
tmp_cmp_expr_left_3 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = 2;
tmp_condition_result_5 = RICH_COMPARE_NE_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_5:;
{
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_parts);
tmp_expression_value_3 = var_parts;
tmp_subscript_value_1 = mod_consts[15];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_1, 1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3993c9a2d7f92f69868646387b0c71b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3993c9a2d7f92f69868646387b0c71b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3993c9a2d7f92f69868646387b0c71b2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3993c9a2d7f92f69868646387b0c71b2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3993c9a2d7f92f69868646387b0c71b2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3993c9a2d7f92f69868646387b0c71b2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3993c9a2d7f92f69868646387b0c71b2,
type_description_1,
par_dbus_addr,
var_search,
var_parts
);
// Release cached frame if used for exception.
if (frame_3993c9a2d7f92f69868646387b0c71b2 == cache_frame_3993c9a2d7f92f69868646387b0c71b2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3993c9a2d7f92f69868646387b0c71b2);
cache_frame_3993c9a2d7f92f69868646387b0c71b2 = NULL;
}
assertFrameObject(frame_3993c9a2d7f92f69868646387b0c71b2);
// 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:;
Py_XDECREF(var_search);
var_search = NULL;
Py_XDECREF(var_parts);
var_parts = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_search);
var_search = NULL;
Py_XDECREF(var_parts);
var_parts = 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_dbus_addr);
Py_DECREF(par_dbus_addr);
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_dbus_addr);
Py_DECREF(par_dbus_addr);
// 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_apport$fileutils$$$function__3_find_package_desktopfile(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_package = python_pars[0];
PyObject *var_desktopfile = NULL;
PyObject *var_line = NULL;
PyObject *var_f = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
PyObject *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_213906cca5ed613c2f7627e8bba4e54f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_213906cca5ed613c2f7627e8bba4e54f = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_package);
tmp_cmp_expr_left_1 = par_package;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? 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_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
assert(var_desktopfile == NULL);
Py_INCREF(tmp_assign_source_1);
var_desktopfile = tmp_assign_source_1;
}
if (isFrameUnusable(cache_frame_213906cca5ed613c2f7627e8bba4e54f)) {
Py_XDECREF(cache_frame_213906cca5ed613c2f7627e8bba4e54f);
#if _DEBUG_REFCOUNTS
if (cache_frame_213906cca5ed613c2f7627e8bba4e54f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_213906cca5ed613c2f7627e8bba4e54f = MAKE_FUNCTION_FRAME(codeobj_213906cca5ed613c2f7627e8bba4e54f, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_213906cca5ed613c2f7627e8bba4e54f->m_type_description == NULL);
frame_213906cca5ed613c2f7627e8bba4e54f = cache_frame_213906cca5ed613c2f7627e8bba4e54f;
// Push the new frame as the currently active one.
pushFrameStack(frame_213906cca5ed613c2f7627e8bba4e54f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_213906cca5ed613c2f7627e8bba4e54f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_package);
tmp_args_element_value_1 = par_package;
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 86;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[18], tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 86;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_line;
var_line = tmp_assign_source_4;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_line);
tmp_expression_value_1 = var_line;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[19]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 87;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[20]);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 87;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
bool tmp_condition_result_3;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_line);
tmp_expression_value_2 = var_line;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[9]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 89;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[21]);
Py_DECREF(tmp_called_value_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_and_left_value_1 = (tmp_res == 0) ? 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(var_line);
tmp_expression_value_3 = var_line;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[9]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 89;
tmp_operand_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[22]);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
goto loop_start_1;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
int tmp_truth_name_2;
if (var_desktopfile == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 92;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_2 = CHECK_IF_TRUE(var_desktopfile);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
goto branch_end_4;
branch_no_4:;
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_line);
tmp_open_filename_1 = var_line;
tmp_open_mode_1 = mod_consts[24];
tmp_assign_source_5 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_with_1__source;
tmp_with_1__source = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_called_value_4 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[25]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooo";
goto try_except_handler_3;
}
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 96;
tmp_assign_source_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_with_1__enter;
tmp_with_1__enter = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_assign_source_7 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[26]);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_with_1__exit;
tmp_with_1__exit = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_assign_source_8;
tmp_assign_source_8 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_9 = tmp_with_1__enter;
{
PyObject *old = var_f;
var_f = tmp_assign_source_9;
Py_INCREF(var_f);
Py_XDECREF(old);
}
}
// Tried code:
// Tried code:
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_called_instance_2;
tmp_cmp_expr_left_2 = mod_consts[27];
CHECK_OBJECT(var_f);
tmp_called_instance_2 = var_f;
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 97;
tmp_cmp_expr_right_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[28]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto try_except_handler_5;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto try_except_handler_5;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(var_line);
tmp_assign_source_10 = var_line;
{
PyObject *old = var_desktopfile;
var_desktopfile = tmp_assign_source_10;
Py_INCREF(var_desktopfile);
Py_XDECREF(old);
}
}
branch_no_5:;
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
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_213906cca5ed613c2f7627e8bba4e54f, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_213906cca5ed613c2f7627e8bba4e54f, 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_6;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
nuitka_bool tmp_assign_source_11;
tmp_assign_source_11 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_11;
}
{
bool tmp_condition_result_7;
PyObject *tmp_operand_value_3;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
tmp_args_element_value_2 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_3 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_4 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 98;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_operand_value_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_6;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_6;
}
tmp_condition_result_7 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 98;
}
if (exception_tb && exception_tb->tb_frame == &frame_213906cca5ed613c2f7627e8bba4e54f->m_frame) frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_6;
branch_no_7:;
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 96;
}
if (exception_tb && exception_tb->tb_frame == &frame_213906cca5ed613c2f7627e8bba4e54f->m_frame) frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_6;
branch_end_6:;
goto try_end_2;
// Exception handler code:
try_except_handler_6:;
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 try_except_handler_4;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
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;
{
bool tmp_condition_result_8;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_8 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 98;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[29]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_8:;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_3;
// End of try:
try_end_3:;
{
bool tmp_condition_result_9;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_9 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_7 = tmp_with_1__exit;
frame_213906cca5ed613c2f7627e8bba4e54f->m_frame.f_lineno = 98;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[29]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_9:;
goto try_end_4;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
branch_end_4:;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_5;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(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;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
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;
if (var_desktopfile == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[23]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 100;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_desktopfile;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_213906cca5ed613c2f7627e8bba4e54f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_213906cca5ed613c2f7627e8bba4e54f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_213906cca5ed613c2f7627e8bba4e54f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_213906cca5ed613c2f7627e8bba4e54f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_213906cca5ed613c2f7627e8bba4e54f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_213906cca5ed613c2f7627e8bba4e54f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_213906cca5ed613c2f7627e8bba4e54f,
type_description_1,
par_package,
var_desktopfile,
var_line,
var_f
);
// Release cached frame if used for exception.
if (frame_213906cca5ed613c2f7627e8bba4e54f == cache_frame_213906cca5ed613c2f7627e8bba4e54f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_213906cca5ed613c2f7627e8bba4e54f);
cache_frame_213906cca5ed613c2f7627e8bba4e54f = NULL;
}
assertFrameObject(frame_213906cca5ed613c2f7627e8bba4e54f);
// 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:;
Py_XDECREF(var_desktopfile);
var_desktopfile = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_f);
var_f = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_desktopfile);
var_desktopfile = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_f);
var_f = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_package);
Py_DECREF(par_package);
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_package);
Py_DECREF(par_package);
// 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_apport$fileutils$$$function__4_likely_packaged(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_file = python_pars[0];
PyObject *var_pkg_whitelist = NULL;
nuitka_bool var_whitelist_match = NUITKA_BOOL_UNASSIGNED;
PyObject *var_i = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_e5b2da26ca2fb5d32d12aae7f4f967e5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5 = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = LIST_COPY(mod_consts[31]);
assert(var_pkg_whitelist == NULL);
var_pkg_whitelist = tmp_assign_source_1;
}
{
nuitka_bool tmp_assign_source_2;
tmp_assign_source_2 = NUITKA_BOOL_FALSE;
var_whitelist_match = tmp_assign_source_2;
}
// Tried code:
if (isFrameUnusable(cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5)) {
Py_XDECREF(cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
#if _DEBUG_REFCOUNTS
if (cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5 = MAKE_FUNCTION_FRAME(codeobj_e5b2da26ca2fb5d32d12aae7f4f967e5, module_apport$fileutils, sizeof(nuitka_bool)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5->m_type_description == NULL);
frame_e5b2da26ca2fb5d32d12aae7f4f967e5 = cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5;
// Push the new frame as the currently active one.
pushFrameStack(frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e5b2da26ca2fb5d32d12aae7f4f967e5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_pkg_whitelist);
tmp_iter_arg_1 = var_pkg_whitelist;
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oobo";
exception_lineno = 115;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_i;
var_i = tmp_assign_source_5;
Py_INCREF(var_i);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
if (par_file == 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 = 116;
type_description_1 = "oobo";
goto try_except_handler_2;
}
tmp_expression_value_1 = par_file;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[9]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "oobo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_i);
tmp_args_element_value_1 = var_i;
frame_e5b2da26ca2fb5d32d12aae7f4f967e5->m_frame.f_lineno = 116;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "oobo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 116;
type_description_1 = "oobo";
goto try_except_handler_2;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_TRUE;
var_whitelist_match = tmp_assign_source_6;
}
goto loop_end_1;
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "oobo";
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:;
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;
{
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
int tmp_and_left_truth_2;
PyObject *tmp_and_left_value_2;
PyObject *tmp_and_right_value_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
assert(var_whitelist_match != NUITKA_BOOL_UNASSIGNED);
tmp_and_left_value_1 = (var_whitelist_match == NUITKA_BOOL_TRUE) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (par_file == 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 = 119;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_file;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[9]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
frame_e5b2da26ca2fb5d32d12aae7f4f967e5->m_frame.f_lineno = 119;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[33]);
Py_DECREF(tmp_called_value_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 119;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2);
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (par_file == 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 = 120;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_file;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[9]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
frame_e5b2da26ca2fb5d32d12aae7f4f967e5->m_frame.f_lineno = 120;
tmp_operand_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[34]);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "oobo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? Py_True : Py_False;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_return_value = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_return_value = tmp_and_left_value_1;
and_end_1:;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e5b2da26ca2fb5d32d12aae7f4f967e5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e5b2da26ca2fb5d32d12aae7f4f967e5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e5b2da26ca2fb5d32d12aae7f4f967e5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e5b2da26ca2fb5d32d12aae7f4f967e5,
type_description_1,
par_file,
var_pkg_whitelist,
(int)var_whitelist_match,
var_i
);
// Release cached frame if used for exception.
if (frame_e5b2da26ca2fb5d32d12aae7f4f967e5 == cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
cache_frame_e5b2da26ca2fb5d32d12aae7f4f967e5 = NULL;
}
assertFrameObject(frame_e5b2da26ca2fb5d32d12aae7f4f967e5);
// 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_pkg_whitelist);
Py_DECREF(var_pkg_whitelist);
var_pkg_whitelist = NULL;
assert(var_whitelist_match != NUITKA_BOOL_UNASSIGNED);
var_whitelist_match = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_i);
var_i = 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(var_pkg_whitelist);
Py_DECREF(var_pkg_whitelist);
var_pkg_whitelist = NULL;
assert(var_whitelist_match != NUITKA_BOOL_UNASSIGNED);
var_whitelist_match = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_i);
var_i = 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_file);
Py_DECREF(par_file);
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_file);
Py_DECREF(par_file);
// 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_apport$fileutils$$$function__5_find_file_package(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_file = python_pars[0];
PyObject *var_dir = NULL;
PyObject *var_name = NULL;
PyObject *var_resolved_dir = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_6a769329769ad7648e3ef343f736ec9b;
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_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_6a769329769ad7648e3ef343f736ec9b = 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_6a769329769ad7648e3ef343f736ec9b)) {
Py_XDECREF(cache_frame_6a769329769ad7648e3ef343f736ec9b);
#if _DEBUG_REFCOUNTS
if (cache_frame_6a769329769ad7648e3ef343f736ec9b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6a769329769ad7648e3ef343f736ec9b = MAKE_FUNCTION_FRAME(codeobj_6a769329769ad7648e3ef343f736ec9b, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6a769329769ad7648e3ef343f736ec9b->m_type_description == NULL);
frame_6a769329769ad7648e3ef343f736ec9b = cache_frame_6a769329769ad7648e3ef343f736ec9b;
// Push the new frame as the currently active one.
pushFrameStack(frame_6a769329769ad7648e3ef343f736ec9b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6a769329769ad7648e3ef343f736ec9b) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[36]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[13]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_file);
tmp_args_element_value_1 = par_file;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 129;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 129;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 129;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 129;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[37];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooo";
exception_lineno = 129;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
assert(var_dir == NULL);
Py_INCREF(tmp_assign_source_4);
var_dir = tmp_assign_source_4;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
assert(var_name == NULL);
Py_INCREF(tmp_assign_source_5);
var_name = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[36]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_dir);
tmp_args_element_value_2 = var_dir;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 130;
tmp_assign_source_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[38], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_resolved_dir == NULL);
var_resolved_dir = tmp_assign_source_6;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
int tmp_truth_name_1;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[36]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_resolved_dir);
tmp_args_element_value_3 = var_resolved_dir;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 131;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[39], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 131;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[36]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[40]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_resolved_dir);
tmp_args_element_value_4 = var_resolved_dir;
CHECK_OBJECT(var_name);
tmp_args_element_value_5 = var_name;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 132;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_file;
assert(old != NULL);
par_file = tmp_assign_source_7;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_6;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[41]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[41]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_file == 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 = 134;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = par_file;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 134;
tmp_operand_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_7;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[42]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_file == NULL) {
Py_DECREF(tmp_called_value_4);
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 = 137;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = par_file;
frame_6a769329769ad7648e3ef343f736ec9b->m_frame.f_lineno = 137;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a769329769ad7648e3ef343f736ec9b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a769329769ad7648e3ef343f736ec9b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a769329769ad7648e3ef343f736ec9b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6a769329769ad7648e3ef343f736ec9b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6a769329769ad7648e3ef343f736ec9b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6a769329769ad7648e3ef343f736ec9b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6a769329769ad7648e3ef343f736ec9b,
type_description_1,
par_file,
var_dir,
var_name,
var_resolved_dir
);
// Release cached frame if used for exception.
if (frame_6a769329769ad7648e3ef343f736ec9b == cache_frame_6a769329769ad7648e3ef343f736ec9b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6a769329769ad7648e3ef343f736ec9b);
cache_frame_6a769329769ad7648e3ef343f736ec9b = NULL;
}
assertFrameObject(frame_6a769329769ad7648e3ef343f736ec9b);
// 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:;
Py_XDECREF(par_file);
par_file = NULL;
CHECK_OBJECT(var_dir);
Py_DECREF(var_dir);
var_dir = NULL;
Py_XDECREF(var_name);
var_name = NULL;
CHECK_OBJECT(var_resolved_dir);
Py_DECREF(var_resolved_dir);
var_resolved_dir = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_file);
par_file = NULL;
Py_XDECREF(var_dir);
var_dir = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_resolved_dir);
var_resolved_dir = 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_apport$fileutils$$$function__6_find_snap(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_snap = python_pars[0];
PyObject *var_session = NULL;
PyObject *var_r = NULL;
PyObject *var_j = NULL;
struct Nuitka_FrameObject *frame_fa2679d084d19ec5002a232d79adc5e3;
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_fa2679d084d19ec5002a232d79adc5e3 = 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_fa2679d084d19ec5002a232d79adc5e3)) {
Py_XDECREF(cache_frame_fa2679d084d19ec5002a232d79adc5e3);
#if _DEBUG_REFCOUNTS
if (cache_frame_fa2679d084d19ec5002a232d79adc5e3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fa2679d084d19ec5002a232d79adc5e3 = MAKE_FUNCTION_FRAME(codeobj_fa2679d084d19ec5002a232d79adc5e3, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fa2679d084d19ec5002a232d79adc5e3->m_type_description == NULL);
frame_fa2679d084d19ec5002a232d79adc5e3 = cache_frame_fa2679d084d19ec5002a232d79adc5e3;
// Push the new frame as the currently active one.
pushFrameStack(frame_fa2679d084d19ec5002a232d79adc5e3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fa2679d084d19ec5002a232d79adc5e3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[44]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[44]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_fa2679d084d19ec5002a232d79adc5e3->m_frame.f_lineno = 145;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[45]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_session == NULL);
var_session = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
CHECK_OBJECT(var_session);
tmp_expression_value_1 = var_session;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_kw_call_arg_value_0_1 = mod_consts[47];
CHECK_OBJECT(par_snap);
tmp_kw_call_arg_value_1_1 = par_snap;
frame_fa2679d084d19ec5002a232d79adc5e3->m_frame.f_lineno = 147;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS2(unicode_builtin_format, call_args);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 147;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_fa2679d084d19ec5002a232d79adc5e3->m_frame.f_lineno = 147;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oooo";
goto try_except_handler_2;
}
assert(var_r == NULL);
var_r = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_r);
tmp_expression_value_2 = var_r;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[48]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = mod_consts[49];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_r);
tmp_called_instance_2 = var_r;
frame_fa2679d084d19ec5002a232d79adc5e3->m_frame.f_lineno = 149;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oooo";
goto try_except_handler_2;
}
assert(var_j == NULL);
var_j = tmp_assign_source_3;
}
{
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_j);
tmp_expression_value_3 = var_j;
tmp_subscript_value_1 = mod_consts[51];
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
branch_no_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_fa2679d084d19ec5002a232d79adc5e3, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_fa2679d084d19ec5002a232d79adc5e3, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 146;
}
if (exception_tb && exception_tb->tb_frame == &frame_fa2679d084d19ec5002a232d79adc5e3->m_frame) frame_fa2679d084d19ec5002a232d79adc5e3->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_3;
branch_end_2:;
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_fa2679d084d19ec5002a232d79adc5e3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fa2679d084d19ec5002a232d79adc5e3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fa2679d084d19ec5002a232d79adc5e3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fa2679d084d19ec5002a232d79adc5e3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fa2679d084d19ec5002a232d79adc5e3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fa2679d084d19ec5002a232d79adc5e3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fa2679d084d19ec5002a232d79adc5e3,
type_description_1,
par_snap,
var_session,
var_r,
var_j
);
// Release cached frame if used for exception.
if (frame_fa2679d084d19ec5002a232d79adc5e3 == cache_frame_fa2679d084d19ec5002a232d79adc5e3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fa2679d084d19ec5002a232d79adc5e3);
cache_frame_fa2679d084d19ec5002a232d79adc5e3 = NULL;
}
assertFrameObject(frame_fa2679d084d19ec5002a232d79adc5e3);
// 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:;
CHECK_OBJECT(var_session);
Py_DECREF(var_session);
var_session = NULL;
Py_XDECREF(var_r);
var_r = NULL;
Py_XDECREF(var_j);
var_j = 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_session);
var_session = NULL;
Py_XDECREF(var_r);
var_r = NULL;
Py_XDECREF(var_j);
var_j = 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:
CHECK_OBJECT(par_snap);
Py_DECREF(par_snap);
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_snap);
Py_DECREF(par_snap);
// 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_apport$fileutils$$$function__7_seen_report(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_report = python_pars[0];
PyObject *var_st = NULL;
struct Nuitka_FrameObject *frame_94665a9a662bc9565d132b9ed320abd5;
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;
static struct Nuitka_FrameObject *cache_frame_94665a9a662bc9565d132b9ed320abd5 = 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_94665a9a662bc9565d132b9ed320abd5)) {
Py_XDECREF(cache_frame_94665a9a662bc9565d132b9ed320abd5);
#if _DEBUG_REFCOUNTS
if (cache_frame_94665a9a662bc9565d132b9ed320abd5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_94665a9a662bc9565d132b9ed320abd5 = MAKE_FUNCTION_FRAME(codeobj_94665a9a662bc9565d132b9ed320abd5, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_94665a9a662bc9565d132b9ed320abd5->m_type_description == NULL);
frame_94665a9a662bc9565d132b9ed320abd5 = cache_frame_94665a9a662bc9565d132b9ed320abd5;
// Push the new frame as the currently active one.
pushFrameStack(frame_94665a9a662bc9565d132b9ed320abd5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_94665a9a662bc9565d132b9ed320abd5) == 2); // Frame stack
// Framed code:
{
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_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_report);
tmp_args_element_value_1 = par_report;
frame_94665a9a662bc9565d132b9ed320abd5->m_frame.f_lineno = 158;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[53], 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 = 158;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_st == NULL);
var_st = tmp_assign_source_1;
}
{
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_st);
tmp_expression_value_1 = var_st;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[54]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_st);
tmp_expression_value_2 = var_st;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[55]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 159;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oo";
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 = 159;
type_description_1 = "oo";
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_st);
tmp_expression_value_3 = var_st;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[56]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[7];
tmp_or_right_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_return_value = tmp_or_left_value_1;
or_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_94665a9a662bc9565d132b9ed320abd5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94665a9a662bc9565d132b9ed320abd5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94665a9a662bc9565d132b9ed320abd5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_94665a9a662bc9565d132b9ed320abd5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_94665a9a662bc9565d132b9ed320abd5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_94665a9a662bc9565d132b9ed320abd5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_94665a9a662bc9565d132b9ed320abd5,
type_description_1,
par_report,
var_st
);
// Release cached frame if used for exception.
if (frame_94665a9a662bc9565d132b9ed320abd5 == cache_frame_94665a9a662bc9565d132b9ed320abd5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_94665a9a662bc9565d132b9ed320abd5);
cache_frame_94665a9a662bc9565d132b9ed320abd5 = NULL;
}
assertFrameObject(frame_94665a9a662bc9565d132b9ed320abd5);
// 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_st);
Py_DECREF(var_st);
var_st = 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_st);
var_st = 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_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__8_mark_report_upload(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_report = python_pars[0];
PyObject *var_upload = NULL;
PyObject *var_uploaded = NULL;
PyObject *var_report_st = NULL;
PyObject *var_upload_st = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_7808b23f8153de1b42e50a7b47a2e6a8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED 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_7808b23f8153de1b42e50a7b47a2e6a8 = 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_7808b23f8153de1b42e50a7b47a2e6a8)) {
Py_XDECREF(cache_frame_7808b23f8153de1b42e50a7b47a2e6a8);
#if _DEBUG_REFCOUNTS
if (cache_frame_7808b23f8153de1b42e50a7b47a2e6a8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7808b23f8153de1b42e50a7b47a2e6a8 = MAKE_FUNCTION_FRAME(codeobj_7808b23f8153de1b42e50a7b47a2e6a8, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7808b23f8153de1b42e50a7b47a2e6a8->m_type_description == NULL);
frame_7808b23f8153de1b42e50a7b47a2e6a8 = cache_frame_7808b23f8153de1b42e50a7b47a2e6a8;
// Push the new frame as the currently active one.
pushFrameStack(frame_7808b23f8153de1b42e50a7b47a2e6a8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7808b23f8153de1b42e50a7b47a2e6a8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
tmp_mod_expr_left_1 = mod_consts[58];
CHECK_OBJECT(par_report);
tmp_expression_value_2 = par_report;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[59]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 163;
tmp_expression_value_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[60]);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[7];
tmp_mod_expr_right_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_1);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_upload == NULL);
var_upload = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
tmp_mod_expr_left_2 = mod_consts[61];
CHECK_OBJECT(par_report);
tmp_expression_value_4 = par_report;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[59]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 164;
tmp_expression_value_3 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[60]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = mod_consts[7];
tmp_mod_expr_right_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_2, 0);
Py_DECREF(tmp_expression_value_3);
if (tmp_mod_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_uploaded == NULL);
var_uploaded = tmp_assign_source_2;
}
{
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_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
int tmp_truth_name_2;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[36]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_uploaded);
tmp_args_element_value_1 = var_uploaded;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 166;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[62], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[36]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_upload);
tmp_args_element_value_2 = var_upload;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 166;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[62], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 166;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_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_3;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_3;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_report);
tmp_args_element_value_3 = par_report;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 167;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[53], tmp_args_element_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_report_st == NULL);
var_report_st = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_4;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[53]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_upload == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 168;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = var_upload;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 168;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_upload_st == NULL);
var_upload_st = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_upload_st);
tmp_expression_value_8 = var_upload_st;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[55]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_report_st);
tmp_expression_value_9 = var_report_st;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[55]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 169;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = RICH_COMPARE_LT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[64]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_upload == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 170;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = var_upload;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 170;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_4);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_2:;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
if (var_upload == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_open_filename_1 = var_upload;
tmp_open_mode_1 = mod_consts[65];
tmp_assign_source_5 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_11 = tmp_with_1__source;
tmp_called_value_5 = LOOKUP_SPECIAL(tmp_expression_value_11, mod_consts[25]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 171;
tmp_assign_source_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_12 = tmp_with_1__source;
tmp_assign_source_7 = LOOKUP_SPECIAL(tmp_expression_value_12, mod_consts[26]);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_7;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame.f_lineno = 171;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[29]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_4);
}
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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = 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_7808b23f8153de1b42e50a7b47a2e6a8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7808b23f8153de1b42e50a7b47a2e6a8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7808b23f8153de1b42e50a7b47a2e6a8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7808b23f8153de1b42e50a7b47a2e6a8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7808b23f8153de1b42e50a7b47a2e6a8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7808b23f8153de1b42e50a7b47a2e6a8,
type_description_1,
par_report,
var_upload,
var_uploaded,
var_report_st,
var_upload_st
);
// Release cached frame if used for exception.
if (frame_7808b23f8153de1b42e50a7b47a2e6a8 == cache_frame_7808b23f8153de1b42e50a7b47a2e6a8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7808b23f8153de1b42e50a7b47a2e6a8);
cache_frame_7808b23f8153de1b42e50a7b47a2e6a8 = NULL;
}
assertFrameObject(frame_7808b23f8153de1b42e50a7b47a2e6a8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
CHECK_OBJECT(tmp_with_1__exit);
Py_DECREF(tmp_with_1__exit);
tmp_with_1__exit = 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:;
Py_XDECREF(var_upload);
var_upload = NULL;
CHECK_OBJECT(var_uploaded);
Py_DECREF(var_uploaded);
var_uploaded = NULL;
Py_XDECREF(var_report_st);
var_report_st = NULL;
Py_XDECREF(var_upload_st);
var_upload_st = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_upload);
var_upload = NULL;
Py_XDECREF(var_uploaded);
var_uploaded = NULL;
Py_XDECREF(var_report_st);
var_report_st = NULL;
Py_XDECREF(var_upload_st);
var_upload_st = 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_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__9_mark_hanging_process(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_report = python_pars[0];
PyObject *par_pid = python_pars[1];
PyObject *var_subject = NULL;
PyObject *var_uid = NULL;
PyObject *var_base = NULL;
PyObject *var_path = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_93e9deae8089f6844002b9c47260ba96;
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_93e9deae8089f6844002b9c47260ba96 = 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_93e9deae8089f6844002b9c47260ba96)) {
Py_XDECREF(cache_frame_93e9deae8089f6844002b9c47260ba96);
#if _DEBUG_REFCOUNTS
if (cache_frame_93e9deae8089f6844002b9c47260ba96 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_93e9deae8089f6844002b9c47260ba96 = MAKE_FUNCTION_FRAME(codeobj_93e9deae8089f6844002b9c47260ba96, module_apport$fileutils, 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_93e9deae8089f6844002b9c47260ba96->m_type_description == NULL);
frame_93e9deae8089f6844002b9c47260ba96 = cache_frame_93e9deae8089f6844002b9c47260ba96;
// Push the new frame as the currently active one.
pushFrameStack(frame_93e9deae8089f6844002b9c47260ba96);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_93e9deae8089f6844002b9c47260ba96) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[66];
CHECK_OBJECT(par_report);
tmp_cmp_expr_right_1 = par_report;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_report);
tmp_expression_value_2 = par_report;
tmp_subscript_value_1 = mod_consts[66];
tmp_expression_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[67]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 177;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[68]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_subject == NULL);
var_subject = tmp_assign_source_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[69];
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 179;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 179;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
branch_end_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 181;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_uid == NULL);
var_uid = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_mod_expr_left_1 = mod_consts[71];
CHECK_OBJECT(var_subject);
tmp_tuple_element_1 = var_subject;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_unicode_arg_1;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_uid);
tmp_unicode_arg_1 = var_uid;
tmp_tuple_element_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_pid);
tmp_tuple_element_1 = par_pid;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_assign_source_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[36]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[40]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[72]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[72]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 183;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base);
tmp_args_element_value_2 = var_base;
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 183;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_path == NULL);
var_path = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_path);
tmp_open_filename_1 = var_path;
tmp_open_mode_1 = mod_consts[65];
tmp_assign_source_5 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_called_value_3 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[25]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 184;
tmp_assign_source_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_6 = tmp_with_1__source;
tmp_assign_source_7 = LOOKUP_SPECIAL(tmp_expression_value_6, mod_consts[26]);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_7;
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_93e9deae8089f6844002b9c47260ba96->m_frame.f_lineno = 184;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[29]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = 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_93e9deae8089f6844002b9c47260ba96);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_93e9deae8089f6844002b9c47260ba96);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_93e9deae8089f6844002b9c47260ba96, exception_lineno);
} else if (exception_tb->tb_frame != &frame_93e9deae8089f6844002b9c47260ba96->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_93e9deae8089f6844002b9c47260ba96, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_93e9deae8089f6844002b9c47260ba96,
type_description_1,
par_report,
par_pid,
var_subject,
var_uid,
var_base,
var_path
);
// Release cached frame if used for exception.
if (frame_93e9deae8089f6844002b9c47260ba96 == cache_frame_93e9deae8089f6844002b9c47260ba96) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_93e9deae8089f6844002b9c47260ba96);
cache_frame_93e9deae8089f6844002b9c47260ba96 = NULL;
}
assertFrameObject(frame_93e9deae8089f6844002b9c47260ba96);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
CHECK_OBJECT(tmp_with_1__exit);
Py_DECREF(tmp_with_1__exit);
tmp_with_1__exit = 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(var_subject);
Py_DECREF(var_subject);
var_subject = NULL;
CHECK_OBJECT(var_uid);
Py_DECREF(var_uid);
var_uid = NULL;
CHECK_OBJECT(var_base);
Py_DECREF(var_base);
var_base = NULL;
CHECK_OBJECT(var_path);
Py_DECREF(var_path);
var_path = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_subject);
var_subject = NULL;
Py_XDECREF(var_uid);
var_uid = NULL;
Py_XDECREF(var_base);
var_base = NULL;
Py_XDECREF(var_path);
var_path = 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_report);
Py_DECREF(par_report);
CHECK_OBJECT(par_pid);
Py_DECREF(par_pid);
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_report);
Py_DECREF(par_report);
CHECK_OBJECT(par_pid);
Py_DECREF(par_pid);
// 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_apport$fileutils$$$function__10_mark_report_seen(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_report = python_pars[0];
PyObject *var_st = NULL;
PyObject *var_timeout = NULL;
PyObject *var_f = NULL;
struct Nuitka_FrameObject *frame_171badeff517d2c68a7596c41135c762;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED 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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_171badeff517d2c68a7596c41135c762 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_171badeff517d2c68a7596c41135c762)) {
Py_XDECREF(cache_frame_171badeff517d2c68a7596c41135c762);
#if _DEBUG_REFCOUNTS
if (cache_frame_171badeff517d2c68a7596c41135c762 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_171badeff517d2c68a7596c41135c762 = MAKE_FUNCTION_FRAME(codeobj_171badeff517d2c68a7596c41135c762, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_171badeff517d2c68a7596c41135c762->m_type_description == NULL);
frame_171badeff517d2c68a7596c41135c762 = cache_frame_171badeff517d2c68a7596c41135c762;
// Push the new frame as the currently active one.
pushFrameStack(frame_171badeff517d2c68a7596c41135c762);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_171badeff517d2c68a7596c41135c762) == 2); // Frame stack
// Framed code:
{
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_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 191;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_report);
tmp_args_element_value_1 = par_report;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 191;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[53], 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 = 191;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_st == NULL);
var_st = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[73]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_report);
tmp_args_element_value_2 = par_report;
CHECK_OBJECT(var_st);
tmp_expression_value_2 = var_st;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[55]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 193;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_args_element_value_3, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_st);
tmp_expression_value_3 = var_st;
tmp_sub_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[55]);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
tmp_sub_expr_right_1 = mod_consts[15];
tmp_tuple_element_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_args_element_value_3, 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_called_value_1);
Py_DECREF(tmp_args_element_value_3);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 193;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(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 = 193;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_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 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_171badeff517d2c68a7596c41135c762, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_171badeff517d2c68a7596c41135c762, 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_OSError;
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;
tmp_assign_source_2 = mod_consts[74];
assert(var_timeout == NULL);
Py_INCREF(tmp_assign_source_2);
var_timeout = tmp_assign_source_2;
}
loop_start_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
if (var_timeout == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 200;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_left_2 = var_timeout;
tmp_cmp_expr_right_2 = mod_consts[7];
tmp_operand_value_1 = RICH_COMPARE_GT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto loop_end_1;
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_open_filename_1;
if (par_report == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 201;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_open_filename_1 = par_report;
tmp_assign_source_3 = BUILTIN_OPEN(tmp_open_filename_1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = var_f;
var_f = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_f);
tmp_called_instance_2 = var_f;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 202;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[28],
PyTuple_GET_ITEM(mod_consts[77], 0)
);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
CHECK_OBJECT(var_f);
tmp_called_instance_3 = var_f;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 203;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[78]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[53]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "oooo";
goto try_except_handler_4;
}
if (par_report == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 205;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_args_element_value_4 = par_report;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 205;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "oooo";
goto try_except_handler_4;
}
{
PyObject *old = var_st;
var_st = tmp_assign_source_4;
Py_XDECREF(old);
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_171badeff517d2c68a7596c41135c762, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_171badeff517d2c68a7596c41135c762, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_5;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 204;
}
if (exception_tb && exception_tb->tb_frame == &frame_171badeff517d2c68a7596c41135c762->m_frame) frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_5;
branch_end_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_return_handler_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_3;
// End of try:
// End of try:
try_end_2:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_st);
tmp_expression_value_5 = var_st;
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[54]);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_1 = "oooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_st);
tmp_expression_value_6 = var_st;
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[55]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 209;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_condition_result_4 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
goto loop_end_1;
branch_no_4:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_4;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "oooo";
goto try_except_handler_3;
}
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 211;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[80],
PyTuple_GET_ITEM(mod_consts[81], 0)
);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
if (var_timeout == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 212;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_isub_expr_left_1 = var_timeout;
tmp_isub_expr_right_1 = mod_consts[15];
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assign_source_5 = tmp_isub_expr_left_1;
var_timeout = tmp_assign_source_5;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oooo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
if (var_timeout == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 214;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_left_5 = var_timeout;
tmp_cmp_expr_right_5 = mod_consts[7];
tmp_condition_result_5 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_5;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[82]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[82]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (par_report == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 216;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_args_element_value_5 = par_report;
frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = 216;
tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_5);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_5:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 192;
}
if (exception_tb && exception_tb->tb_frame == &frame_171badeff517d2c68a7596c41135c762->m_frame) frame_171badeff517d2c68a7596c41135c762->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_3;
branch_end_1:;
goto try_end_3;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_171badeff517d2c68a7596c41135c762);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_171badeff517d2c68a7596c41135c762);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_171badeff517d2c68a7596c41135c762);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_171badeff517d2c68a7596c41135c762, exception_lineno);
} else if (exception_tb->tb_frame != &frame_171badeff517d2c68a7596c41135c762->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_171badeff517d2c68a7596c41135c762, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_171badeff517d2c68a7596c41135c762,
type_description_1,
par_report,
var_st,
var_timeout,
var_f
);
// Release cached frame if used for exception.
if (frame_171badeff517d2c68a7596c41135c762 == cache_frame_171badeff517d2c68a7596c41135c762) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_171badeff517d2c68a7596c41135c762);
cache_frame_171badeff517d2c68a7596c41135c762 = NULL;
}
assertFrameObject(frame_171badeff517d2c68a7596c41135c762);
// 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_st);
var_st = NULL;
Py_XDECREF(var_timeout);
var_timeout = NULL;
Py_XDECREF(var_f);
var_f = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_st);
var_st = NULL;
Py_XDECREF(var_timeout);
var_timeout = NULL;
Py_XDECREF(var_f);
var_f = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__11_get_all_reports(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_reports = NULL;
PyObject *var_r = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_d2e071459a8e7c4868fd791eafeb9513;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED 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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d2e071459a8e7c4868fd791eafeb9513 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_reports == NULL);
var_reports = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_d2e071459a8e7c4868fd791eafeb9513)) {
Py_XDECREF(cache_frame_d2e071459a8e7c4868fd791eafeb9513);
#if _DEBUG_REFCOUNTS
if (cache_frame_d2e071459a8e7c4868fd791eafeb9513 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d2e071459a8e7c4868fd791eafeb9513 = MAKE_FUNCTION_FRAME(codeobj_d2e071459a8e7c4868fd791eafeb9513, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d2e071459a8e7c4868fd791eafeb9513->m_type_description == NULL);
frame_d2e071459a8e7c4868fd791eafeb9513 = cache_frame_d2e071459a8e7c4868fd791eafeb9513;
// Push the new frame as the currently active one.
pushFrameStack(frame_d2e071459a8e7c4868fd791eafeb9513);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d2e071459a8e7c4868fd791eafeb9513) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[36]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[40]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[72]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[72]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[85];
frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = 223;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = 223;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
exception_lineno = 223;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_r;
var_r = tmp_assign_source_4;
Py_INCREF(var_r);
Py_XDECREF(old);
}
}
// Tried 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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_bitor_expr_left_1;
PyObject *tmp_bitor_expr_right_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
int tmp_truth_name_1;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[36]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_r);
tmp_args_element_value_4 = var_r;
frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = 225;
tmp_cmp_expr_left_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[86], tmp_args_element_value_4);
Py_DECREF(tmp_called_instance_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_1 = mod_consts[7];
tmp_and_left_value_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[1]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_r);
tmp_args_element_value_5 = var_r;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_bitor_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[87]);
if (tmp_bitor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_bitor_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[88]);
if (tmp_bitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_args_element_value_6 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_1, tmp_bitor_expr_right_1);
Py_DECREF(tmp_bitor_expr_left_1);
Py_DECREF(tmp_bitor_expr_right_1);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = 225;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 225;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_and_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
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_instance_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_7;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 226;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_called_instance_2 = var_reports;
CHECK_OBJECT(var_r);
tmp_args_element_value_7 = var_r;
frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = 226;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[90], tmp_args_element_value_7);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_d2e071459a8e7c4868fd791eafeb9513, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_d2e071459a8e7c4868fd791eafeb9513, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 224;
}
if (exception_tb && exception_tb->tb_frame == &frame_d2e071459a8e7c4868fd791eafeb9513->m_frame) frame_d2e071459a8e7c4868fd791eafeb9513->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_no_2:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
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 try_except_handler_2;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 231;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = var_reports;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d2e071459a8e7c4868fd791eafeb9513);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d2e071459a8e7c4868fd791eafeb9513);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d2e071459a8e7c4868fd791eafeb9513);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d2e071459a8e7c4868fd791eafeb9513, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d2e071459a8e7c4868fd791eafeb9513->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d2e071459a8e7c4868fd791eafeb9513, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d2e071459a8e7c4868fd791eafeb9513,
type_description_1,
var_reports,
var_r
);
// Release cached frame if used for exception.
if (frame_d2e071459a8e7c4868fd791eafeb9513 == cache_frame_d2e071459a8e7c4868fd791eafeb9513) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d2e071459a8e7c4868fd791eafeb9513);
cache_frame_d2e071459a8e7c4868fd791eafeb9513 = NULL;
}
assertFrameObject(frame_d2e071459a8e7c4868fd791eafeb9513);
// 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:;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto 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_apport$fileutils$$$function__12_get_new_reports(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_reports = NULL;
PyObject *var_r = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_9c19de49b75acc4e85bd239ef8f4d93b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED 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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_9c19de49b75acc4e85bd239ef8f4d93b = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_reports == NULL);
var_reports = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_9c19de49b75acc4e85bd239ef8f4d93b)) {
Py_XDECREF(cache_frame_9c19de49b75acc4e85bd239ef8f4d93b);
#if _DEBUG_REFCOUNTS
if (cache_frame_9c19de49b75acc4e85bd239ef8f4d93b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9c19de49b75acc4e85bd239ef8f4d93b = MAKE_FUNCTION_FRAME(codeobj_9c19de49b75acc4e85bd239ef8f4d93b, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9c19de49b75acc4e85bd239ef8f4d93b->m_type_description == NULL);
frame_9c19de49b75acc4e85bd239ef8f4d93b = cache_frame_9c19de49b75acc4e85bd239ef8f4d93b;
// Push the new frame as the currently active one.
pushFrameStack(frame_9c19de49b75acc4e85bd239ef8f4d93b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9c19de49b75acc4e85bd239ef8f4d93b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[92]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[92]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame.f_lineno = 241;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
exception_lineno = 241;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_r;
var_r = tmp_assign_source_4;
Py_INCREF(var_r);
Py_XDECREF(old);
}
}
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_r);
tmp_args_element_value_1 = var_r;
frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame.f_lineno = 243;
tmp_operand_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oo";
goto try_except_handler_3;
}
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_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 244;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_called_instance_1 = var_reports;
CHECK_OBJECT(var_r);
tmp_args_element_value_2 = var_r;
frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame.f_lineno = 244;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[90], tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_9c19de49b75acc4e85bd239ef8f4d93b, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9c19de49b75acc4e85bd239ef8f4d93b, 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_2;
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_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 242;
}
if (exception_tb && exception_tb->tb_frame == &frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame) frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_no_2:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
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 try_except_handler_2;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
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;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 249;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = var_reports;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c19de49b75acc4e85bd239ef8f4d93b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c19de49b75acc4e85bd239ef8f4d93b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9c19de49b75acc4e85bd239ef8f4d93b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9c19de49b75acc4e85bd239ef8f4d93b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9c19de49b75acc4e85bd239ef8f4d93b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9c19de49b75acc4e85bd239ef8f4d93b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9c19de49b75acc4e85bd239ef8f4d93b,
type_description_1,
var_reports,
var_r
);
// Release cached frame if used for exception.
if (frame_9c19de49b75acc4e85bd239ef8f4d93b == cache_frame_9c19de49b75acc4e85bd239ef8f4d93b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9c19de49b75acc4e85bd239ef8f4d93b);
cache_frame_9c19de49b75acc4e85bd239ef8f4d93b = NULL;
}
assertFrameObject(frame_9c19de49b75acc4e85bd239ef8f4d93b);
// 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:;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto 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_apport$fileutils$$$function__13_get_all_system_reports(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_reports = NULL;
PyObject *var_r = NULL;
PyObject *var_st = NULL;
PyObject *var_pw = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_8c121d80b6a2629572c7e5acb46b8a13;
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;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_8c121d80b6a2629572c7e5acb46b8a13 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_reports == NULL);
var_reports = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_8c121d80b6a2629572c7e5acb46b8a13)) {
Py_XDECREF(cache_frame_8c121d80b6a2629572c7e5acb46b8a13);
#if _DEBUG_REFCOUNTS
if (cache_frame_8c121d80b6a2629572c7e5acb46b8a13 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8c121d80b6a2629572c7e5acb46b8a13 = MAKE_FUNCTION_FRAME(codeobj_8c121d80b6a2629572c7e5acb46b8a13, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8c121d80b6a2629572c7e5acb46b8a13->m_type_description == NULL);
frame_8c121d80b6a2629572c7e5acb46b8a13 = cache_frame_8c121d80b6a2629572c7e5acb46b8a13;
// Push the new frame as the currently active one.
pushFrameStack(frame_8c121d80b6a2629572c7e5acb46b8a13);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8c121d80b6a2629572c7e5acb46b8a13) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[84]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[36]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[40]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[72]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[72]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[85];
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 259;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 259;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 259;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_r;
var_r = tmp_assign_source_4;
Py_INCREF(var_r);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_4;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 261;
type_description_1 = "oooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_r);
tmp_args_element_value_4 = var_r;
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 261;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[53], tmp_args_element_value_4);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 261;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = var_st;
var_st = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_st);
tmp_expression_value_4 = var_st;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[56]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_1 = mod_consts[7];
tmp_and_left_value_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_st);
tmp_expression_value_5 = var_st;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[95]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = mod_consts[96];
tmp_and_right_value_1 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooo";
goto try_except_handler_3;
}
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:;
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_7;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[98]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_st);
tmp_expression_value_7 = var_st;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[95]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 265;
type_description_1 = "oooo";
goto try_except_handler_4;
}
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 265;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooo";
goto try_except_handler_4;
}
{
PyObject *old = var_pw;
var_pw = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_pw);
tmp_expression_value_9 = var_pw;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[99]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[9]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooo";
goto try_except_handler_4;
}
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 266;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[100]);
Py_DECREF(tmp_called_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 266;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto loop_start_1;
branch_no_2:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_8c121d80b6a2629572c7e5acb46b8a13, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_8c121d80b6a2629572c7e5acb46b8a13, 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_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 264;
}
if (exception_tb && exception_tb->tb_frame == &frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame) frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_5;
branch_no_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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 try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_6;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 271;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_called_instance_2 = var_reports;
CHECK_OBJECT(var_r);
tmp_args_element_value_6 = var_r;
frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = 271;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[90], tmp_args_element_value_6);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_8c121d80b6a2629572c7e5acb46b8a13, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_8c121d80b6a2629572c7e5acb46b8a13, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 260;
}
if (exception_tb && exception_tb->tb_frame == &frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame) frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_6;
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// End of try:
try_end_4:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_5;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
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;
if (var_reports == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[89]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 276;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_reports;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c121d80b6a2629572c7e5acb46b8a13);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c121d80b6a2629572c7e5acb46b8a13);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c121d80b6a2629572c7e5acb46b8a13);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8c121d80b6a2629572c7e5acb46b8a13, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8c121d80b6a2629572c7e5acb46b8a13->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8c121d80b6a2629572c7e5acb46b8a13, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8c121d80b6a2629572c7e5acb46b8a13,
type_description_1,
var_reports,
var_r,
var_st,
var_pw
);
// Release cached frame if used for exception.
if (frame_8c121d80b6a2629572c7e5acb46b8a13 == cache_frame_8c121d80b6a2629572c7e5acb46b8a13) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8c121d80b6a2629572c7e5acb46b8a13);
cache_frame_8c121d80b6a2629572c7e5acb46b8a13 = NULL;
}
assertFrameObject(frame_8c121d80b6a2629572c7e5acb46b8a13);
// 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:;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
Py_XDECREF(var_st);
var_st = NULL;
Py_XDECREF(var_pw);
var_pw = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_reports);
var_reports = NULL;
Py_XDECREF(var_r);
var_r = NULL;
Py_XDECREF(var_st);
var_st = NULL;
Py_XDECREF(var_pw);
var_pw = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto 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_apport$fileutils$$$function__14_get_new_system_reports(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 *outline_0_var_r = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_407074f4b4b043e3e5b2971e4d81eee4;
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;
struct Nuitka_FrameObject *frame_c424ba353686d83c929ce995cbbd58a3_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
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;
static struct Nuitka_FrameObject *cache_frame_c424ba353686d83c929ce995cbbd58a3_2 = 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;
static struct Nuitka_FrameObject *cache_frame_407074f4b4b043e3e5b2971e4d81eee4 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_407074f4b4b043e3e5b2971e4d81eee4)) {
Py_XDECREF(cache_frame_407074f4b4b043e3e5b2971e4d81eee4);
#if _DEBUG_REFCOUNTS
if (cache_frame_407074f4b4b043e3e5b2971e4d81eee4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_407074f4b4b043e3e5b2971e4d81eee4 = MAKE_FUNCTION_FRAME(codeobj_407074f4b4b043e3e5b2971e4d81eee4, module_apport$fileutils, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_407074f4b4b043e3e5b2971e4d81eee4->m_type_description == NULL);
frame_407074f4b4b043e3e5b2971e4d81eee4 = cache_frame_407074f4b4b043e3e5b2971e4d81eee4;
// Push the new frame as the currently active one.
pushFrameStack(frame_407074f4b4b043e3e5b2971e4d81eee4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_407074f4b4b043e3e5b2971e4d81eee4) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
goto try_except_handler_1;
}
frame_407074f4b4b043e3e5b2971e4d81eee4->m_frame.f_lineno = 285;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
goto try_except_handler_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
goto try_except_handler_1;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_2;
}
if (isFrameUnusable(cache_frame_c424ba353686d83c929ce995cbbd58a3_2)) {
Py_XDECREF(cache_frame_c424ba353686d83c929ce995cbbd58a3_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_c424ba353686d83c929ce995cbbd58a3_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c424ba353686d83c929ce995cbbd58a3_2 = MAKE_FUNCTION_FRAME(codeobj_c424ba353686d83c929ce995cbbd58a3, module_apport$fileutils, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c424ba353686d83c929ce995cbbd58a3_2->m_type_description == NULL);
frame_c424ba353686d83c929ce995cbbd58a3_2 = cache_frame_c424ba353686d83c929ce995cbbd58a3_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_c424ba353686d83c929ce995cbbd58a3_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c424ba353686d83c929ce995cbbd58a3_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "o";
exception_lineno = 285;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_4 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_r;
outline_0_var_r = tmp_assign_source_4;
Py_INCREF(outline_0_var_r);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_2 = "o";
goto try_except_handler_2;
}
CHECK_OBJECT(outline_0_var_r);
tmp_args_element_value_1 = outline_0_var_r;
frame_c424ba353686d83c929ce995cbbd58a3_2->m_frame.f_lineno = 285;
tmp_operand_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_2 = "o";
goto try_except_handler_2;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_2 = "o";
goto try_except_handler_2;
}
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_append_list_1;
PyObject *tmp_append_value_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_r);
tmp_append_value_1 = outline_0_var_r;
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND0(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_2 = "o";
goto try_except_handler_2;
}
}
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_2 = "o";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_return_value = tmp_listcomp_1__contraction;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// 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;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = 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_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_c424ba353686d83c929ce995cbbd58a3_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c424ba353686d83c929ce995cbbd58a3_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c424ba353686d83c929ce995cbbd58a3_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c424ba353686d83c929ce995cbbd58a3_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c424ba353686d83c929ce995cbbd58a3_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c424ba353686d83c929ce995cbbd58a3_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c424ba353686d83c929ce995cbbd58a3_2,
type_description_2,
outline_0_var_r
);
// Release cached frame if used for exception.
if (frame_c424ba353686d83c929ce995cbbd58a3_2 == cache_frame_c424ba353686d83c929ce995cbbd58a3_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c424ba353686d83c929ce995cbbd58a3_2);
cache_frame_c424ba353686d83c929ce995cbbd58a3_2 = NULL;
}
assertFrameObject(frame_c424ba353686d83c929ce995cbbd58a3_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_1;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(outline_0_var_r);
outline_0_var_r = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(outline_0_var_r);
outline_0_var_r = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 285;
goto frame_exception_exit_1;
outline_result_1:;
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_407074f4b4b043e3e5b2971e4d81eee4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_407074f4b4b043e3e5b2971e4d81eee4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_407074f4b4b043e3e5b2971e4d81eee4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_407074f4b4b043e3e5b2971e4d81eee4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_407074f4b4b043e3e5b2971e4d81eee4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_407074f4b4b043e3e5b2971e4d81eee4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_407074f4b4b043e3e5b2971e4d81eee4,
type_description_1
);
// Release cached frame if used for exception.
if (frame_407074f4b4b043e3e5b2971e4d81eee4 == cache_frame_407074f4b4b043e3e5b2971e4d81eee4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_407074f4b4b043e3e5b2971e4d81eee4);
cache_frame_407074f4b4b043e3e5b2971e4d81eee4 = NULL;
}
assertFrameObject(frame_407074f4b4b043e3e5b2971e4d81eee4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_2:;
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_apport$fileutils$$$function__15_delete_report(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_report = python_pars[0];
PyObject *var_f = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_afcc682d049b154dc1785e3c9e4cf400;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_2;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
static struct Nuitka_FrameObject *cache_frame_afcc682d049b154dc1785e3c9e4cf400 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_afcc682d049b154dc1785e3c9e4cf400)) {
Py_XDECREF(cache_frame_afcc682d049b154dc1785e3c9e4cf400);
#if _DEBUG_REFCOUNTS
if (cache_frame_afcc682d049b154dc1785e3c9e4cf400 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_afcc682d049b154dc1785e3c9e4cf400 = MAKE_FUNCTION_FRAME(codeobj_afcc682d049b154dc1785e3c9e4cf400, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_afcc682d049b154dc1785e3c9e4cf400->m_type_description == NULL);
frame_afcc682d049b154dc1785e3c9e4cf400 = cache_frame_afcc682d049b154dc1785e3c9e4cf400;
// Push the new frame as the currently active one.
pushFrameStack(frame_afcc682d049b154dc1785e3c9e4cf400);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_afcc682d049b154dc1785e3c9e4cf400) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_report);
tmp_args_element_value_1 = par_report;
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 295;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[64], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_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 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_afcc682d049b154dc1785e3c9e4cf400, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_afcc682d049b154dc1785e3c9e4cf400, 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_OSError;
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:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(par_report);
tmp_open_filename_1 = par_report;
tmp_open_mode_1 = mod_consts[104];
tmp_assign_source_1 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "oo";
goto try_except_handler_4;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_1 = tmp_with_1__source;
tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_1, mod_consts[25]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "oo";
goto try_except_handler_4;
}
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 297;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "oo";
goto try_except_handler_4;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_2 = tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[26]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "oo";
goto try_except_handler_4;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_5 = tmp_with_1__enter;
assert(var_f == NULL);
Py_INCREF(tmp_assign_source_5);
var_f = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_f);
tmp_called_instance_2 = var_f;
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 298;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[105],
PyTuple_GET_ITEM(mod_consts[106], 0)
);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_2);
}
goto try_end_2;
// Exception handler code:
try_except_handler_6:;
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_afcc682d049b154dc1785e3c9e4cf400, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_afcc682d049b154dc1785e3c9e4cf400, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_6;
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_2 = tmp_with_1__exit;
tmp_args_element_value_2 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_3 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_4 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 298;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_7;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_7;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 298;
}
if (exception_tb && exception_tb->tb_frame == &frame_afcc682d049b154dc1785e3c9e4cf400->m_frame) frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_7;
branch_no_3:;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 297;
}
if (exception_tb && exception_tb->tb_frame == &frame_afcc682d049b154dc1785e3c9e4cf400->m_frame) frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_7;
branch_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_7:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_5;
// End of try:
try_end_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 298;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[29]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_4);
Py_XDECREF(exception_keeper_value_4);
Py_XDECREF(exception_keeper_tb_4);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_4:;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_4;
// End of try:
try_end_4:;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = 298;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[29]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_5:;
goto try_end_5;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_3;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 294;
}
if (exception_tb && exception_tb->tb_frame == &frame_afcc682d049b154dc1785e3c9e4cf400->m_frame) frame_afcc682d049b154dc1785e3c9e4cf400->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_1:;
goto try_end_6;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_afcc682d049b154dc1785e3c9e4cf400);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_afcc682d049b154dc1785e3c9e4cf400);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_afcc682d049b154dc1785e3c9e4cf400, exception_lineno);
} else if (exception_tb->tb_frame != &frame_afcc682d049b154dc1785e3c9e4cf400->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_afcc682d049b154dc1785e3c9e4cf400, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_afcc682d049b154dc1785e3c9e4cf400,
type_description_1,
par_report,
var_f
);
// Release cached frame if used for exception.
if (frame_afcc682d049b154dc1785e3c9e4cf400 == cache_frame_afcc682d049b154dc1785e3c9e4cf400) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_afcc682d049b154dc1785e3c9e4cf400);
cache_frame_afcc682d049b154dc1785e3c9e4cf400 = NULL;
}
assertFrameObject(frame_afcc682d049b154dc1785e3c9e4cf400);
// 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_f);
var_f = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_f);
var_f = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__16_get_recent_crashes(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_report = python_pars[0];
PyObject *var_pr = NULL;
PyObject *var_count = NULL;
PyObject *var_report_time = NULL;
PyObject *var_cur_time = NULL;
struct Nuitka_FrameObject *frame_9a1f0167aa0016ba26b8cf6b8805f9b4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_9a1f0167aa0016ba26b8cf6b8805f9b4 = 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_9a1f0167aa0016ba26b8cf6b8805f9b4)) {
Py_XDECREF(cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
#if _DEBUG_REFCOUNTS
if (cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4 = MAKE_FUNCTION_FRAME(codeobj_9a1f0167aa0016ba26b8cf6b8805f9b4, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_type_description == NULL);
frame_9a1f0167aa0016ba26b8cf6b8805f9b4 = cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4;
// Push the new frame as the currently active one.
pushFrameStack(frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9a1f0167aa0016ba26b8cf6b8805f9b4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 307;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_pr == NULL);
var_pr = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(var_pr);
tmp_expression_value_1 = var_pr;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[109]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_report);
tmp_tuple_element_1 = par_report;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_False;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
tmp_kwargs_value_1 = DEEP_COPY_DICT(mod_consts[110]);
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 308;
tmp_call_result_1 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_pr);
tmp_expression_value_2 = var_pr;
tmp_subscript_value_1 = mod_consts[111];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_assign_source_2 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(var_count == NULL);
var_count = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[112]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[113]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_pr);
tmp_expression_value_5 = var_pr;
tmp_subscript_value_2 = mod_consts[114];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_2);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_called_value_4);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 311;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 311;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(var_report_time == NULL);
var_report_time = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_instance_1;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[112]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 312;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 312;
tmp_args_element_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[115]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 312;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = 312;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_3);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(var_cur_time == NULL);
var_cur_time = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
CHECK_OBJECT(var_cur_time);
tmp_sub_expr_left_1 = var_cur_time;
CHECK_OBJECT(var_report_time);
tmp_sub_expr_right_1 = var_report_time;
tmp_cmp_expr_left_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = mod_consts[116];
tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = mod_consts[7];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_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_9a1f0167aa0016ba26b8cf6b8805f9b4, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9a1f0167aa0016ba26b8cf6b8805f9b4, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = mod_consts[117];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = mod_consts[7];
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 309;
}
if (exception_tb && exception_tb->tb_frame == &frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame) frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_3;
branch_end_2:;
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_9a1f0167aa0016ba26b8cf6b8805f9b4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9a1f0167aa0016ba26b8cf6b8805f9b4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9a1f0167aa0016ba26b8cf6b8805f9b4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9a1f0167aa0016ba26b8cf6b8805f9b4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9a1f0167aa0016ba26b8cf6b8805f9b4,
type_description_1,
par_report,
var_pr,
var_count,
var_report_time,
var_cur_time
);
// Release cached frame if used for exception.
if (frame_9a1f0167aa0016ba26b8cf6b8805f9b4 == cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
cache_frame_9a1f0167aa0016ba26b8cf6b8805f9b4 = NULL;
}
assertFrameObject(frame_9a1f0167aa0016ba26b8cf6b8805f9b4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_count);
tmp_return_value = var_count;
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(var_pr);
Py_DECREF(var_pr);
var_pr = NULL;
Py_XDECREF(var_count);
var_count = NULL;
Py_XDECREF(var_report_time);
var_report_time = NULL;
Py_XDECREF(var_cur_time);
var_cur_time = 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_pr);
var_pr = NULL;
Py_XDECREF(var_count);
var_count = NULL;
Py_XDECREF(var_report_time);
var_report_time = NULL;
Py_XDECREF(var_cur_time);
var_cur_time = 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:
CHECK_OBJECT(par_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__17_make_report_file(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_report = python_pars[0];
PyObject *par_uid = python_pars[1];
PyObject *var_subject = NULL;
PyObject *var_path = NULL;
struct Nuitka_FrameObject *frame_c11fdb05f9cb59d3d27ccc1dbe9de58c;
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_c11fdb05f9cb59d3d27ccc1dbe9de58c = 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_c11fdb05f9cb59d3d27ccc1dbe9de58c)) {
Py_XDECREF(cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
#if _DEBUG_REFCOUNTS
if (cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c = MAKE_FUNCTION_FRAME(codeobj_c11fdb05f9cb59d3d27ccc1dbe9de58c, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_type_description == NULL);
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c = cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c;
// Push the new frame as the currently active one.
pushFrameStack(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[66];
CHECK_OBJECT(par_report);
tmp_cmp_expr_right_1 = par_report;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_report);
tmp_expression_value_2 = par_report;
tmp_subscript_value_1 = mod_consts[66];
tmp_expression_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[67]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame.f_lineno = 331;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[68]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_subject == NULL);
var_subject = tmp_assign_source_1;
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[119];
CHECK_OBJECT(par_report);
tmp_cmp_expr_right_2 = par_report;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? 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;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_2;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(par_report);
tmp_expression_value_5 = par_report;
tmp_subscript_value_2 = mod_consts[119];
tmp_expression_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_2);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame.f_lineno = 333;
tmp_expression_value_3 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[120]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = mod_consts[7];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_3, 0);
Py_DECREF(tmp_expression_value_3);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_subject == NULL);
var_subject = tmp_assign_source_2;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[121];
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame.f_lineno = 335;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 335;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_end_2:;
branch_end_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_uid);
tmp_operand_value_1 = par_uid;
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 = 337;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame.f_lineno = 338;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_uid;
assert(old != NULL);
par_uid = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[36]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[40]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[72]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[72]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[122];
CHECK_OBJECT(var_subject);
tmp_tuple_element_1 = var_subject;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_unicode_arg_1;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_uid);
tmp_unicode_arg_1 = par_uid;
tmp_tuple_element_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 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_called_value_3);
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_args_element_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame.f_lineno = 340;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_path == NULL);
var_path = tmp_assign_source_4;
}
{
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_path);
tmp_open_filename_1 = var_path;
tmp_open_mode_1 = mod_consts[123];
tmp_return_value = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c11fdb05f9cb59d3d27ccc1dbe9de58c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c11fdb05f9cb59d3d27ccc1dbe9de58c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c11fdb05f9cb59d3d27ccc1dbe9de58c,
type_description_1,
par_report,
par_uid,
var_subject,
var_path
);
// Release cached frame if used for exception.
if (frame_c11fdb05f9cb59d3d27ccc1dbe9de58c == cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
cache_frame_c11fdb05f9cb59d3d27ccc1dbe9de58c = NULL;
}
assertFrameObject(frame_c11fdb05f9cb59d3d27ccc1dbe9de58c);
// 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_uid);
Py_DECREF(par_uid);
par_uid = NULL;
CHECK_OBJECT(var_subject);
Py_DECREF(var_subject);
var_subject = NULL;
CHECK_OBJECT(var_path);
Py_DECREF(var_path);
var_path = 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_uid);
Py_DECREF(par_uid);
par_uid = NULL;
Py_XDECREF(var_subject);
var_subject = NULL;
Py_XDECREF(var_path);
var_path = 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_report);
Py_DECREF(par_report);
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_report);
Py_DECREF(par_report);
// 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_apport$fileutils$$$function__18_check_files_md5(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_sumfile = python_pars[0];
PyObject *var_m = NULL;
PyObject *var_out = NULL;
PyObject *var_mismatches = NULL;
PyObject *var_line = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_677e4f39d26fa0ace9cf3398587d0401;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
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_677e4f39d26fa0ace9cf3398587d0401 = 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_677e4f39d26fa0ace9cf3398587d0401)) {
Py_XDECREF(cache_frame_677e4f39d26fa0ace9cf3398587d0401);
#if _DEBUG_REFCOUNTS
if (cache_frame_677e4f39d26fa0ace9cf3398587d0401 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_677e4f39d26fa0ace9cf3398587d0401 = MAKE_FUNCTION_FRAME(codeobj_677e4f39d26fa0ace9cf3398587d0401, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_677e4f39d26fa0ace9cf3398587d0401->m_type_description == NULL);
frame_677e4f39d26fa0ace9cf3398587d0401 = cache_frame_677e4f39d26fa0ace9cf3398587d0401;
// Push the new frame as the currently active one.
pushFrameStack(frame_677e4f39d26fa0ace9cf3398587d0401);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_677e4f39d26fa0ace9cf3398587d0401) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[36]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_sumfile);
tmp_args_element_value_1 = par_sumfile;
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 354;
tmp_operand_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[62], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_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_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 354;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_list_element_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_dict_value_2_1;
PyObject *tmp_kw_call_dict_value_3_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[125]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_list_element_1 = mod_consts[126];
tmp_kw_call_arg_value_0_1 = MAKE_LIST_EMPTY(3);
PyList_SET_ITEM0(tmp_kw_call_arg_value_0_1, 0, tmp_list_element_1);
tmp_list_element_1 = mod_consts[127];
PyList_SET_ITEM0(tmp_kw_call_arg_value_0_1, 1, tmp_list_element_1);
CHECK_OBJECT(par_sumfile);
tmp_list_element_1 = par_sumfile;
PyList_SET_ITEM0(tmp_kw_call_arg_value_0_1, 2, tmp_list_element_1);
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 356;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[128]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 356;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 356;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[128]);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 356;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_2_1 = mod_consts[129];
tmp_kw_call_dict_value_3_1 = MAKE_DICT_EMPTY();
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 355;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[4] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1, tmp_kw_call_dict_value_2_1, tmp_kw_call_dict_value_3_1};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[130]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
Py_DECREF(tmp_kw_call_dict_value_3_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_m == NULL);
var_m = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_called_instance_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_m);
tmp_called_instance_2 = var_m;
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 358;
tmp_expression_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[131]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[7];
tmp_expression_value_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_6);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[132]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 358;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_out == NULL);
var_out = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_m);
tmp_expression_value_7 = var_m;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[133]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[7];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = MAKE_LIST_EMPTY(0);
goto frame_return_exit_1;
branch_no_2:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = MAKE_LIST_EMPTY(0);
assert(var_mismatches == NULL);
var_mismatches = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_out);
tmp_expression_value_8 = var_out;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[134]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 365;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_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 = "ooooo";
exception_lineno = 365;
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_line;
var_line = tmp_assign_source_6;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_line);
tmp_expression_value_9 = var_line;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[19]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 366;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 366;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[135]);
Py_DECREF(tmp_called_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 366;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 366;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_2;
if (var_mismatches == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[136]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_10 = var_mismatches;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[90]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_line);
tmp_expression_value_12 = var_line;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[59]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 367;
tmp_expression_value_11 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_6, mod_consts[137]);
Py_DECREF(tmp_called_value_6);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_subscript_value_2 = mod_consts[7];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, tmp_subscript_value_2, 0);
Py_DECREF(tmp_expression_value_11);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_677e4f39d26fa0ace9cf3398587d0401->m_frame.f_lineno = 367;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_mismatches == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[136]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 369;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_mismatches;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_677e4f39d26fa0ace9cf3398587d0401);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_677e4f39d26fa0ace9cf3398587d0401);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_677e4f39d26fa0ace9cf3398587d0401);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_677e4f39d26fa0ace9cf3398587d0401, exception_lineno);
} else if (exception_tb->tb_frame != &frame_677e4f39d26fa0ace9cf3398587d0401->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_677e4f39d26fa0ace9cf3398587d0401, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_677e4f39d26fa0ace9cf3398587d0401,
type_description_1,
par_sumfile,
var_m,
var_out,
var_mismatches,
var_line
);
// Release cached frame if used for exception.
if (frame_677e4f39d26fa0ace9cf3398587d0401 == cache_frame_677e4f39d26fa0ace9cf3398587d0401) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_677e4f39d26fa0ace9cf3398587d0401);
cache_frame_677e4f39d26fa0ace9cf3398587d0401 = NULL;
}
assertFrameObject(frame_677e4f39d26fa0ace9cf3398587d0401);
// 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_m);
Py_DECREF(var_m);
var_m = NULL;
Py_XDECREF(var_out);
var_out = NULL;
Py_XDECREF(var_mismatches);
var_mismatches = NULL;
Py_XDECREF(var_line);
var_line = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_m);
var_m = NULL;
Py_XDECREF(var_out);
var_out = NULL;
Py_XDECREF(var_mismatches);
var_mismatches = NULL;
Py_XDECREF(var_line);
var_line = 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_sumfile);
Py_DECREF(par_sumfile);
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_sumfile);
Py_DECREF(par_sumfile);
// 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_apport$fileutils$$$function__19_get_config(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_section = python_pars[0];
PyObject *par_setting = python_pars[1];
PyObject *par_default = python_pars[2];
PyObject *par_path = python_pars[3];
PyObject *par_bool = python_pars[4];
PyObject *var_homedir = NULL;
PyObject *var_contents = NULL;
PyObject *var_fd = NULL;
PyObject *var_f = NULL;
PyObject *var_st = NULL;
struct Nuitka_FrameObject *frame_ad9aadb9c8f458207d0936389ae92dcc;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_3;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
static struct Nuitka_FrameObject *cache_frame_ad9aadb9c8f458207d0936389ae92dcc = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_ad9aadb9c8f458207d0936389ae92dcc)) {
Py_XDECREF(cache_frame_ad9aadb9c8f458207d0936389ae92dcc);
#if _DEBUG_REFCOUNTS
if (cache_frame_ad9aadb9c8f458207d0936389ae92dcc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ad9aadb9c8f458207d0936389ae92dcc = MAKE_FUNCTION_FRAME(codeobj_ad9aadb9c8f458207d0936389ae92dcc, module_apport$fileutils, 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_ad9aadb9c8f458207d0936389ae92dcc->m_type_description == NULL);
frame_ad9aadb9c8f458207d0936389ae92dcc = cache_frame_ad9aadb9c8f458207d0936389ae92dcc;
// Push the new frame as the currently active one.
pushFrameStack(frame_ad9aadb9c8f458207d0936389ae92dcc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ad9aadb9c8f458207d0936389ae92dcc) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_path);
tmp_operand_value_1 = par_path;
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 = 381;
type_description_1 = "oooooooooo";
goto frame_exception_exit_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_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_subscript_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[98]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 383;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[70]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 383;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[139];
tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 5);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_homedir == NULL);
var_homedir = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[140]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[140]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[67]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[141];
CHECK_OBJECT(var_homedir);
tmp_args_element_value_3 = var_homedir;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 384;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_path;
assert(old != NULL);
par_path = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = mod_consts[142];
assert(var_contents == NULL);
Py_INCREF(tmp_assign_source_3);
var_contents = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = Py_None;
assert(var_fd == NULL);
Py_INCREF(tmp_assign_source_4);
var_fd = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = Py_None;
assert(var_f == NULL);
Py_INCREF(tmp_assign_source_5);
var_f = tmp_assign_source_5;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_4;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[144]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_assattr_target_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[145]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[145]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 390;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, &PyTuple_GET_ITEM(mod_consts[146], 0), mod_consts[147]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assattr_value_1);
exception_lineno = 390;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[144], 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 = 390;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_bitor_expr_left_1;
PyObject *tmp_bitor_expr_right_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[148]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_path);
tmp_args_element_value_4 = par_path;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_bitor_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[149]);
if (tmp_bitor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_bitor_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[150]);
if (tmp_bitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_args_element_value_5 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_1, tmp_bitor_expr_right_1);
Py_DECREF(tmp_bitor_expr_left_1);
Py_DECREF(tmp_bitor_expr_right_1);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 393;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_fd;
assert(old != NULL);
var_fd = tmp_assign_source_6;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_6;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_fd);
tmp_args_element_value_6 = var_fd;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 394;
tmp_assign_source_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[151], tmp_args_element_value_6);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
assert(var_st == NULL);
var_st = tmp_assign_source_7;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_9;
int tmp_truth_name_1;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[152]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_st);
tmp_expression_value_9 = var_st;
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[153]);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 395;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 395;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 395;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_fd);
tmp_args_element_value_8 = var_fd;
tmp_args_element_value_9 = mod_consts[155];
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 396;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_assign_source_8 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_3,
mod_consts[154],
call_args
);
}
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_f;
assert(old != NULL);
var_f = tmp_assign_source_8;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_instance_4;
CHECK_OBJECT(var_f);
tmp_called_instance_4 = var_f;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 398;
tmp_assign_source_9 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[28],
PyTuple_GET_ITEM(mod_consts[156], 0)
);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_contents;
assert(old != NULL);
var_contents = tmp_assign_source_9;
Py_DECREF(old);
}
}
branch_no_3:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_ad9aadb9c8f458207d0936389ae92dcc, 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_4;
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 = mod_consts[157];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 392;
}
if (exception_tb && exception_tb->tb_frame == &frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame) frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
branch_no_4:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
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 try_except_handler_2;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
if (var_f == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[158]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 402;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
tmp_cmp_expr_left_2 = var_f;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_2;
if (var_f == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[158]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 403;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
tmp_called_instance_5 = var_f;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 403;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[78]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_2);
}
goto branch_end_5;
branch_no_5:;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
if (var_fd == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[159]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 404;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
tmp_cmp_expr_left_3 = var_fd;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_10;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[78]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
if (var_fd == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[159]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
tmp_args_element_value_10 = var_fd;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 405;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_10);
Py_DECREF(tmp_called_value_6);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_6:;
branch_end_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 392;
}
if (exception_tb && exception_tb->tb_frame == &frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame) frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_3:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
if (var_f == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[158]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 402;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_4 = var_f;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_7 = (tmp_cmp_expr_left_4 != tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_4;
if (var_f == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[158]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 403;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = var_f;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 403;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[78]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_7;
branch_no_7:;
{
bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
if (var_fd == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[159]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 404;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_5 = var_fd;
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_8 = (tmp_cmp_expr_left_5 != tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_11;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[78]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
if (var_fd == NULL) {
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[159]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = var_fd;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 405;
tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_11);
Py_DECREF(tmp_called_value_7);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_8:;
branch_end_7:;
branch_no_2:;
// Tried code:
{
PyObject *tmp_called_instance_7;
PyObject *tmp_expression_value_12;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_12;
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oooooooooo";
goto try_except_handler_6;
}
tmp_called_instance_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[144]);
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oooooooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_contents);
tmp_args_element_value_12 = var_contents;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 408;
tmp_call_result_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[160], tmp_args_element_value_12);
Py_DECREF(tmp_called_instance_7);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oooooooooo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_6);
}
goto try_end_4;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_5 == NULL) {
exception_keeper_tb_5 = MAKE_TRACEBACK(frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_5);
} else if (exception_keeper_lineno_5 != 0) {
exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5);
// Tried code:
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[161]);
if (unlikely(tmp_cmp_expr_right_6 == NULL)) {
tmp_cmp_expr_right_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[161]);
}
if (tmp_cmp_expr_right_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "oooooooooo";
goto try_except_handler_7;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "oooooooooo";
goto try_except_handler_7;
}
tmp_condition_result_9 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 407;
}
if (exception_tb && exception_tb->tb_frame == &frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame) frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooo";
goto try_except_handler_7;
branch_no_9:;
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
// Tried code:
{
nuitka_bool tmp_condition_result_10;
int tmp_truth_name_2;
CHECK_OBJECT(par_bool);
tmp_truth_name_2 = CHECK_IF_TRUE(par_bool);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
tmp_condition_result_10 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_called_instance_8;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_13;
PyObject *tmp_args_element_value_14;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
tmp_called_instance_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[144]);
if (tmp_called_instance_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
CHECK_OBJECT(par_section);
tmp_args_element_value_13 = par_section;
CHECK_OBJECT(par_setting);
tmp_args_element_value_14 = par_setting;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 414;
{
PyObject *call_args[] = {tmp_args_element_value_13, tmp_args_element_value_14};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_8,
mod_consts[162],
call_args
);
}
Py_DECREF(tmp_called_instance_8);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
goto frame_return_exit_1;
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_element_value_15;
PyObject *tmp_args_element_value_16;
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[144]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[46]);
Py_DECREF(tmp_expression_value_14);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
CHECK_OBJECT(par_section);
tmp_args_element_value_15 = par_section;
CHECK_OBJECT(par_setting);
tmp_args_element_value_16 = par_setting;
frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = 416;
{
PyObject *call_args[] = {tmp_args_element_value_15, tmp_args_element_value_16};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooo";
goto try_except_handler_8;
}
goto frame_return_exit_1;
}
branch_end_10:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_7 == NULL) {
exception_keeper_tb_7 = MAKE_TRACEBACK(frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_7);
} else if (exception_keeper_lineno_7 != 0) {
exception_keeper_tb_7 = ADD_TRACEBACK(exception_keeper_tb_7, frame_ad9aadb9c8f458207d0936389ae92dcc, exception_keeper_lineno_7);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7);
// Tried code:
{
bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_tuple_element_1;
tmp_cmp_expr_left_7 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[163]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[163]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "oooooooooo";
goto try_except_handler_9;
}
tmp_cmp_expr_right_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_7, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[164]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[164]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "oooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_7, 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_cmp_expr_right_7);
goto try_except_handler_9;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_right_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "oooooooooo";
goto try_except_handler_9;
}
tmp_condition_result_11 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
CHECK_OBJECT(par_default);
tmp_return_value = par_default;
Py_INCREF(tmp_return_value);
goto try_return_handler_9;
goto branch_end_11;
branch_no_11:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 412;
}
if (exception_tb && exception_tb->tb_frame == &frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame) frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooo";
goto try_except_handler_9;
branch_end_11:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_ad9aadb9c8f458207d0936389ae92dcc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ad9aadb9c8f458207d0936389ae92dcc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ad9aadb9c8f458207d0936389ae92dcc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ad9aadb9c8f458207d0936389ae92dcc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ad9aadb9c8f458207d0936389ae92dcc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ad9aadb9c8f458207d0936389ae92dcc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ad9aadb9c8f458207d0936389ae92dcc,
type_description_1,
par_section,
par_setting,
par_default,
par_path,
par_bool,
var_homedir,
var_contents,
var_fd,
var_f,
var_st
);
// Release cached frame if used for exception.
if (frame_ad9aadb9c8f458207d0936389ae92dcc == cache_frame_ad9aadb9c8f458207d0936389ae92dcc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ad9aadb9c8f458207d0936389ae92dcc);
cache_frame_ad9aadb9c8f458207d0936389ae92dcc = NULL;
}
assertFrameObject(frame_ad9aadb9c8f458207d0936389ae92dcc);
// 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:;
Py_XDECREF(par_path);
par_path = NULL;
Py_XDECREF(var_homedir);
var_homedir = NULL;
CHECK_OBJECT(var_contents);
Py_DECREF(var_contents);
var_contents = NULL;
Py_XDECREF(var_fd);
var_fd = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_st);
var_st = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_path);
par_path = NULL;
Py_XDECREF(var_homedir);
var_homedir = NULL;
Py_XDECREF(var_contents);
var_contents = NULL;
Py_XDECREF(var_fd);
var_fd = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_st);
var_st = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_section);
Py_DECREF(par_section);
CHECK_OBJECT(par_setting);
Py_DECREF(par_setting);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_bool);
Py_DECREF(par_bool);
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_section);
Py_DECREF(par_section);
CHECK_OBJECT(par_setting);
Py_DECREF(par_setting);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
CHECK_OBJECT(par_bool);
Py_DECREF(par_bool);
// 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_apport$fileutils$$$function__20_get_starttime(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_contents = python_pars[0];
PyObject *var_stripped = NULL;
struct Nuitka_FrameObject *frame_274305d3e9dca7ffd9cb499b30af9c17;
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;
static struct Nuitka_FrameObject *cache_frame_274305d3e9dca7ffd9cb499b30af9c17 = 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_274305d3e9dca7ffd9cb499b30af9c17)) {
Py_XDECREF(cache_frame_274305d3e9dca7ffd9cb499b30af9c17);
#if _DEBUG_REFCOUNTS
if (cache_frame_274305d3e9dca7ffd9cb499b30af9c17 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_274305d3e9dca7ffd9cb499b30af9c17 = MAKE_FUNCTION_FRAME(codeobj_274305d3e9dca7ffd9cb499b30af9c17, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_274305d3e9dca7ffd9cb499b30af9c17->m_type_description == NULL);
frame_274305d3e9dca7ffd9cb499b30af9c17 = cache_frame_274305d3e9dca7ffd9cb499b30af9c17;
// Push the new frame as the currently active one.
pushFrameStack(frame_274305d3e9dca7ffd9cb499b30af9c17);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_274305d3e9dca7ffd9cb499b30af9c17) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_start_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(par_contents);
tmp_expression_value_1 = par_contents;
CHECK_OBJECT(par_contents);
tmp_expression_value_2 = par_contents;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[166]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_274305d3e9dca7ffd9cb499b30af9c17->m_frame.f_lineno = 431;
tmp_add_expr_left_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[167]);
Py_DECREF(tmp_called_value_1);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = mod_consts[168];
tmp_start_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_start_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_stop_value_1 = Py_None;
tmp_subscript_value_1 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_start_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_stripped == NULL);
var_stripped = tmp_assign_source_1;
}
{
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_stripped);
tmp_expression_value_4 = var_stripped;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_274305d3e9dca7ffd9cb499b30af9c17->m_frame.f_lineno = 433;
tmp_expression_value_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = mod_consts[169];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_2, 19);
Py_DECREF(tmp_expression_value_3);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_274305d3e9dca7ffd9cb499b30af9c17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_274305d3e9dca7ffd9cb499b30af9c17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_274305d3e9dca7ffd9cb499b30af9c17);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_274305d3e9dca7ffd9cb499b30af9c17, exception_lineno);
} else if (exception_tb->tb_frame != &frame_274305d3e9dca7ffd9cb499b30af9c17->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_274305d3e9dca7ffd9cb499b30af9c17, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_274305d3e9dca7ffd9cb499b30af9c17,
type_description_1,
par_contents,
var_stripped
);
// Release cached frame if used for exception.
if (frame_274305d3e9dca7ffd9cb499b30af9c17 == cache_frame_274305d3e9dca7ffd9cb499b30af9c17) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_274305d3e9dca7ffd9cb499b30af9c17);
cache_frame_274305d3e9dca7ffd9cb499b30af9c17 = NULL;
}
assertFrameObject(frame_274305d3e9dca7ffd9cb499b30af9c17);
// 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_stripped);
Py_DECREF(var_stripped);
var_stripped = 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_stripped);
var_stripped = 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_contents);
Py_DECREF(par_contents);
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_contents);
Py_DECREF(par_contents);
// 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_apport$fileutils$$$function__21_get_uid_and_gid(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_contents = python_pars[0];
PyObject *var_real_uid = NULL;
PyObject *var_real_gid = NULL;
PyObject *var_line = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_d67db4aa3445d64db1543bf297a4c3ec;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d67db4aa3445d64db1543bf297a4c3ec = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
assert(var_real_uid == NULL);
Py_INCREF(tmp_assign_source_1);
var_real_uid = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
assert(var_real_gid == NULL);
Py_INCREF(tmp_assign_source_2);
var_real_gid = tmp_assign_source_2;
}
// Tried code:
if (isFrameUnusable(cache_frame_d67db4aa3445d64db1543bf297a4c3ec)) {
Py_XDECREF(cache_frame_d67db4aa3445d64db1543bf297a4c3ec);
#if _DEBUG_REFCOUNTS
if (cache_frame_d67db4aa3445d64db1543bf297a4c3ec == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d67db4aa3445d64db1543bf297a4c3ec = MAKE_FUNCTION_FRAME(codeobj_d67db4aa3445d64db1543bf297a4c3ec, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d67db4aa3445d64db1543bf297a4c3ec->m_type_description == NULL);
frame_d67db4aa3445d64db1543bf297a4c3ec = cache_frame_d67db4aa3445d64db1543bf297a4c3ec;
// Push the new frame as the currently active one.
pushFrameStack(frame_d67db4aa3445d64db1543bf297a4c3ec);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d67db4aa3445d64db1543bf297a4c3ec) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_contents);
tmp_expression_value_1 = par_contents;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[134]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 441;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 441;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_line;
var_line = tmp_assign_source_5;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
bool tmp_tmp_and_right_value_1_cbool_1;
CHECK_OBJECT(var_line);
tmp_expression_value_2 = var_line;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[9]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 445;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[171]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_line);
tmp_expression_value_3 = var_line;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[13]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 445;
tmp_len_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = 1;
tmp_tmp_and_right_value_1_cbool_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_right_value_1 = tmp_tmp_and_right_value_1_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_line);
tmp_expression_value_5 = var_line;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 446;
tmp_expression_value_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_subscript_value_1 = mod_consts[15];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 1);
Py_DECREF(tmp_expression_value_4);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_6 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_real_uid;
var_real_uid = tmp_assign_source_6;
Py_XDECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
int tmp_truth_name_2;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_2;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_7;
bool tmp_tmp_and_right_value_2_cbool_1;
CHECK_OBJECT(var_line);
tmp_expression_value_6 = var_line;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[9]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 447;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[172]);
Py_DECREF(tmp_called_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_and_left_value_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
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 = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(var_line);
tmp_expression_value_7 = var_line;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[13]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 447;
tmp_len_arg_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_len_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_2);
Py_DECREF(tmp_len_arg_2);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_2 = 1;
tmp_tmp_and_right_value_2_cbool_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
tmp_and_right_value_2 = tmp_tmp_and_right_value_2_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_2 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_2 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_int_arg_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_line);
tmp_expression_value_9 = var_line;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[13]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame.f_lineno = 448;
tmp_expression_value_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_7);
Py_DECREF(tmp_called_value_7);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_subscript_value_2 = mod_consts[15];
tmp_int_arg_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_8, tmp_subscript_value_2, 1);
Py_DECREF(tmp_expression_value_8);
if (tmp_int_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_7 = PyNumber_Int(tmp_int_arg_2);
Py_DECREF(tmp_int_arg_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_real_gid;
var_real_gid = tmp_assign_source_7;
Py_XDECREF(old);
}
}
branch_no_2:;
branch_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "oooo";
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:;
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;
{
PyObject *tmp_tuple_element_1;
if (var_real_uid == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[173]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 449;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = var_real_uid;
tmp_return_value = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_1);
if (var_real_gid == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[174]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 449;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = var_real_gid;
PyTuple_SET_ITEM0(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_d67db4aa3445d64db1543bf297a4c3ec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d67db4aa3445d64db1543bf297a4c3ec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d67db4aa3445d64db1543bf297a4c3ec);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d67db4aa3445d64db1543bf297a4c3ec, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d67db4aa3445d64db1543bf297a4c3ec->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d67db4aa3445d64db1543bf297a4c3ec, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d67db4aa3445d64db1543bf297a4c3ec,
type_description_1,
par_contents,
var_real_uid,
var_real_gid,
var_line
);
// Release cached frame if used for exception.
if (frame_d67db4aa3445d64db1543bf297a4c3ec == cache_frame_d67db4aa3445d64db1543bf297a4c3ec) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d67db4aa3445d64db1543bf297a4c3ec);
cache_frame_d67db4aa3445d64db1543bf297a4c3ec = NULL;
}
assertFrameObject(frame_d67db4aa3445d64db1543bf297a4c3ec);
// 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:;
Py_XDECREF(var_real_uid);
var_real_uid = NULL;
Py_XDECREF(var_real_gid);
var_real_gid = NULL;
Py_XDECREF(var_line);
var_line = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_real_uid);
var_real_uid = NULL;
Py_XDECREF(var_real_gid);
var_real_gid = NULL;
Py_XDECREF(var_line);
var_line = 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_contents);
Py_DECREF(par_contents);
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_contents);
Py_DECREF(par_contents);
// 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_apport$fileutils$$$function__22_search_map(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_mapfd = python_pars[0];
PyObject *par_uid = python_pars[1];
PyObject *var_line = NULL;
PyObject *var_fields = NULL;
PyObject *var_host_start = NULL;
PyObject *var_host_end = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_a3143957370839bcbbc3e8416ef27f2b;
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;
static struct Nuitka_FrameObject *cache_frame_a3143957370839bcbbc3e8416ef27f2b = 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_a3143957370839bcbbc3e8416ef27f2b)) {
Py_XDECREF(cache_frame_a3143957370839bcbbc3e8416ef27f2b);
#if _DEBUG_REFCOUNTS
if (cache_frame_a3143957370839bcbbc3e8416ef27f2b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a3143957370839bcbbc3e8416ef27f2b = MAKE_FUNCTION_FRAME(codeobj_a3143957370839bcbbc3e8416ef27f2b, module_apport$fileutils, 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_a3143957370839bcbbc3e8416ef27f2b->m_type_description == NULL);
frame_a3143957370839bcbbc3e8416ef27f2b = cache_frame_a3143957370839bcbbc3e8416ef27f2b;
// Push the new frame as the currently active one.
pushFrameStack(frame_a3143957370839bcbbc3e8416ef27f2b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a3143957370839bcbbc3e8416ef27f2b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_mapfd);
tmp_iter_arg_1 = par_mapfd;
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 454;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_line;
var_line = tmp_assign_source_3;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_line);
tmp_expression_value_1 = var_line;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[13]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_a3143957370839bcbbc3e8416ef27f2b->m_frame.f_lineno = 455;
tmp_assign_source_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_fields;
var_fields = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_fields);
tmp_len_arg_1 = var_fields;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 456;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = 3;
tmp_condition_result_1 = RICH_COMPARE_NE_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_start_1;
branch_no_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_int_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_fields);
tmp_expression_value_2 = var_fields;
tmp_subscript_value_1 = mod_consts[15];
tmp_int_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 1);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assign_source_5 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_host_start;
var_host_start = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_int_arg_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_host_start);
tmp_add_expr_left_1 = var_host_start;
CHECK_OBJECT(var_fields);
tmp_expression_value_3 = var_fields;
tmp_subscript_value_2 = mod_consts[168];
tmp_int_arg_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_2, 2);
if (tmp_int_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_add_expr_right_1 = PyNumber_Int(tmp_int_arg_2);
Py_DECREF(tmp_int_arg_2);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assign_source_6 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 460;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_host_end;
var_host_end = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_uid);
tmp_cmp_expr_left_2 = par_uid;
CHECK_OBJECT(var_host_start);
tmp_cmp_expr_right_2 = var_host_start;
tmp_and_left_value_1 = RICH_COMPARE_GE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_uid);
tmp_cmp_expr_left_3 = par_uid;
CHECK_OBJECT(var_host_end);
tmp_cmp_expr_right_3 = var_host_end;
tmp_and_right_value_1 = RICH_COMPARE_LE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_2 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(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;
goto frame_return_exit_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_a3143957370839bcbbc3e8416ef27f2b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a3143957370839bcbbc3e8416ef27f2b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a3143957370839bcbbc3e8416ef27f2b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a3143957370839bcbbc3e8416ef27f2b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a3143957370839bcbbc3e8416ef27f2b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a3143957370839bcbbc3e8416ef27f2b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a3143957370839bcbbc3e8416ef27f2b,
type_description_1,
par_mapfd,
par_uid,
var_line,
var_fields,
var_host_start,
var_host_end
);
// Release cached frame if used for exception.
if (frame_a3143957370839bcbbc3e8416ef27f2b == cache_frame_a3143957370839bcbbc3e8416ef27f2b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a3143957370839bcbbc3e8416ef27f2b);
cache_frame_a3143957370839bcbbc3e8416ef27f2b = NULL;
}
assertFrameObject(frame_a3143957370839bcbbc3e8416ef27f2b);
// 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_False;
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_line);
var_line = NULL;
Py_XDECREF(var_fields);
var_fields = NULL;
Py_XDECREF(var_host_start);
var_host_start = NULL;
Py_XDECREF(var_host_end);
var_host_end = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_fields);
var_fields = NULL;
Py_XDECREF(var_host_start);
var_host_start = NULL;
Py_XDECREF(var_host_end);
var_host_end = 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_mapfd);
Py_DECREF(par_mapfd);
CHECK_OBJECT(par_uid);
Py_DECREF(par_uid);
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_mapfd);
Py_DECREF(par_mapfd);
CHECK_OBJECT(par_uid);
Py_DECREF(par_uid);
// 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_apport$fileutils$$$function__23_get_boot_id(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_f = NULL;
PyObject *var_boot_id = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_8fe167f0cd5d064013b82d29b5e92f03;
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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_8fe167f0cd5d064013b82d29b5e92f03 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8fe167f0cd5d064013b82d29b5e92f03)) {
Py_XDECREF(cache_frame_8fe167f0cd5d064013b82d29b5e92f03);
#if _DEBUG_REFCOUNTS
if (cache_frame_8fe167f0cd5d064013b82d29b5e92f03 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8fe167f0cd5d064013b82d29b5e92f03 = MAKE_FUNCTION_FRAME(codeobj_8fe167f0cd5d064013b82d29b5e92f03, module_apport$fileutils, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8fe167f0cd5d064013b82d29b5e92f03->m_type_description == NULL);
frame_8fe167f0cd5d064013b82d29b5e92f03 = cache_frame_8fe167f0cd5d064013b82d29b5e92f03;
// Push the new frame as the currently active one.
pushFrameStack(frame_8fe167f0cd5d064013b82d29b5e92f03);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8fe167f0cd5d064013b82d29b5e92f03) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_open_filename_1;
tmp_open_filename_1 = mod_consts[177];
tmp_assign_source_1 = BUILTIN_OPEN(tmp_open_filename_1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_1 = tmp_with_1__source;
tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_1, mod_consts[25]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 471;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_2 = tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[26]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_5 = tmp_with_1__enter;
assert(var_f == NULL);
Py_INCREF(tmp_assign_source_5);
var_f = tmp_assign_source_5;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_f);
tmp_called_instance_1 = var_f;
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 472;
tmp_expression_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[28]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_4;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[178]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_4;
}
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 472;
tmp_assign_source_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_4;
}
assert(var_boot_id == NULL);
var_boot_id = tmp_assign_source_6;
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_8fe167f0cd5d064013b82d29b5e92f03, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_8fe167f0cd5d064013b82d29b5e92f03, 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_BaseException;
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:;
{
nuitka_bool tmp_assign_source_7;
tmp_assign_source_7 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_7;
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
tmp_args_element_value_1 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_2 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_3 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 472;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_5;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_5;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 472;
}
if (exception_tb && exception_tb->tb_frame == &frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame) frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_5;
branch_no_2:;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 471;
}
if (exception_tb && exception_tb->tb_frame == &frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame) frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_5;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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 try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
bool tmp_condition_result_3;
nuitka_bool tmp_cmp_expr_left_2;
nuitka_bool tmp_cmp_expr_right_2;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_2 = tmp_with_1__indicator;
tmp_cmp_expr_right_2 = NUITKA_BOOL_TRUE;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 472;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[29]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_3:;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_with_1__indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame.f_lineno = 472;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[29]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
if (var_boot_id == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[179]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 473;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = var_boot_id;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fe167f0cd5d064013b82d29b5e92f03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fe167f0cd5d064013b82d29b5e92f03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fe167f0cd5d064013b82d29b5e92f03);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8fe167f0cd5d064013b82d29b5e92f03, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8fe167f0cd5d064013b82d29b5e92f03->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8fe167f0cd5d064013b82d29b5e92f03, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8fe167f0cd5d064013b82d29b5e92f03,
type_description_1,
var_f,
var_boot_id
);
// Release cached frame if used for exception.
if (frame_8fe167f0cd5d064013b82d29b5e92f03 == cache_frame_8fe167f0cd5d064013b82d29b5e92f03) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8fe167f0cd5d064013b82d29b5e92f03);
cache_frame_8fe167f0cd5d064013b82d29b5e92f03 = NULL;
}
assertFrameObject(frame_8fe167f0cd5d064013b82d29b5e92f03);
// 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_f);
Py_DECREF(var_f);
var_f = NULL;
Py_XDECREF(var_boot_id);
var_boot_id = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_boot_id);
var_boot_id = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
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_apport$fileutils$$$function__24_get_process_path(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_proc_pid_fd = python_pars[0];
PyObject *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_6fac3d5b9b754235bd46af6833719314;
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;
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_6fac3d5b9b754235bd46af6833719314 = NULL;
// Actual function body.
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_proc_pid_fd);
tmp_cmp_expr_left_1 = par_proc_pid_fd;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = mod_consts[181];
Py_INCREF(tmp_return_value);
goto function_return_exit;
branch_no_1:;
if (isFrameUnusable(cache_frame_6fac3d5b9b754235bd46af6833719314)) {
Py_XDECREF(cache_frame_6fac3d5b9b754235bd46af6833719314);
#if _DEBUG_REFCOUNTS
if (cache_frame_6fac3d5b9b754235bd46af6833719314 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6fac3d5b9b754235bd46af6833719314 = MAKE_FUNCTION_FRAME(codeobj_6fac3d5b9b754235bd46af6833719314, module_apport$fileutils, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6fac3d5b9b754235bd46af6833719314->m_type_description == NULL);
frame_6fac3d5b9b754235bd46af6833719314 = cache_frame_6fac3d5b9b754235bd46af6833719314;
// Push the new frame as the currently active one.
pushFrameStack(frame_6fac3d5b9b754235bd46af6833719314);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6fac3d5b9b754235bd46af6833719314) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_value_0_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "o";
goto try_except_handler_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[182]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "o";
goto try_except_handler_1;
}
CHECK_OBJECT(par_proc_pid_fd);
tmp_kw_call_value_0_1 = par_proc_pid_fd;
frame_6fac3d5b9b754235bd46af6833719314->m_frame.f_lineno = 482;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1_KWSPLIT(tmp_called_value_1, mod_consts[183], kw_values, mod_consts[184]);
}
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 = 482;
type_description_1 = "o";
goto try_except_handler_1;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// 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_6fac3d5b9b754235bd46af6833719314, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_6fac3d5b9b754235bd46af6833719314, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = mod_consts[181];
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 481;
}
if (exception_tb && exception_tb->tb_frame == &frame_6fac3d5b9b754235bd46af6833719314->m_frame) frame_6fac3d5b9b754235bd46af6833719314->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_6fac3d5b9b754235bd46af6833719314);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6fac3d5b9b754235bd46af6833719314);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6fac3d5b9b754235bd46af6833719314);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6fac3d5b9b754235bd46af6833719314, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6fac3d5b9b754235bd46af6833719314->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6fac3d5b9b754235bd46af6833719314, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6fac3d5b9b754235bd46af6833719314,
type_description_1,
par_proc_pid_fd
);
// Release cached frame if used for exception.
if (frame_6fac3d5b9b754235bd46af6833719314 == cache_frame_6fac3d5b9b754235bd46af6833719314) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6fac3d5b9b754235bd46af6833719314);
cache_frame_6fac3d5b9b754235bd46af6833719314 = NULL;
}
assertFrameObject(frame_6fac3d5b9b754235bd46af6833719314);
// 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_proc_pid_fd);
Py_DECREF(par_proc_pid_fd);
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_proc_pid_fd);
Py_DECREF(par_proc_pid_fd);
// 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_apport$fileutils$$$function__25_get_core_path(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_pid = python_pars[0];
PyObject *par_exe = python_pars[1];
PyObject *par_uid = python_pars[2];
PyObject *par_timestamp = python_pars[3];
PyObject *par_proc_pid_fd = python_pars[4];
PyObject *var_stat_file = NULL;
PyObject *var_stat_contents = NULL;
PyObject *var_core_name = NULL;
PyObject *var_core_path = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_ff91a60c2b3bd5ec1b1d4edd4275d759;
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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759)) {
Py_XDECREF(cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
#if _DEBUG_REFCOUNTS
if (cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759 = MAKE_FUNCTION_FRAME(codeobj_ff91a60c2b3bd5ec1b1d4edd4275d759, module_apport$fileutils, 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_ff91a60c2b3bd5ec1b1d4edd4275d759->m_type_description == NULL);
frame_ff91a60c2b3bd5ec1b1d4edd4275d759 = cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759;
// Push the new frame as the currently active one.
pushFrameStack(frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ff91a60c2b3bd5ec1b1d4edd4275d759) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_pid);
tmp_cmp_expr_left_1 = par_pid;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[181];
{
PyObject *old = par_pid;
assert(old != NULL);
par_pid = tmp_assign_source_1;
Py_INCREF(par_pid);
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[181];
{
PyObject *old = par_timestamp;
assert(old != NULL);
par_timestamp = tmp_assign_source_2;
Py_INCREF(par_timestamp);
Py_DECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_timestamp);
tmp_cmp_expr_left_2 = par_timestamp;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_open_filename_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[186];
CHECK_OBJECT(par_pid);
tmp_mod_expr_right_1 = par_pid;
tmp_open_filename_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_open_filename_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_3 = BUILTIN_OPEN(tmp_open_filename_1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
Py_DECREF(tmp_open_filename_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_1 = tmp_with_1__source;
tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_1, mod_consts[25]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 495;
tmp_assign_source_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_2 = tmp_with_1__source;
tmp_assign_source_5 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[26]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_5;
}
{
nuitka_bool tmp_assign_source_6;
tmp_assign_source_6 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_7 = tmp_with_1__enter;
assert(var_stat_file == NULL);
Py_INCREF(tmp_assign_source_7);
var_stat_file = tmp_assign_source_7;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_stat_file);
tmp_called_instance_1 = var_stat_file;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 496;
tmp_assign_source_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[28]);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooooooo";
goto try_except_handler_4;
}
assert(var_stat_contents == NULL);
var_stat_contents = tmp_assign_source_8;
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_ff91a60c2b3bd5ec1b1d4edd4275d759, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_ff91a60c2b3bd5ec1b1d4edd4275d759, 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_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_assign_source_9;
tmp_assign_source_9 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_9;
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_2 = tmp_with_1__exit;
tmp_args_element_value_1 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_2 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_3 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 496;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 496;
}
if (exception_tb && exception_tb->tb_frame == &frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame) frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
branch_no_4:;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 495;
}
if (exception_tb && exception_tb->tb_frame == &frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame) frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooo";
goto try_except_handler_5;
branch_end_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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 try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
bool tmp_condition_result_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_with_1__indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_1;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 496;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_3, mod_consts[29]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 496;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_5:;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 496;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[29]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_6:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[187]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[187]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
if (var_stat_contents == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[188]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 497;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = var_stat_contents;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 497;
tmp_assign_source_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_timestamp;
assert(old != NULL);
par_timestamp = tmp_assign_source_10;
Py_DECREF(old);
}
}
branch_no_2:;
branch_end_1:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(par_exe);
tmp_cmp_expr_left_6 = par_exe;
tmp_cmp_expr_right_6 = Py_None;
tmp_condition_result_7 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_5;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[189]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[189]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_proc_pid_fd);
tmp_args_element_value_5 = par_proc_pid_fd;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 500;
tmp_assign_source_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_5);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_exe;
assert(old != NULL);
par_exe = tmp_assign_source_11;
Py_DECREF(old);
}
}
branch_no_7:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_exe);
tmp_expression_value_4 = par_exe;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[67]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 501;
tmp_expression_value_3 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_8, mod_consts[68]);
Py_DECREF(tmp_called_value_8);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[67]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 501;
tmp_assign_source_12 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_7, mod_consts[190]);
Py_DECREF(tmp_called_value_7);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 501;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_exe;
assert(old != NULL);
par_exe = tmp_assign_source_12;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(par_uid);
tmp_cmp_expr_left_7 = par_uid;
tmp_cmp_expr_right_7 = Py_None;
tmp_condition_result_8 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 504;
tmp_assign_source_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[191]);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_uid;
assert(old != NULL);
par_uid = tmp_assign_source_13;
Py_DECREF(old);
}
}
branch_no_8:;
{
PyObject *tmp_assign_source_14;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_1;
tmp_mod_expr_left_2 = mod_consts[192];
CHECK_OBJECT(par_exe);
tmp_tuple_element_1 = par_exe;
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_called_value_9;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_unicode_arg_2;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_uid);
tmp_tuple_element_1 = par_uid;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_1);
tmp_called_value_9 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[193]);
if (unlikely(tmp_called_value_9 == NULL)) {
tmp_called_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[193]);
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 508;
tmp_tuple_element_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_9);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 2, tmp_tuple_element_1);
if (par_pid == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[194]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 509;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
tmp_unicode_arg_1 = par_pid;
tmp_tuple_element_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 3, tmp_tuple_element_1);
CHECK_OBJECT(par_timestamp);
tmp_unicode_arg_2 = par_timestamp;
tmp_tuple_element_1 = PyObject_Unicode(tmp_unicode_arg_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "ooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_assign_source_14 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_core_name == NULL);
var_core_name = tmp_assign_source_14;
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[36]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[40]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195]);
if (unlikely(tmp_args_element_value_6 == NULL)) {
tmp_args_element_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]);
}
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 511;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_core_name);
tmp_args_element_value_7 = var_core_name;
frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame.f_lineno = 511;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_10, call_args);
}
Py_DECREF(tmp_called_value_10);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_core_path == NULL);
var_core_path = tmp_assign_source_15;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ff91a60c2b3bd5ec1b1d4edd4275d759, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ff91a60c2b3bd5ec1b1d4edd4275d759->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ff91a60c2b3bd5ec1b1d4edd4275d759, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ff91a60c2b3bd5ec1b1d4edd4275d759,
type_description_1,
par_pid,
par_exe,
par_uid,
par_timestamp,
par_proc_pid_fd,
var_stat_file,
var_stat_contents,
var_core_name,
var_core_path
);
// Release cached frame if used for exception.
if (frame_ff91a60c2b3bd5ec1b1d4edd4275d759 == cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
cache_frame_ff91a60c2b3bd5ec1b1d4edd4275d759 = NULL;
}
assertFrameObject(frame_ff91a60c2b3bd5ec1b1d4edd4275d759);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
PyObject *tmp_tuple_element_2;
CHECK_OBJECT(var_core_name);
tmp_tuple_element_2 = var_core_name;
tmp_return_value = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_core_path);
tmp_tuple_element_2 = var_core_path;
PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_2);
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(par_pid);
par_pid = NULL;
CHECK_OBJECT(par_exe);
Py_DECREF(par_exe);
par_exe = NULL;
CHECK_OBJECT(par_uid);
Py_DECREF(par_uid);
par_uid = NULL;
CHECK_OBJECT(par_timestamp);
Py_DECREF(par_timestamp);
par_timestamp = NULL;
Py_XDECREF(var_stat_file);
var_stat_file = NULL;
Py_XDECREF(var_stat_contents);
var_stat_contents = NULL;
CHECK_OBJECT(var_core_name);
Py_DECREF(var_core_name);
var_core_name = NULL;
CHECK_OBJECT(var_core_path);
Py_DECREF(var_core_path);
var_core_path = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_pid);
par_pid = NULL;
Py_XDECREF(par_exe);
par_exe = NULL;
CHECK_OBJECT(par_uid);
Py_DECREF(par_uid);
par_uid = NULL;
CHECK_OBJECT(par_timestamp);
Py_DECREF(par_timestamp);
par_timestamp = NULL;
Py_XDECREF(var_stat_file);
var_stat_file = NULL;
Py_XDECREF(var_stat_contents);
var_stat_contents = NULL;
Py_XDECREF(var_core_name);
var_core_name = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_proc_pid_fd);
Py_DECREF(par_proc_pid_fd);
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_proc_pid_fd);
Py_DECREF(par_proc_pid_fd);
// 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_apport$fileutils$$$function__26_find_core_files_by_uid(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_uid = python_pars[0];
PyObject *var_core_files = NULL;
PyObject *var_uid_files = NULL;
PyObject *var_f = NULL;
PyObject *var_time = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_384dfa88eccb3d841d7aa3d5e7b87b06;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED 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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06)) {
Py_XDECREF(cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06);
#if _DEBUG_REFCOUNTS
if (cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06 = MAKE_FUNCTION_FRAME(codeobj_384dfa88eccb3d841d7aa3d5e7b87b06, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_type_description == NULL);
frame_384dfa88eccb3d841d7aa3d5e7b87b06 = cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06;
// Push the new frame as the currently active one.
pushFrameStack(frame_384dfa88eccb3d841d7aa3d5e7b87b06);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_384dfa88eccb3d841d7aa3d5e7b87b06) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_unicode_arg_1;
CHECK_OBJECT(par_uid);
tmp_unicode_arg_1 = par_uid;
tmp_assign_source_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_uid;
assert(old != NULL);
par_uid = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_core_files == NULL);
var_core_files = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = MAKE_LIST_EMPTY(0);
assert(var_uid_files == NULL);
var_uid_files = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[36]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[62]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 524;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 524;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_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_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_0_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[197]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_value_0_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195]);
if (unlikely(tmp_kw_call_value_0_1 == NULL)) {
tmp_kw_call_value_0_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]);
}
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 525;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 525;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_assign_source_4 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, kw_values, mod_consts[198]);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_core_files;
assert(old != NULL);
var_core_files = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_core_files);
tmp_iter_arg_1 = var_core_files;
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 527;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_f;
var_f = tmp_assign_source_7;
Py_INCREF(var_f);
Py_XDECREF(old);
}
}
// Tried code:
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_f);
tmp_expression_value_5 = var_f;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 529;
tmp_expression_value_4 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[199]);
Py_DECREF(tmp_called_value_3);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_subscript_value_1 = mod_consts[168];
tmp_cmp_expr_left_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 2);
Py_DECREF(tmp_expression_value_4);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_uid);
tmp_cmp_expr_right_1 = par_uid;
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[36]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[200]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[36]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[40]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_called_value_5);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_f);
tmp_args_element_value_4 = var_f;
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 530;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_args_element_value_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 530;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_time;
var_time = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_list_element_1;
if (var_uid_files == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[201]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 531;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_called_instance_1 = var_uid_files;
CHECK_OBJECT(var_f);
tmp_list_element_1 = var_f;
tmp_args_element_value_5 = MAKE_LIST_EMPTY(2);
PyList_SET_ITEM0(tmp_args_element_value_5, 0, tmp_list_element_1);
CHECK_OBJECT(var_time);
tmp_list_element_1 = var_time;
PyList_SET_ITEM0(tmp_args_element_value_5, 1, tmp_list_element_1);
frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = 531;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[90], tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_384dfa88eccb3d841d7aa3d5e7b87b06, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_384dfa88eccb3d841d7aa3d5e7b87b06, 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_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = mod_consts[202];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooo";
goto try_except_handler_4;
}
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
goto try_continue_handler_4;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 528;
}
if (exception_tb && exception_tb->tb_frame == &frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame) frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_4;
branch_end_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
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 try_except_handler_2;
// try continue handler code:
try_continue_handler_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
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;
if (var_uid_files == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[201]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 534;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_uid_files;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_384dfa88eccb3d841d7aa3d5e7b87b06);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_384dfa88eccb3d841d7aa3d5e7b87b06);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_384dfa88eccb3d841d7aa3d5e7b87b06);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_384dfa88eccb3d841d7aa3d5e7b87b06, exception_lineno);
} else if (exception_tb->tb_frame != &frame_384dfa88eccb3d841d7aa3d5e7b87b06->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_384dfa88eccb3d841d7aa3d5e7b87b06, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_384dfa88eccb3d841d7aa3d5e7b87b06,
type_description_1,
par_uid,
var_core_files,
var_uid_files,
var_f,
var_time
);
// Release cached frame if used for exception.
if (frame_384dfa88eccb3d841d7aa3d5e7b87b06 == cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06);
cache_frame_384dfa88eccb3d841d7aa3d5e7b87b06 = NULL;
}
assertFrameObject(frame_384dfa88eccb3d841d7aa3d5e7b87b06);
// 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_uid);
Py_DECREF(par_uid);
par_uid = NULL;
CHECK_OBJECT(var_core_files);
Py_DECREF(var_core_files);
var_core_files = NULL;
Py_XDECREF(var_uid_files);
var_uid_files = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_time);
var_time = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(par_uid);
Py_DECREF(par_uid);
par_uid = NULL;
Py_XDECREF(var_core_files);
var_core_files = NULL;
Py_XDECREF(var_uid_files);
var_uid_files = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_time);
var_time = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto 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_apport$fileutils$$$function__27_clean_core_directory(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_uid = python_pars[0];
PyObject *var_uid_files = NULL;
PyObject *var_sorted_files = NULL;
PyObject *var_x = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_184bc773b41bb6e81adfabe720ebd95a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED 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_184bc773b41bb6e81adfabe720ebd95a = 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_184bc773b41bb6e81adfabe720ebd95a)) {
Py_XDECREF(cache_frame_184bc773b41bb6e81adfabe720ebd95a);
#if _DEBUG_REFCOUNTS
if (cache_frame_184bc773b41bb6e81adfabe720ebd95a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_184bc773b41bb6e81adfabe720ebd95a = MAKE_FUNCTION_FRAME(codeobj_184bc773b41bb6e81adfabe720ebd95a, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_184bc773b41bb6e81adfabe720ebd95a->m_type_description == NULL);
frame_184bc773b41bb6e81adfabe720ebd95a = cache_frame_184bc773b41bb6e81adfabe720ebd95a;
// Push the new frame as the currently active one.
pushFrameStack(frame_184bc773b41bb6e81adfabe720ebd95a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_184bc773b41bb6e81adfabe720ebd95a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[204]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[204]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_uid);
tmp_args_element_value_1 = par_uid;
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 541;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, 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 = 541;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_uid_files == NULL);
var_uid_files = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_called_value_3;
tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[205]);
assert(tmp_called_value_2 != NULL);
CHECK_OBJECT(var_uid_files);
tmp_kw_call_arg_value_0_1 = var_uid_files;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[206]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[206]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 542;
tmp_kw_call_dict_value_0_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[77]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 542;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[207]);
}
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_sorted_files == NULL);
var_sorted_files = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
CHECK_OBJECT(var_uid_files);
tmp_len_arg_1 = var_uid_files;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[208]);
if (unlikely(tmp_sub_expr_left_1 == NULL)) {
tmp_sub_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[208]);
}
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_1 = mod_consts[15];
tmp_cmp_expr_right_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_LONG_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooo";
goto frame_exception_exit_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_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_xrange_low_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_sub_expr_left_2;
PyObject *tmp_sub_expr_right_2;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_uid_files);
tmp_len_arg_2 = var_uid_files;
tmp_sub_expr_left_2 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_sub_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[208]);
if (unlikely(tmp_sub_expr_right_2 == NULL)) {
tmp_sub_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[208]);
}
if (tmp_sub_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_sub_expr_left_2);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = BINARY_OPERATION_SUB_OBJECT_LONG_OBJECT(tmp_sub_expr_left_2, tmp_sub_expr_right_2);
Py_DECREF(tmp_sub_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = mod_consts[15];
tmp_xrange_low_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_xrange_low_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1);
Py_DECREF(tmp_xrange_low_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 546;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_x;
var_x = tmp_assign_source_5;
Py_INCREF(var_x);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_subscript_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[209]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[36]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[40]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[195]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_called_value_5);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (var_sorted_files == NULL) {
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = var_sorted_files;
tmp_subscript_value_1 = mod_consts[7];
tmp_expression_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, 0);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_called_value_5);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_subscript_value_2 = mod_consts[7];
tmp_args_element_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_2, 0);
Py_DECREF(tmp_expression_value_4);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_called_value_5);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 547;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_args_element_value_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_4);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 547;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 547;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_3;
if (var_sorted_files == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 548;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = var_sorted_files;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[209]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (var_sorted_files == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[210]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 548;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = var_sorted_files;
tmp_subscript_value_3 = mod_consts[7];
tmp_args_element_value_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_7, tmp_subscript_value_3, 0);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 548;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_184bc773b41bb6e81adfabe720ebd95a->m_frame.f_lineno = 548;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 546;
type_description_1 = "oooo";
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:;
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;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_184bc773b41bb6e81adfabe720ebd95a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_184bc773b41bb6e81adfabe720ebd95a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_184bc773b41bb6e81adfabe720ebd95a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_184bc773b41bb6e81adfabe720ebd95a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_184bc773b41bb6e81adfabe720ebd95a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_184bc773b41bb6e81adfabe720ebd95a,
type_description_1,
par_uid,
var_uid_files,
var_sorted_files,
var_x
);
// Release cached frame if used for exception.
if (frame_184bc773b41bb6e81adfabe720ebd95a == cache_frame_184bc773b41bb6e81adfabe720ebd95a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_184bc773b41bb6e81adfabe720ebd95a);
cache_frame_184bc773b41bb6e81adfabe720ebd95a = NULL;
}
assertFrameObject(frame_184bc773b41bb6e81adfabe720ebd95a);
// 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:;
CHECK_OBJECT(var_uid_files);
Py_DECREF(var_uid_files);
var_uid_files = NULL;
Py_XDECREF(var_sorted_files);
var_sorted_files = NULL;
Py_XDECREF(var_x);
var_x = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_uid_files);
var_uid_files = NULL;
Py_XDECREF(var_sorted_files);
var_sorted_files = NULL;
Py_XDECREF(var_x);
var_x = 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_uid);
Py_DECREF(par_uid);
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_uid);
Py_DECREF(par_uid);
// 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_apport$fileutils$$$function__28_shared_libraries(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_path = python_pars[0];
PyObject *var_libs = NULL;
PyObject *var_ldd = NULL;
PyObject *var_line = NULL;
PyObject *var_name = NULL;
PyObject *var_rest = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_a8b1a631d3975a265ea93a79fa955eae;
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_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a8b1a631d3975a265ea93a79fa955eae = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
assert(var_libs == NULL);
var_libs = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_a8b1a631d3975a265ea93a79fa955eae)) {
Py_XDECREF(cache_frame_a8b1a631d3975a265ea93a79fa955eae);
#if _DEBUG_REFCOUNTS
if (cache_frame_a8b1a631d3975a265ea93a79fa955eae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a8b1a631d3975a265ea93a79fa955eae = MAKE_FUNCTION_FRAME(codeobj_a8b1a631d3975a265ea93a79fa955eae, module_apport$fileutils, 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_a8b1a631d3975a265ea93a79fa955eae->m_type_description == NULL);
frame_a8b1a631d3975a265ea93a79fa955eae = cache_frame_a8b1a631d3975a265ea93a79fa955eae;
// Push the new frame as the currently active one.
pushFrameStack(frame_a8b1a631d3975a265ea93a79fa955eae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a8b1a631d3975a265ea93a79fa955eae) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_list_element_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_dict_value_2_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[125]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_list_element_1 = mod_consts[212];
tmp_kw_call_arg_value_0_1 = MAKE_LIST_EMPTY(2);
PyList_SET_ITEM0(tmp_kw_call_arg_value_0_1, 0, tmp_list_element_1);
CHECK_OBJECT(par_path);
tmp_list_element_1 = par_path;
PyList_SET_ITEM0(tmp_kw_call_arg_value_0_1, 1, tmp_list_element_1);
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 559;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[128]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 559;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 560;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[213]);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 560;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_2_1 = Py_True;
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 559;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[3] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1, tmp_kw_call_dict_value_2_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[214]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_ldd == NULL);
var_ldd = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_ldd);
tmp_expression_value_4 = var_ldd;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[215]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 562;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_line;
var_line = tmp_assign_source_5;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_line);
tmp_expression_value_5 = var_line;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 564;
tmp_iter_arg_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[216]);
Py_DECREF(tmp_called_value_2);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_assign_source_6 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_6;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 564;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooo";
exception_lineno = 564;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
exception_lineno = 564;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[37];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooo";
exception_lineno = 564;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
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_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_a8b1a631d3975a265ea93a79fa955eae, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_a8b1a631d3975a265ea93a79fa955eae, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// 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_ValueError;
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:;
goto try_continue_handler_6;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 563;
}
if (exception_tb && exception_tb->tb_frame == &frame_a8b1a631d3975a265ea93a79fa955eae->m_frame) frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_6;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// try continue handler code:
try_continue_handler_6:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_9 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_name;
var_name = tmp_assign_source_9;
Py_INCREF(var_name);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_10 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_rest;
var_rest = tmp_assign_source_10;
Py_INCREF(var_rest);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_name);
tmp_expression_value_6 = var_name;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[178]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 568;
tmp_assign_source_11 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
assert(old != NULL);
var_name = tmp_assign_source_11;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[217];
CHECK_OBJECT(var_name);
tmp_cmp_expr_right_2 = var_name;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto loop_start_1;
branch_no_2:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_rest);
tmp_expression_value_9 = var_rest;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[13]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 573;
tmp_expression_value_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_subscript_value_1 = mod_consts[7];
tmp_expression_value_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_8, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_8);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[178]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 573;
tmp_assign_source_12 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_rest;
assert(old != NULL);
var_rest = tmp_assign_source_12;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_rest);
tmp_expression_value_10 = var_rest;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[9]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 574;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[218]);
Py_DECREF(tmp_called_value_6);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 574;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
goto loop_start_1;
branch_no_3:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_rest);
tmp_ass_subvalue_1 = var_rest;
if (var_libs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[219]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 576;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_ass_subscribed_1 = var_libs;
CHECK_OBJECT(var_name);
tmp_ass_subscript_1 = var_name;
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 = 576;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
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;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_ldd);
tmp_expression_value_11 = var_ldd;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[215]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 577;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[78]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_3;
CHECK_OBJECT(var_ldd);
tmp_called_instance_2 = var_ldd;
frame_a8b1a631d3975a265ea93a79fa955eae->m_frame.f_lineno = 578;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[220]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(var_ldd);
tmp_expression_value_12 = var_ldd;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[133]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[7];
tmp_condition_result_4 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_return_value = MAKE_DICT_EMPTY();
goto frame_return_exit_1;
branch_no_4:;
if (var_libs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[219]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 582;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_libs;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a8b1a631d3975a265ea93a79fa955eae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a8b1a631d3975a265ea93a79fa955eae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a8b1a631d3975a265ea93a79fa955eae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a8b1a631d3975a265ea93a79fa955eae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a8b1a631d3975a265ea93a79fa955eae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a8b1a631d3975a265ea93a79fa955eae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a8b1a631d3975a265ea93a79fa955eae,
type_description_1,
par_path,
var_libs,
var_ldd,
var_line,
var_name,
var_rest
);
// Release cached frame if used for exception.
if (frame_a8b1a631d3975a265ea93a79fa955eae == cache_frame_a8b1a631d3975a265ea93a79fa955eae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a8b1a631d3975a265ea93a79fa955eae);
cache_frame_a8b1a631d3975a265ea93a79fa955eae = NULL;
}
assertFrameObject(frame_a8b1a631d3975a265ea93a79fa955eae);
// 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:;
Py_XDECREF(var_libs);
var_libs = NULL;
CHECK_OBJECT(var_ldd);
Py_DECREF(var_ldd);
var_ldd = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_rest);
var_rest = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_libs);
var_libs = NULL;
Py_XDECREF(var_ldd);
var_ldd = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_rest);
var_rest = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
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_path);
Py_DECREF(par_path);
// 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_apport$fileutils$$$function__29_links_with_shared_library(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_path = python_pars[0];
PyObject *par_lib = python_pars[1];
PyObject *var_libs = NULL;
PyObject *var_linked_lib = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_8e9a427dfcb11c17395aa70ae9d39da1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
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_8e9a427dfcb11c17395aa70ae9d39da1 = 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_8e9a427dfcb11c17395aa70ae9d39da1)) {
Py_XDECREF(cache_frame_8e9a427dfcb11c17395aa70ae9d39da1);
#if _DEBUG_REFCOUNTS
if (cache_frame_8e9a427dfcb11c17395aa70ae9d39da1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8e9a427dfcb11c17395aa70ae9d39da1 = MAKE_FUNCTION_FRAME(codeobj_8e9a427dfcb11c17395aa70ae9d39da1, module_apport$fileutils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8e9a427dfcb11c17395aa70ae9d39da1->m_type_description == NULL);
frame_8e9a427dfcb11c17395aa70ae9d39da1 = cache_frame_8e9a427dfcb11c17395aa70ae9d39da1;
// Push the new frame as the currently active one.
pushFrameStack(frame_8e9a427dfcb11c17395aa70ae9d39da1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8e9a427dfcb11c17395aa70ae9d39da1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[222]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[222]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_path);
tmp_args_element_value_1 = par_path;
frame_8e9a427dfcb11c17395aa70ae9d39da1->m_frame.f_lineno = 591;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, 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 = 591;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_libs == NULL);
var_libs = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_lib);
tmp_cmp_expr_left_1 = par_lib;
CHECK_OBJECT(var_libs);
tmp_cmp_expr_right_1 = var_libs;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 593;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_libs);
tmp_iter_arg_1 = var_libs;
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 596;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_linked_lib;
var_linked_lib = tmp_assign_source_4;
Py_INCREF(var_linked_lib);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_linked_lib);
tmp_expression_value_1 = var_linked_lib;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[9]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (par_lib == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[223]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 597;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_add_expr_left_1 = par_lib;
tmp_add_expr_right_1 = mod_consts[224];
tmp_args_element_value_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 597;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_8e9a427dfcb11c17395aa70ae9d39da1->m_frame.f_lineno = 597;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 597;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(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;
goto frame_return_exit_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_8e9a427dfcb11c17395aa70ae9d39da1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e9a427dfcb11c17395aa70ae9d39da1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e9a427dfcb11c17395aa70ae9d39da1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8e9a427dfcb11c17395aa70ae9d39da1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8e9a427dfcb11c17395aa70ae9d39da1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8e9a427dfcb11c17395aa70ae9d39da1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8e9a427dfcb11c17395aa70ae9d39da1,
type_description_1,
par_path,
par_lib,
var_libs,
var_linked_lib
);
// Release cached frame if used for exception.
if (frame_8e9a427dfcb11c17395aa70ae9d39da1 == cache_frame_8e9a427dfcb11c17395aa70ae9d39da1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8e9a427dfcb11c17395aa70ae9d39da1);
cache_frame_8e9a427dfcb11c17395aa70ae9d39da1 = NULL;
}
assertFrameObject(frame_8e9a427dfcb11c17395aa70ae9d39da1);
// 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_False;
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(var_libs);
Py_DECREF(var_libs);
var_libs = NULL;
Py_XDECREF(var_linked_lib);
var_linked_lib = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_libs);
var_libs = NULL;
Py_XDECREF(var_linked_lib);
var_linked_lib = 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_path);
Py_DECREF(par_path);
CHECK_OBJECT(par_lib);
Py_DECREF(par_lib);
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_path);
Py_DECREF(par_path);
CHECK_OBJECT(par_lib);
Py_DECREF(par_lib);
// 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_apport$fileutils$$$function__10_mark_report_seen() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__10_mark_report_seen,
mod_consts[256],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_171badeff517d2c68a7596c41135c762,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[83],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__11_get_all_reports() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__11_get_all_reports,
mod_consts[92],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_d2e071459a8e7c4868fd791eafeb9513,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[91],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__12_get_new_reports() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__12_get_new_reports,
mod_consts[257],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9c19de49b75acc4e85bd239ef8f4d93b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[94],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__13_get_all_system_reports() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__13_get_all_system_reports,
mod_consts[102],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8c121d80b6a2629572c7e5acb46b8a13,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[101],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__14_get_new_system_reports() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__14_get_new_system_reports,
mod_consts[258],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_407074f4b4b043e3e5b2971e4d81eee4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[103],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__15_delete_report() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__15_delete_report,
mod_consts[82],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_afcc682d049b154dc1785e3c9e4cf400,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[107],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__16_get_recent_crashes() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__16_get_recent_crashes,
mod_consts[259],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_9a1f0167aa0016ba26b8cf6b8805f9b4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[118],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__17_make_report_file(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__17_make_report_file,
mod_consts[260],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c11fdb05f9cb59d3d27ccc1dbe9de58c,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[124],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__18_check_files_md5() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__18_check_files_md5,
mod_consts[261],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_677e4f39d26fa0ace9cf3398587d0401,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[138],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__19_get_config(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__19_get_config,
mod_consts[143],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ad9aadb9c8f458207d0936389ae92dcc,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[165],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__1_allowed_to_report() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__1_allowed_to_report,
mod_consts[249],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_987a314df13a2f10d4317cc791ca3f7f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[8],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__20_get_starttime() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__20_get_starttime,
mod_consts[187],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_274305d3e9dca7ffd9cb499b30af9c17,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[170],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__21_get_uid_and_gid() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__21_get_uid_and_gid,
mod_consts[263],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_d67db4aa3445d64db1543bf297a4c3ec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[175],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__22_search_map() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__22_search_map,
mod_consts[264],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a3143957370839bcbbc3e8416ef27f2b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[176],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__23_get_boot_id() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__23_get_boot_id,
mod_consts[193],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8fe167f0cd5d064013b82d29b5e92f03,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[180],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__24_get_process_path(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__24_get_process_path,
mod_consts[189],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_6fac3d5b9b754235bd46af6833719314,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[185],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__25_get_core_path(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__25_get_core_path,
mod_consts[266],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ff91a60c2b3bd5ec1b1d4edd4275d759,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[196],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__26_find_core_files_by_uid() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__26_find_core_files_by_uid,
mod_consts[204],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_384dfa88eccb3d841d7aa3d5e7b87b06,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[203],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__27_clean_core_directory() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__27_clean_core_directory,
mod_consts[267],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_184bc773b41bb6e81adfabe720ebd95a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[211],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__28_shared_libraries() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__28_shared_libraries,
mod_consts[222],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a8b1a631d3975a265ea93a79fa955eae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[221],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__29_links_with_shared_library() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__29_links_with_shared_library,
mod_consts[268],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8e9a427dfcb11c17395aa70ae9d39da1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[225],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__2_get_dbus_socket() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__2_get_dbus_socket,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_3993c9a2d7f92f69868646387b0c71b2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[16],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__3_find_package_desktopfile() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__3_find_package_desktopfile,
mod_consts[251],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_213906cca5ed613c2f7627e8bba4e54f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[30],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__4_likely_packaged() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__4_likely_packaged,
mod_consts[41],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_e5b2da26ca2fb5d32d12aae7f4f967e5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[35],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__5_find_file_package() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__5_find_file_package,
mod_consts[252],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_6a769329769ad7648e3ef343f736ec9b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[43],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__6_find_snap() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__6_find_snap,
mod_consts[253],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_fa2679d084d19ec5002a232d79adc5e3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[52],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__7_seen_report() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__7_seen_report,
mod_consts[93],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_94665a9a662bc9565d132b9ed320abd5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
mod_consts[57],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__8_mark_report_upload() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__8_mark_report_upload,
mod_consts[254],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7808b23f8153de1b42e50a7b47a2e6a8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_apport$fileutils$$$function__9_mark_hanging_process() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_apport$fileutils$$$function__9_mark_hanging_process,
mod_consts[255],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_93e9deae8089f6844002b9c47260ba96,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_apport$fileutils,
NULL,
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_apport$fileutils[] = {
impl_apport$fileutils$$$function__1_allowed_to_report,
impl_apport$fileutils$$$function__2_get_dbus_socket,
impl_apport$fileutils$$$function__3_find_package_desktopfile,
impl_apport$fileutils$$$function__4_likely_packaged,
impl_apport$fileutils$$$function__5_find_file_package,
impl_apport$fileutils$$$function__6_find_snap,
impl_apport$fileutils$$$function__7_seen_report,
impl_apport$fileutils$$$function__8_mark_report_upload,
impl_apport$fileutils$$$function__9_mark_hanging_process,
impl_apport$fileutils$$$function__10_mark_report_seen,
impl_apport$fileutils$$$function__11_get_all_reports,
impl_apport$fileutils$$$function__12_get_new_reports,
impl_apport$fileutils$$$function__13_get_all_system_reports,
impl_apport$fileutils$$$function__14_get_new_system_reports,
impl_apport$fileutils$$$function__15_delete_report,
impl_apport$fileutils$$$function__16_get_recent_crashes,
impl_apport$fileutils$$$function__17_make_report_file,
impl_apport$fileutils$$$function__18_check_files_md5,
impl_apport$fileutils$$$function__19_get_config,
impl_apport$fileutils$$$function__20_get_starttime,
impl_apport$fileutils$$$function__21_get_uid_and_gid,
impl_apport$fileutils$$$function__22_search_map,
impl_apport$fileutils$$$function__23_get_boot_id,
impl_apport$fileutils$$$function__24_get_process_path,
impl_apport$fileutils$$$function__25_get_core_path,
impl_apport$fileutils$$$function__26_find_core_files_by_uid,
impl_apport$fileutils$$$function__27_clean_core_directory,
impl_apport$fileutils$$$function__28_shared_libraries,
impl_apport$fileutils$$$function__29_links_with_shared_library,
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_apport$fileutils;
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_apport$fileutils) || 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_apport$fileutils[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_apport$fileutils,
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_apport$fileutils(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("apport.fileutils");
// Store the module for future use.
module_apport$fileutils = 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("apport.fileutils: 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("apport.fileutils: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("apport.fileutils: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initapport$fileutils\n");
moduledict_apport$fileutils = MODULE_DICT(module_apport$fileutils);
#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_apport$fileutils,
(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_apport$fileutils,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[142]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_apport$fileutils,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (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_apport$fileutils,
(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_apport$fileutils, (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_apport$fileutils,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_apport$fileutils);
// 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_apport$fileutils, (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_apport$fileutils, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (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_apport$fileutils, (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_apport$fileutils);
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_apport$fileutils, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
struct Nuitka_FrameObject *frame_0175c06c79c479318cf77b9c24b06266;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[226];
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[227], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[228];
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[229], tmp_assign_source_2);
}
// Frame without reuse.
frame_0175c06c79c479318cf77b9c24b06266 = MAKE_MODULE_FRAME(codeobj_0175c06c79c479318cf77b9c24b06266, module_apport$fileutils);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_0175c06c79c479318cf77b9c24b06266);
assert(Py_REFCNT(frame_0175c06c79c479318cf77b9c24b06266) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[228];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[230]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[230]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[231], 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_apport$fileutils, (Nuitka_StringObject *)mod_consts[230]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[230]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[232], 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_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[233], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_4 == NULL));
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
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[84];
tmp_globals_arg_value_1 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
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[4];
tmp_globals_arg_value_2 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_6 = 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_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
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[234];
tmp_globals_arg_value_3 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_7 = 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_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
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[79];
tmp_globals_arg_value_4 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[97];
tmp_globals_arg_value_5 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
assert(!(tmp_assign_source_9 == NULL));
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_10 == NULL));
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[235], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_name_value_6;
PyObject *tmp_globals_arg_value_6;
PyObject *tmp_locals_arg_value_6;
PyObject *tmp_fromlist_value_6;
PyObject *tmp_level_value_6;
tmp_name_value_6 = mod_consts[44];
tmp_globals_arg_value_6 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 12;
tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[44], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[53];
tmp_globals_arg_value_7 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = Py_None;
tmp_level_value_7 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 13;
tmp_assign_source_12 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 13;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[236];
tmp_globals_arg_value_8 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[237];
tmp_level_value_8 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 14;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 14;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_apport$fileutils,
mod_consts[206],
mod_consts[7]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[206]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 14;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[206], tmp_assign_source_13);
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[238];
tmp_globals_arg_value_9 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[239];
tmp_level_value_9 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 17;
tmp_assign_source_14 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto try_except_handler_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_2 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_apport$fileutils,
mod_consts[145],
mod_consts[7]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[145]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[145], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_3 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_apport$fileutils,
mod_consts[163],
mod_consts[7]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[163]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[163], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_apport$fileutils,
mod_consts[164],
mod_consts[7]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[164]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
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_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_apport$fileutils,
mod_consts[161],
mod_consts[7]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[161]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[161], tmp_assign_source_18);
}
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;
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 try_except_handler_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_mvar_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[145]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[145]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto try_except_handler_1;
}
}
{
PyObject *tmp_mvar_value_2;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[163]);
if (unlikely(tmp_mvar_value_2 == NULL)) {
tmp_mvar_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[163]);
}
if (tmp_mvar_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto try_except_handler_1;
}
}
{
PyObject *tmp_mvar_value_3;
tmp_mvar_value_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[164]);
if (unlikely(tmp_mvar_value_3 == NULL)) {
tmp_mvar_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[164]);
}
if (tmp_mvar_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto try_except_handler_1;
}
}
goto try_end_2;
// 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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_0175c06c79c479318cf77b9c24b06266, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_0175c06c79c479318cf77b9c24b06266, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// 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:;
{
PyObject *tmp_assign_source_19;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[145];
tmp_globals_arg_value_10 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[239];
tmp_level_value_10 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 22;
tmp_assign_source_19 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_3;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_19;
}
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_6 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_apport$fileutils,
mod_consts[145],
mod_consts[7]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[145]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[145], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_7 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_apport$fileutils,
mod_consts[163],
mod_consts[7]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[163]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[163], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_8 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_apport$fileutils,
mod_consts[164],
mod_consts[7]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[164]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_9 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_apport$fileutils,
mod_consts[161],
mod_consts[7]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[161]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[161], tmp_assign_source_23);
}
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_3;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 16;
}
if (exception_tb && exception_tb->tb_frame == &frame_0175c06c79c479318cf77b9c24b06266->m_frame) frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_3;
branch_end_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_10;
PyObject *tmp_name_value_11;
PyObject *tmp_globals_arg_value_11;
PyObject *tmp_locals_arg_value_11;
PyObject *tmp_fromlist_value_11;
PyObject *tmp_level_value_11;
tmp_name_value_11 = mod_consts[240];
tmp_globals_arg_value_11 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[241];
tmp_level_value_11 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 25;
tmp_import_name_from_10 = IMPORT_MODULE5(tmp_name_value_11, tmp_globals_arg_value_11, tmp_locals_arg_value_11, tmp_fromlist_value_11, tmp_level_value_11);
if (tmp_import_name_from_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_apport$fileutils,
mod_consts[108],
mod_consts[7]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[108]);
}
Py_DECREF(tmp_import_name_from_10);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_11;
PyObject *tmp_name_value_12;
PyObject *tmp_globals_arg_value_12;
PyObject *tmp_locals_arg_value_12;
PyObject *tmp_fromlist_value_12;
PyObject *tmp_level_value_12;
tmp_name_value_12 = mod_consts[242];
tmp_globals_arg_value_12 = (PyObject *)moduledict_apport$fileutils;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[243];
tmp_level_value_12 = mod_consts[7];
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 27;
tmp_import_name_from_11 = IMPORT_MODULE5(tmp_name_value_12, tmp_globals_arg_value_12, tmp_locals_arg_value_12, tmp_fromlist_value_12, tmp_level_value_12);
if (tmp_import_name_from_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_apport$fileutils,
mod_consts[244],
mod_consts[7]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[244]);
}
Py_DECREF(tmp_import_name_from_11);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[245]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
frame_0175c06c79c479318cf77b9c24b06266->m_frame.f_lineno = 29;
tmp_assign_source_26 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[246]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[72], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = mod_consts[247];
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[195], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = mod_consts[139];
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[208], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = mod_consts[248];
UPDATE_STRING_DICT0(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[140], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = MAKE_FUNCTION_apport$fileutils$$$function__1_allowed_to_report();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[249], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_FUNCTION_apport$fileutils$$$function__2_get_dbus_socket();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[250], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = MAKE_FUNCTION_apport$fileutils$$$function__3_find_package_desktopfile();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[251], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = MAKE_FUNCTION_apport$fileutils$$$function__4_likely_packaged();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[41], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_FUNCTION_apport$fileutils$$$function__5_find_file_package();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[252], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = MAKE_FUNCTION_apport$fileutils$$$function__6_find_snap();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[253], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
tmp_assign_source_36 = MAKE_FUNCTION_apport$fileutils$$$function__7_seen_report();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_FUNCTION_apport$fileutils$$$function__8_mark_report_upload();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[254], tmp_assign_source_37);
}
{
PyObject *tmp_assign_source_38;
tmp_assign_source_38 = MAKE_FUNCTION_apport$fileutils$$$function__9_mark_hanging_process();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[255], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
tmp_assign_source_39 = MAKE_FUNCTION_apport$fileutils$$$function__10_mark_report_seen();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[256], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
tmp_assign_source_40 = MAKE_FUNCTION_apport$fileutils$$$function__11_get_all_reports();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[92], tmp_assign_source_40);
}
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = MAKE_FUNCTION_apport$fileutils$$$function__12_get_new_reports();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[257], tmp_assign_source_41);
}
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_FUNCTION_apport$fileutils$$$function__13_get_all_system_reports();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_42);
}
{
PyObject *tmp_assign_source_43;
tmp_assign_source_43 = MAKE_FUNCTION_apport$fileutils$$$function__14_get_new_system_reports();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[258], tmp_assign_source_43);
}
{
PyObject *tmp_assign_source_44;
tmp_assign_source_44 = MAKE_FUNCTION_apport$fileutils$$$function__15_delete_report();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[82], tmp_assign_source_44);
}
{
PyObject *tmp_assign_source_45;
tmp_assign_source_45 = MAKE_FUNCTION_apport$fileutils$$$function__16_get_recent_crashes();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[259], tmp_assign_source_45);
}
{
PyObject *tmp_assign_source_46;
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[146];
Py_INCREF(tmp_defaults_1);
tmp_assign_source_46 = MAKE_FUNCTION_apport$fileutils$$$function__17_make_report_file(tmp_defaults_1);
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[260], tmp_assign_source_46);
}
{
PyObject *tmp_assign_source_47;
tmp_assign_source_47 = MAKE_FUNCTION_apport$fileutils$$$function__18_check_files_md5();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[261], tmp_assign_source_47);
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_defaults_2;
tmp_defaults_2 = mod_consts[262];
Py_INCREF(tmp_defaults_2);
tmp_assign_source_48 = MAKE_FUNCTION_apport$fileutils$$$function__19_get_config(tmp_defaults_2);
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143], tmp_assign_source_48);
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_None;
tmp_assattr_target_3 = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_assattr_target_3 == NULL)) {
tmp_assattr_target_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
assert(!(tmp_assattr_target_3 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[144], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
goto frame_exception_exit_1;
}
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_0175c06c79c479318cf77b9c24b06266);
#endif
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0175c06c79c479318cf77b9c24b06266);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0175c06c79c479318cf77b9c24b06266, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0175c06c79c479318cf77b9c24b06266->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0175c06c79c479318cf77b9c24b06266, 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_49;
tmp_assign_source_49 = MAKE_FUNCTION_apport$fileutils$$$function__20_get_starttime();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[187], tmp_assign_source_49);
}
{
PyObject *tmp_assign_source_50;
tmp_assign_source_50 = MAKE_FUNCTION_apport$fileutils$$$function__21_get_uid_and_gid();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[263], tmp_assign_source_50);
}
{
PyObject *tmp_assign_source_51;
tmp_assign_source_51 = MAKE_FUNCTION_apport$fileutils$$$function__22_search_map();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[264], tmp_assign_source_51);
}
{
PyObject *tmp_assign_source_52;
tmp_assign_source_52 = MAKE_FUNCTION_apport$fileutils$$$function__23_get_boot_id();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[193], tmp_assign_source_52);
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[146];
Py_INCREF(tmp_defaults_3);
tmp_assign_source_53 = MAKE_FUNCTION_apport$fileutils$$$function__24_get_process_path(tmp_defaults_3);
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[189], tmp_assign_source_53);
}
{
PyObject *tmp_assign_source_54;
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[265];
Py_INCREF(tmp_defaults_4);
tmp_assign_source_54 = MAKE_FUNCTION_apport$fileutils$$$function__25_get_core_path(tmp_defaults_4);
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[266], tmp_assign_source_54);
}
{
PyObject *tmp_assign_source_55;
tmp_assign_source_55 = MAKE_FUNCTION_apport$fileutils$$$function__26_find_core_files_by_uid();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[204], tmp_assign_source_55);
}
{
PyObject *tmp_assign_source_56;
tmp_assign_source_56 = MAKE_FUNCTION_apport$fileutils$$$function__27_clean_core_directory();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[267], tmp_assign_source_56);
}
{
PyObject *tmp_assign_source_57;
tmp_assign_source_57 = MAKE_FUNCTION_apport$fileutils$$$function__28_shared_libraries();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[222], tmp_assign_source_57);
}
{
PyObject *tmp_assign_source_58;
tmp_assign_source_58 = MAKE_FUNCTION_apport$fileutils$$$function__29_links_with_shared_library();
UPDATE_STRING_DICT1(moduledict_apport$fileutils, (Nuitka_StringObject *)mod_consts[268], tmp_assign_source_58);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("apport.fileutils", false);
Py_INCREF(module_apport$fileutils);
return module_apport$fileutils;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_apport$fileutils, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("apport$fileutils", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}