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 'keyring.core'
* 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_keyring$core" 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_keyring$core;
PyDictObject *moduledict_keyring$core;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[115];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[115];
#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("keyring.core"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 115; 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_keyring$core(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 115; 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_7630d797bc1c76cf33eb4f3c28e72604;
static PyCodeObject *codeobj_385f2e5a68a5315f71cbdb8cfc3753a0;
static PyCodeObject *codeobj_2d669be59d0ae625d1ecc9e11cb5e837;
static PyCodeObject *codeobj_adca8ecaba40c4f32622de8624f6fb89;
static PyCodeObject *codeobj_2dcac68d3903edf9330b64ae43af5407;
static PyCodeObject *codeobj_b5de0f8e207bbf961847161137d25fe2;
static PyCodeObject *codeobj_0fb19f96d260fec2aa8d62b3cb85395f;
static PyCodeObject *codeobj_3afbf4658e628c4ab311c912c67fa2aa;
static PyCodeObject *codeobj_915b2fcd7898173c8d5f1b701c6c38b5;
static PyCodeObject *codeobj_7592ccb805a86ba85a5d276087a55e8c;
static PyCodeObject *codeobj_80491783d1b87ce1dafc3a9f3b8cd830;
static PyCodeObject *codeobj_b6cfaa6a46c1df76d9616add18bb3021;
static PyCodeObject *codeobj_d4967e4292d1792cbd5bf764b2fef197;
static PyCodeObject *codeobj_8ba28ad610876edfbe68ccdf16c007fd;
static PyCodeObject *codeobj_34be7ce1641b572977680bd0d026fb07;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[83]; CHECK_OBJECT(module_filename_obj);
codeobj_7630d797bc1c76cf33eb4f3c28e72604 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[106], mod_consts[106], NULL, NULL, 0, 0, 0);
codeobj_385f2e5a68a5315f71cbdb8cfc3753a0 = MAKE_CODE_OBJECT(module_filename_obj, 102, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[53], mod_consts[53], mod_consts[107], NULL, 1, 0, 0);
codeobj_2d669be59d0ae625d1ecc9e11cb5e837 = MAKE_CODE_OBJECT(module_filename_obj, 179, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[108], NULL, 1, 0, 0);
codeobj_adca8ecaba40c4f32622de8624f6fb89 = MAKE_CODE_OBJECT(module_filename_obj, 66, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[29], mod_consts[29], mod_consts[109], NULL, 2, 0, 0);
codeobj_2dcac68d3903edf9330b64ae43af5407 = MAKE_CODE_OBJECT(module_filename_obj, 37, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[102], mod_consts[102], mod_consts[110], NULL, 0, 0, 0);
codeobj_b5de0f8e207bbf961847161137d25fe2 = MAKE_CODE_OBJECT(module_filename_obj, 72, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[31], mod_consts[31], mod_consts[109], NULL, 2, 0, 0);
codeobj_0fb19f96d260fec2aa8d62b3cb85395f = MAKE_CODE_OBJECT(module_filename_obj, 31, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[101], mod_consts[101], NULL, NULL, 0, 0, 0);
codeobj_3afbf4658e628c4ab311c912c67fa2aa = MAKE_CODE_OBJECT(module_filename_obj, 54, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[25], mod_consts[25], mod_consts[109], NULL, 2, 0, 0);
codeobj_915b2fcd7898173c8d5f1b701c6c38b5 = MAKE_CODE_OBJECT(module_filename_obj, 82, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[105], mod_consts[105], mod_consts[111], NULL, 1, 0, 0);
codeobj_7592ccb805a86ba85a5d276087a55e8c = MAKE_CODE_OBJECT(module_filename_obj, 149, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[40], mod_consts[40], mod_consts[112], NULL, 0, 0, 0);
codeobj_80491783d1b87ce1dafc3a9f3b8cd830 = MAKE_CODE_OBJECT(module_filename_obj, 141, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[39], mod_consts[39], NULL, NULL, 0, 0, 0);
codeobj_b6cfaa6a46c1df76d9616add18bb3021 = MAKE_CODE_OBJECT(module_filename_obj, 130, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[55], mod_consts[55], mod_consts[113], NULL, 1, 0, 0);
codeobj_d4967e4292d1792cbd5bf764b2fef197 = MAKE_CODE_OBJECT(module_filename_obj, 78, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[103], mod_consts[103], mod_consts[64], NULL, 1, 0, 0);
codeobj_8ba28ad610876edfbe68ccdf16c007fd = MAKE_CODE_OBJECT(module_filename_obj, 22, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[38], mod_consts[38], mod_consts[71], NULL, 1, 0, 0);
codeobj_34be7ce1641b572977680bd0d026fb07 = MAKE_CODE_OBJECT(module_filename_obj, 60, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[27], mod_consts[27], mod_consts[114], NULL, 3, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__8_complex_call_helper_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_keyring$core$$$function__10__load_keyring_class();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__11_load_keyring();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__12_load_env();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__13_load_config();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__14__load_keyring_path();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__1_set_keyring();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__2_get_keyring();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__3_disable();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__4_get_password();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__5_set_password();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__6_delete_password();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__7_get_credential();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__8_recommended();
static PyObject *MAKE_FUNCTION_keyring$core$$$function__9_init_backend(PyObject *defaults);
// The module function definitions.
static PyObject *impl_keyring$core$$$function__1_set_keyring(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_keyring = python_pars[0];
struct Nuitka_FrameObject *frame_8ba28ad610876edfbe68ccdf16c007fd;
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;
static struct Nuitka_FrameObject *cache_frame_8ba28ad610876edfbe68ccdf16c007fd = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8ba28ad610876edfbe68ccdf16c007fd)) {
Py_XDECREF(cache_frame_8ba28ad610876edfbe68ccdf16c007fd);
#if _DEBUG_REFCOUNTS
if (cache_frame_8ba28ad610876edfbe68ccdf16c007fd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8ba28ad610876edfbe68ccdf16c007fd = MAKE_FUNCTION_FRAME(codeobj_8ba28ad610876edfbe68ccdf16c007fd, module_keyring$core, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8ba28ad610876edfbe68ccdf16c007fd->m_type_description == NULL);
frame_8ba28ad610876edfbe68ccdf16c007fd = cache_frame_8ba28ad610876edfbe68ccdf16c007fd;
// Push the new frame as the currently active one.
pushFrameStack(frame_8ba28ad610876edfbe68ccdf16c007fd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8ba28ad610876edfbe68ccdf16c007fd) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_keyring);
tmp_isinstance_inst_1 = par_keyring;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (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 = 26;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
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 = 26;
type_description_1 = "o";
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;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[2];
frame_8ba28ad610876edfbe68ccdf16c007fd->m_frame.f_lineno = 27;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 27;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8ba28ad610876edfbe68ccdf16c007fd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8ba28ad610876edfbe68ccdf16c007fd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8ba28ad610876edfbe68ccdf16c007fd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8ba28ad610876edfbe68ccdf16c007fd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8ba28ad610876edfbe68ccdf16c007fd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8ba28ad610876edfbe68ccdf16c007fd,
type_description_1,
par_keyring
);
// Release cached frame if used for exception.
if (frame_8ba28ad610876edfbe68ccdf16c007fd == cache_frame_8ba28ad610876edfbe68ccdf16c007fd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8ba28ad610876edfbe68ccdf16c007fd);
cache_frame_8ba28ad610876edfbe68ccdf16c007fd = NULL;
}
assertFrameObject(frame_8ba28ad610876edfbe68ccdf16c007fd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_1;
CHECK_OBJECT(par_keyring);
tmp_assign_source_1 = par_keyring;
UPDATE_STRING_DICT0(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_1);
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_keyring);
Py_DECREF(par_keyring);
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_keyring);
Py_DECREF(par_keyring);
// 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_keyring$core$$$function__2_get_keyring(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_0fb19f96d260fec2aa8d62b3cb85395f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_0fb19f96d260fec2aa8d62b3cb85395f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0fb19f96d260fec2aa8d62b3cb85395f)) {
Py_XDECREF(cache_frame_0fb19f96d260fec2aa8d62b3cb85395f);
#if _DEBUG_REFCOUNTS
if (cache_frame_0fb19f96d260fec2aa8d62b3cb85395f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0fb19f96d260fec2aa8d62b3cb85395f = MAKE_FUNCTION_FRAME(codeobj_0fb19f96d260fec2aa8d62b3cb85395f, module_keyring$core, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0fb19f96d260fec2aa8d62b3cb85395f->m_type_description == NULL);
frame_0fb19f96d260fec2aa8d62b3cb85395f = cache_frame_0fb19f96d260fec2aa8d62b3cb85395f;
// Push the new frame as the currently active one.
pushFrameStack(frame_0fb19f96d260fec2aa8d62b3cb85395f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0fb19f96d260fec2aa8d62b3cb85395f) == 2); // Frame stack
// Framed code:
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fb19f96d260fec2aa8d62b3cb85395f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fb19f96d260fec2aa8d62b3cb85395f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fb19f96d260fec2aa8d62b3cb85395f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0fb19f96d260fec2aa8d62b3cb85395f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0fb19f96d260fec2aa8d62b3cb85395f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0fb19f96d260fec2aa8d62b3cb85395f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0fb19f96d260fec2aa8d62b3cb85395f,
type_description_1
);
// Release cached frame if used for exception.
if (frame_0fb19f96d260fec2aa8d62b3cb85395f == cache_frame_0fb19f96d260fec2aa8d62b3cb85395f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0fb19f96d260fec2aa8d62b3cb85395f);
cache_frame_0fb19f96d260fec2aa8d62b3cb85395f = NULL;
}
assertFrameObject(frame_0fb19f96d260fec2aa8d62b3cb85395f);
// 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_keyring$core$$$function__3_disable(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_root = NULL;
PyObject *var_filename = NULL;
PyObject *var_msg = NULL;
PyObject *var_file = 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_2dcac68d3903edf9330b64ae43af5407;
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 *locals_keyring$core$$$function__3_disable = 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;
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 *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_2dcac68d3903edf9330b64ae43af5407 = 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_2dcac68d3903edf9330b64ae43af5407)) {
Py_XDECREF(cache_frame_2dcac68d3903edf9330b64ae43af5407);
#if _DEBUG_REFCOUNTS
if (cache_frame_2dcac68d3903edf9330b64ae43af5407 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2dcac68d3903edf9330b64ae43af5407 = MAKE_FUNCTION_FRAME(codeobj_2dcac68d3903edf9330b64ae43af5407, module_keyring$core, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2dcac68d3903edf9330b64ae43af5407->m_type_description == NULL);
frame_2dcac68d3903edf9330b64ae43af5407 = cache_frame_2dcac68d3903edf9330b64ae43af5407;
// Push the new frame as the currently active one.
pushFrameStack(frame_2dcac68d3903edf9330b64ae43af5407);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2dcac68d3903edf9330b64ae43af5407) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 41;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_root == NULL);
var_root = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
assert(!(tmp_called_instance_2 == NULL));
CHECK_OBJECT(var_root);
tmp_args_element_value_1 = var_root;
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 43;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[9], 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 = 43;
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 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_2dcac68d3903edf9330b64ae43af5407, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2dcac68d3903edf9330b64ae43af5407, 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:;
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_2dcac68d3903edf9330b64ae43af5407->m_frame) frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_3;
branch_no_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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:
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_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[10]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
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 = 46;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (var_root == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 46;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = var_root;
tmp_args_element_value_3 = mod_consts[13];
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 46;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
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 = 46;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_filename == NULL);
var_filename = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
int tmp_truth_name_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[10]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_filename);
tmp_args_element_value_4 = var_filename;
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 47;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[14], tmp_args_element_value_4);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 47;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_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_3;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_dircall_arg2_1;
tmp_expression_value_4 = mod_consts[15];
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[16]);
assert(!(tmp_dircall_arg1_1 == NULL));
if (locals_keyring$core$$$function__3_disable == NULL) locals_keyring$core$$$function__3_disable = MAKE_DICT_EMPTY();
tmp_dircall_arg2_1 = locals_keyring$core$$$function__3_disable;
Py_INCREF(tmp_dircall_arg2_1);
if (var_root != NULL) {
PyObject *value;
CHECK_OBJECT(var_root);
value = var_root;
UPDATE_STRING_DICT0((PyDictObject *)tmp_dircall_arg2_1, (Nuitka_StringObject *)mod_consts[12], value);
} else {
int res = PyDict_DelItem(tmp_dircall_arg2_1, mod_consts[12]);
if (res != 0) {
CLEAR_ERROR_OCCURRED();
}
}
if (var_filename != NULL) {
PyObject *value;
CHECK_OBJECT(var_filename);
value = var_filename;
UPDATE_STRING_DICT0((PyDictObject *)tmp_dircall_arg2_1, (Nuitka_StringObject *)mod_consts[17], value);
} else {
int res = PyDict_DelItem(tmp_dircall_arg2_1, mod_consts[17]);
if (res != 0) {
CLEAR_ERROR_OCCURRED();
}
}
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_assign_source_3 = impl___main__$$$function__8_complex_call_helper_star_dict(dir_call_args);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_msg == NULL);
var_msg = tmp_assign_source_3;
}
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
CHECK_OBJECT(var_msg);
tmp_make_exception_arg_1 = var_msg;
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 49;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 49;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(var_filename);
tmp_open_filename_1 = var_filename;
tmp_open_mode_1 = mod_consts[18];
tmp_assign_source_4 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "oooo";
goto try_except_handler_4;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_called_value_2 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[19]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "oooo";
goto try_except_handler_4;
}
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 50;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "oooo";
goto try_except_handler_4;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_6 = tmp_with_1__source;
tmp_assign_source_6 = LOOKUP_SPECIAL(tmp_expression_value_6, mod_consts[20]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "oooo";
goto try_except_handler_4;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_6;
}
{
nuitka_bool tmp_assign_source_7;
tmp_assign_source_7 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_8 = tmp_with_1__enter;
assert(var_file == NULL);
Py_INCREF(tmp_assign_source_8);
var_file = tmp_assign_source_8;
}
// Tried code:
// Tried code:
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_3;
CHECK_OBJECT(var_file);
tmp_called_instance_4 = var_file;
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 51;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[21],
PyTuple_GET_ITEM(mod_consts[22], 0)
);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
type_description_1 = "oooo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_3);
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_2dcac68d3903edf9330b64ae43af5407, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_2dcac68d3903edf9330b64ae43af5407, 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_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 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
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_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
tmp_args_element_value_5 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_6 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_7 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 51;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
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 = 51;
type_description_1 = "oooo";
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 = 51;
type_description_1 = "oooo";
goto try_except_handler_7;
}
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 = 51;
}
if (exception_tb && exception_tb->tb_frame == &frame_2dcac68d3903edf9330b64ae43af5407->m_frame) frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_7;
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 = 50;
}
if (exception_tb && exception_tb->tb_frame == &frame_2dcac68d3903edf9330b64ae43af5407->m_frame) frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_7;
branch_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_7:;
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_5;
// 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:;
goto try_end_5;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
bool tmp_condition_result_5;
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_5 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? 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_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 51;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[23]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_5);
Py_XDECREF(exception_keeper_value_5);
Py_XDECREF(exception_keeper_tb_5);
exception_lineno = 51;
type_description_1 = "oooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_5:;
// 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_4;
// End of try:
try_end_5:;
{
bool tmp_condition_result_6;
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_6 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_5;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_2dcac68d3903edf9330b64ae43af5407->m_frame.f_lineno = 51;
tmp_call_result_5 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[23]);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
type_description_1 = "oooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_6:;
goto try_end_6;
// Exception handler code:
try_except_handler_4:;
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(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_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2dcac68d3903edf9330b64ae43af5407);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2dcac68d3903edf9330b64ae43af5407);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2dcac68d3903edf9330b64ae43af5407, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2dcac68d3903edf9330b64ae43af5407->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2dcac68d3903edf9330b64ae43af5407, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2dcac68d3903edf9330b64ae43af5407,
type_description_1,
var_root,
var_filename,
var_msg,
var_file
);
// Release cached frame if used for exception.
if (frame_2dcac68d3903edf9330b64ae43af5407 == cache_frame_2dcac68d3903edf9330b64ae43af5407) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2dcac68d3903edf9330b64ae43af5407);
cache_frame_2dcac68d3903edf9330b64ae43af5407 = NULL;
}
assertFrameObject(frame_2dcac68d3903edf9330b64ae43af5407);
// 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;
Py_XDECREF(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_root);
var_root = NULL;
CHECK_OBJECT(var_filename);
Py_DECREF(var_filename);
var_filename = NULL;
CHECK_OBJECT(var_file);
Py_DECREF(var_file);
var_file = 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_root);
var_root = NULL;
Py_XDECREF(var_filename);
var_filename = NULL;
Py_XDECREF(var_msg);
var_msg = NULL;
Py_XDECREF(var_file);
var_file = 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:
Py_XDECREF(locals_keyring$core$$$function__3_disable);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
Py_XDECREF(locals_keyring$core$$$function__3_disable);
// 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_keyring$core$$$function__4_get_password(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_service_name = python_pars[0];
PyObject *par_username = python_pars[1];
struct Nuitka_FrameObject *frame_3afbf4658e628c4ab311c912c67fa2aa;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_3afbf4658e628c4ab311c912c67fa2aa = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3afbf4658e628c4ab311c912c67fa2aa)) {
Py_XDECREF(cache_frame_3afbf4658e628c4ab311c912c67fa2aa);
#if _DEBUG_REFCOUNTS
if (cache_frame_3afbf4658e628c4ab311c912c67fa2aa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3afbf4658e628c4ab311c912c67fa2aa = MAKE_FUNCTION_FRAME(codeobj_3afbf4658e628c4ab311c912c67fa2aa, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3afbf4658e628c4ab311c912c67fa2aa->m_type_description == NULL);
frame_3afbf4658e628c4ab311c912c67fa2aa = cache_frame_3afbf4658e628c4ab311c912c67fa2aa;
// Push the new frame as the currently active one.
pushFrameStack(frame_3afbf4658e628c4ab311c912c67fa2aa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3afbf4658e628c4ab311c912c67fa2aa) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_service_name);
tmp_args_element_value_1 = par_service_name;
CHECK_OBJECT(par_username);
tmp_args_element_value_2 = par_username;
frame_3afbf4658e628c4ab311c912c67fa2aa->m_frame.f_lineno = 57;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[25],
call_args
);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3afbf4658e628c4ab311c912c67fa2aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3afbf4658e628c4ab311c912c67fa2aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3afbf4658e628c4ab311c912c67fa2aa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3afbf4658e628c4ab311c912c67fa2aa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3afbf4658e628c4ab311c912c67fa2aa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3afbf4658e628c4ab311c912c67fa2aa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3afbf4658e628c4ab311c912c67fa2aa,
type_description_1,
par_service_name,
par_username
);
// Release cached frame if used for exception.
if (frame_3afbf4658e628c4ab311c912c67fa2aa == cache_frame_3afbf4658e628c4ab311c912c67fa2aa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3afbf4658e628c4ab311c912c67fa2aa);
cache_frame_3afbf4658e628c4ab311c912c67fa2aa = NULL;
}
assertFrameObject(frame_3afbf4658e628c4ab311c912c67fa2aa);
// 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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
// 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_keyring$core$$$function__5_set_password(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_service_name = python_pars[0];
PyObject *par_username = python_pars[1];
PyObject *par_password = python_pars[2];
struct Nuitka_FrameObject *frame_34be7ce1641b572977680bd0d026fb07;
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;
static struct Nuitka_FrameObject *cache_frame_34be7ce1641b572977680bd0d026fb07 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_34be7ce1641b572977680bd0d026fb07)) {
Py_XDECREF(cache_frame_34be7ce1641b572977680bd0d026fb07);
#if _DEBUG_REFCOUNTS
if (cache_frame_34be7ce1641b572977680bd0d026fb07 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_34be7ce1641b572977680bd0d026fb07 = MAKE_FUNCTION_FRAME(codeobj_34be7ce1641b572977680bd0d026fb07, module_keyring$core, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_34be7ce1641b572977680bd0d026fb07->m_type_description == NULL);
frame_34be7ce1641b572977680bd0d026fb07 = cache_frame_34be7ce1641b572977680bd0d026fb07;
// Push the new frame as the currently active one.
pushFrameStack(frame_34be7ce1641b572977680bd0d026fb07);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_34be7ce1641b572977680bd0d026fb07) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_service_name);
tmp_args_element_value_1 = par_service_name;
CHECK_OBJECT(par_username);
tmp_args_element_value_2 = par_username;
CHECK_OBJECT(par_password);
tmp_args_element_value_3 = par_password;
frame_34be7ce1641b572977680bd0d026fb07->m_frame.f_lineno = 63;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[27],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_34be7ce1641b572977680bd0d026fb07);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_34be7ce1641b572977680bd0d026fb07);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_34be7ce1641b572977680bd0d026fb07, exception_lineno);
} else if (exception_tb->tb_frame != &frame_34be7ce1641b572977680bd0d026fb07->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_34be7ce1641b572977680bd0d026fb07, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_34be7ce1641b572977680bd0d026fb07,
type_description_1,
par_service_name,
par_username,
par_password
);
// Release cached frame if used for exception.
if (frame_34be7ce1641b572977680bd0d026fb07 == cache_frame_34be7ce1641b572977680bd0d026fb07) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_34be7ce1641b572977680bd0d026fb07);
cache_frame_34be7ce1641b572977680bd0d026fb07 = NULL;
}
assertFrameObject(frame_34be7ce1641b572977680bd0d026fb07);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
CHECK_OBJECT(par_password);
Py_DECREF(par_password);
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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
CHECK_OBJECT(par_password);
Py_DECREF(par_password);
// 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_keyring$core$$$function__6_delete_password(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_service_name = python_pars[0];
PyObject *par_username = python_pars[1];
struct Nuitka_FrameObject *frame_adca8ecaba40c4f32622de8624f6fb89;
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;
static struct Nuitka_FrameObject *cache_frame_adca8ecaba40c4f32622de8624f6fb89 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_adca8ecaba40c4f32622de8624f6fb89)) {
Py_XDECREF(cache_frame_adca8ecaba40c4f32622de8624f6fb89);
#if _DEBUG_REFCOUNTS
if (cache_frame_adca8ecaba40c4f32622de8624f6fb89 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_adca8ecaba40c4f32622de8624f6fb89 = MAKE_FUNCTION_FRAME(codeobj_adca8ecaba40c4f32622de8624f6fb89, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_adca8ecaba40c4f32622de8624f6fb89->m_type_description == NULL);
frame_adca8ecaba40c4f32622de8624f6fb89 = cache_frame_adca8ecaba40c4f32622de8624f6fb89;
// Push the new frame as the currently active one.
pushFrameStack(frame_adca8ecaba40c4f32622de8624f6fb89);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_adca8ecaba40c4f32622de8624f6fb89) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_service_name);
tmp_args_element_value_1 = par_service_name;
CHECK_OBJECT(par_username);
tmp_args_element_value_2 = par_username;
frame_adca8ecaba40c4f32622de8624f6fb89->m_frame.f_lineno = 69;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[29],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_adca8ecaba40c4f32622de8624f6fb89);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_adca8ecaba40c4f32622de8624f6fb89);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_adca8ecaba40c4f32622de8624f6fb89, exception_lineno);
} else if (exception_tb->tb_frame != &frame_adca8ecaba40c4f32622de8624f6fb89->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_adca8ecaba40c4f32622de8624f6fb89, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_adca8ecaba40c4f32622de8624f6fb89,
type_description_1,
par_service_name,
par_username
);
// Release cached frame if used for exception.
if (frame_adca8ecaba40c4f32622de8624f6fb89 == cache_frame_adca8ecaba40c4f32622de8624f6fb89) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_adca8ecaba40c4f32622de8624f6fb89);
cache_frame_adca8ecaba40c4f32622de8624f6fb89 = NULL;
}
assertFrameObject(frame_adca8ecaba40c4f32622de8624f6fb89);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
// 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_keyring$core$$$function__7_get_credential(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_service_name = python_pars[0];
PyObject *par_username = python_pars[1];
struct Nuitka_FrameObject *frame_b5de0f8e207bbf961847161137d25fe2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_b5de0f8e207bbf961847161137d25fe2 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b5de0f8e207bbf961847161137d25fe2)) {
Py_XDECREF(cache_frame_b5de0f8e207bbf961847161137d25fe2);
#if _DEBUG_REFCOUNTS
if (cache_frame_b5de0f8e207bbf961847161137d25fe2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b5de0f8e207bbf961847161137d25fe2 = MAKE_FUNCTION_FRAME(codeobj_b5de0f8e207bbf961847161137d25fe2, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b5de0f8e207bbf961847161137d25fe2->m_type_description == NULL);
frame_b5de0f8e207bbf961847161137d25fe2 = cache_frame_b5de0f8e207bbf961847161137d25fe2;
// Push the new frame as the currently active one.
pushFrameStack(frame_b5de0f8e207bbf961847161137d25fe2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b5de0f8e207bbf961847161137d25fe2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_service_name);
tmp_args_element_value_1 = par_service_name;
CHECK_OBJECT(par_username);
tmp_args_element_value_2 = par_username;
frame_b5de0f8e207bbf961847161137d25fe2->m_frame.f_lineno = 75;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[31],
call_args
);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5de0f8e207bbf961847161137d25fe2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5de0f8e207bbf961847161137d25fe2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b5de0f8e207bbf961847161137d25fe2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b5de0f8e207bbf961847161137d25fe2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b5de0f8e207bbf961847161137d25fe2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b5de0f8e207bbf961847161137d25fe2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b5de0f8e207bbf961847161137d25fe2,
type_description_1,
par_service_name,
par_username
);
// Release cached frame if used for exception.
if (frame_b5de0f8e207bbf961847161137d25fe2 == cache_frame_b5de0f8e207bbf961847161137d25fe2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b5de0f8e207bbf961847161137d25fe2);
cache_frame_b5de0f8e207bbf961847161137d25fe2 = NULL;
}
assertFrameObject(frame_b5de0f8e207bbf961847161137d25fe2);
// 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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
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_service_name);
Py_DECREF(par_service_name);
CHECK_OBJECT(par_username);
Py_DECREF(par_username);
// 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_keyring$core$$$function__8_recommended(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_backend = python_pars[0];
struct Nuitka_FrameObject *frame_d4967e4292d1792cbd5bf764b2fef197;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_d4967e4292d1792cbd5bf764b2fef197 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d4967e4292d1792cbd5bf764b2fef197)) {
Py_XDECREF(cache_frame_d4967e4292d1792cbd5bf764b2fef197);
#if _DEBUG_REFCOUNTS
if (cache_frame_d4967e4292d1792cbd5bf764b2fef197 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d4967e4292d1792cbd5bf764b2fef197 = MAKE_FUNCTION_FRAME(codeobj_d4967e4292d1792cbd5bf764b2fef197, module_keyring$core, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d4967e4292d1792cbd5bf764b2fef197->m_type_description == NULL);
frame_d4967e4292d1792cbd5bf764b2fef197 = cache_frame_d4967e4292d1792cbd5bf764b2fef197;
// Push the new frame as the currently active one.
pushFrameStack(frame_d4967e4292d1792cbd5bf764b2fef197);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d4967e4292d1792cbd5bf764b2fef197) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_backend);
tmp_expression_value_1 = par_backend;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[33]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[34];
tmp_return_value = RICH_COMPARE_GE_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 = 79;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4967e4292d1792cbd5bf764b2fef197);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4967e4292d1792cbd5bf764b2fef197);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4967e4292d1792cbd5bf764b2fef197);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d4967e4292d1792cbd5bf764b2fef197, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d4967e4292d1792cbd5bf764b2fef197->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d4967e4292d1792cbd5bf764b2fef197, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d4967e4292d1792cbd5bf764b2fef197,
type_description_1,
par_backend
);
// Release cached frame if used for exception.
if (frame_d4967e4292d1792cbd5bf764b2fef197 == cache_frame_d4967e4292d1792cbd5bf764b2fef197) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d4967e4292d1792cbd5bf764b2fef197);
cache_frame_d4967e4292d1792cbd5bf764b2fef197 = NULL;
}
assertFrameObject(frame_d4967e4292d1792cbd5bf764b2fef197);
// 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_backend);
Py_DECREF(par_backend);
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_backend);
Py_DECREF(par_backend);
// 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_keyring$core$$$function__9_init_backend(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_limit = python_pars[0];
PyObject *var_keyrings = NULL;
struct Nuitka_FrameObject *frame_915b2fcd7898173c8d5f1b701c6c38b5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_915b2fcd7898173c8d5f1b701c6c38b5 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_915b2fcd7898173c8d5f1b701c6c38b5)) {
Py_XDECREF(cache_frame_915b2fcd7898173c8d5f1b701c6c38b5);
#if _DEBUG_REFCOUNTS
if (cache_frame_915b2fcd7898173c8d5f1b701c6c38b5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_915b2fcd7898173c8d5f1b701c6c38b5 = MAKE_FUNCTION_FRAME(codeobj_915b2fcd7898173c8d5f1b701c6c38b5, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_915b2fcd7898173c8d5f1b701c6c38b5->m_type_description == NULL);
frame_915b2fcd7898173c8d5f1b701c6c38b5 = cache_frame_915b2fcd7898173c8d5f1b701c6c38b5;
// Push the new frame as the currently active one.
pushFrameStack(frame_915b2fcd7898173c8d5f1b701c6c38b5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_915b2fcd7898173c8d5f1b701c6c38b5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_limit);
tmp_assattr_value_1 = par_limit;
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[35], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_limit);
tmp_args_element_value_1 = par_limit;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (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 = 93;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 93;
tmp_args_element_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[37]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 93;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_keyrings == NULL);
var_keyrings = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_called_value_3;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_called_value_4;
PyObject *tmp_called_value_5;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_expression_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 95;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[39]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[39]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 96;
tmp_or_left_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
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 = 96;
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);
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[40]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[40]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 97;
tmp_or_left_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 97;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[41]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[41]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_keyrings);
tmp_kw_call_arg_value_0_1 = var_keyrings;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 98;
tmp_kw_call_dict_value_0_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[43]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (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);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[44]);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 98;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_or_right_value_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_5, args, kw_values, mod_consts[45]);
}
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
if (tmp_or_right_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_or_right_value_1 = tmp_or_left_value_2;
or_end_2:;
tmp_args_element_value_3 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_args_element_value_3 = tmp_or_left_value_1;
or_end_1:;
frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame.f_lineno = 95;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
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 = 95;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_915b2fcd7898173c8d5f1b701c6c38b5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_915b2fcd7898173c8d5f1b701c6c38b5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_915b2fcd7898173c8d5f1b701c6c38b5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_915b2fcd7898173c8d5f1b701c6c38b5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_915b2fcd7898173c8d5f1b701c6c38b5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_915b2fcd7898173c8d5f1b701c6c38b5,
type_description_1,
par_limit,
var_keyrings
);
// Release cached frame if used for exception.
if (frame_915b2fcd7898173c8d5f1b701c6c38b5 == cache_frame_915b2fcd7898173c8d5f1b701c6c38b5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_915b2fcd7898173c8d5f1b701c6c38b5);
cache_frame_915b2fcd7898173c8d5f1b701c6c38b5 = NULL;
}
assertFrameObject(frame_915b2fcd7898173c8d5f1b701c6c38b5);
// 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_keyrings);
var_keyrings = 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_keyrings);
var_keyrings = 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_limit);
Py_DECREF(par_limit);
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_limit);
Py_DECREF(par_limit);
// 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_keyring$core$$$function__10__load_keyring_class(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_keyring_name = python_pars[0];
PyObject *var_module_name = NULL;
PyObject *var_sep = NULL;
PyObject *var_class_name = NULL;
PyObject *var_module = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_385f2e5a68a5315f71cbdb8cfc3753a0;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0 = 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_385f2e5a68a5315f71cbdb8cfc3753a0)) {
Py_XDECREF(cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0);
#if _DEBUG_REFCOUNTS
if (cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0 = MAKE_FUNCTION_FRAME(codeobj_385f2e5a68a5315f71cbdb8cfc3753a0, module_keyring$core, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0->m_type_description == NULL);
frame_385f2e5a68a5315f71cbdb8cfc3753a0 = cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0;
// Push the new frame as the currently active one.
pushFrameStack(frame_385f2e5a68a5315f71cbdb8cfc3753a0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_385f2e5a68a5315f71cbdb8cfc3753a0) == 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;
CHECK_OBJECT(par_keyring_name);
tmp_expression_value_1 = par_keyring_name;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_385f2e5a68a5315f71cbdb8cfc3753a0->m_frame.f_lineno = 124;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[48]);
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 = 124;
type_description_1 = "ooooo";
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 = 124;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 124;
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, 3);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 124;
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_assign_source_4;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 124;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
}
{
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 = "ooooo";
exception_lineno = 124;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[49];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 124;
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;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = 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_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
assert(var_module_name == NULL);
Py_INCREF(tmp_assign_source_5);
var_module_name = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
assert(var_sep == NULL);
Py_INCREF(tmp_assign_source_6);
var_sep = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_3;
assert(var_class_name == NULL);
Py_INCREF(tmp_assign_source_7);
var_class_name = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_name_value_1;
PyObject *tmp_imported_value_1;
CHECK_OBJECT(var_module_name);
tmp_name_value_1 = var_module_name;
frame_385f2e5a68a5315f71cbdb8cfc3753a0->m_frame.f_lineno = 125;
tmp_imported_value_1 = IMPORT_MODULE1(tmp_name_value_1);
if (tmp_imported_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_imported_value_1);
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[50]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]);
}
assert(!(tmp_expression_value_3 == NULL));
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[51]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_module_name);
tmp_subscript_value_1 = var_module_name;
tmp_assign_source_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_module == NULL);
var_module = tmp_assign_source_8;
}
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
CHECK_OBJECT(var_module);
tmp_getattr_target_1 = var_module;
CHECK_OBJECT(var_class_name);
tmp_getattr_attr_1 = var_class_name;
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_385f2e5a68a5315f71cbdb8cfc3753a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_385f2e5a68a5315f71cbdb8cfc3753a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_385f2e5a68a5315f71cbdb8cfc3753a0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_385f2e5a68a5315f71cbdb8cfc3753a0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_385f2e5a68a5315f71cbdb8cfc3753a0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_385f2e5a68a5315f71cbdb8cfc3753a0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_385f2e5a68a5315f71cbdb8cfc3753a0,
type_description_1,
par_keyring_name,
var_module_name,
var_sep,
var_class_name,
var_module
);
// Release cached frame if used for exception.
if (frame_385f2e5a68a5315f71cbdb8cfc3753a0 == cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0);
cache_frame_385f2e5a68a5315f71cbdb8cfc3753a0 = NULL;
}
assertFrameObject(frame_385f2e5a68a5315f71cbdb8cfc3753a0);
// 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_module_name);
Py_DECREF(var_module_name);
var_module_name = NULL;
CHECK_OBJECT(var_sep);
Py_DECREF(var_sep);
var_sep = NULL;
CHECK_OBJECT(var_class_name);
Py_DECREF(var_class_name);
var_class_name = NULL;
CHECK_OBJECT(var_module);
Py_DECREF(var_module);
var_module = 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_module_name);
var_module_name = NULL;
Py_XDECREF(var_sep);
var_sep = NULL;
Py_XDECREF(var_class_name);
var_class_name = NULL;
Py_XDECREF(var_module);
var_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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_keyring_name);
Py_DECREF(par_keyring_name);
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_keyring_name);
Py_DECREF(par_keyring_name);
// 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_keyring$core$$$function__11_load_keyring(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_keyring_name = python_pars[0];
PyObject *var_class_ = NULL;
struct Nuitka_FrameObject *frame_b6cfaa6a46c1df76d9616add18bb3021;
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;
static struct Nuitka_FrameObject *cache_frame_b6cfaa6a46c1df76d9616add18bb3021 = 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_b6cfaa6a46c1df76d9616add18bb3021)) {
Py_XDECREF(cache_frame_b6cfaa6a46c1df76d9616add18bb3021);
#if _DEBUG_REFCOUNTS
if (cache_frame_b6cfaa6a46c1df76d9616add18bb3021 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b6cfaa6a46c1df76d9616add18bb3021 = MAKE_FUNCTION_FRAME(codeobj_b6cfaa6a46c1df76d9616add18bb3021, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b6cfaa6a46c1df76d9616add18bb3021->m_type_description == NULL);
frame_b6cfaa6a46c1df76d9616add18bb3021 = cache_frame_b6cfaa6a46c1df76d9616add18bb3021;
// Push the new frame as the currently active one.
pushFrameStack(frame_b6cfaa6a46c1df76d9616add18bb3021);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b6cfaa6a46c1df76d9616add18bb3021) == 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_keyring$core, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_keyring_name);
tmp_args_element_value_1 = par_keyring_name;
frame_b6cfaa6a46c1df76d9616add18bb3021->m_frame.f_lineno = 135;
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 = 135;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_class_ == NULL);
var_class_ = tmp_assign_source_1;
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(var_class_);
tmp_expression_value_1 = var_class_;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[33]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_attribute_value_1);
}
{
PyObject *tmp_called_value_2;
CHECK_OBJECT(var_class_);
tmp_called_value_2 = var_class_;
frame_b6cfaa6a46c1df76d9616add18bb3021->m_frame.f_lineno = 138;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6cfaa6a46c1df76d9616add18bb3021);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6cfaa6a46c1df76d9616add18bb3021);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6cfaa6a46c1df76d9616add18bb3021);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b6cfaa6a46c1df76d9616add18bb3021, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b6cfaa6a46c1df76d9616add18bb3021->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b6cfaa6a46c1df76d9616add18bb3021, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b6cfaa6a46c1df76d9616add18bb3021,
type_description_1,
par_keyring_name,
var_class_
);
// Release cached frame if used for exception.
if (frame_b6cfaa6a46c1df76d9616add18bb3021 == cache_frame_b6cfaa6a46c1df76d9616add18bb3021) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b6cfaa6a46c1df76d9616add18bb3021);
cache_frame_b6cfaa6a46c1df76d9616add18bb3021 = NULL;
}
assertFrameObject(frame_b6cfaa6a46c1df76d9616add18bb3021);
// 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_class_);
Py_DECREF(var_class_);
var_class_ = 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_class_);
var_class_ = 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_keyring_name);
Py_DECREF(par_keyring_name);
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_keyring_name);
Py_DECREF(par_keyring_name);
// 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_keyring$core$$$function__12_load_env(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_80491783d1b87ce1dafc3a9f3b8cd830;
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;
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_80491783d1b87ce1dafc3a9f3b8cd830 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_80491783d1b87ce1dafc3a9f3b8cd830)) {
Py_XDECREF(cache_frame_80491783d1b87ce1dafc3a9f3b8cd830);
#if _DEBUG_REFCOUNTS
if (cache_frame_80491783d1b87ce1dafc3a9f3b8cd830 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_80491783d1b87ce1dafc3a9f3b8cd830 = MAKE_FUNCTION_FRAME(codeobj_80491783d1b87ce1dafc3a9f3b8cd830, module_keyring$core, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_80491783d1b87ce1dafc3a9f3b8cd830->m_type_description == NULL);
frame_80491783d1b87ce1dafc3a9f3b8cd830 = cache_frame_80491783d1b87ce1dafc3a9f3b8cd830;
// Push the new frame as the currently active one.
pushFrameStack(frame_80491783d1b87ce1dafc3a9f3b8cd830);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_80491783d1b87ce1dafc3a9f3b8cd830) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
goto try_except_handler_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[56]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
goto try_except_handler_1;
}
tmp_subscript_value_1 = mod_consts[57];
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
goto try_except_handler_1;
}
frame_80491783d1b87ce1dafc3a9f3b8cd830->m_frame.f_lineno = 144;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
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_80491783d1b87ce1dafc3a9f3b8cd830, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_80491783d1b87ce1dafc3a9f3b8cd830, 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_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 143;
}
if (exception_tb && exception_tb->tb_frame == &frame_80491783d1b87ce1dafc3a9f3b8cd830->m_frame) frame_80491783d1b87ce1dafc3a9f3b8cd830->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_no_1:;
goto try_end_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:
try_end_1:;
// 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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80491783d1b87ce1dafc3a9f3b8cd830);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80491783d1b87ce1dafc3a9f3b8cd830);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80491783d1b87ce1dafc3a9f3b8cd830);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_80491783d1b87ce1dafc3a9f3b8cd830, exception_lineno);
} else if (exception_tb->tb_frame != &frame_80491783d1b87ce1dafc3a9f3b8cd830->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_80491783d1b87ce1dafc3a9f3b8cd830, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_80491783d1b87ce1dafc3a9f3b8cd830,
type_description_1
);
// Release cached frame if used for exception.
if (frame_80491783d1b87ce1dafc3a9f3b8cd830 == cache_frame_80491783d1b87ce1dafc3a9f3b8cd830) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_80491783d1b87ce1dafc3a9f3b8cd830);
cache_frame_80491783d1b87ce1dafc3a9f3b8cd830 = NULL;
}
assertFrameObject(frame_80491783d1b87ce1dafc3a9f3b8cd830);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
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_keyring$core$$$function__13_load_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 *var_keyring_cfg = NULL;
PyObject *var_config = NULL;
PyObject *var_keyring_name = NULL;
PyObject *var_logger = NULL;
struct Nuitka_FrameObject *frame_7592ccb805a86ba85a5d276087a55e8c;
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;
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_7592ccb805a86ba85a5d276087a55e8c = 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_7592ccb805a86ba85a5d276087a55e8c)) {
Py_XDECREF(cache_frame_7592ccb805a86ba85a5d276087a55e8c);
#if _DEBUG_REFCOUNTS
if (cache_frame_7592ccb805a86ba85a5d276087a55e8c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7592ccb805a86ba85a5d276087a55e8c = MAKE_FUNCTION_FRAME(codeobj_7592ccb805a86ba85a5d276087a55e8c, module_keyring$core, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7592ccb805a86ba85a5d276087a55e8c->m_type_description == NULL);
frame_7592ccb805a86ba85a5d276087a55e8c = cache_frame_7592ccb805a86ba85a5d276087a55e8c;
// Push the new frame as the currently active one.
pushFrameStack(frame_7592ccb805a86ba85a5d276087a55e8c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7592ccb805a86ba85a5d276087a55e8c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_1 = IMPORT_HARD_POSIXPATH();
assert(!(tmp_expression_value_1 == NULL));
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
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 = 154;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 154;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[7]);
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 = 154;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[13];
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 154;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(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 = 154;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
assert(var_keyring_cfg == NULL);
var_keyring_cfg = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_exists_arg_1;
CHECK_OBJECT(var_keyring_cfg);
tmp_exists_arg_1 = var_keyring_cfg;
tmp_operand_value_1 = OS_PATH_FILE_EXISTS(tmp_exists_arg_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 159;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[60]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
assert(var_config == NULL);
var_config = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_config);
tmp_called_instance_3 = var_config;
CHECK_OBJECT(var_keyring_cfg);
tmp_args_element_value_3 = var_keyring_cfg;
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 160;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[61], 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 = 160;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_config);
tmp_args_element_value_4 = var_config;
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 161;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
// Tried code:
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_3;
int tmp_truth_name_1;
CHECK_OBJECT(var_config);
tmp_called_instance_4 = var_config;
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 165;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[63],
PyTuple_GET_ITEM(mod_consts[64], 0)
);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_3);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_3);
exception_lineno = 165;
type_description_1 = "Noooo";
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_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_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_config);
tmp_expression_value_3 = var_config;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[65]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 166;
tmp_expression_value_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[66]);
Py_DECREF(tmp_called_value_4);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[67]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 166;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
assert(var_keyring_name == NULL);
var_keyring_name = tmp_assign_source_3;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_instance_5;
tmp_called_instance_5 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_called_instance_5 == NULL)) {
tmp_called_instance_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 168;
tmp_raise_type_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_5,
mod_consts[68],
&PyTuple_GET_ITEM(mod_consts[66], 0)
);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "Noooo";
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
exception_lineno = 168;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "Noooo";
goto try_except_handler_2;
}
branch_end_2:;
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_7592ccb805a86ba85a5d276087a55e8c, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7592ccb805a86ba85a5d276087a55e8c, 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_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_4;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[68]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = PyExc_ImportError;
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 1, tmp_tuple_element_1);
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
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_4;
PyObject *tmp_called_instance_6;
tmp_called_instance_6 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_instance_6 == NULL)) {
tmp_called_instance_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_instance_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 171;
tmp_assign_source_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_6,
mod_consts[70],
PyTuple_GET_ITEM(mod_consts[71], 0)
);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
assert(var_logger == NULL);
var_logger = tmp_assign_source_4;
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
CHECK_OBJECT(var_logger);
tmp_expression_value_5 = var_logger;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[72]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
tmp_add_expr_left_1 = mod_consts[73];
tmp_mod_expr_left_1 = mod_consts[74];
CHECK_OBJECT(var_keyring_cfg);
tmp_mod_expr_right_1 = var_keyring_cfg;
tmp_add_expr_right_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 173;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
tmp_args_element_value_5 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_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_5);
exception_lineno = 173;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 172;
tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "Noooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 164;
}
if (exception_tb && exception_tb->tb_frame == &frame_7592ccb805a86ba85a5d276087a55e8c->m_frame) frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "Noooo";
goto try_except_handler_3;
branch_end_3:;
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:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_6;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_keyring_name);
tmp_args_element_value_6 = var_keyring_name;
frame_7592ccb805a86ba85a5d276087a55e8c->m_frame.f_lineno = 176;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "Noooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7592ccb805a86ba85a5d276087a55e8c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7592ccb805a86ba85a5d276087a55e8c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7592ccb805a86ba85a5d276087a55e8c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7592ccb805a86ba85a5d276087a55e8c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7592ccb805a86ba85a5d276087a55e8c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7592ccb805a86ba85a5d276087a55e8c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7592ccb805a86ba85a5d276087a55e8c,
type_description_1,
NULL,
var_keyring_cfg,
var_config,
var_keyring_name,
var_logger
);
// Release cached frame if used for exception.
if (frame_7592ccb805a86ba85a5d276087a55e8c == cache_frame_7592ccb805a86ba85a5d276087a55e8c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7592ccb805a86ba85a5d276087a55e8c);
cache_frame_7592ccb805a86ba85a5d276087a55e8c = NULL;
}
assertFrameObject(frame_7592ccb805a86ba85a5d276087a55e8c);
// 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_keyring_cfg);
Py_DECREF(var_keyring_cfg);
var_keyring_cfg = NULL;
Py_XDECREF(var_config);
var_config = NULL;
Py_XDECREF(var_keyring_name);
var_keyring_name = NULL;
Py_XDECREF(var_logger);
var_logger = 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_keyring_cfg);
var_keyring_cfg = NULL;
Py_XDECREF(var_config);
var_config = NULL;
Py_XDECREF(var_keyring_name);
var_keyring_name = NULL;
Py_XDECREF(var_logger);
var_logger = 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_keyring$core$$$function__14__load_keyring_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_config = python_pars[0];
PyObject *var_path = NULL;
struct Nuitka_FrameObject *frame_2d669be59d0ae625d1ecc9e11cb5e837;
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;
static struct Nuitka_FrameObject *cache_frame_2d669be59d0ae625d1ecc9e11cb5e837 = NULL;
PyObject *tmp_return_value = 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_2d669be59d0ae625d1ecc9e11cb5e837)) {
Py_XDECREF(cache_frame_2d669be59d0ae625d1ecc9e11cb5e837);
#if _DEBUG_REFCOUNTS
if (cache_frame_2d669be59d0ae625d1ecc9e11cb5e837 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2d669be59d0ae625d1ecc9e11cb5e837 = MAKE_FUNCTION_FRAME(codeobj_2d669be59d0ae625d1ecc9e11cb5e837, module_keyring$core, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2d669be59d0ae625d1ecc9e11cb5e837->m_type_description == NULL);
frame_2d669be59d0ae625d1ecc9e11cb5e837 = cache_frame_2d669be59d0ae625d1ecc9e11cb5e837;
// Push the new frame as the currently active one.
pushFrameStack(frame_2d669be59d0ae625d1ecc9e11cb5e837);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2d669be59d0ae625d1ecc9e11cb5e837) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_config);
tmp_expression_value_2 = par_config;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[65]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame.f_lineno = 182;
tmp_expression_value_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[76]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oo";
goto try_except_handler_2;
}
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 = 182;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame.f_lineno = 182;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
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 = 182;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(var_path == NULL);
var_path = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[50]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]);
}
assert(!(tmp_expression_value_3 == NULL));
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[10]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = mod_consts[78];
CHECK_OBJECT(var_path);
tmp_args_element_value_2 = var_path;
frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame.f_lineno = 183;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[77],
call_args
);
}
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 = 183;
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 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_2d669be59d0ae625d1ecc9e11cb5e837, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2d669be59d0ae625d1ecc9e11cb5e837, 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;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_4;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[68]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyTuple_SET_ITEM(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[79]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_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_cmp_expr_right_1);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
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:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 181;
}
if (exception_tb && exception_tb->tb_frame == &frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame) frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_no_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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:
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 0
RESTORE_FRAME_EXCEPTION(frame_2d669be59d0ae625d1ecc9e11cb5e837);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d669be59d0ae625d1ecc9e11cb5e837);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2d669be59d0ae625d1ecc9e11cb5e837, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2d669be59d0ae625d1ecc9e11cb5e837->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2d669be59d0ae625d1ecc9e11cb5e837, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2d669be59d0ae625d1ecc9e11cb5e837,
type_description_1,
par_config,
var_path
);
// Release cached frame if used for exception.
if (frame_2d669be59d0ae625d1ecc9e11cb5e837 == cache_frame_2d669be59d0ae625d1ecc9e11cb5e837) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2d669be59d0ae625d1ecc9e11cb5e837);
cache_frame_2d669be59d0ae625d1ecc9e11cb5e837 = NULL;
}
assertFrameObject(frame_2d669be59d0ae625d1ecc9e11cb5e837);
// 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_path);
var_path = 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_path);
var_path = 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_config);
Py_DECREF(par_config);
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_config);
Py_DECREF(par_config);
// 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_keyring$core$$$function__10__load_keyring_class() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__10__load_keyring_class,
mod_consts[53],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_385f2e5a68a5315f71cbdb8cfc3753a0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[52],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__11_load_keyring() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__11_load_keyring,
mod_consts[55],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b6cfaa6a46c1df76d9616add18bb3021,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[54],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__12_load_env() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__12_load_env,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_80491783d1b87ce1dafc3a9f3b8cd830,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[58],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__13_load_config() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__13_load_config,
mod_consts[40],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7592ccb805a86ba85a5d276087a55e8c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[75],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__14__load_keyring_path() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__14__load_keyring_path,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_2d669be59d0ae625d1ecc9e11cb5e837,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[80],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__1_set_keyring() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__1_set_keyring,
mod_consts[38],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8ba28ad610876edfbe68ccdf16c007fd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[4],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__2_get_keyring() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__2_get_keyring,
mod_consts[101],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_0fb19f96d260fec2aa8d62b3cb85395f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[5],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__3_disable() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__3_disable,
mod_consts[102],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_2dcac68d3903edf9330b64ae43af5407,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[24],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__4_get_password() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__4_get_password,
mod_consts[25],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_3afbf4658e628c4ab311c912c67fa2aa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[26],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__5_set_password() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__5_set_password,
mod_consts[27],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_34be7ce1641b572977680bd0d026fb07,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[28],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__6_delete_password() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__6_delete_password,
mod_consts[29],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_adca8ecaba40c4f32622de8624f6fb89,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[30],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__7_get_credential() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__7_get_credential,
mod_consts[31],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b5de0f8e207bbf961847161137d25fe2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[32],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__8_recommended() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__8_recommended,
mod_consts[103],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_d4967e4292d1792cbd5bf764b2fef197,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_keyring$core$$$function__9_init_backend(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_keyring$core$$$function__9_init_backend,
mod_consts[105],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_915b2fcd7898173c8d5f1b701c6c38b5,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_keyring$core,
mod_consts[46],
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_keyring$core[] = {
impl_keyring$core$$$function__1_set_keyring,
impl_keyring$core$$$function__2_get_keyring,
impl_keyring$core$$$function__3_disable,
impl_keyring$core$$$function__4_get_password,
impl_keyring$core$$$function__5_set_password,
impl_keyring$core$$$function__6_delete_password,
impl_keyring$core$$$function__7_get_credential,
impl_keyring$core$$$function__8_recommended,
impl_keyring$core$$$function__9_init_backend,
impl_keyring$core$$$function__10__load_keyring_class,
impl_keyring$core$$$function__11_load_keyring,
impl_keyring$core$$$function__12_load_env,
impl_keyring$core$$$function__13_load_config,
impl_keyring$core$$$function__14__load_keyring_path,
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_keyring$core;
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_keyring$core) || 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_keyring$core[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_keyring$core,
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_keyring$core(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("keyring.core");
// Store the module for future use.
module_keyring$core = 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("keyring.core: 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("keyring.core: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("keyring.core: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initkeyring$core\n");
moduledict_keyring$core = MODULE_DICT(module_keyring$core);
#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_keyring$core,
(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_keyring$core,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[93]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_keyring$core,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_keyring$core, (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_keyring$core,
(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_keyring$core, (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_keyring$core,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_keyring$core);
// 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_keyring$core, (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_keyring$core, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_keyring$core, (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_keyring$core, (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_keyring$core);
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_keyring$core, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_7630d797bc1c76cf33eb4f3c28e72604;
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;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[81];
UPDATE_STRING_DICT0(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[82], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[83];
UPDATE_STRING_DICT0(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_2);
}
// Frame without reuse.
frame_7630d797bc1c76cf33eb4f3c28e72604 = MAKE_MODULE_FRAME(codeobj_7630d797bc1c76cf33eb4f3c28e72604, module_keyring$core);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_7630d797bc1c76cf33eb4f3c28e72604);
assert(Py_REFCNT(frame_7630d797bc1c76cf33eb4f3c28e72604) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[83];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[85]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[85]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[86], 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_keyring$core, (Nuitka_StringObject *)mod_consts[85]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[85]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[87], 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_keyring$core, (Nuitka_StringObject *)mod_consts[88], 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_keyring$core, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT0(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[50], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
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[69];
tmp_globals_arg_value_1 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[78];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 7;
tmp_assign_source_6 = 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_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
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[89];
tmp_globals_arg_value_2 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[90];
tmp_level_value_2 = mod_consts[34];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 9;
tmp_assign_source_7 = 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_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 9;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_7;
}
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_1 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_8 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_keyring$core,
mod_consts[59],
mod_consts[78]
);
} else {
tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[59]);
}
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 9;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_keyring$core,
mod_consts[36],
mod_consts[78]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[36]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 9;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_9);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[91];
tmp_globals_arg_value_3 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[92];
tmp_level_value_3 = mod_consts[34];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 10;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 10;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_keyring$core,
mod_consts[41],
mod_consts[78]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[41]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 10;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[41], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[93];
tmp_globals_arg_value_4 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[64];
tmp_level_value_4 = mod_consts[34];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 12;
tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 12;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_keyring$core,
mod_consts[0],
mod_consts[78]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[0]);
}
Py_DECREF(tmp_import_name_from_4);
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_keyring$core, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_5;
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[94];
tmp_globals_arg_value_5 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[95];
tmp_level_value_5 = mod_consts[34];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 13;
tmp_import_name_from_5 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_import_name_from_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 13;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_keyring$core,
mod_consts[96],
mod_consts[78]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[96]);
}
Py_DECREF(tmp_import_name_from_5);
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_keyring$core, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_6;
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[97];
tmp_globals_arg_value_6 = (PyObject *)moduledict_keyring$core;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[98];
tmp_level_value_6 = mod_consts[34];
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 14;
tmp_import_name_from_6 = 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_import_name_from_6 == 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_6)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_keyring$core,
mod_consts[42],
mod_consts[78]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[42]);
}
Py_DECREF(tmp_import_name_from_6);
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_keyring$core, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto frame_exception_exit_1;
}
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 17;
tmp_assign_source_14 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[70],
PyTuple_GET_ITEM(mod_consts[99], 0)
);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[100], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
tmp_assign_source_15 = Py_None;
UPDATE_STRING_DICT0(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = MAKE_FUNCTION_keyring$core$$$function__1_set_keyring();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[38], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
tmp_assign_source_17 = MAKE_FUNCTION_keyring$core$$$function__2_get_keyring();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[101], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
tmp_assign_source_18 = MAKE_FUNCTION_keyring$core$$$function__3_disable();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = MAKE_FUNCTION_keyring$core$$$function__4_get_password();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[25], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = MAKE_FUNCTION_keyring$core$$$function__5_set_password();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[27], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = MAKE_FUNCTION_keyring$core$$$function__6_delete_password();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = MAKE_FUNCTION_keyring$core$$$function__7_get_credential();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = MAKE_FUNCTION_keyring$core$$$function__8_recommended();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[104];
Py_INCREF(tmp_defaults_1);
tmp_assign_source_24 = MAKE_FUNCTION_keyring$core$$$function__9_init_backend(tmp_defaults_1);
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[105], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = MAKE_FUNCTION_keyring$core$$$function__10__load_keyring_class();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = MAKE_FUNCTION_keyring$core$$$function__11_load_keyring();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[55], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = MAKE_FUNCTION_keyring$core$$$function__12_load_env();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[39], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = MAKE_FUNCTION_keyring$core$$$function__13_load_config();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[40], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = MAKE_FUNCTION_keyring$core$$$function__14__load_keyring_path();
UPDATE_STRING_DICT1(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_29);
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
assert(!(tmp_called_value_1 == NULL));
frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame.f_lineno = 189;
tmp_call_result_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_7630d797bc1c76cf33eb4f3c28e72604);
#endif
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7630d797bc1c76cf33eb4f3c28e72604);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7630d797bc1c76cf33eb4f3c28e72604, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7630d797bc1c76cf33eb4f3c28e72604->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7630d797bc1c76cf33eb4f3c28e72604, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_1:;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("keyring.core", false);
Py_INCREF(module_keyring$core);
return module_keyring$core;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_keyring$core, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("keyring$core", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}